Re: no sound with alsa
On 2008-05-30 09:59:05 -0500, Joe Corneli wrote: I switched to a full network install and sound works there. I didn't ever figure anything out on the package-by-package level! But perhaps the real problem is still there and your full network install did some workaround. Is the udev package still installed? What are the contents of your /etc/modules file? -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
I switched to a full network install and sound works there. I didn't ever figure anything out on the package-by-package level! On 5/29/08, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2007-12-05 11:20:19 -0600, Joe Corneli wrote: I'm afraid I celebrated too soon. While it is true that running the udev commands you indicated and reinstalling alsa-base worked as long as I kept my computer on, when I turned it off, somewhere it must have changed configuration files -- because when I restarted the computer, sound was not working again, and it gave me this error: ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default === Could not load default driver and no driver specified in config file. Exiting. I have exactly the same problem. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408746#36 I have removed /etc/modprobe.d/sound (the buggy file generated by alsaconf) as suggested in another message and rebooted, but no change. Any news about these problems? -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
On 2007-12-05 11:20:19 -0600, Joe Corneli wrote: I'm afraid I celebrated too soon. While it is true that running the udev commands you indicated and reinstalling alsa-base worked as long as I kept my computer on, when I turned it off, somewhere it must have changed configuration files -- because when I restarted the computer, sound was not working again, and it gave me this error: ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default === Could not load default driver and no driver specified in config file. Exiting. I have exactly the same problem. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408746#36 I have removed /etc/modprobe.d/sound (the buggy file generated by alsaconf) as suggested in another message and rebooted, but no change. Any news about these problems? -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
Output from lsmod | grep snd looks exactly the same before and after the udev/udevtrigger commands you suggested. On 12/6/07, Elimar Riesebieter [EMAIL PROTECTED] wrote: On Wed, 05 Dec 2007 the mental interface of Joe Corneli told: % cat /etc/modprobe.d/sound alias snd-card-0 snd-powermac options snd-powermac index=0 This one is produced from an old version og alsaconf. The kernel is told to load snd-powermac by this file, but udev wants to load snd_aoa_codec_tas. Move this file out of /etc/modprobe.d/, reboot and check again please. No luck there... got the same results I mentioned. Send the output of lsmod | grep snd Here you go: snd_aoa_i2sbus 24228 0 snd_pcm_oss 52032 0 snd_mixer_oss20704 1 snd_pcm_oss snd_pcm 91396 2 snd_aoa_i2sbus,snd_pcm_oss snd_timer26500 1 snd_pcm snds_page_alloc 11304 1 snd_pcm snd 65908 5 snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore11204 1 snd snd_aoa_soundbus 8004 1 snd_aoa_i2sbus How does lsmod looks after the udevtrigger hack? Elimar -- Numeric stability is probably not all that important when you're guessing;-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
On Thu, 06 Dec 2007 the mental interface of Joe Corneli told: Output from lsmod | grep snd looks exactly the same before and after the udev/udevtrigger commands you suggested. Sound works? Elimar -- Never make anything simple and efficient when a way can be found to make it complex and wonderful ;-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
No sound -- when I try to play an OGG file, I still get the message I quoted earlier: cannot find card '0' [...] Could not load default driver and no driver specified in config file. Exiting. (Removing the ~/.libao file changes the last line of this message to Error: Cannot open device alsa09, which we saw before as well.) On 12/6/07, Elimar Riesebieter [EMAIL PROTECTED] wrote: On Thu, 06 Dec 2007 the mental interface of Joe Corneli told: Output from lsmod | grep snd looks exactly the same before and after the udev/udevtrigger commands you suggested. Sound works? Elimar -- Never make anything simple and efficient when a way can be found to make it complex and wonderful ;-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
A quick addendum: When I shut down the machine it says something like alsactl store failed [...] no soundcards found. So whatever settings it stores or retrieves are messed up. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
I'm afraid I celebrated too soon. While it is true that running the udev commands you indicated and reinstalling alsa-base worked as long as I kept my computer on, when I turned it off, somewhere it must have changed configuration files -- because when I restarted the computer, sound was not working again, and it gave me this error: ALSA lib confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:391:(snd_func_concat) error evaluating strings ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1070:(snd_func_refer) error evaluating name ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3968:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default === Could not load default driver and no driver specified in config file. Exiting. Furthermore, when I tried to run the udev commands you indicated followed by apt-get --reinstall install alsa-base, that did not solve the problem again. So there seems to be some mystery here. FYI here are some files that look relevant, but I don't know where to go from here. % cat /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with # are ignored. apm_emu loop sbp2 therm_adt746x % cat /etc/modprobe.d/sound alias snd-card-0 snd-powermac options snd-powermac index=0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
On Wed, 05 Dec 2007 the mental interface of Joe Corneli told: [...] % cat /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with # are ignored. apm_emu loop sbp2 therm_adt746x This one looks okay ;) % cat /etc/modprobe.d/sound alias snd-card-0 snd-powermac options snd-powermac index=0 This one is produced from an old version og alsaconf. The kernel is told to load snd-powermac by this file, but udev wants to load snd_aoa_codec_tas. Move this file out of /etc/modprobe.d/, reboot and check again please. Send the output of lsmod | grep snd which sholuld look similar to: snd_aoa_codec_tas 13216 2 snd_aoa_fabric_layout12392 0 snd_aoa17472 2 snd_aoa_codec_tas,snd_aoa_fabric_layout snd_aoa_i2sbus 21540 1 snd_pcm_oss47968 0 snd_mixer_oss 19008 1 snd_pcm_oss snd_pcm85508 2 snd_aoa_i2sbus,snd_pcm_oss snd_timer 22564 1 snd_pcm snd_page_alloc 9352 1 snd_pcm snd62036 8 snd_aoa_codec_tas,snd_aoa_fabric_layout,snd_aoa,snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 6948 1 snd snd_aoa_soundbus6148 2 snd_aoa_fabric_layout,snd_aoa_i2sbus On Wed, 05 Dec 2007 the mental interface of Joe Corneli told: A quick addendum: When I shut down the machine it says something like alsactl store failed [...] no soundcards found. So whatever settings it stores or retrieves are messed up. This is why alsactl is looking for snd_powermac, which I guess is not available, though. Elimar -- It's a good thing we don't get all the government we pay for. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
% cat /etc/modprobe.d/sound alias snd-card-0 snd-powermac options snd-powermac index=0 This one is produced from an old version og alsaconf. The kernel is told to load snd-powermac by this file, but udev wants to load snd_aoa_codec_tas. Move this file out of /etc/modprobe.d/, reboot and check again please. No luck there... got the same results I mentioned. Send the output of lsmod | grep snd Here you go: snd_aoa_i2sbus 24228 0 snd_pcm_oss 52032 0 snd_mixer_oss20704 1 snd_pcm_oss snd_pcm 91396 2 snd_aoa_i2sbus,snd_pcm_oss snd_timer26500 1 snd_pcm snds_page_alloc 11304 1 snd_pcm snd 65908 5 snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore11204 1 snd snd_aoa_soundbus 8004 1 snd_aoa_i2sbus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
On Fri, Nov 30 2007, at 18:46 +0100, Elimar Riesebieter wrote: If you have udev running and a kernel = 2.6.18-rc? then udev should load your snd_aoa flavour at G4 PB's. Note: do not mention any snd-* module in /etc/modules and no user-snd-blacklists in /etc/modprobe.d/. This may be true for a new alubook5,8 ... it seems to be wrong at least for my old titanium-IV: if I do not load explicitly snd-powermac via /etc/modules alsa will not start (something like no soundcards found or so ..) Kernel is a 2.6.18-rc4 on the tibook ... HTH Best Regards Wolfgang -- Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/ http://profiles.yahoo.com/wolfgangpfeiffer Key: 0xE3037113 http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
On Wed, 05 Dec 2007 the mental interface of Joe Corneli told: % cat /etc/modprobe.d/sound alias snd-card-0 snd-powermac options snd-powermac index=0 This one is produced from an old version og alsaconf. The kernel is told to load snd-powermac by this file, but udev wants to load snd_aoa_codec_tas. Move this file out of /etc/modprobe.d/, reboot and check again please. No luck there... got the same results I mentioned. Send the output of lsmod | grep snd Here you go: snd_aoa_i2sbus 24228 0 snd_pcm_oss 52032 0 snd_mixer_oss20704 1 snd_pcm_oss snd_pcm 91396 2 snd_aoa_i2sbus,snd_pcm_oss snd_timer26500 1 snd_pcm snds_page_alloc 11304 1 snd_pcm snd 65908 5 snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore11204 1 snd snd_aoa_soundbus 8004 1 snd_aoa_i2sbus How does lsmod looks after the udevtrigger hack? Elimar -- Numeric stability is probably not all that important when you're guessing;-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
On 2007-11-30 18:46:04 +0100, Elimar Riesebieter wrote: The alsaconf script doesn't break sound. It is just unusable for ppc cards right now. I don't see the difference. If you have udev running and a kernel = 2.6.18-rc? then udev should load your snd_aoa flavour at G4 PB's. Note: do not mention any snd-* module in /etc/modules and no user-snd-blacklists in /etc/modprobe.d/. linux-sound-base has to be configured for alsa. I have nothing in my /etc/modules, but I have: ay:~ cat /etc/modprobe.d/local # Place your local directives here. install sound /sbin/modprobe dmasound_pmac ay:~ cat /etc/modprobe.d/sound alias snd-card-0 snd-powermac options snd-powermac index=0 Could this be the problem? Also, I need to use an older kernel to make the external video output work (this is a first generation G4 PB). So, what if I want sound to still work with older kernels? -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
Thanks! the udev approach you indicated followed by reinstalling alsa-base and adjusting the volume via alsamixer worked for me. On 11/30/07, Elimar Riesebieter [EMAIL PROTECTED] wrote: Hi gents, On Thu, 29 Nov 2007 the mental interface of Joe Corneli told: Vincent: I would be interested to know if you ever resolved the issues you described at: http://lists.debian.org/debian-powerpc/2006/08/msg00038.html because I am having the same problem now! Error: Cannot open device alsa09. [...] The mentioned alsa device is provided by libao2. Since version 0.8.7 there is no alsa09 device present. We have to use alsa vor the alsa 0.9/1 API now. If you have libao (0.8.8-3) installed, the entry in /etc/libao.conf should be correct. If you have a ~/.libao you might delete it or do a echo default_driver=alsa ~/.libao. On Fri, 30 Nov 2007 the mental interface of Vincent Lefevre told: On 2007-11-29 01:25:39 -0600, Joe Corneli wrote: Vincent: I would be interested to know if you ever resolved the issues you described at: http://lists.debian.org/debian-powerpc/2006/08/msg00038.html because I am having the same problem now! Error: Cannot open device alsa09. I was using OSS, and this is the alsaconf script that broke the sound system. See The alsaconf script doesn't break sound. It is just unusable for ppc cards right now. You can try /etc/init.d/udev restart udevtrigger instead. If you want to use OSS you have to run dpkg-reconfigure linux-sound-base and choose oss. The driver should be loaded via /etc/modules. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=381658 There's also a bug in the Linux kernel: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408746 If you have udev running and a kernel = 2.6.18-rc? then udev should load your snd_aoa flavour at G4 PB's. Note: do not mention any snd-* module in /etc/modules and no user-snd-blacklists in /etc/modprobe.d/. linux-sound-base has to be configured for alsa. Elimar -- Planung: Ersatz des Zufalls durch den Irrtum. -unknown- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
On 2007-11-29 01:25:39 -0600, Joe Corneli wrote: Vincent: I would be interested to know if you ever resolved the issues you described at: http://lists.debian.org/debian-powerpc/2006/08/msg00038.html because I am having the same problem now! Error: Cannot open device alsa09. I was using OSS, and this is the alsaconf script that broke the sound system. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=381658 There's also a bug in the Linux kernel: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408746 -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
Hi gents, On Thu, 29 Nov 2007 the mental interface of Joe Corneli told: Vincent: I would be interested to know if you ever resolved the issues you described at: http://lists.debian.org/debian-powerpc/2006/08/msg00038.html because I am having the same problem now! Error: Cannot open device alsa09. [...] The mentioned alsa device is provided by libao2. Since version 0.8.7 there is no alsa09 device present. We have to use alsa vor the alsa 0.9/1 API now. If you have libao (0.8.8-3) installed, the entry in /etc/libao.conf should be correct. If you have a ~/.libao you might delete it or do a echo default_driver=alsa ~/.libao. On Fri, 30 Nov 2007 the mental interface of Vincent Lefevre told: On 2007-11-29 01:25:39 -0600, Joe Corneli wrote: Vincent: I would be interested to know if you ever resolved the issues you described at: http://lists.debian.org/debian-powerpc/2006/08/msg00038.html because I am having the same problem now! Error: Cannot open device alsa09. I was using OSS, and this is the alsaconf script that broke the sound system. See The alsaconf script doesn't break sound. It is just unusable for ppc cards right now. You can try /etc/init.d/udev restart udevtrigger instead. If you want to use OSS you have to run dpkg-reconfigure linux-sound-base and choose oss. The driver should be loaded via /etc/modules. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=381658 There's also a bug in the Linux kernel: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408746 If you have udev running and a kernel = 2.6.18-rc? then udev should load your snd_aoa flavour at G4 PB's. Note: do not mention any snd-* module in /etc/modules and no user-snd-blacklists in /etc/modprobe.d/. linux-sound-base has to be configured for alsa. Elimar -- Planung: Ersatz des Zufalls durch den Irrtum. -unknown- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
On Thu, 29 Nov 2007 the mental interface of Joe Corneli told: Vincent: I would be interested to know if you ever resolved the issues you described at: http://lists.debian.org/debian-powerpc/2006/08/msg00038.html because I am having the same problem now! Error: Cannot open device alsa09. $ echo default_driver=alsa ~/.libao $ man libao.conf Elimar -- Talking much about oneself can also be a means to conceal oneself. -Friedrich Nietzsche -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no sound with alsa
On 11/29/07, Elimar Riesebieter [EMAIL PROTECTED] wrote: On Thu, 29 Nov 2007 the mental interface of Joe Corneli told: Vincent: I would be interested to know if you ever resolved the issues you described at: http://lists.debian.org/debian-powerpc/2006/08/msg00038.html because I am having the same problem now! Error: Cannot open device alsa09. $ echo default_driver=alsa ~/.libao $ man libao.conf Elimar -- Talking much about oneself can also be a means to conceal oneself. -Friedrich Nietzsche -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]