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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running udev and ALSA on my Debian installation (and obviously running Unstable). Sound works fine in most programs, but I'm having trouble with Mplayer (1.0-pre5-0.8). Whether I try using ALSA or OSS drivers, I get a message complaining about the lack of /dev/mixer (which doesn't exist, the program's right about that), although the ALSA driver's message is accompanied by a loop that forces me to restart X. A quick peek into my /dev and /dev/snd doesn't reveal any likely canidates, either.
So my question is, how can I get udev to create the missing /dev/mixer, or at least get Mplayer to ignore its absence? Is my only choice to load ALSA's OSS-compatibility layer? (Ugh.) Or is some sort of symbolic link to some file I've never heard of in order? Help?
debian:/home/ben# ls -l /dev/sound
ls: /dev/sound: No such file or directory
debian:/home/ben# ls -l /dev/sound/mixer
ls: /dev/sound/mixer: No such file or directory
Um, I'm aware of how to list the contents of a directory, if that's what you're implying...
Originally posted by talkingwires And here's what I've got:
debian:/home/ben# ls -l /dev/sound
ls: /dev/sound: No such file or directory
debian:/home/ben# ls -l /dev/sound/mixer
ls: /dev/sound/mixer: No such file or directory
Um, I'm aware of how to list the contents of a directory, if that's what you're implying...
Hei talkingwires
Did you ever sort this out?
I'm wondering the same thing, trying to get a grip on what applies when using udev.. looking in fact for an Alsa/Udev Howto
regards
EDIT: I re-configured all of the alsa/sound devices to 'built-in for the first time (have always used modules until now) and everything works fine AND I now have
# ls -l /dev/mixer
lrwxrwxrwx 1 root root 11 Nov 26 2004 /dev/mixer -> sound/mixer
I've had udev and alsa working together, but I haven't tried with mplayer. I assume the mixer works through the /dev/snd/controlC* devices. Anyway I could play an mp3 using mpg321 started with option '-o alsa09' (apparently also valid for alsa v1.0.6 which I'm using). Alsamixer worked fine for setting levels.
Mpg321 depends on an alsa plugin for the libao library:
/usr/lib/ao/plugins-2/libalsa09.so
I'm not sure if there is a corresponding thing for mplayer, but mpg321 would be a good test for your system. Make sure you have all the libao stuff installed. I think there are a couple of relevant Debian packages. I wasn't using Debian for this tho'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.