LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-07-2004, 09:07 PM   #1
talkingwires
Member
 
Registered: Jan 2004
Location: Boone, NC
Distribution: Debian SID
Posts: 49

Rep: Reputation: 15
Udev and ALSA


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?
 
Old 11-08-2004, 08:17 AM   #2
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
Here's what I've got...


jeff@gentoo jeff $ ls -l /dev/mixer
lrwxrwxrwx 1 root root 11 Nov 8 02:00 /dev/mixer -> sound/mixer
jeff@gentoo jeff $ ls -l /dev/sound/mixer
crw-rw---- 1 root audio 14, 0 Nov 8 02:00 /dev/sound/mixer
 
Old 11-08-2004, 12:43 PM   #3
talkingwires
Member
 
Registered: Jan 2004
Location: Boone, NC
Distribution: Debian SID
Posts: 49

Original Poster
Rep: Reputation: 15
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...
 
Old 11-25-2004, 04:30 AM   #4
Cintra
LQ Newbie
 
Registered: Feb 2004
Location: Norway
Distribution: SuSE 9.1, Knoppix/Debian, Gentoo 2.6.10-rc2
Posts: 11

Rep: Reputation: 0
Quote:
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

thats with udev btw on Gentoo 2.6.10-rc2.

mvh

Last edited by Cintra; 11-26-2004 at 12:38 AM.
 
Old 11-25-2004, 09:29 PM   #5
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
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'.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading to 2.6 Kernel, ALSA, Udev Kenji Miyamoto Slackware 8 08-27-2005 05:24 PM
How to get udev to play nicely with ALSA ProtoformX Slackware 6 08-18-2005 10:41 AM
udev 058- anyone have more alsa issues? abrouwers Slackware 5 07-22-2005 06:02 PM
ALSA + UDEV = no no!! ProtoformX Slackware 9 01-25-2005 09:01 PM
udev, /dev & alsa tobyl Slackware 7 07-09-2004 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration