SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I have Slack 12 with kernel 2.6.21.5 up and running , everything goes fine. I have installed recently the Suspend2 software, patched and compiled the kern , It did work fine , the box hibernate ( to disk) perfectly and returns from the hibernation fine nothing rare happened, the only thing is that sound doesn't work after i return from the hibernation satate. Does eanybody has the same problem ?
Edit: welcome to Slackware forum
(every thing from memory, i was using gentoo for a long time on my friend's laptop, my office desk is slack and no tuxonice)
we have to compile sound drivers as modules and we have to unload and reload then during the hibernate and resume processes.
check these files (not sure)
common.conf, hibernate.conf suspend.conf
these two lines should be there and we have to specify our modules name here
1.UnloadModules
2. LoadModules
i think the suspend2 is moved on to tuxonice : please check this too
I don't need to unload the module for my soundcard to suspend/resume properly (Thinkpad t43p). But the alsa driver I had to use on my Thinkpad A22m had a bug that prevented it from properly resuming. The module name was snd-cs46xx, IIRC.
(It's been some time, but IIRC, I managed to get it to work by killing all programs using /dev/dsp*, dev/snd/* and dev/sound/* and then unloading snd-cs46xx. All these options can be set in hibernate.conf.)
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
Hey,
kinda a different advice .,.. I never used the software suspend etc., I upgraded to the 2.6.23 kernel with kernel level support for hibernation. everything works really well for me. ymmv.
I've modified the common.conf filies and the sound worked, not as i spected because when i play sound with Audacious and hiberanete ( without stopping the audacios ) the sound doesnt work .. I think it is a good idea to upgrade the kernel, becasue i use an Nvidia MCP61S. Thank you all .
suppose in future if u plan to use suspend then use tuxonice, the same suspend2 renamed to tuxonice so there will be the exact patch available for the latest kernel version
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.