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.
|
 |
|
02-25-2006, 10:32 PM
|
#1
|
Member
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162
Rep:
|
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!
|
|
|
02-25-2006, 11:13 PM
|
#2
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
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
|
|
|
02-26-2006, 12:22 AM
|
#3
|
Member
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162
Original Poster
Rep:
|
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).
|
|
|
02-26-2006, 01:11 AM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
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.
|
|
|
02-26-2006, 06:11 PM
|
#5
|
Member
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162
Original Poster
Rep:
|
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.
|
|
|
02-26-2006, 06:53 PM
|
#6
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,868
|
try to recompile the kernel and inclde all ALSA module. It worked for me 
|
|
|
02-26-2006, 07:16 PM
|
#7
|
Member
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162
Original Poster
Rep:
|
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.
|
|
|
02-26-2006, 07:26 PM
|
#8
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
Can you post the output of:
and
Code:
grep SND .config && grep SOUND .config
(Of course, run this on your kernel's source directory)
|
|
|
02-26-2006, 09:03 PM
|
#9
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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.
|
|
|
02-27-2006, 10:22 AM
|
#10
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
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.
|
|
|
02-27-2006, 01:26 PM
|
#11
|
Member
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815
Rep:
|
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. 
|
|
|
02-27-2006, 05:02 PM
|
#12
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,158
|
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).
|
|
|
02-27-2006, 05:09 PM
|
#13
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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.
|
|
|
02-28-2006, 09:04 AM
|
#14
|
Member
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121
Rep:
|
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.
|
|
|
02-28-2006, 09:15 AM
|
#15
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 05:46 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
|
|