LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-07-2004, 02:41 PM   #1
shtik
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora, Slackware
Posts: 18

Rep: Reputation: 0
where is /dev/mixer?


hi,

i'm using slackware 10 with the (testing) kernel 2.6.7. while sound works fine with xmms (and alsa driver) it doesn`t work with mplayer. i get an error message about the missing device file /dev/mixer when choosing the alsa driver.

Code:
ALSA lib control.c:654: (snd_ctl_open_noupdate) Invalid CTL /dev/mixer 77%
alsa-control: mixer attach /dev/mixer error: Datei oder Verzeichnis nicht gefunden
so, i realized there is no /dev/mixer and no /dev/dsp. i'm not sure what these files are good for and why these are missing ...

any help is appreciated, thanks!
shtik
 
Old 08-07-2004, 03:44 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
if you have /dev/sound/mixer and /dev/sound/dsp, try :

ln -s /dev/sound/mixer /dev/mixer
ln -s /dev/sound/dsp /dev/dsp
 
Old 08-07-2004, 06:29 PM   #3
shtik
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora, Slackware
Posts: 18

Original Poster
Rep: Reputation: 0
thanks for this hint, i actually realize that the finding file names by using the "tab" key in bash wouldn't work with device files ... therefore the files are existent and correct symlinks. that seems even strange, the file is there (with rw-rights on others) but mplayer doesn`t find it??
wonder what`s going on with good ol` mplayer?
 
Old 08-19-2004, 01:56 PM   #4
superandrzej
Member
 
Registered: Nov 2003
Posts: 63

Rep: Reputation: 15
>wonder what`s going on with good ol` mplayer?

I have the same problem. There is something wrong with gmplayer (GUI of mplayer) in MPlayer 1.0pre5. I guess this is the verison you are using.
There are few ways to bypass the problem::
* use ESD as an audio driver in gmplayer
* use mplayer from command line
* use kmplayer (KDE GUI for mplayer)
 
Old 08-20-2004, 12:40 AM   #5
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Check to see if the OSS emulation modules are loaded,
Code:
mike@slaptop:~$ lsmod |grep oss
snd_pcm_oss            49864  0 
snd_mixer_oss          17600  1 snd_pcm_oss
snd_pcm                86152  2 snd_pcm_oss,snd_es1968
snd                    47972  9 snd_pcm_oss,snd_mixer_oss,snd_es1968,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
mike@slaptop:~$
/dev/mixer and /dev/dsp are legacies from the OSS days, as I understand it.. You'll only be able to use them if you've got those emulation modules loaded and working.

--Shade
 
Old 08-29-2004, 01:12 AM   #6
bareego
Member
 
Registered: Nov 2003
Location: Brisbane, Australia
Distribution: Crux 2.0
Posts: 66

Rep: Reputation: 15
Cool it's an gmplayer bug

This is a known issue with mplayer pre-05 it seems, and supposedly fixed in the CVS.
See here

http://www.redhat.com/archives/fedor.../msg01444.html

cheers
bareego
 
Old 08-31-2004, 09:35 AM   #7
gt73
Member
 
Registered: Sep 2003
Distribution: Zenwalk 2.8
Posts: 37

Rep: Reputation: 15
Hi folks,

I found this link:

http://zebra.fh-weingarten.de/~maxi/.../msg00180.html

that contains a patch to apply to some MPlayer source files to fix the problem.

Enjoy it !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Couldn't open mixer device /dev/sound/mixer laurentwahl Linux - General 8 05-17-2005 09:15 PM
couldn't open mixer device /dev/sound/mixer pitts68 Linux - Newbie 4 11-15-2004 09:03 AM
Couldn't open mixer device /dev/sound/mixer arctic123 Linux - Newbie 4 09-22-2004 10:39 AM
kppp 2.1.2 locks /dev/mixer and not able to use /dev/mixer askjha Red Hat 0 06-03-2004 11:59 AM
couldn't open mixer device /dev/sound/mixer wangcity Linux - General 8 02-01-2004 08:17 AM

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

All times are GMT -5. The time now is 06:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration