Ubuntu 5.10 sound problems on my Thinkpad T22


Recommended Posts

To fix the ACPI problems I was having with my hardware I had to switch to using APM.

Then suspend and hibernate would work, but when I resumed everything responded very slowly and I loss my sound. It turned out that the sound daemon (esd) was waisting a lot of cycles everytime gnome tried to play a noise. I then came across this:

Modem untested. Needs APM: add acpi=off nolapic to kernel options in /boot/grub/menu.lst, add apm to /etc/modules, and add shpchp and pciehp to /etc/hotplug/blacklist. Changing cs46xx to snd-cs46xx in /etc/hotplug/blacklist.d/alsa-base caused sound to work across sleep cycles.

On the Thinkpad T22 row on the wiki page found here.

Following those directions both suspend and hibernate function great! However, now the sound doesn't work because of the blacklist.d/alsa-base entry. I think that is because I do not have the non ALSA cs46xx driver installed. I will have to investigate that further.

One other solution I have found while googling around is to have the APM service run a script run on suspend and hibernate that would disable the snd-cs46xx driver and kill the esd daemon, and then reload them after resuming the OS.

Hi guys!

I use apm on my T22 and had the same problem when I tried to suspend it.

I just figured out, that the problem is the sound! So I wrote a small script to unload the sound module and put it in

/etc/apm/event.d/

to run it automatically:

#####################################

#!/bin/sh

case "$1" in

resume)

/sbin/modprobe snd-cs46xx

sleep 5

/etc/init.d/alsa start

esd &

;;

suspend)

/usr/bin/killall /usr/lib/gnome-applets/mixer_applet2

/usr/bin/killall esd

/etc/init.d/alsa stop

/bin/sleep 5

/sbin/rmmod snd-cs46xx

;;

esac

#####################################

Don't forget to "chmod +x" the file! Finally my TP works perfectly

Good luck!

Seb

source.

Following these recomendations, I can have sound at boot up but after a suspend my sound goes out. Also, resuming from hibernate causes no sound and slow downs like before. I have tried increasing the sleep duration in the script with no luck. I have also tried relaying the command outputs to a log file, but nothing is ever put in it. I have tried manually entering those commands, but they never return any failure messages and my sound never comes back on.

I think my hibernate would return to normal if i just copy the suspend function with the label 'hibernate.' I need to try that.

If anyone has any ideas on that resume script or any other input I would really appreciate it.

Sorry I posted this when I still haven't tried a few things. I didn't realize I had not tried them until writing this post.

Thanks!

-Shadrack

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • AMD confirms 26.6.2 FSR driver breaks on many Windows PCs by Sayan Sen Earlier today AMD released a major graphics driver update as it brings support for FSR 4.1 to Radeon RX 7000 series GPUs. The new update, version 26.6.2, also brings support for Assassin's Creed Black Flag Resynced and more. And while the driver technically supports Windows 10 version 21H2 and newer, the tech giant has confirmed that there is a major issue with the new driver on non-Windows 11 PCs as it fails to launch properly on such systems. The error message says, "The version of AMD Software that you have launched is not compatible with your currently installed AMD graphics driver." Therefore on the surface it looks like a compatibility problem. AMD has also confirmed that the device manager will display the yellow bang or yellow exclamation sign alongside your GPU under the Display adapters dropdown. Here is what the Radeon team's official advisory recommends to affected users: "Users Running Windows 10 and AMD Software: Adrenalin Edition 26.6.2 May Encounter Yellow Bang in Device Manager Affecting AMD Radeon RX Series Graphics ... Our Engineers are currently investigating this issue and will provide a fix once it is available. Affected users may revert to AMD Software: Adrenalin Edition 26.6.1 as a temporary workaround." As such you should revert back to the previous 26.6.1 driver which was released earlier this month. In case you were looking to play Assassin's Creed Black Flag Resynced and DOOM: The Dark Ages | Revelations you will probably have to wait a while if you want the driver to support those games officially. You can find the support article here on Microsoft's website.
    • https://uupdump.net/selectlang...7829-4524-978d-7b5fe79263e3
    • A McDonald's restaurant uses about 1.5 to 2 million gallons of water per year for operations like food preparation, cleaning, and restrooms. That is a lot less than the 2,083 gallons of water per megawatt hour mentioned above.
    • Turbo Pascal Original authorAnders Hejlsberg (at Borland) DeveloperBorland Release20 November 1983; 42 years ago[1][2] Operating systemCP/M, CP/M-86, MS-DOS, Windows 3.x, Classic Mac OS PlatformZ80, x86, 68000, PC-98 https://en.wikipedia.org/wiki/Turbo_Pascal It was the one language I actually learned to program in.   I wasn't very good at it and never used it at work.    If anyone has any personal Turbo Pascal stories or personal accomplishments using it, please take a moment to share.   Thanks. Peace
    • Underpowered and overpriced, both separately and together. This is to be taken as a "1st gen" (Linux+Proton based), and to wait for the 2nd gen that hopefully is a bit better value/balanced. Or wait for a sale.
  • Recent Achievements

    • Week One Done
      Almohandis earned a badge
      Week One Done
    • Rookie
      dorf went up a rank
      Rookie
    • First Post
      mike_rumble earned a badge
      First Post
    • Dedicated
      tuben earned a badge
      Dedicated
    • Week One Done
      mnsgroup earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      499
    2. 2
      +Edouard
      208
    3. 3
      PsYcHoKiLLa
      100
    4. 4
      Michael Scrip
      87
    5. 5
      neufuse
      71
  • Tell a friend

    Love Neowin? Tell a friend!