View previous topic :: View next topic |
Author |
Message |
Fissile Guru


Joined: 23 Nov 2003 Posts: 470
|
Posted: Sat Dec 29, 2007 6:46 am Post subject: USB stereo not working. |
|
|
Hi there, i just installed gentoo and i have a stereo system with usb pc uplink. I want the stereo to work as my sound output.. how do i do that. It used to work seamlessly with vista.
Thank you. _________________ The Only Thing Necessary for The Triumph of evil is for Good Men To do Nothing!... |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55229 Location: 56N 3W
|
Posted: Sat Dec 29, 2007 11:06 am Post subject: |
|
|
Fissile,
Gentoo does not install any sound support by defualt. Its a choice you need to make.
Follow the ALSA Guide to install sound support with one exception. Do not emerge alsa driver.
Add support to your kernel for ALSA being sure to include Code: | │ Prompt: USB Audio/MIDI driver │
│ Location: │
│ -> Device Drivers │
│ -> Sound │
│ -> Advanced Linux Sound Architecture │
│ -> USB devices │ |
If you want ALSAs emulated OSS interface too choose Code: | │ │ <M> Advanced Linux Sound Architecture │ │
│ │ <M> Sequencer support │ │
│ │ <M> Sequencer dummy client │ │
│ │ <M> OSS Mixer API │ │
│ │ <M> OSS PCM (digital audio) API │ │
│ │ [*] OSS PCM (digital audio) API - Include plugin system │ │
│ │ [*] OSS Sequencer API │ │
│ │ <M> RTC Timer support │ │
│ │ [*] Use RTC as default sequencer timer │ │
│ │ [ ] Dynamic device file minor numbers │ │
│ │ [*] Support old ALSA API │ │
│ │ [ ] Verbose procfs contents │ │
│ │ [ ] Verbose printk │ │
│ │ [ ] Debug │ │ |
Then remake your kernel. The kernel changes are in place of emerge alsa-driver, which may not work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Fissile Guru


Joined: 23 Nov 2003 Posts: 470
|
Posted: Sat Dec 29, 2007 4:02 pm Post subject: |
|
|
Hey, I am sorry i am kind of new at this. I got the first listing of code I am in the USB devices section of the kernel under ALSA and I see three option Code: |
USB Autio/MIDI driver
Tascam US-122, US-224 and US-428 driver
Native instruments USB audio devices |
should i just make them all built-in? However, I still don't get the second listing of code. Is it one or the other, or do I have to do that too?
Thank you. _________________ The Only Thing Necessary for The Triumph of evil is for Good Men To do Nothing!... |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55229 Location: 56N 3W
|
Posted: Sat Dec 29, 2007 4:22 pm Post subject: |
|
|
Fissile,
You have to do both code listings.
The first means choose <M> USB Audio/MIDI driver. Both modules <M> and built in <*> work but modules are easier to fault find when it fails.
Use the search in menuconfig. Press / and enter OSS. It should find lots of things including the items I listed in my menuconfig snippit.
If its too many, use search again and try OSS PCM as the search term. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Fissile Guru


Joined: 23 Nov 2003 Posts: 470
|
Posted: Sat Dec 29, 2007 4:50 pm Post subject: |
|
|
Ok, I did as instructed. Just have a slight concern though. After i run find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko', these are the modules that i find:
Code: | /lib/modules/2.6.23-gentoo-r3/video/nvidia.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/usb/snd-usb-lib.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/seq/oss/snd-seq-oss.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/seq/snd-seq-midi.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/seq/snd-seq-dummy.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/seq/snd-seq.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/snd-rawmidi.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/core/snd-rtctimer.ko
/lib/modules/2.6.23-gentoo-r3/kernel/drivers/net/s2io.ko
/lib/modules/2.6.23-gentoo-r3/kernel/drivers/scsi/scsi_wait_scan.ko
/lib/modules/2.6.23-gentoo-r3/kernel/drivers/video/output.ko
/lib/modules/2.6.23-gentoo-r3/kernel/drivers/video/backlight/lcd.ko |
should I add all of them in /etc/modules.autoload.d/kernel-2.6? and how come nvidia is there? My monitor/screen is running fine and i don't have nvidia in /etc/modules.autoload.d/kernel-2.6. Can you explain?
Thank you. _________________ The Only Thing Necessary for The Triumph of evil is for Good Men To do Nothing!... |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55229 Location: 56N 3W
|
Posted: Sat Dec 29, 2007 5:09 pm Post subject: |
|
|
Fissile,
A few things, the location /lib/modules/`uname -r`/ is where kernel modules are stored on disk. Seeing them there dos not imply they are loaded. Use lsmod to see your loaded modules.
To see available modules for your current kernel, use for a subset, use modprobe -l -t <some subset>, e.g. Code: | modprobe -l -t sound |
There are several module loading mechanismis in Gentoo:-
1. The kernel can autoload some required modules.
2. udev can load modules when it spots hardware requiring them.
3. the files in /etc/modules/.d can load modules
4. the file /etc/modules.autoload.d/... can load modules
5. programs (like Xorg) can load kernel modules.
If you have been following the ALSA Guide that I linked to you know the answer to Quote: | should I add all of them in /etc/modules.autoload.d/kernel-2.6? | Its No. You use mechanism 3. above, you edit /etc/modules.d/alsa.
Your kernel looks good - you need the supporting libraries and setup that the ALSA Guide will show you. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
|