maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   USB Audio (https://talk.maemo.org/showthread.php?t=16952)

graphical 2008-02-21 07:09

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

sleepkyng 2008-02-21 09:25

Re: USB Audio
 
headfier?

can't say that i can help you, but i can root you on!

Cptnodegard 2008-03-15 17:00

Re: USB Audio
 
any progress? would be itneresting to see if USB DACs work

graphical 2008-03-16 00:32

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

Cptnodegard 2008-03-16 00:37

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

graphical 2008-03-16 00:50

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

taragudrig 2008-03-17 07:18

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

Cptnodegard 2008-03-17 20:44

Re: USB Audio
 
sure its not a problem with power? have anyone tried connecting the dac through a powered hub?

Benson 2008-03-17 20:54

Re: USB Audio
 
Quote:

Originally Posted by graphical (Post 155749)
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

Nope, not a power problem; it claims to have plenty of power. Unless the headphones are lying about their power req'ments, but even so, there would be messages about over-current. (I think.)

Cptnodegard 2008-03-18 10:45

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?

fanoush 2008-03-18 11:44

Re: USB Audio
 
Quote:

Originally Posted by Cptnodegard (Post 156749)
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?

No, those lines are normal and are caused by builtin audio. Lot of these are in the log when you have touchscreen and system sounds enabled.

As for the problem above, most probably it just needs inserting usb audio kernel driver module which is not present by default.

fanoush 2008-03-18 12:52

Re: USB Audio
 
Quote:

Originally Posted by fanoush (Post 156754)
As for the problem above, most probably it just needs inserting usb audio kernel driver module which is not present by default.

One may try to get extra modules from http://fanoush.wz.cz/maemo/modules-2...-custom.tar.gz and insmod everything in sound/core and sound/usb (in correct order, if you see error just try another first) and only then insert usb audio device.

Cptnodegard 2008-03-21 23:59

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?

Cruelkix 2008-04-24 03:51

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

lardman 2008-04-24 06:33

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

fanoush 2008-04-24 08:30

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.

qwerty12 2008-04-24 08:32

Re: USB Audio
 
Quote:

Originally Posted by fanoush (Post 173992)
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.

Would I just be able to use the alsa's xmms plugin device selection to point to the right device for at least xmms?

fanoush 2008-04-24 09:04

Re: USB Audio
 
Quote:

Originally Posted by qwerty12 (Post 173993)
Would I just be able to use the alsa's xmms plugin device selection to point to the right device for at least xmms?

It is certainly worth of checking. In that case the newbie guide to modules is :
- download modules to Documents folder
- open xterm
-extract modules:
Code:

mkdir 2.6.21-omap1
cd 2.6.21-omap1
tar zxvf /home/user/MyDocs/.documents/modules-2.2007.50-2-custom.tar.gz
sudo gainroot

- try to insert them (as root user) in correct order:
Code:

insmod sound/core/snd-page-alloc.ko
...
insmod sound/usb/whatever.ko

If it prints unknown symbol error try another one. You can see the missing symbol in kernel log via dmesg command and the symbol name can give a hint which module is missing but picking other one randomly works too :-) Try core/page-alloc, timer,hwdep,rawmidi,pcm, usb/usb-lib,usb-audio

then 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?

fanoush 2008-04-24 09:20

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.

Cruelkix 2008-04-24 19:48

Re: USB Audio
 
Quote:

Originally Posted by fanoush (Post 173996)
It is certainly worth of checking. In that case the newbie guide to modules is :
- download modules to Documents folder
- open xterm
-extract modules:
Code:

mkdir 2.6.21-omap1
cd 2.6.21-omap1
tar zxvf /home/user/MyDocs/.documents/modules-2.2007.50-2-custom.tar.gz
sudo gainroot

- try to insert them (as root user) in correct order:
Code:

insmod sound/core/snd-page-alloc.ko
...
insmod sound/usb/whatever.ko

If it prints unknown symbol error try another one. You can see the missing symbol in kernel log via dmesg command and the symbol name can give a hint which module is missing but picking other one randomly works too :-) Try core/page-alloc, timer,hwdep,rawmidi,pcm, usb/usb-lib,usb-audio

then 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?

The order you suggested for insmod worked out great for me. Hopefully when i get home today I can try to plug in the USB sound card and see what happens. Who knows maybe it wille ven work!

Thanks tons!

Cruelkix 2008-04-24 20:05

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

fizze 2008-04-24 21:02

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?

lardman 2008-04-24 22:26

Re: USB Audio
 
Quote:

Or write a script that loads them on start up?
Yes exactly.

Benson 2008-04-24 22:44

Re: USB Audio
 
Quote:

Originally Posted by fizze (Post 174281)
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?

I don't think so; AFAIK all headsets with USB connectors for cell phones are really analog over the mini-USB connector.

Cruelkix 2008-04-25 03:13

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

Benson 2008-04-25 03:34

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.

fizze 2008-04-25 06:59

Re: USB Audio
 
Quote:

Originally Posted by Benson (Post 174329)
I don't think so; AFAIK all headsets with USB connectors for cell phones are really analog over the mini-USB connector.

I definetly saw something about USB-HID Audio in dmesg, when I plugged my headset into the N810.

Code:

[608294.101562] usb 1-1: new full speed USB device using musb_hdrc and address 4
[608294.234375] usb 1-1: ep0 maxpacket = 8
[608294.234375] usb 1-1: skipped 9 descriptors after interface
[608294.234375] usb 1-1: skipped 2 descriptors after interface
[608294.234375] usb 1-1: skipped 1 descriptor after endpoint
[608294.234375] usb 1-1: skipped 2 descriptors after interface
[608294.234375] usb 1-1: skipped 1 descriptor after endpoint
[608294.234375] usb 1-1: skipped 2 descriptors after interface
[608294.234375] usb 1-1: skipped 1 descriptor after endpoint
[608294.234375] usb 1-1: skipped 2 descriptors after interface
[608294.234375] usb 1-1: skipped 1 descriptor after endpoint
[608294.234375] usb 1-1: skipped 1 descriptor after interface
[608294.234375] usb 1-1: default language 0x0409
[608294.242187] usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
[608294.242187] usb 1-1: Product: Nokia HS-82 headset
[608294.242187] usb 1-1: Manufacturer: Nokia
[608294.242187] usb 1-1: device v0421 p0082 is not supported
[608294.242187] usb 1-1: uevent
[608294.242187] usb 1-1: usb_probe_device
[608294.242187] usb 1-1: configuration #1 chosen from 1 choice
[608294.242187] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[608294.242187] usb 1-1:1.0: uevent
[608294.242187] usbtest 1-1:1.0: usb_probe_interface
[608294.242187] usbtest 1-1:1.0: usb_probe_interface - got id
[608294.242187] usb 1-1: adding 1-1:1.1 (config #1, interface 1)
[608294.242187] usb 1-1:1.1: uevent
[608294.242187] usbtest 1-1:1.1: usb_probe_interface
[608294.242187] usbtest 1-1:1.1: usb_probe_interface - got id
[608294.242187] usb 1-1: adding 1-1:1.2 (config #1, interface 2)
[608294.242187] usb 1-1:1.2: uevent
[608294.242187] usbtest 1-1:1.2: usb_probe_interface
[608294.242187] usbtest 1-1:1.2: usb_probe_interface - got id
[608294.242187] usb 1-1: adding 1-1:1.3 (config #1, interface 3)
[608294.242187] usb 1-1:1.3: uevent
[608294.242187] usbhid 1-1:1.3: usb_probe_interface
[608294.242187] usbhid 1-1:1.3: usb_probe_interface - got id
[608294.242187] drivers/usb/input/hid-core.c: HID probe called for ifnum 3
[608294.250000] drivers/usb/input/hid-core.c: submitting ctrl urb: Get_Report wValue=0x0100 wIndex=0x0003 wLength=2
[608294.250000] input: Nokia Nokia HS-82 headset as /class/input/input6
[608294.250000] input: USB HID v1.11 Device [Nokia Nokia HS-82 headset] on usb-musb_hdrc-1
[608294.250000] drivers/usb/core/inode.c: creating file '004'
[608294.250000] hub 1-0:1.0: 100mA power budget left
[608294.250000] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[608294.250000] hub 1-0:1.0: port 1 enable change, status 00000103


lardman 2008-04-25 08:12

Re: USB Audio
 
Quote:

I insmodded everything and plugged in my usb sound card and still got the old "unable to connect, no file system available" .....
Where was this message displayed?

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?

lardman 2008-04-25 08:12

Re: USB Audio
 
Quote:

I insmodded everything and plugged in my usb sound card
I'd plug in the card then insmod the modules....

Cruelkix 2008-04-25 15:18

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.

Benson 2008-04-25 15:36

Re: USB Audio
 
Quote:

Originally Posted by fizze (Post 174471)
I definetly saw something about USB-HID Audio in dmesg, when I plugged my headset into the N810.

Don't see anything about audio; it's detected as HID, which is not right for audio. See http://en.wikipedia.org/wiki/USB#Device_classes.
Can you lsusb with it attached?

(I wonder if something like usb_modeswitch is needed...)

qwerty12 2008-04-25 15:40

Re: USB Audio
 
Quote:

Originally Posted by Benson (Post 174608)
(I wonder if something like usb_modeswitch is needed...)

If it is;

http://www.internettablettalk.com/fo...ad.php?t=14399

;)

Benson 2008-04-25 15:46

Re: USB Audio
 
Yeah, I'd seen that, and Thanks, btw. I don't have any devices that need it yet, though...

qwerty12 2008-04-25 15:47

Re: USB Audio
 
:), I don't actually have any devices that need it either, come think of it.

fizze 2008-04-26 18:36

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.

Cruelkix 2008-04-28 15:06

Re: USB Audio
 
Code:

[115259.640625] usb usb1: finish resume
[115259.640625] hub 1-0:1.0: hub_resume
[115259.664062] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
[115259.820312] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[115259.882812] musb_h_ep0_irq 1100: no URB for end 0
[115259.945312] usb 1-1: new full speed USB device using musb_hdrc and address 23
[115260.078125] usb 1-1: skipped 13 descriptors after interface
[115260.078125] usb 1-1: skipped 2 descriptors after interface
[115260.078125] usb 1-1: skipped 1 descriptor after endpoint
[115260.078125] usb 1-1: skipped 2 descriptors after interface
[115260.078125] usb 1-1: skipped 1 descriptor after endpoint
[115260.078125] usb 1-1: skipped 2 descriptors after interface
[115260.078125] usb 1-1: skipped 1 descriptor after endpoint
[115260.078125] usb 1-1: skipped 1 descriptor after interface
[115260.078125] usb 1-1: default language 0x0409
[115260.078125] usb 1-1: new device strings: Mfr=0, Product=1, SerialNumber=0
[115260.078125] usb 1-1: Product: USB Audio
[115260.078125] usb 1-1: device v0c45 p1677 is not supported
[115260.078125] usb 1-1: uevent
[115260.078125] usb 1-1: usb_probe_device
[115260.078125] usb 1-1: configuration #1 chosen from 1 choice
[115260.078125] musb_g_ep0_irq 709: SETUP packet len 0 != 8 ?
[115260.078125] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00020103
[115260.250000] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115261.835937] EAC mode: play disabled, rec disabled
[115265.078125] usb 1-1: khubd timed out on ep0out len=0/0
[115265.078125] usb 1-1: can't set config #1, error -110[115265.078125] drivers/usb/core/inode.c: creating file '023'
[115265.078125] hub 1-0:1.0: 192mA power budget left
[115265.078125] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[115265.078125] hub 1-0:1.0: port 1, status 0101, change 0003, 12 Mb/s
[115265.078125] usb 1-1: USB disconnect, address 23
[115265.078125] usb 1-1: unregistering device
[115265.078125] usb 1-1: usb_disable_device nuking all URBs
[115265.078125]  usbdev1.23_ep00: ep_device_release called for usbdev1.23_ep00
[115265.078125] usb 1-1: uevent
[115265.234375] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[115265.234375] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #2, port1 00000111
[115265.359375] usb 1-1: new full speed USB device using musb_hdrc and address 24
[115265.406250] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115266.359375] usb 1-1: khubd timed out on ep0in len=0/64
[115267.359375] usb 1-1: khubd timed out on ep0in len=0/64
[115268.359375] usb 1-1: khubd timed out on ep0in len=0/64
[115268.468750] usb 1-1: device descriptor read/64, error -110
[115273.578125] usb 1-1: khubd timed out on ep0in len=0/64
[115275.492187] EAC mode: play enabled, rec enabled
[115278.578125] usb 1-1: khubd timed out on ep0in len=0/64
[115281.093750] EAC mode: play disabled, rec disabled
[115283.273437] EAC mode: play enabled, rec enabled
[115283.578125] usb 1-1: khubd timed out on ep0in len=0/64
[115283.687500] usb 1-1: device descriptor read/64, error -110
[115283.796875] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00030111
[115283.859375] hub 1-0:1.0: port_wait_reset: err = -22
[115283.859375] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115283.968750] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115284.070312] hub 1-0:1.0: port_wait_reset: err = -22
[115284.070312] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115284.070312] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115284.250000] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115284.281250] hub 1-0:1.0: port_wait_reset: err = -22
[115284.281250] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115284.281250] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115284.460937] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115284.492187] hub 1-0:1.0: port_wait_reset: err = -22
[115284.492187] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115284.492187] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115284.671875] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115284.703125] hub 1-0:1.0: port_wait_reset: err = -22
[115284.703125] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115284.703125] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[115284.703125] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115284.765625] hub 1-0:1.0: port_wait_reset: err = -22
[115284.765625] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115284.882812] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115284.976562] hub 1-0:1.0: port_wait_reset: err = -22
[115284.976562] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115284.976562] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115285.156250] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115285.187500] hub 1-0:1.0: port_wait_reset: err = -22
[115285.187500] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115285.187500] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115285.367187] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115285.398437] hub 1-0:1.0: port_wait_reset: err = -22
[115285.398437] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115285.398437] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115285.578125] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115285.609375] hub 1-0:1.0: port_wait_reset: err = -22
[115285.609375] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115285.609375] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[115285.609375] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115285.671875] hub 1-0:1.0: port_wait_reset: err = -22
[115285.671875] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115285.789062] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115285.882812] hub 1-0:1.0: port_wait_reset: err = -22
[115285.882812] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115285.882812] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115286.062500] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115286.093750] hub 1-0:1.0: port_wait_reset: err = -22
[115286.093750] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115286.093750] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115286.273437] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115286.304687] hub 1-0:1.0: port_wait_reset: err = -22
[115286.304687] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115286.304687] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00130111
[115286.484375] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[115286.515625] hub 1-0:1.0: port_wait_reset: err = -22
[115286.515625] hub 1-0:1.0: port 1 not enabled, trying reset again...
[115286.515625] hub 1-0:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
[115286.515625] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[115286.515625] hub 1-0:1.0: reset change on port 1
[115286.515625] hub 1-0:1.0: port 1, status 0101, change 0013, 12 Mb/s
[115286.671875] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[115286.671875] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00000111
[115286.796875] usb 1-1: new full speed USB device using musb_hdrc and address 28
[115286.851562] musb_stage0_irq 646: CONNECT (a_host) devctl 5d

So here is my dmesg after i insmodded everything.

Cruelkix 2008-04-28 15:23

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

fanoush 2008-04-29 08:03

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.

Cruelkix 2008-04-29 15:23

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!

Cruelkix 2008-04-30 00:43

Re: USB Audio
 
Code:

[  277.554687] hub 1-1:1.0: hub_suspend
[  277.554687] usb 1-1: usb auto-suspend
[  279.578125] hub 1-0:1.0: hub_suspend
[  279.578125] usb usb1: usb auto-suspend
[  290.554687] EAC mode: play enabled, rec enabled
[  295.625000] EAC mode: play disabled, rec disabled
[  300.085937] hub 1-0:1.0: state 8 ports 1 chg 0000 evt 0000
[  300.085937] usb usb1: usb auto-resume
[  300.085937] usb usb1: finish resume
[  300.085937] hub 1-0:1.0: hub_resume
[  300.109375] usb 1-1: usb wakeup-resume
[  300.132812] usb 1-1: finish resume
[  300.132812] hub 1-1:1.0: hub_resume
[  300.132812] hub 1-0:1.0: resume on port 1, status 0
[  300.132812] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[  300.132812] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0000
[  300.132812] hub 1-1:1.0: port 3, status 0101, change 0001, 12 Mb/s
[  300.289062] hub 1-1:1.0: debounce: port 3: total 100ms stable 100ms status 0x101
[  300.375000] usb 1-1.3: new full speed USB device using musb_hdrc and address 3
[  300.484375] usb 1-1.3: skipped 13 descriptors after interface
[  300.484375] usb 1-1.3: skipped 2 descriptors after interface
[  300.484375] usb 1-1.3: skipped 1 descriptor after endpoint
[  300.484375] usb 1-1.3: skipped 2 descriptors after interface
[  300.484375] usb 1-1.3: skipped 1 descriptor after endpoint
[  300.484375] usb 1-1.3: skipped 2 descriptors after interface
[  300.484375] usb 1-1.3: skipped 1 descriptor after endpoint
[  300.484375] usb 1-1.3: skipped 1 descriptor after interface
[  300.484375] usb 1-1.3: default language 0x0409
[  300.484375] usb 1-1.3: new device strings: Mfr=0, Product=1, SerialNumber=0
[  300.484375] usb 1-1.3: Product: USB Audio
[  300.484375] usb 1-1.3: device v0c45 p1677 is not supported
[  300.484375] usb 1-1.3: uevent
[  300.484375] usb 1-1.3: usb_probe_device
[  300.484375] usb 1-1.3: configuration #1 chosen from 1 choice
[  300.484375] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00000503
[  301.062500] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[  305.484375] usb 1-1.3: khubd timed out on ep0out len=0/0
[  305.484375] usb 1-1.3: can't set config #1, error -110
[  305.484375] drivers/usb/core/inode.c: creating file '003'
[  306.484375] usb 1-1: khubd timed out on ep0in len=0/4[  307.484375] usb 1-1: khubd timed out on ep0in len=0/4[  308.484375] usb 1-1: ksuspend_usbd timed out on ep0out len=0/0
[  308.484375] musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 020a
[  309.453125] hub 1-1:1.0: can't suspend port 3, status -110
[  309.460937] usb 1-1: khubd timed out on ep0in len=0/4[  310.460937] usb 1-1: khubd timed out on ep0in len=0/4[  311.460937] usb 1-1: khubd timed out on ep0in len=0/4[  311.460937] hub 1-1:1.0: hub_port_status failed (err = -110)
[  311.460937] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0008
[  312.460937] usb 1-1: khubd timed out on ep0in len=0/4[  313.460937] usb 1-1: khubd timed out on ep0in len=0/4[  313.960937] EAC mode: play enabled, rec enabled
[  314.453125] usb 1-1.3: ksuspend_usbd timed out on ep0out len=0/0
[  314.453125] musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 020a
[  315.421875] usb 1-1: khubd timed out on ep0in len=0/4[  316.390625] EAC mode: play disabled, rec disabled
[  316.421875] usb 1-1: khubd timed out on ep0in len=0/4[  316.765625] EAC mode: play enabled, rec enabled
[  317.421875] usb 1-1: khubd timed out on ep0in len=0/4[  317.421875] hub 1-1:1.0: hub_port_status failed (err = -110)
[  317.421875] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[  317.421875] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
[  317.421875] usb 1-1: USB disconnect, address 2
[  317.421875] usb 1-1.3: USB disconnect, address 3
[  317.421875] usb 1-1.3: unregistering device
[  317.421875] usb 1-1.3: usb_disable_device nuking all URBs
[  317.421875]  usbdev1.3_ep00: ep_device_release called for usbdev1.3_ep00
[  317.421875] usb 1-1.3: uevent
[  317.421875] usb 1-1: unregistering device
[  317.421875] usb 1-1: usb_disable_device nuking all URBs
[  317.421875] musb_hdrc musb_hdrc: shutdown urb c3189800 pipe 40408280 ep1in-intr
[  317.421875] usb 1-1: unregistering interface 1-1:1.0
[  317.421875]  usbdev1.2_ep81: ep_device_release called for usbdev1.2_ep81
[  317.421875] usb 1-1:1.0: uevent
[  317.421875]  usbdev1.2_ep00: ep_device_release called for usbdev1.2_ep00
[  317.421875] usb 1-1: uevent
[  317.578125] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[  317.640625] musb_h_ep0_irq 1100: no URB for end 0
[  317.703125] usb 1-1: new high speed USB device using musb_hdrc and address 4
[  317.835937] usb 1-1: default language 0x0409
[  317.835937] usb 1-1: new device strings: Mfr=0, Product=1, SerialNumber=0
[  317.835937] usb 1-1: Product: USB2.0 Hub
[  317.835937] usb 1-1: hub v05e3 p0608 is not supported[  317.835937] usb 1-1: uevent
[  317.835937] usb 1-1: usb_probe_device
[  317.835937] usb 1-1: configuration #1 chosen from 1 choice
[  317.835937] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[  317.835937] usb 1-1:1.0: uevent
[  317.835937] hub 1-1:1.0: usb_probe_interface
[  317.835937] hub 1-1:1.0: usb_probe_interface - got id[  317.835937] hub 1-1:1.0: USB hub found
[  317.835937] hub 1-1:1.0: 4 ports detected
[  317.835937] hub 1-1:1.0: standalone hub
[  317.835937] hub 1-1:1.0: ganged power switching
[  317.835937] hub 1-1:1.0: global over-current protection
[  317.835937] hub 1-1:1.0: Single TT
[  317.835937] hub 1-1:1.0: TT requires at most 32 FS bit times (2664 ns)
[  317.835937] hub 1-1:1.0: Port indicators are supported
[  317.835937] hub 1-1:1.0: power on to power good time: 100ms
[  317.835937] hub 1-1:1.0: local power source is good
[  317.835937] hub 1-1:1.0: no over-current condition exists
[  317.835937] hub 1-1:1.0: enabling power on all ports
[  317.945312] drivers/usb/core/inode.c: creating file '004'
[  317.945312] hub 1-0:1.0: 100mA power budget left
[  317.945312] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[  317.945312] hub 1-0:1.0: port 1 enable change, status 00000503
[  317.945312] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0000
[  317.945312] hub 1-1:1.0: port 3, status 0101, change 0001, 12 Mb/s
[  318.101562] hub 1-1:1.0: debounce: port 3: total 100ms stable 100ms status 0x101
[  318.187500] usb 1-1.3: new full speed USB device using musb_hdrc and address 5
[  318.296875] usb 1-1.3: skipped 13 descriptors after interface
[  318.296875] usb 1-1.3: skipped 2 descriptors after interface
[  318.296875] usb 1-1.3: skipped 1 descriptor after endpoint
[  318.296875] usb 1-1.3: skipped 2 descriptors after interface
[  318.296875] usb 1-1.3: skipped 1 descriptor after endpoint
[  318.296875] usb 1-1.3: skipped 2 descriptors after interface
[  318.296875] usb 1-1.3: skipped 1 descriptor after endpoint
[  318.296875] usb 1-1.3: skipped 1 descriptor after interface
[  318.296875] usb 1-1.3: default language 0x0409
[  318.296875] usb 1-1.3: new device strings: Mfr=0, Product=1, SerialNumber=0
[  318.296875] usb 1-1.3: Product: USB Audio
[  318.296875] usb 1-1.3: device v0c45 p1677 is not supported
[  318.296875] usb 1-1.3: uevent
[  318.296875] usb 1-1.3: usb_probe_device
[  318.296875] usb 1-1.3: configuration #1 chosen from 1 choice
[  318.296875] musb_g_ep0_irq 709: SETUP packet len 0 != 8 ?
[  318.296875] musb_stage0_irq 570: VBUS_ERROR in a_host (91, <VBusValid), retry #1, port1 00000503
[  318.867187] musb_stage0_irq 646: CONNECT (a_host) devctl 5d
[  321.101562] EAC mode: play disabled, rec disabled
[  321.296875] EAC mode: play enabled, rec enabled

This is what I got with a powered USB Hub. Looks promising acutally. It recognizes the device and gives adevice name. I'm thinking I need the proper driver from here?

Any thoughts would help! Thanks!


All times are GMT. The time now is 16:26.

vBulletin® Version 3.8.8