Slackware This Forum is for the discussion of Slackware 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.
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.
|
|
|
05-21-2006, 09:10 PM
|
#1
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Rep:
|
alsa-problem
Hi
I've got soundblaster Live, after I rebuild my kernel, I can't get alsamixer works.
[HTML]alsamixer: function snd_ctl_open failed for default: No such device
[/HTML]
alsaconf doesn't work either
[HTML]no legacy drivers are available[/HTML]
I've got sound just on one speaker, when Ichange it on alsa I've got something like this
[HTML]Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such device)
The sound server will continue, using the null output device.[/HTML]
thx
Last edited by Nikosis; 05-21-2006 at 09:37 PM.
|
|
|
05-21-2006, 09:23 PM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
have you installed alsa-lib and alsa-util?
if you are using kernel packages from Slackware, have you installed alsa-driver packages that matches with your kernel version?
|
|
|
05-21-2006, 09:34 PM
|
#3
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Original Poster
Rep:
|
Hi
so,do I have to reinstall it or...
I'm using 2.4 kernel
I didn't switch to 2.6 kernel so everything should be installed already.
thx
Last edited by Nikosis; 05-21-2006 at 09:51 PM.
|
|
|
05-22-2006, 01:02 AM
|
#4
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
Hey I had something like this happen to me. For some reason my kernel just didn't make the module for my sound card.
Later to find out that I had a broken compiler.
I would say un-install that kernel and recompile it again. make sure the sound card is check off with a dot meaning module.
EDIT: oh I just read this again, you never changed kernels, you just opened up "make xconfig'd" and unchecked stuff and re-made the kernel? Is that what you did?
That card I believe is in alsa and oss sections too.
If that don't work I think you may have what I had which is a broken compiler, and I had to reload. Seemed easier than hours of investigation, etc.
Last edited by Old_Fogie; 06-09-2006 at 01:39 PM.
|
|
|
05-22-2006, 02:01 AM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
I also had a few sound problems after a fresh install. For me, compiling anything relevent to sound as a modules instead of hard codeded into the kernel seemed to work for me. Make sure you have "sound support" as a module, then under that check off alsa and the appropriate sound driver under it as a module <M> also. Once you are done making new modules, run 'alsaconf' and 'alsamixer' to configure. If it still does not work, please post back the output of 'lsmod'.
regards,
...drkstr
|
|
|
05-22-2006, 02:59 AM
|
#6
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Original Poster
Rep:
|
Hi
No, same thing
here's ouput from lsmod
[HTML]Module Size Used by Tainted: P
nvidia 3783788 6
printer 8000 0 (unused)
usbmouse 2108 0 (unused)
keybdev 2052 0 (unused)
mousedev 4280 1
hid 21380 0 (unused)
usbkbd 3132 0 (unused)
input 3744 0 [usbmouse keybdev mousedev hid usbkbd]
uhci 27036 0 (unused)
ehci-hcd 18956 0 (unused)
usbcore 66156 1 [printer usbmouse hid usbkbd uhci ehci-hcd]
hw_random 2876 0 (unused)
i810_rng 2788 0 (unused)
ohci1394 26096 0 (unused)
ieee1394 49348 0 [ohci1394]
ntfs 54976 2 (autoclean)
ide-scsi 10320 0
emu10k1-gp 1288 0 (unused)
gameport 1676 0 [emu10k1-gp]
emu10k1 62828 1
sound 60064 0 [emu10k1]
ac97_codec 13752 0 [emu10k1]
[/HTML]
thx
|
|
|
05-22-2006, 05:04 AM
|
#7
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
2.4 kernels doesn't include ALSA, get alsa sources from http://www.alsa-project.org and compile them.
Be sure to disable OSS so it doesn't conflict with it. Oh, and if you want to use OSS instead of ALSA, remove the modules from /etc/hotplug/blacklist so they are loaded by hotplug.
Last edited by gbonvehi; 05-22-2006 at 05:05 AM.
|
|
|
05-22-2006, 09:32 AM
|
#8
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
You can also install the alsa-driver from the Slackware install medium. I've never actually used sound when I had 2.4 kernel so I could be mistaken about this, but I noticed you do not have soundcore module loaded. Did you compile "Sound Support" as a module? I also have an AC97 chipset sound card, but I have the driver module as well as 'ac97codec' I only saw the latter.
Just curious, why haven't you made the upgrade to the 2.6 kernel? You can probably get sound working in 2.4 but it is supported much better in 2.6. You can get the 2.6 kernel from Slackware in the testing/ directory or download from kernel.org if you are interested.
regards,
...drkstr
|
|
|
05-22-2006, 09:59 AM
|
#9
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Original Poster
Rep:
|
Hi
Yes, maybe I should, ok I'll try.
I've got one more question about hotplug actually, how or where can I check what is loaded by hotplug?,
Do I have to use it, can I just load what I need by modprobe?
Thx
Nikosis
|
|
|
05-22-2006, 12:22 PM
|
#10
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
You don't need to use it, you can modprobe what you want, it's up to you.
To disable hotplug just remove the executable attribute of the script: chmod -x /etc/rc.d/rc.hotplug
Hotplug will take a look at your hardware and load a apropiate module for it, I can't tell you what it will load, but i'm sure that what's on /etc/hotplug/blacklist won't
Most (maybe all) the list you've in lsmod is loaded by hotplug if you're not doing it manually, so be sure to modprobe all that stuff, which can be done in /etc/rc.d/rc.modules
|
|
|
05-22-2006, 03:39 PM
|
#11
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Original Poster
Rep:
|
Hi
Well. I've got it upgrade to 2.6 , everything works fine a little bit faster even.
With small exeption : a mouse
I can not get scroll works
[HTML]
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ChordMiddle"
Option "ZAxisMapping" "4 5"[/HTML]
Probably I checked something which not suppose to be checked
Any Idea what could be wrong?
Thx
Nikosis
Last edited by Nikosis; 05-22-2006 at 03:41 PM.
|
|
|
05-22-2006, 06:20 PM
|
#12
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
What kind of mouse do you have? If it is a usb mouse, you might need to enable:
Code:
Device Drivers --->
Input Device Support --->
<*> Event Interface
in the kernel.
regards,
...drkstr
|
|
|
05-22-2006, 07:54 PM
|
#13
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Original Poster
Rep:
|
Hi
I've got it compiled as a module, so this part is ok.
what was wrong is that busmouse driver have been compiled into kernel, thats why I couldn't load the right one.
It works properly now.
Thanks everyone for help
Nikosis
|
|
|
05-22-2006, 08:34 PM
|
#14
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
By default, Slackware comes with ALSA disabled in the kernel. If you left it that way then install slackware-current/source/ap/alsa-driver using the SlackBuild in that directory. After you do so, ALSA will work again.
|
|
|
05-23-2006, 06:44 PM
|
#15
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Original Poster
Rep:
|
Hi
I'd rebuild my kernel, so it works.
Thx
Nikosis
PS.Should I use alsa-driver from slackware-curent?
Last edited by Nikosis; 05-23-2006 at 06:56 PM.
|
|
|
All times are GMT -5. The time now is 12:15 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
|
|