LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   couldn't open mixer device /dev/sound/mixer (https://www.linuxquestions.org/questions/linux-general-1/couldnt-open-mixer-device-dev-sound-mixer-133635/)

wangcity 01-11-2004 06:34 AM

couldn't open mixer device /dev/sound/mixer
 
when i use swaret update 9.1 for fix a few bugs, but when finish it tell me :couldn't open mixer device /dev/sound/mixer

how can i do ?

bibilit 01-11-2004 11:47 AM

Try to chmod /dev/sound/mixer to 777

That may solve the problem.

coolamit78 01-11-2004 12:00 PM

That may happen, when the module for your soundcard isnt loaded into memory.

To load the module for ur soundcard, su to root like this:

su -
password: *****

and then, enter the command

modprobe <name-for-your-soundcard-driver>

example:

modprobe sb

(where 'sb' is the name of module for the sound blaster soundcard)

I guess that will help..

Regards,

amit

wangcity 01-22-2004 10:12 AM

i use this cmd:chmod +777 /dev/sound/mixer
but it's told me : no this kind of file or dir
and it's say :alsa_alias have some problem

any other way can try ?

thanks

Snodge 01-22-2004 03:51 PM

I had this after I upgraded my kernel to 2.6 - by default the OSS drivers are not selected as they are deprecated. If you compile your own 2.6 kernel you can either tell ALSA to emulate OSS, or you can compile in the OSS drivers.

Not sure if that's what the problem is, but it might be worth looking at...

wangcity 01-23-2004 12:50 PM

when i update this:
----------------------------
Tue Jan 6 15:01:54 PST 2004
patches/kernels/: Upgraded to Linux 2.4.24. This fixes a bounds-checking
problem in the kernel's mremap() call which could be used by a local attacker
to gain root privileges. Sites should upgrade to the 2.4.24 kernel and
kernel modules. After installing the new kernel, be sure to run 'lilo'.
For more details, see:
http://cve.mitre.org/cgi-bin/cvename...=CAN-2003-0985
Thanks to Paul Starzetz for finding and researching this issue.
(* Security fix *)
patches/packages/alsa-driver-0.9.8-i486-2.tgz: Recompiled against
linux-2.4.24.
patches/packages/cvs-1.11.11-i486-1.tgz: Upgraded to cvs-1.11.11.
This version enforces greater security. Changes include pserver
refusing to run as root, and logging attempts to exploit the security
hole fixed in 1.11.10 in the syslog.
patches/packages/kernel-ide-2.4.24-i486-1.tgz: Upgraded bare.i kernel
package to Linux 2.4.24.
patches/packages/kernel-modules-2.4.24-i486-1.tgz: Upgraded to Linux
2.4.24 kernel modules.
patches/packages/kernel-source-2.4.24-noarch-2.tgz: Upgraded to Linux
2.4.24 kernel source, with XFS and Speakup patches included (but not
pre-applied). This uses the XFS and Speakup patches for 2.4.23, which
should be fine since 2.4.24 didn't change much code. Proper XFS
patches for 2.4.24 will probably be out soon to fix the one Makefile
rejection for EXTRAVERSION = -xfs, but likely little else will be
different since XFS development has already gone ahead to what is now
the 2.4.25-pre kernel series.
patches/packages/kernel-modules-xfs/alsa-driver-xfs-0.9.8-i486-2.tgz:
Recompiled against linux-2.4.24-xfs.
patches/packages/kernel-modules-xfs/kernel-modules-xfs-2.4.24-i486-1.tgz:
Upgraded to Linux 2.4.24 kernel modules for the xfs.s (XFS patched)
kernel.

------------------------------
i find no sound !
maybe should i compile kernel ?

wangcity 01-24-2004 05:01 AM

and i use floppy disk to boot my system

mary 01-24-2004 06:19 PM

Well, this may not be of any help to you, but yesterday I ran swaret. It upgraded alsa, and a few other packages. When I restarted the next time, KDE complained that /dev/dsp couldn't be opened. I think Gnome complained about /dev/sound/mixer being missing, when I booted into Gnome to see if that would help the problem.

I uninstalled the new alsa packages swaret installed, reinstalled the old, rebooted, and all is well now. I am not sure how to get the new ones working.

Btw, this happened to me a couple weeks ago as well, and I'm fairly certain I ran swaret that day. I gave up and reinstalled last time. But this time I managed to get it working again.

Mary

wangcity 02-01-2004 07:17 AM

i download alsa form it's website and install it again by my hand--follow the install doc, it's work again.

i think it's the swaret's problem.


All times are GMT -5. The time now is 05:36 AM.