You are not logged in.

#1 2013-12-07 23:40:55

Chill
Member
Registered: 2012-09-15
Posts: 7

Kernel module not properly unloaded at shutdown

Hello everyone,

I guess I have found the solution to my problem described in the following topic: https://bbs.archlinux.org/viewtopic.php?pid=1215504. It's about my headphone output not working when booting from Arch to Windows 7.

When I unload the module manually with:

modprobe -r snd_hda_intel

Sound with Windows 7 works perfectly (without removing the battery from my laptop!).

Now I would like to know, how to properly unload this module before powering off the machine?

Offline

#2 2013-12-07 23:45:28

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Kernel module not properly unloaded at shutdown

Never heard of that since rebooting should clear hardware states, no?  In any case, why not run an `rmmod snd_hda_intel` via systemd on shutdown?

Offline

#3 2013-12-08 03:40:06

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Kernel module not properly unloaded at shutdown

graysky wrote:

Never heard of that since rebooting should clear hardware states, no?  In any case, why not run an `rmmod snd_hda_intel` via systemd on shutdown?

Yeah, seems like if you require a hack/workaround for this, it would be easy enough to set up.  You could use a systemd.service for this, but I would probably go the even easier route and just drop a one line script in /usr/lib/systemd/system-shutdown.

Offline

#4 2013-12-08 03:48:09

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: Kernel module not properly unloaded at shutdown

Modules are not unloaded at shutdown. If you need such workaround, I suggest to report this issue to upstream.

Offline

Board footer

Powered by FluxBB