LinuxQuestions.org
Help answer threads with 0 replies.
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 05-21-2006, 09:10 PM   #1
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
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.
 
Old 05-21-2006, 09:23 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
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?
 
Old 05-21-2006, 09:34 PM   #3
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
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.
 
Old 05-22-2006, 01:02 AM   #4
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
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.
 
Old 05-22-2006, 02:01 AM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
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
 
Old 05-22-2006, 02:59 AM   #6
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
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
 
Old 05-22-2006, 05:04 AM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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.
 
Old 05-22-2006, 09:32 AM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
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
 
Old 05-22-2006, 09:59 AM   #9
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
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
 
Old 05-22-2006, 12:22 PM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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
 
Old 05-22-2006, 03:39 PM   #11
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
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.
 
Old 05-22-2006, 06:20 PM   #12
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
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
 
Old 05-22-2006, 07:54 PM   #13
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
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
 
Old 05-22-2006, 08:34 PM   #14
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352

Rep: Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382Reputation: 5382
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.
 
Old 05-23-2006, 06:44 PM   #15
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Original Poster
Rep: Reputation: 59
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.
 
  


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
sound problem: maybe alsa config problem tajo01 Debian 6 04-28-2006 05:52 AM
[1] ALSA problem & [2] FreeFontPath problem MTT1k Linux - General 12 02-03-2006 06:36 AM
alsa problem bbmak Linux - Software 3 07-03-2004 12:40 AM
ALSA Problem with 2.6.5 XPediTioN Slackware 2 05-11-2004 09:22 PM
ALSA Problem GT_Onizuka Linux - Newbie 3 11-22-2003 11:48 AM

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

All times are GMT -5. The time now is 12:15 PM.

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