[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

wheezy Audio Works for Root, Dies for User and it's not Perms.



	The system in question has one user account and that
account is in the audio group. The errors do not look like the
traditional  permission-related problems. Here is a sample of
what happens. It has never worked once since the wheezy
installation.

Script started on Tue 15 May 2012 05:29:48 AM CDT
martin@m:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:1220:(parse_def) show is not a compound
ALSA lib conf.c:1686:(snd_config_load1) _toplevel_:24:26:Unexpected char
ALSA lib conf.c:3406:(config_file_open) /usr/share/alsa/pulse-alsa.conf may be old or corrupted: consider to remove or fix it
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 4: Intel ICH - IEC958 [Intel ICH5 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
martin@m:~$ 
martin@m:~$ exit

The card lookup was the correct information.

Script started on Tue 15 May 2012 05:31:24 AM CDT
root@m:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 4: Intel ICH - IEC958 [Intel ICH5 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@m:~# exit

Not only does it correctly find the card, but sound works.
mplayer works properly, playing sound files and internet radio.

	As a normal user, mplayer produces many of the same
errors shown in the aplay -l command and fails to produce any
audio.

	I ran strace -e trace=open,close,read,write and the good
trace wasn't all that much different from the bad trace.

	Any idea as to what to look at next?

Thank you.

Martin McCormick


Reply to: