[Alsa-user] UPDATED , PART 2 - Problem with Alsa 0.9.4 with IBM Thinkpad A22e (cs46xx module)
Brought to you by:
perex
From: Weber, G. M. <Geo...@mc...> - 2003-07-17 20:37:56
|
OK - I found out part of my problems - the module "snd-pcm-oss" was not loaded! I don't know why it took me so long to find this out. After loading it, /dev/dsp, /dev/mixer, and all their buddies showed up! Woo! I still am having problems with permissions for some reason, and I haven't figured it out. My research on the web showed me that I'm not the first with this problem: http://lists.debian.org/debian-powerpc/2002/debian-powerpc-200211/msg00304.h tml ... but nobody answered his question. I have a very similar setup as the message in the link above, shown below: # /etc/modules.conf alias char-major-116 snd alias snd-card-0 snd-cs46xx alias char-major-14 soundcore alias sound-slot-0 snd-card-0 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss options snd major=116 cards_limit=1 device_mode=0660 options snd-cs46xx index=0 # /etc/devfs/devfsd.conf REGISTER ^sound$ PERMISSIONS root.audio 0660 REGISTER ^sound/.* PERMISSIONS root.audio 0660 REGISTER ^snd$ PERMISSIONS root.audio 0660 REGISTER ^snd/.* PERMISSIONS root.audio 0660 # ls -l /dev/sound crw-rw---- 1 root audio 14, 12 1969-12-31 18:00 adsp crw-rw---- 1 root audio 14, 4 1969-12-31 18:00 audio crw-rw---- 1 root audio 14, 9 1969-12-31 18:00 dmmidi crw-rw---- 1 root audio 14, 3 1969-12-31 18:00 dsp crw-rw---- 1 root audio 14, 2 1969-12-31 18:00 midi crw-rw---- 1 root audio 14, 0 1969-12-31 18:00 mixer $ ls -l /dev/sound (audio-group user issuing) ls: /dev/sound/midi: Permission denied ls: /dev/sound/dmmidi: Permission denied ls: /dev/sound/mixer: Permission denied ls: /dev/sound/dsp: Permission denied ls: /dev/sound/audio: Permission denied ls: /dev/sound/adsp: Permission denied Again, any manual attempt to change ownership of the above to "gweber" or to change the permissions to 0666 were unsuccessful. Puzzled!!! Thanks, Geoff -----Original Message----- From: Weber, Geoffrey M. Sent: Thursday, 17 July, 2003 14:01 To: 'als...@li...' Subject: [Alsa-user] UPDATED - Problem with Alsa 0.9.4 with IBM Thinkpad A22e (cs46xx module) Last week I sent out the message below trying to describe my problems with a reinstallation of Debian sid on my laptop. After working it quite a bit more, I THINK it may actually be a devfs problem. I feel like I'm missing something very simple, and am sure I'll be embarrassed I didn't think of it when it's solved! Here are my symptoms: The modules still get the error message(s) first described (see below) and still stay loaded. I am able to use alsamixer and play files with "aplay" as root only but not my audio group-priviledged user (I get Permission Denied messages). I still don't have links like /dev/dsp or /dev/mixer, but I do have a /dev/snd directory that looks like: # ls -l /dev/snd total 0 crw-rw---- 1 root audio 116, 0 1969-12-31 18:00 controlC0 crw-rw---- 1 root audio 116, 32 1969-12-31 18:00 controlC1 crw-rw---- 1 root audio 116, 64 1969-12-31 18:00 controlC2 crw-rw---- 1 root audio 116, 96 1969-12-31 18:00 controlC3 crw-rw---- 1 root audio 116, 128 1969-12-31 18:00 controlC4 crw-rw---- 1 root audio 116, 160 1969-12-31 18:00 controlC5 crw-rw---- 1 root audio 116, 192 1969-12-31 18:00 controlC6 crw-rw---- 1 root audio 116, 224 1969-12-31 18:00 controlC7 crw-rw---- 1 root audio 116, 8 1969-12-31 18:00 midiC0D0 crw-rw---- 1 root audio 116, 24 1969-12-31 18:00 pcmC0D0c crw-rw---- 1 root audio 116, 16 1969-12-31 18:00 pcmC0D0p crw-rw---- 1 root audio 116, 17 1969-12-31 18:00 pcmC0D1p crw-rw---- 1 root audio 116, 18 1969-12-31 18:00 pcmC0D2p crw-rw---- 1 root audio 116, 33 1969-12-31 18:00 timer With all the searching I've done over the last 2-3 weeks, I can't find a list of devices that should be in this directory. Am I missing something (i.e. ./dsp or ./mixer) or is this all I should have in here? All devfs/devfsd threads that I've seen only have talked about adding a couple of MKOLDCOMPAT links (see the end of my previous email) - nothing mentioning /dev/dsp at all. Does /dev/dsp link against one of the pcm entries or something? What am I missing? I do have a /proc/asound/ directory and everything looks to be OK in there AFAIK. Other than that, I still get the cs46xx errors on the module load and as touched above, my "audio" group user can't open a mixer or aplay: $ alsamixer alsamixer: function snd_ctl_open failed for default: Permission denied $ aplay aplay: main:480: audio open error: Permission denied The root user can set the mixer and play sound files fine while the audio group user cannot - even though everything in the /dev directory relating to sound has the "audio" group read/write permissions set (see directory listing above). For the heck of it I tried changing ownership of all sound-related devices in /dev to my user (gweber), but that didn't help either. # groups gweber gweber: gweber disk cdrom audio src video staff oracle Thanks in advance for any help you can offer!!! Geoff Weber gw...@ie... -----Original Message----- From: Weber, Geoffrey M. Sent: Friday, 11 July, 2003 13:27 To: 'als...@li...' Subject: Problem with Alsa 0.9.4 with IBM Thinkpad A22e (cs46xx module) Hello, I have been using Alsa for a couple of years with different Linux installs (primarily Debian unstable) on my home and laptop machines, and for over a year with this particular laptop (IBM Thinkpad A22e) without any major difficulties. I have done quite a few installations on my own and others' machines with the same basic configuration - compiled kernel, Alsa compiled as modules, etc. However, due to a recent harddrive crash on my laptop I was forced to reinstall my system, and that's when I started running into some difficulties. I have not been able to find any relevant help online directly related to this problem, so am turning to this list as a result (BTW - I had been keeping fairly well up-to-date on the alsa drivers (0.9alpha through 0.9.3 I believe), but with the new install I had moved to 0.9.4). What I am now seeing on bootup is: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:416:cs46xx: failure waiting for FIFO command to complete ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:167:AC'97 read problem (ACSTS_VSTS), codec_index 0, reg = 0x7e ...and when I try to stop and start Alsa manually I get the following: ALSA ../../alsa-kernel/pci/cs46xx/cs46xx_lib.c:416:cs46xx: failure waiting for FIFO command to complete The modules DO stay loaded, but I only get dmmidi and midi00 devices in the /dev/sound directory (no /dev/dsp link or other device entries in /dev/sound). Here are some relevant commands and their output: # lsmod Module Size Used by Not tainted snd-cs46xx 70888 0 snd-pcm 62500 0 [snd-cs46xx] snd-timer 15364 0 [snd-pcm] snd-ac97-codec 40072 0 [snd-cs46xx] snd-page-alloc 5116 0 [snd-cs46xx snd-pcm] snd-rawmidi 14048 0 [snd-cs46xx] snd-seq-device 4288 0 [snd-rawmidi] snd 31524 0 [snd-cs46xx snd-pcm snd-timer snd-ac97-codec snd-rawmidi snd-seq-device] mousedev 4436 1 (autoclean) agpgart 26164 0 (autoclean) (unused) uhci 27356 0 (unused) vfat 10892 1 (autoclean) fat 32920 0 (autoclean) [vfat] fan 1632 0 (unused) thermal 6276 0 (unused) button 2540 0 (unused) processor 8344 0 [thermal] battery 5760 0 (unused) ac 1824 0 (unused) eepro100 20500 1 mii 2496 0 [eepro100] keybdev 2148 0 (unused) usb-storage 121968 0 (unused) scsi_mod 89280 0 [usb-storage] hid 19716 0 (unused) usbcore 65548 1 [uhci usb-storage hid] input 3744 0 [mousedev keybdev hid] # ls -lA /dev/sound total 0 crw-rw---- 1 root audio 14, 9 1969-12-31 18:00 dmmidi crw-rw---- 1 root audio 14, 2 1969-12-31 18:00 midi00 Can anyone please help me resolve this issue? Many thanks!!!! Geoff Weber gw...@ie... NOTICE: This electronic mail transmission may contain confidential information and is intended only for the person(s) named. Any use, copying or disclosure by any other person is strictly prohibited. If you have received this transmission in error, please notify the sender via e-mail. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Alsa-user mailing list Als...@li... https://lists.sourceforge.net/lists/listinfo/alsa-user NOTICE: This electronic mail transmission may contain confidential information and is intended only for the person(s) named. Any use, copying or disclosure by any other person is strictly prohibited. If you have received this transmission in error, please notify the sender via e-mail. |