![]() |
USB Audio
I've done a lot of searching and found a lot of posts that suggest it will work, but I haven't been able to make it work.
Here is what I want to do. I have a Dared USB amplifier. I would like to connect it to the n800 to play my music collection and Rhapsody. It appears as if there is no driver in OS2008 that recognizes the Burr-Brown DAC in the Dared. If you haven't heard the Dared, it is an amazing little piece of hardware designed to make good music out of a USB stream. The Dared has a Burr-Brown DAC and works without any special software under WinDoze. I haven't tried it with a Linux PC but if I need to, I will find a way. Here's the error I get on the screen of the N800 when I perform the echo host > .../mode command. Unable to Connect. No filesystem available. Here is the dmesg output: [383428.070312] tusb_source_power 629: VBUS a_wait_vrise, devctl 81 otg 184 conf c0010001 prcm 00a80500 [383428.242187] musb_stage0_irq 646: CONNECT (a_host) devctl 5d [383428.242187] hub 1-0:1.0: state 8 ports 1 chg 0000 evt 0000 [383428.242187] usb usb1: usb auto-resume [383428.242187] usb usb1: finish resume [383428.242187] hub 1-0:1.0: hub_resume [383428.265625] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s [383428.421875] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 [383428.546875] usb 1-1: new full speed USB device using musb_hdrc and address 2 [383428.679687] usb 1-1: ep0 maxpacket = 8 [383428.679687] usb 1-1: skipped 4 descriptors after interface [383428.679687] usb 1-1: skipped 2 descriptors after interface [383428.679687] usb 1-1: skipped 1 descriptor after endpoint [383428.679687] usb 1-1: skipped 2 descriptors after interface [383428.679687] usb 1-1: skipped 1 descriptor after endpoint [383428.679687] usb 1-1: default language 0x0409 [383428.679687] usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0 [383428.679687] usb 1-1: Product: Burr-Brown Japan PCM2702 [383428.679687] usb 1-1: Manufacturer: Burr-Brown Japan [383428.679687] usb 1-1: device v08bb p2702 is not supported [383428.679687] usb 1-1: uevent [383428.679687] usb 1-1: usb_probe_device [383428.679687] usb 1-1: configuration #1 chosen from 1 choice [383428.679687] usb 1-1: adding 1-1:1.0 (config #1, interface 0) [383428.679687] usb 1-1:1.0: uevent [383428.679687] usbtest 1-1:1.0: usb_probe_interface [383428.679687] usbtest 1-1:1.0: usb_probe_interface - got id [383428.687500] usb 1-1: adding 1-1:1.1 (config #1, interface 1) [383428.687500] usb 1-1:1.1: uevent [383428.687500] usbtest 1-1:1.1: usb_probe_interface [383428.687500] usbtest 1-1:1.1: usb_probe_interface - got id [383428.687500] drivers/usb/core/inode.c: creating file '002' [383428.687500] hub 1-0:1.0: 200mA power budget left [383428.687500] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [383428.687500] hub 1-0:1.0: port 1 enable change, status 00000103 [383429.898437] cx3110x: PSM dynamic with 200 ms CAM timeout. [383430.687500] usb 1-1: usb auto-suspend [383432.710937] hub 1-0:1.0: hub_suspend [383432.710937] usb usb1: usb auto-suspend [383443.820312] EAC mode: play enabled, rec enabled [383447.429687] EAC mode: play disabled, rec disabled I assume that I need a driver that recognizes generic USB audio devices. I also need to know how to see the output device with Rhapsody. Are there other music player applications that allow you to specify an output device? Of course, when I try to play music through the unit, it won't play, so I know something in audio registered. Anybody have any luck doing this? G |
Re: USB Audio
headfier?
can't say that i can help you, but i can root you on! |
Re: USB Audio
any progress? would be itneresting to see if USB DACs work
|
Re: USB Audio
I haven't made any progress yet myself except to come to the conclusion that I need to compile a new audio driver that includes USB audio functionality.
I suspect this isn't hard, but I haven't had time to set up the environment and figure out what I am doing:-} If someone else does, I'd love a clue as to how to best get started. It is a busy time right now, so I hope to start after finishing the taxes (.. and the mother's taxes, and the mother-in-laws taxes, and ...). I'm an engineer, not a tax man, Jim. g |
Re: USB Audio
does the dared require any drivers normally? there are some dacs that work on mac, linux and windows without any aditional **** installed
|
Re: USB Audio
No. In Windows, it just shows up as "USB Audio Device". My Logitech headphones produce a very similar output:
[1468982.398437] usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0 [1468982.398437] usb 1-1: Product: Logitech USB Headset [1468982.398437] usb 1-1: Manufacturer: Logitech [1468982.398437] usb 1-1: device v046d p0a01 is not supported [1468982.398437] usb 1-1: uevent [1468982.398437] usb 1-1: usb_probe_device [1468982.398437] usb 1-1: configuration #1 chosen from 1 choice [1468982.398437] usb 1-1: adding 1-1:1.0 (config #1, interface 0) [1468982.398437] usb 1-1:1.0: uevent [1468982.398437] usbtest 1-1:1.0: usb_probe_interface [1468982.406250] usbtest 1-1:1.0: usb_probe_interface - got id [1468982.406250] usb 1-1: adding 1-1:1.1 (config #1, interface 1) [1468982.406250] usb 1-1:1.1: uevent [1468982.406250] usbtest 1-1:1.1: usb_probe_interface [1468982.406250] usbtest 1-1:1.1: usb_probe_interface - got id [1468982.406250] usb 1-1: adding 1-1:1.2 (config #1, interface 2) [1468982.406250] usb 1-1:1.2: uevent [1468982.406250] usbtest 1-1:1.2: usb_probe_interface [1468982.406250] usbtest 1-1:1.2: usb_probe_interface - got id [1468982.406250] drivers/usb/core/inode.c: creating file '004' [1468982.406250] hub 1-0:1.0: 100mA power budget left [1468982.406250] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [1468982.406250] hub 1-0:1.0: port 1 enable change, status 00000103 [1468983.562500] cx3110x: PSM dynamic with 200 ms CAM timeout. [1468984.406250] usb 1-1: usb auto-suspend [1468986.429687] hub 1-0:1.0: hub_suspend [1468986.429687] usb usb1: usb auto-suspend [1468996.875000] EAC mode: play enabled, rec enabled So, I'm making a gross assumption based on two devices that OS2008 isn't going to recognize USB audio devices. Do I need to do a more granular analysis? g |
Re: USB Audio
I have been having the exact same problem with the Headroom Total Bithead (USB DAC/amp). I have been trying to wrap my head around this for a while, and I have come up completely blank. I have some familiarity with linux and, by default, ALSA contains the drivers for USB DACs like the dared, but for some reason the version implemented in OS2008 does not. I have been trying to simply recompile ALSA but have failed rather miserably.
-- Tarag |
Re: USB Audio
sure its not a problem with power? have anyone tried connecting the dac through a powered hub?
|
Re: USB Audio
Quote:
|
Re: USB Audio
I dont pretend to understand any of that, but from
[383443.820312] EAC mode: play enabled, rec enabled [383447.429687] EAC mode: play disabled, rec disabled doesnt it look like it does work then disconnects for some unkown reason? |
Re: USB Audio
Quote:
As for the problem above, most probably it just needs inserting usb audio kernel driver module which is not present by default. |
Re: USB Audio
Quote:
|
Re: USB Audio
Ive fallen so in love with the canola interface... but the crappy N800 sound isnt worth dropping my D2 :/
You people who have USB DACs, i take it you have a bit more experience than most people i argue with on irc who claim the n800 sound good, so my question is - how does the n800 sound with an amp from the headphone socket? does it help any at all? |
Re: USB Audio
@ fanoush,
Im trying to get this working and I really appreicaite you throwing the kernal out there. Only problem is I have never used the insmod command before. I dl'ed your link to the documents folder on my n810. What would be the proper sytax from the terminal to do what you are saying? Appreciate the help! Cruelkix |
Re: USB Audio
Google for "man insmod".
Basically you call "insmod /path/to/a/module.ko" Then look in the output of "dmesg" to see if there were errors; if so, you load a different module first. Take a look at the list & order of the modules loaded on this page: http://www.nslu2-linux.org/wiki/HowTo/SlugAsAudioPlayer |
Re: USB Audio
I have later tried it with usb to audio dongle that comes with Logitech headset and it was detected and new card appeared in /proc/asound/cards but that was all. One also needs to tell the system to actually use that card instead of the builtin one which means it needs messing with ALSA configuration files and/or installing additional ALSA userspace utilities. So if you can't figure out the insmod stuff, don't bother, it needs additional tweaking.
|
Re: USB Audio
Quote:
|
Re: USB Audio
Quote:
- download modules to Documents folder - open xterm -extract modules: Code:
mkdir 2.6.21-omap1Code:
insmod sound/core/snd-page-alloc.kothen enable host mode, attach usb card and see kernel log for card detection. Also 'cat /proc/asound/cards' should have another one in the list. Maybe then xmms alsa plugin configuration might work? |
Re: USB Audio
BTW, the link to audio on Slug that lardman posted links also el-cheapo usb sound card
http://www.dealextreme.com/details.dx/sku.5831 While I have quite good experience with dealextreme overall (14 orders so far, mostly more than 1 item, everything arrived, price/quality ratio is quite good, they send replacements for free) I was unlucky with this one. Got first one with attached but unsoldered usb connector and after soldering it didn't work anyway. They happily sent another one for free. That one worked but the audio was very distorted in headphones. They did not sent third one :-) But this was the only crappy thing I got, other stuff was better. You may have better luck with this item than me, it has good user rating so others had better luck. |
Re: USB Audio
Quote:
Thanks tons! |
Re: USB Audio
Another thing I noticed is that when i restarted my n810 I had to re-insmod all the .ko's. Do i have to put them in a start up file or something? Or write a script that loads them on start up?
I'm sorry i'm such a huge noob. I really appreciate all the help on this. Cruelkix |
Re: USB Audio
I wonder if this would also enable to use a Nokia HS-82 USB Headset, such as it's bundled with some newer Nokia cellphones?
|
Re: USB Audio
Quote:
|
Re: USB Audio
Quote:
|
Re: USB Audio
well,
I insmodded everything and plugged in my usb sound card and still got the old "unable to connect, no file system available" ..... So what is the next step? Look for drivers? Try and get some stuff from an ubuntu release or lenny/sid lilke was mentioned before? Cruelkix |
Re: USB Audio
That warning is meaningless; basically, if it's not a keyboard, it waits for a filesysem to show up so it can mount it; if it doesn't show up it gives that message, even if it doesn't show up simply because it's not a mass storage device.
|
Re: USB Audio
Quote:
Code:
[608294.101562] usb 1-1: new full speed USB device using musb_hdrc and address 4 |
Re: USB Audio
Quote:
You may want to try rmmod on the usb-storage/hid modules if they are already loaded. Then again this message may just be displayed by the desktop when the usb-storage/hid modules don't load successfully. In which case ignore it. What does dmesg show from before you plug in to after you've insmodded the modules? |
Re: USB Audio
Quote:
|
Re: USB Audio
I'll give that a try (pluiggin it in then insmodding). I dont know what a dmesg is? Sorry! Do i just run it like any other command in x term?
Edit: Answered that myself. Yeah you run it in x term like any other command. Neat. |
Re: USB Audio
Quote:
Can you lsusb with it attached? (I wonder if something like usb_modeswitch is needed...) |
Re: USB Audio
Quote:
http://www.internettablettalk.com/fo...ad.php?t=14399 ;) |
Re: USB Audio
Yeah, I'd seen that, and Thanks, btw. I don't have any devices that need it yet, though...
|
Re: USB Audio
:), I don't actually have any devices that need it either, come think of it.
|
Re: USB Audio
Well, the HS-82 also has a jog-dial alike button. So that might be the part that gets recognised via USB.
I'll do a lsusb with it plugged in the next time I'm home. |
Re: USB Audio
Code:
[115259.640625] usb usb1: finish resume |
Re: USB Audio
I also want to point out that usb control completely freezes up when i plug in the sound card and switch to host mode. Also, I was unable to insmod everything first because it would not load the snd-usb-audio.ko if I had plugged in the sound card and set usbcontrol to host. I had to unlug the sound card for it to insmod. I can't lsusb in xterm it tries but won acutally go through until i unplug the sound card. After I switch to host mode ... pretty much things just stop working. Pretty much what i think is going on here is it is trying to find some way to make the device work and it just keeps trying. This same thing happens with or with out all the sound/core and sound/usb files insmodded.
Anythoughts? Thanks, Cruelkix |
Re: USB Audio
The VBUS_ERROR part most probably means your sound card is too power hungry for the tablet, try to use powered usb hub.
|
Re: USB Audio
I have a powered hub coming in today actually. So i'll give it a try. It said I have plenty of power budget left tho in the dmesg? I'll let you know how it goes tonight.
Thanks! |
Re: USB Audio
Code:
[ 277.554687] hub 1-1:1.0: hub_suspendAny thoughts would help! Thanks! |
| All times are GMT. The time now is 16:26. |
vBulletin® Version 3.8.8