vm n00b
Joined: 19 Mar 2006 Posts: 50
|
Posted: Sun Apr 30, 2006 9:41 pm Post subject: USB headphones and internal soundcard on iBook |
|
|
In order to use USB output for sound, you need
1)configure and recompile your kernel with enabled module "snd-usb-audio"
2)my /etc/modules.d/alsa is:
Code: |
## ALSA portion
alias snd-card-0 snd-powermac
alias snd-card-1 snd-usb-audio
## OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
# OSS/Free portion - card #0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=2 |
3)update-modules
4)cat /proc/asound/cards must give you smth. like:
Code: | 0 [Snapper ]: PMac Snapper - PowerMac Snapper
PowerMac Snapper (Dev 38) Sub-frame 0
1 [default ]: USB-Audio - USB Audio CODEC
Burr-Brown from TI USB Audio CODEC at usb-0001:10:1b.0-1, full s |
then, just adjust options or commandline params for applications in order to select wished sound output source
TODO: I don't understand how to make alsa do automatic enable USB sound if its plugged in and do it off else |
|