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 there. All devfs/devfsd threads that I've
seen only have talked about the items at the end of my previous email -
nothing mentioning /dev/dsp at all. Does /dev/dsp link against on of the
pcm entries or should there be a dsp device in this list too?
I do have a /proc/asound/ directory and everything looks to be OK in there.
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, even though
everything in the /dev directory relating to sound has the "audio" group
read/write permissions set (see 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
[EMAIL PROTECTED]
-----Original Message-----
From: Weber, Geoffrey M.
Sent: Friday, 11 July, 2003 13:27
To: '[EMAIL PROTECTED]'
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
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user