LinuxQuestions.org
Visit Jeremy's Blog.
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 02-25-2006, 10:32 PM   #1
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Rep: Reputation: 33
nforce4 hardware, sound and usb not working.


I'm running Slackware 10.1 on Asus's K8N4-e mainboard with kernel 2.6.15. For sure sound and usb aren't working, and I haven't even tried yet to use SATA or any sort of networking.

The command "lspci" lets me know that I have a bunch of unrecognisable hardware (lots of unknown devices). However, I've figured out that I should be using the snd-intel8x0 ALSA driver, and I have that compiled into the kernel. Unfortunately, I got a "no default libao driver" error whenever I tried to play something or start alsamixer. I decided to try and upgrade ALSA, so I uninstalled it using pkgtool, downloaded the appropriate sources, but when I ran ./configure for alsa-drivers, it terminates saying that ALSA is already installed, which was unexpected and confusing.

I've also tried to use Nvidia's linux drivers, but I haven't seen anything new in the kernel, and sound still doesn't work.

My goal is that support for sound will be built into the kernel, but if I have to only use modules, I won't die : ).

USB support isn't nearly as important to me as having sound (my computer doubles as my only media system, so I've been without music for a few months), but it would be nice. From what I can gather from the bios, I need to compile in kernel support for EHCI, and I think I might have both an OHCI controller and a UHCI controller. So I have modules compiled in for all three, and I have scsi support enabled, and the usb-storage module compiled, but trying to mount my jump drive still results in a "special device /dev/sda1 doesn't exist".

Oh, and my /etc/modules.conf is empty, so I've been modprobe'ing modules in as I go, but any time-saving advice w/ regards to populating this useful-seeming file is also appreciated.

Hopefully someone knows how to make all this work. Thanks in advance to any who can help!
 
Old 02-25-2006, 11:13 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Assuming you have successfully installed the NFORCE drivers, which are different than the video drivers, the next thing to check would be whether or not you've tried to run alsaconf (which configures your sound card). Additionally, run alsamixer to make sure that your sound levels are turned up sufficiently (by default they are muted) Good luck with it
 
Old 02-26-2006, 12:22 AM   #3
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Original Poster
Rep: Reputation: 33
I've run alsaconf, but it didn't make sound work. As for running alsamixer, I can only wish to be able to mute or unmute channels. Problem is, alsamixer tells me I don't have a card associated with it, even after running alsaconf. I read in a different thread that running alsactl store or some such command would solve it, but alsactl won't run, saying that no drivers exist or some such nonsense (I'd check to see the exact error, but as I mentioned, I uninstalled ALSA and it won't let me reinstall).
 
Old 02-26-2006, 01:11 AM   #4
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158

Rep: Reputation: 237Reputation: 237Reputation: 237
Did you compile 2.6.15 yourself? Because a non-working USB is pretty weird, it looks as if something basic is missing from the kernel. My mainboard is nforce4 (asus K8N5) too and I had no issues with sound and USB. It's the intel 8x0 driver as you said.
 
Old 02-26-2006, 06:11 PM   #5
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Original Poster
Rep: Reputation: 33
Yup, I compiled the kernel myself. I started off not changing the default settings, and then, starting with sound, said no to all the drivers not related to my system. I don't think my paring eliminated anything essential, but.. I do try and always use shift-/ to check dependencies, but again, I may have missed something.

So, I booted using my modified version of kernel 2.4.36, and was able to install the latest (1.0.10) alsa drivers, utilities, and libraries. I then let alsaconf configure things and now sound works great. I booted back into 2.6.15, and no sound, and running alsaconf doesn't fix things.
 
Old 02-26-2006, 06:53 PM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,868

Rep: Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912Reputation: 1912
try to recompile the kernel and inclde all ALSA module. It worked for me
 
Old 02-26-2006, 07:16 PM   #7
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Original Poster
Rep: Reputation: 33
Sound support, Alsa variety, is compiled into the kernel as a module right now, OSS is left out, but OSS emulation in as a module. 'Tisn't working, unfortunately.
 
Old 02-26-2006, 07:26 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Can you post the output of:
Code:
lsmod
and
Code:
grep SND .config && grep SOUND .config
(Of course, run this on your kernel's source directory)
 
Old 02-26-2006, 09:03 PM   #9
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 68
Quote:
Originally Posted by djeikybSo,
I booted using my modified version of kernel 2.4.36, and was able to install the latest (1.0.10) alsa drivers, utilities, and libraries. I then let alsaconf configure things and now sound works great. I booted back into 2.6.15, and no sound, and running alsaconf doesn't fix things.
You must compile alsa against the 2.6.x kernel for alsa to work (Drivers, etc).
You are using the alsa compiled against 2.4

Last edited by cwwilson721; 02-26-2006 at 09:04 PM.
 
Old 02-27-2006, 10:22 AM   #10
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
Quote:
Originally Posted by djeikyb
I've also tried to use Nvidia's linux drivers, but I haven't seen anything new in the kernel, and sound still doesn't work.
did you do modprobe nvsound?

also, you should do modprobe nvnet for the NIC

those worked for me, as I have an ASUS A8N-E motherboard with nVidia nForce4 Ultra chipset.
 
Old 02-27-2006, 01:26 PM   #11
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
Easy guide is to compare your kernel config file with Pat's 2.6.15 .config file at SW current dl site under /slackware-current/testing/linux-2.6.15.3. You can dl that .config file to your 2.6.15 kernel directory and run make old config step then add config steps you want when recompiling. Make sure you have all other programs needed in SW10.1 to use the new kernel.
Unless another SW user has your HW and will lend you their 2.6.15x .config file.Good luck.
 
Old 02-27-2006, 05:02 PM   #12
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by cwwilson721
You must compile alsa against the 2.6.x kernel for alsa to work (Drivers, etc).
You are using the alsa compiled against 2.4
But he compiles the ALSA in the kernel tree already. I prefer compiling ALSA separately. You can use Pat's config, or I can post mine if you wish. Btw, did you fix USB in 2.6? USB support shouldn't be missing, if it is, something basic must be wrong (I don't think that you forgot to enable USB support in the config).
 
Old 02-27-2006, 05:09 PM   #13
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 68
If you read everything, you would see he compiled it against 2.4. When he switches to 2.6, no sound. Ergo, compile alsa against 2.6
The alsa utils must be compiled against the 2.6 kernel also. Basically, everything alsa has to be compiled against the kernel you are using.
The OP could also use the alsa in /linux-2.6.13 in cd2. That would work too

Last edited by cwwilson721; 02-27-2006 at 05:11 PM.
 
Old 02-28-2006, 09:04 AM   #14
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by cwwilson721
If you read everything, you would see he compiled it against 2.4. When he switches to 2.6, no sound. Ergo, compile alsa against 2.6
The alsa utils must be compiled against the 2.6 kernel also. Basically, everything alsa has to be compiled against the kernel you are using.
The OP could also use the alsa in /linux-2.6.13 in cd2. That would work too

I've just compiled 2.6.14.5 using Pat's 2.6.13 config as a base. Before doing that I upgraded to the 2.6 kernel and installed the alsa utils from the cd. I also have an nforce4 board and everything worked fine on reboot, including sound and usb.
 
Old 02-28-2006, 09:15 AM   #15
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 68
Cool...Glad we got it straightened out.

Now that you know how to compile your kernel, you can start to pare it down.
Change a few things, then set up your kernel for boot and lilo, and see if it works. Take it in small steps, should work good
 
  


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
Intel sound not working, usb modem not working. siriusb Linux - Hardware 8 03-04-2006 10:16 PM
SPDIF audio out on nForce4 MOBO not working MythN00b Linux - Hardware 0 12-22-2005 03:59 AM
Nforce4 sound problem Can0n Ubuntu 1 12-03-2005 11:44 AM
Cant figure out how to get usb sound working... xeri Linux - Newbie 2 10-02-2005 06:34 PM

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

All times are GMT -5. The time now is 05:46 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