After startx, I can modprobe emu10k1 and sound works correctly. But if I edit rc.conf or modules.conf to load emu10k1 at startup, then I cannot startx, it returns an error about "PCI:0:12.0" and "PCI:1:0:0" not listed. My graphic card uses the 01:00:00 BusID.
I recompiled the kernel with sound and emu10k1 included, and then I installed the Nvidia drivers. After that, startx shows the Nvidia logo and then a blank screen, so I have to ctrl-alt-supr.
Could somebody tell me what should I do so I don't have to su and modprobe emu10k1 everytime I log in?
well my understanding is that OSS does not work very well with your sound card and to allow for more flexiblity with your sound it would be st to have just had sound and your card driver compiled in as modules.
there are a few posts on the forum that deal with getting sound to work. there are quite a variety of ways. however you stated that you build in the support for your sound devices so loading should be automatic, ie rc.conf or modules.conf would not be required.
i suggest tasking a look at the various sound threads here and if none of it works post back.
I am not your friend
Actually, OSS works very well with that sound card, in my experience. It would help to know a little more about the video card. I'm assuming AGP.
Some entries for the modules.conf file. You will need to save an aumixrc file at some point so these can be added later. It works fine for setting the initial mixer settings.
alias sound-slot-0 emu10k1 post-install sound-slot-0 /usr/bin/aumix -f /etc/.aumixrc -L >/dev/null 2>&1 || : pre-remove sound-slot-0 /usr/bin/aumix -f /etc/.aumixrc -S >/dev/null 2>&1 || :
On my nVidia system, I modprobed the kernel driver from the rc.local and IIRC, let the ESD system load the sound modules for me. All total there should be these modules.
emu10k1 ac97_codec sound soundcore nvidia ....other modules
Interestingly, I don't have to use the busid option on that setup.
Section "Device" Identifier "NVIDIA GeForce 2GTS (generic)" Driver "nvidia" VendorName "NVIDIA GeForce 2 GTS (generic)" Boardname "NVIDIA GeForce 2 GTS (generic)" option "CursorShadow" "on" option "CursorShadowAlpha" "160" option "CursorShadowXOffset" "7" #BusID EndSection
This info was generated from a backup file created on a different distro so this may not work for you. My standard disclaimer.
Some other things to make sure of. The kernel source is configured to autoload modules and it is also set for Plug & Play.
will this cursor thing work with the nv driver, as i am using a 2.5 kernel ??
option "CursorShadow" "on" option "CursorShadowAlpha" "160" option "CursorShadowXOffset" "7"
Who is peer, and why is he resetting my connection ??
AFAIK, this is strictly a nVidia option.
Well, I got it to work. I looked at the Nvidia entry in modules.conf, it is:
alias /dev/nvidia* nvidia
so I figured out that the alias should be the sound device:
alias /dev/sound/dsp emu10k1
Now this is the Linux box I ever wanted. Thank you, guys.