Hello all,
Thanks so far for the suggestions to get everything to work, it's a great forum!
Now that the custom firmware is up and running, I connected a 5.1 USB adapter from Sitecom (CN-126, which is reported to work). /dev/sound is empty at first, after connecting I see
catting /dev/sound/dsp to a file (recording) works, I can scp the raw file to my PC and play it with Audacity. I hear something (probably the import settings of Audacity are wrong), but at least it works.Code:crw------- 1 admin root 14, 3 Jan 1 00:00 dsp crw------- 1 admin root 14, 0 Jan 1 00:00 mixer crw------- 1 admin root 14, 16 Jan 1 00:00 mixer1
catting some data to /dev/sound/dsp doesn't work. The 'access' led on the USB adapter doesn't flash, and I don't hear anything, too. When I stop the catting with Ctrl-C, it says:
Dmesg gives:Code:-sh: cannot create /dev/sound/dsp: Interrupted system call
Maybe it has problems with the 5.1 output channels (doesn't know which one to choose). I also scp'ed madplay and a MP3 file and let it stream to /dev/sound/dsp, but it doesn't work (decoding to /dev/null works).Code:hub.c: new USB device 00:04.0-1, 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 2 framesize 2 configured usbaudio: valid input sample rate 48000 usbaudio: device 2 interface 2 altsetting 1: format 0x01000010 sratelo 48000 sratehi 48000 attributes 0x00 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: device 2 interface 1 altsetting 1: format 0x01000010 sratelo 48000 sratehi 48000 attributes 0x00 usbaudio: device 2 interface 1 altsetting 2 channels 6 framesize 2 configured usbaudio: valid output sample rate 48000 usbaudio: device 2 interface 1 altsetting 2: format 0x05000010 sratelo 48000 sratehi 48000 attributes 0x00 usbaudio: registered dsp 14,3 usbaudio: constructing mixer for Terminal 6 type 0x0301 usbaudio: warning: found 2 of 6 logical channels. usbaudio: no idea what's going on..., contact linux-usb-devel@lists.sourceforge.net usbaudio: registered mixer 14,0 usbaudio: constructing mixer for Terminal 7 type 0x0101 usbaudio: registered mixer 14,16 usb_audio_parsecontrol: usb_audio_state at 808826e0 usbin_completed: descriptor not restarted (usb_submit_urb: 0) usbin_completed: descriptor not restarted (usb_submit_urb: 0) usbin_completed: descriptor not restarted (usb_submit_urb: 0) usbin_completed: descriptor not restarted (usb_submit_urb: 0) usbin_completed: descriptor not restarted (usb_submit_urb: 0) usbin_completed: descriptor not restarted (usb_submit_urb: 0) usbin_completed: descriptor not restarted (usb_submit_urb: 0) usbin_completed: descriptor not restarted (usb_submit_urb: 0)
What am I doing wrong?
Thanks in advance,
Sjoerd




Reply With Quote