I can do this after initial boot

####

linux-fefb:/tmp # rmmod snd_ice1712
ERROR: Module snd_ice1712 is in use
linux-fefb:/tmp # ls -alh /dev/snd/
total 0
drwxr-xr-x   3 root root      180 Jan 31 11:15 .
drwxr-xr-x  19 root root     4.1K Jan 31 11:15 ..
drwxr-xr-x   2 root root       60 Jan 31 11:15 by-path
crw-rw----+  1 root audio 116,  5 Jan 31 11:15 controlC0
crw-rw----+  1 root audio 116,  2 Jan 31 11:15 midiC0D0
crw-rw----+  1 root audio 116,  4 Jan 31 11:15 pcmC0D0c
crw-rw----+  1 root audio 116,  3 Jan 31 11:58 pcmC0D0p
crw-rw----+  1 root audio 116,  1 Jan 31 11:15 seq
crw-rw----+  1 root audio 116, 33 Jan 31 11:15 timer
linux-fefb:/tmp # rmmod -f snd_ice1712
linux-fefb:/tmp # ls -alh /dev/snd/
total 0
drwxr-xr-x   2 root root       80 Jan 31 12:38 .
drwxr-xr-x  19 root root     4.1K Jan 31 12:38 ..
crw-rw----+  1 root audio 116,  1 Jan 31 11:15 seq
crw-rw----+  1 root audio 116, 33 Jan 31 11:15 timer
linux-fefb:/tmp # modprobe -fv snd_ice1712
insmod 
/lib/modules/3.11.6-4-desktop/kernel/sound/pci/ice1712/snd-ice1712.ko 
dxr_enable=0
linux-fefb:/tmp # ls -alh /dev/snd/
total 0
drwxr-xr-x   3 root root      180 Jan 31 12:38 .
drwxr-xr-x  19 root root     4.1K Jan 31 12:38 ..
drwxr-xr-x   2 root root       60 Jan 31 12:38 by-path
crw-rw----+  1 root audio 116,  5 Jan 31 12:38 controlC0
crw-rw----+  1 root audio 116,  2 Jan 31 12:38 midiC0D0
crw-rw----+  1 root audio 116,  4 Jan 31 12:38 pcmC0D0c
crw-rw----+  1 root audio 116,  3 Jan 31 12:38 pcmC0D0p
crw-rw----+  1 root audio 116,  1 Jan 31 11:15 seq
crw-rw----+  1 root audio 116, 33 Jan 31 11:15 timer

####

everything works and I got sound.

DOING SUSPEND... SUSPENDED.

WAKEUP
No sound now, my player (Audacious) tries to play something then stops, 
no warnings or errors.
Now doing the same as after startup

####

linux-fefb:/tmp # rmmod snd_ice1712
ERROR: Module snd_ice1712 is in use
linux-fefb:/tmp # ls -alh /dev/snd/
total 0
drwxr-xr-x   3 root root      180 Jan 31 12:38 .
drwxr-xr-x  19 root root     4.1K Jan 31 12:41 ..
drwxr-xr-x   2 root root       60 Jan 31 12:38 by-path
crw-rw----+  1 root audio 116,  5 Jan 31 12:38 controlC0
crw-rw----+  1 root audio 116,  2 Jan 31 12:38 midiC0D0
crw-rw----+  1 root audio 116,  4 Jan 31 12:38 pcmC0D0c
crw-rw----+  1 root audio 116,  3 Jan 31 12:39 pcmC0D0p
crw-rw----+  1 root audio 116,  1 Jan 31 11:15 seq
crw-rw----+  1 root audio 116, 33 Jan 31 11:15 timer
linux-fefb:/tmp # rmmod -f snd_ice1712
linux-fefb:/tmp # ls -alh /dev/snd/
total 0
drwxr-xr-x   2 root root       80 Jan 31 12:45 .
drwxr-xr-x  19 root root     4.1K Jan 31 12:45 ..
crw-rw----+  1 root audio 116,  1 Jan 31 11:15 seq
crw-rw----+  1 root audio 116, 33 Jan 31 11:15 timer
linux-fefb:/tmp # modprobe -fv snd_ice1712
insmod 
/lib/modules/3.11.6-4-desktop/kernel/sound/pci/ice1712/snd-ice1712.ko 
dxr_enable=0
linux-fefb:/tmp # ls -alh /dev/snd/
total 0
drwxr-xr-x   2 root root       80 Jan 31 12:45 .
drwxr-xr-x  19 root root     4.1K Jan 31 12:45 ..
crw-rw----+  1 root audio 116,  1 Jan 31 11:15 seq
crw-rw----+  1 root audio 116, 33 Jan 31 11:15 timer

####

No device nodes are created but why, this is the same thing I do as 
before doing a regular suspend?
I can't pass this step for some reason.

Takashi:
"The suspend/resume is simply not supported for ice1712 devices yet. 
It's a looongtime TODO."

Why not, what is the difference between the boot process ALSA init and 
the manual module insert (modprobe/insmod) or daemon reload.
What I am trying to do is basically write a small script that does the 
same thing that is happening during boot time and I can't find my way of 
doing this.


On 01/31/2014 11:37 AM, Peter Nelson wrote:
 > On Fri, 2014-01-31 at 00:27 +0200, .::AMP::. wrote:
 >> I have an M-Audio Audiophile 2496 sound card on my openSUSE 13.1 x64
 >> box. Card works just fine until I suspend the system and there is no
 >> way to get the sound back except reboot.
 > Unloading and reloading the module works for me. Not ideal mind you.

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to