Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind). |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
11-04-2003, 12:11 PM
|
#1
|
Member
Registered: Oct 2003
Location: Linköping Sweden
Posts: 30
Rep:
|
alsamixer problem, snd_ctl_open?!?
I have problems getting my alsamixer to funktion.. i have installed alsa-lib, alsa-utils and alsa driver as the instructions on alsa:s homepage told me to. Butt when i run alsamixer i get this error:
alsamixer: function snd_ctl_open failed for default: No such file or directory
What do i do to fix this error??
|
|
|
11-04-2003, 07:36 PM
|
#2
|
Member
Registered: Oct 2003
Location: Long Island, N.Y., U.S.A
Distribution: Gentoo, Slackware
Posts: 79
Rep:
|
your sound modules are not loaded. do modprobe <your sound module>. then the proper device files will be created and alsamixer will work. what sound card are you using? and what is your distro?
|
|
|
11-05-2003, 03:32 AM
|
#3
|
Member
Registered: Oct 2003
Location: Linköping Sweden
Posts: 30
Original Poster
Rep:
|
I have run modprobe on these things:
modprobe snd-ali5451;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
I have RH9 dist and Ali Trident 5451 soundcard. Do you mean that i run modprobe on anything else?.. I copied the modprobe commmand directly from my history so its exactly what i typed(in case i have misspelled something).
|
|
|
11-05-2003, 03:01 PM
|
#4
|
Member
Registered: Oct 2003
Location: Long Island, N.Y., U.S.A
Distribution: Gentoo, Slackware
Posts: 79
Rep:
|
you only need to do "modprobe snd-ali5451" - all the dependencies will be resolved and the other sub-modules will load properly. After that you should be able to run alsamixer. If this still fails you can run "strace -eopen alsamixer" - strace is a debugging tool, with the -eopen switch will show you what alsamixer is trying to open. Tell me which opens failed (-1 ENOENT).
|
|
|
11-05-2003, 03:10 PM
|
#5
|
Member
Registered: Oct 2003
Location: Long Island, N.Y., U.S.A
Distribution: Gentoo, Slackware
Posts: 79
Rep:
|
did you place the following in your /etc/modules.conf?
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-ali5451
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
|
|
|
11-06-2003, 04:38 AM
|
#6
|
Member
Registered: Oct 2003
Location: Linköping Sweden
Posts: 30
Original Poster
Rep:
|
Yes, i have inserted that into etc/modules.conf. And i ran strace -eopen alsamixer and the following opens failed:
open("/dev/snd/controlC0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDWR) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/aloadC0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDWR) = -1 ENOENT (No such file or directory)
|
|
|
11-06-2003, 12:25 PM
|
#7
|
Member
Registered: Sep 2003
Location: barneveld.nl
Distribution: Slackware
Posts: 170
Rep:
|
What does privoxy have to do with strace?
|
|
|
11-06-2003, 01:37 PM
|
#8
|
Member
Registered: Oct 2003
Location: Linköping Sweden
Posts: 30
Original Poster
Rep:
|
Where do you get privoxy from??...
|
|
|
11-08-2003, 01:19 PM
|
#9
|
Member
Registered: Oct 2003
Location: Linköping Sweden
Posts: 30
Original Poster
Rep:
|
So... i gave you the information that you needed xexix.. can you give me some advice now, im kind of stuck and your my only hope!!!
|
|
|
11-09-2003, 02:52 AM
|
#10
|
Member
Registered: Oct 2003
Location: Long Island, N.Y., U.S.A
Distribution: Gentoo, Slackware
Posts: 79
Rep:
|
I don't know why having the above entries in /etc/modules.conf and running modprobe snd-ali5451 doesn't create the proper devices for you. I don't know how RH9.0 has other things setup.
Here is a stupid hack (non-elegant solution)
"mknod /dev/snd/controlC0 c 116 0"
|
|
|
11-09-2003, 07:47 AM
|
#11
|
Member
Registered: Oct 2003
Location: Linköping Sweden
Posts: 30
Original Poster
Rep:
|
There isn't any snd catalog in dev, have i done anything wrong in the installation?!?!?!..
|
|
|
11-09-2003, 08:58 AM
|
#12
|
Member
Registered: Nov 2003
Location: Netherlands
Distribution: Debian Unstable
Posts: 61
Rep:
|
Hi guys, I have the same problem... I hope you find a resolution for it. In the meantime I use aumix it's a small commandline mixer. The buggy thing is that every time you want to play sounds you need to adjust your volume as alsa drivers mute by default. I am running a debian, testing/unstable with 2.4.22 kernel and have a via82cxx card. Should you need any additional info let me know.
|
|
|
11-09-2003, 11:47 AM
|
#13
|
Member
Registered: Oct 2003
Location: Linköping Sweden
Posts: 30
Original Poster
Rep:
|
I tested aumix and got sound.. but i would rather get alsamixer to work properly..
|
|
|
11-09-2003, 01:30 PM
|
#14
|
Member
Registered: Nov 2003
Location: Netherlands
Distribution: Debian Unstable
Posts: 61
Rep:
|
It works!!!
Hello Hello,
Check this link and it will tell ya, It's a lot of trying with Linux and sh*tloads of webbrowsing and reading, I mean good reading... LOL It is so simple!
Just run the snddevices script in the untarred alsa-driver directory
http://www.linuxquestions.org/questi...003/09/2/85626
It is so silly; alsa says not to run it, but by doing it I got my issue solved!!!
We all ought to break advices and rules more often!
Ciao
|
|
|
12-09-2003, 09:19 AM
|
#15
|
Member
Registered: Jun 2003
Distribution: Arch
Posts: 315
Rep:
|
EDIT
nm, I 'm a moron.
Last edited by kleptophobiac; 12-09-2003 at 09:24 AM.
|
|
|
All times are GMT -5. The time now is 03:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|