Re: [Alsa-user] ICE1712 - no sound after suspend
At Sun, 02 Feb 2014 23:42:36 +0200, .::AMP::. wrote: 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. The proper suspend/resume needs to re-setup the codecs and restore the mixer and other settings in the kernel driver. This is the missing piece in ice1712 driver. Takashi -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ICE1712 - no sound after suspend
What a pity. I may try do this myself. I don't have experience with drivers but I have programming skills in other areas. Can anyone tell me where is the start point for involving in such thing, what do I need and where do I get it from? Thanks AMP On 02/03/2014 01:28 PM, Takashi Iwai wrote: At Sun, 02 Feb 2014 23:42:36 +0200, .::AMP::. wrote: 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. The proper suspend/resume needs to re-setup the codecs and restore the mixer and other settings in the kernel driver. This is the missing piece in ice1712 driver. Takashi -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
Re: [Alsa-user] ICE1712 - no sound after suspend
Just one more thought from my previous questions: What is the difference between the boot process ALSA init and the manual module insert (modprobe/insmod) or daemon reload. If we say suspend/resume in ice1712 driver lacks, it still works during boot, why this can't be duplicated after suspend/resume? What is happening after suspend/resume cycle that is so hard to overcome and reinitialize this driver? Thanks AMP On 02/03/2014 01:28 PM, Takashi Iwai wrote: At Sun, 02 Feb 2014 23:42:36 +0200, .::AMP::. wrote: 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. The proper suspend/resume needs to re-setup the codecs and restore the mixer and other settings in the kernel driver. This is the missing piece in ice1712 driver. Takashi -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Managing the Performance of Cloud-Based Applications
Re: [Alsa-user] ICE1712 - no sound after suspend
At Mon, 03 Feb 2014 17:26:50 +0200, .::AMP::. wrote: Hello, thanks to your feedback, I did a quick review of the ice1712.c file (where I saw you have worked on it) and another one emu10k1.c where I can see methods like static int snd_emu10k1_suspend(struct pci_dev *pci, pm_message_t state) and static int snd_emu10k1_resume(struct pci_dev *pci) Can I use these as a reference and try adopt them to work on ice1712.c or this is not an option (or that easy at all)? :-) Rather refer to ice1724.c. But, the biggest missing piece in ice1712 driver is rather the re-initialization (and the status restore) in the codec side. I am willing to help on this but I have to read more before I can do so. Can you tell me which documentation should I follow regarding ALSA drivers development? writing-an-alsa-driver in Documentation/DocBook can be the start point for hacking a PCI driver. Takashi Thanks in advance Nick On 02/03/2014 01:28 PM, Takashi Iwai wrote: At Sun, 02 Feb 2014 23:42:36 +0200, .::AMP::. wrote: 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. The proper suspend/resume needs to re-setup the codecs and restore the mixer and other settings in the kernel driver. This is the missing piece in
Re: [Alsa-user] ICE1712 - no sound after suspend
At Mon, 03 Feb 2014 19:25:26 +0200, .::AMP::. wrote: Hello again, I tried to build ALSA on my machine openSUSE 13.1 (3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) x86_64 x86_64 x86_64 GNU/Linux) and I got amp@linux-fefb:~/data/src/alsa-driver-1.0.25 ./configure This is way too old. And for working with the upstream code, rather try to build your own kernel and hack the driver there. Takashi -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ICE1712 - no sound after suspend
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=123612991iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ICE1712 - no sound after suspend
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. -- Peter Nelson pe...@fuzzle.org signature.asc Description: This is a digitally signed message part -- 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=123612991iu=/4140/ostg.clktrk___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ICE1712 - no sound after suspend
At Fri, 31 Jan 2014 00:27:08 +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. I've read almost any topic on the net related to this case (there are many) but none of the solutions works for me. I've tried all sorts of solutions related to ALSA, PulseAudio, kernel modules for this chip without success. Here is my hardware profile generated by alsa-info.sh http://www.alsa-project.org/db/?f=6537d73784243c3df35d5cf95e3a021990525fa9 I also use mudita24 (Envy24 control tool 1.1.0) and after suspend under Patchbay / Router I am locked (radio button goes back to this option when I try to change it) to S/PDIF In where this should be PCM Out. Also on Hardware Settings tab I am locked to S/PDF In where this should be Int 9600. All of this is working just fine right after reboot.I will provide any other information required to debug this further. The suspend/resume is simply not supported for ice1712 devices yet. It's a looongtime TODO. Takashi -- 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=123612991iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ICE1712 - no sound after suspend
On 31/01/14 09:37, 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=123612991iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user I have the same card at the moment installed in a box that dual boots openSuse and LinuxMint 16. I have never seen your problem it just works but having said that my openSUSE is 12.3 and not 13.1 which I have tried to install on two boxes and given up on as it appears the multimedia stuff is horribly broken. Could that be your issue ? My current card and previous versions have always worked out of the box in linux. Mike -- 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=123612991iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ICE1712 - no sound after suspend
On Fri, 2014-01-31 at 13:17 +, michael norman wrote: I have the same card at the moment installed in a box that dual boots openSuse and LinuxMint 16. I have never seen your problem it just works but having said that my openSUSE is 12.3 and not 13.1 which I have tried to install on two boxes and given up on as it appears the multimedia stuff is horribly broken. Could that be your issue ? My current card and previous versions have always worked out of the box in linux. For a suspend/resume too? On Fri, 2014-01-31 at 11:38 +0100, Takashi Iwai wrote: The suspend/resume is simply not supported for ice1712 devices yet. It's a looongtime TODO. IIRC it did work for my TerryTec Envy24 cards, but I might be mistaken, nowadays I use a RME card. For sure jackd won't work for a suspend/resume. -- [Alsa-user] OSS emulation doesn't allow mixing. [D-community-offtopic] The most funniest + shortest flame war http://lists.alioth.debian.org/pipermail/d-community-offtopic/2014-January/000438.html Welcome idiots - Woody Allen https://www.youtube.com/watch?v=L5ObycvN3DA -- 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=123612991iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ICE1712 - no sound after suspend
On Fri, 2014-01-31 at 14:06 +, michael norman wrote: Forgive me if I don't understand what you mean suspend/resume how ? Instead of a shut down or a restart you only switch to a sleep mode, or you really shut down, but after turning on the computer, it directly will restore the last session. -- 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=123612991iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ICE1712 - no sound after suspend
On Fri, 2014-01-31 at 15:13 +0100, Ralf Mardorf wrote: On Fri, 2014-01-31 at 14:06 +, michael norman wrote: Forgive me if I don't understand what you mean suspend/resume how ? Instead of a shut down or a restart you only switch to a sleep mode, or you really shut down, but after turning on the computer, it directly will restore the last session. My apologize, the OP only is talking about suspend ;). Suspend and Hibernate Suspend to RAM method cuts power to most parts of the machine aside from the RAM, which is required to restore the machine's state. Because of the large power savings, it is advisable for laptops to automatically enter this mode when the computer is running on batteries and the lid is closed (or the user is inactive for some time). Suspend to disk method saves the machine's state into swap space and completely powers off the machine. When the machine is powered on, the state is restored. Until then, there is zero power consumption. - https://wiki.archlinux.org/index.php/Suspend_and_Hibernate -- 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=123612991iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ICE1712 - no sound after suspend
On Fri, 2014-01-31 at 15:17 +0100, Ralf Mardorf wrote: On Fri, 2014-01-31 at 15:13 +0100, Ralf Mardorf wrote: On Fri, 2014-01-31 at 14:06 +, michael norman wrote: Forgive me if I don't understand what you mean suspend/resume how ? Instead of a shut down or a restart you only switch to a sleep mode, or you really shut down, but after turning on the computer, it directly will restore the last session. My apologize, the OP only is talking about suspend ;). Suspend and Hibernate Suspend to RAM method cuts power to most parts of the machine aside from the RAM, which is required to restore the machine's state. Because of the large power savings, it is advisable for laptops to automatically enter this mode when the computer is running on batteries and the lid is closed (or the user is inactive for some time). Suspend to disk method saves the machine's state into swap space and completely powers off the machine. When the machine is powered on, the state is restored. Until then, there is zero power consumption. - https://wiki.archlinux.org/index.php/Suspend_and_Hibernate PPS: Hibernation (or Suspend to disk) in computing is powering down a computer while retaining its state. - https://en.wikipedia.org/wiki/Hibernation_(computing) -- 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=123612991iu=/4140/ostg.clktrk ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user