This is an old revision of the document!


How to get USB audio working

Files needed

ehci-hcd.o usb-ohci.o soundcore.o audio.o

dmesg

audio.c: v1.0.0:USB Audio Class driver
hub.c: new USB device 00:0e.0-2, assigned address 2
usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
usbaudio: device 2 interface 2 altsetting 1 channels 1 framesize 2 configured
usbaudio: valid input sample rate 48000
usbaudio: valid input sample rate 44100
usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 44100 sratehi 48000 attributes 0x01
usbaudio: device 2 interface 1 altsetting 0 does not have an endpoint
usbaudio: device 2 interface 1 altsetting 1 channels 2 framesize 2 configured
usbaudio: valid output sample rate 48000
usbaudio: valid output sample rate 44100
usbaudio: device 2 interface 1 altsetting 1: format 0x01000010 sratelo 44100 sratehi 48000 attributes 0x01
usbaudio: registered dsp 14,3
usbaudio: constructing mixer for Terminal 6 type 0x0301
usbaudio: warning: found 1 of 2 logical channels.
usbaudio: assuming that a stereo channel connected directly to a mixer is missing in search (got Labtec headset?). Should be fine.
usbaudio: registered mixer 14,0
usbaudio: constructing mixer for Terminal 7 type 0x0101

Resource usage

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     30170 14.0  2.2   1312   684 pts/0    R+   18:22   0:13  |       \_ mpg123 /home/sala/vbr.mp3

Personal Tools