DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I installed Debian... after a few fits and starts it works great except for the sound. I can listen to MP3s in the WIndows partition without a problem - as root. When I operate as a user, there is no sound (except for the occasional beep) and I cant play music. I have apt-get removed alsa and then reinstalled it. I have been searching for an answer and cant find one. Help?
I operate the dual-boot, Dell Inspiron 5000 laptop
Debian Unstable (SID)
ESS soundcard
DEMSG says the following:
maestro: Configuring ESS Maestro 2E found at IO 0x1400 IRQ 5
maestro: subvendor id: 0x009f1028
maestro: PCI power management capability: 0x7622
maestro: AC97 Codec detected: v: 0x83847609 caps: 0x6940 pwr: 0xf
maestro: 1 channels configured.
maestro: version 0.15 time 10:28:46 Apr 14 2002
lscpi says the following:
pcilib: Cannot open /proc/bus/pci/02/00.0
pcilib: Cannot open /proc/bus/pci/02/00.1
lspci: Unable to read 64 bytes of configuration space.
alsamixer returns the following error:
alsamixer: function snd_ctl_open failed for default: No such device
alsactl
alsactl: save_state:1061: No soundcards found...
When I try to play xmms - the thing hangs as a user, works fine as root
When I go to Desktop Preferences-Sound everything looks fine
When I open volume control, nothing is muted, everything is "locked"
Check your /etc/group file. Debian likely has included a group "sound" or something along the lines. In addition, it may have chown'd the /dev/dsp to this group, and given the proper permissions (as this tends to be the accepted way of securely doing things of this nature) to this group. You will then simply need to add your user(s) to this group to enable them to listen to music/sounds.
You need to add yourself to the audio group. The permissions on the sound devices should already be set. Resist the temptation to chmod 666 anything in spite of the ill-informed advice you may get from some others.
Don't hand-edit files when you can just do addgroup username audio (note, if you don't have addgroup, install the adduser package, which you should have installed anyway)
You should adduser seanb audio as root then logout and back in for the change to take effect. If you still have problems before you start xmms to play a song try lsof /dev/dsp to see if anything has the sound in use already most likely it will be the artsd. Then make sure that you have the xmms-arts plugin installed and in use in the output plugins in the xmms preferences. You are not using alsa at the moment the module loaded tells you that you are using the oss sound through the arts sound server at least that is what KDE defaults too if you are using that not sure about gnome I never use it. In order to use alsa you have to either upgrade to a 2.6 kernel or get the proper drivers built for your running kernel for a 2.4 series.
lsof /dev/dsp
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
esd 739 seanb 5w CHR 14,3 247318 /dev/dsp0
This show that you or an application you have started is using the /dev/dsp from the looks of it I am guessing enlightment sound daemon (esd) which IIRC is used by Gnome for sound. Are you using Gnome for the desktop? You should try to kill 739 or if the PID has changed then that new number and start a sound application again and see if there is an output plugin for using that sound daemon although I am not too sure of this never use Gnome.
This is not a good sign you are still running the install kernel and there have been several security warnings about vulnerabilites in this kernel.
Quote:
So what are my options... apt-get remove alsa? then apt-get install alsa? When I installed debian I selected the ESS driver (soundcard) during setup.
thanks again guys...
You should upgrade to a new kernel you can still use a 2.4.18 kernel if you wish Debian kernels are patched when new exploits are found and the version number suffix is bumped up so apt will tell you to upgrade the kernel you now have installed. While you are at it get the proper alsa modules that can be installed at the same time for said new kernel if you install a 2.4 series, if a 2.6 there is no need for the alsa modules just the alsa-base and alsa-utils packages these same packages are needed for a 2.4 as well along with the already mentioned alsa kernel module package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.