USB headset support (on the USB host port)

Hi!

I have a MOD Dwarf and I’d like to use my USB headset for playback (in the same way as with the 3.5 mm analog audio interface). Even better: if the volume knob and mute button worked.

I have tried enabling USB Audio Gadget, and this enables me to send audio to the computer via the USB computer port, and I can enable audio playback via my computer, but:

  • I would like to do this when a computer is not connected.
  • The latency isn’t great. Maybe 300-500 ms? I’m hoping that it will be better when connected directly to the MOD Dwarf.

Figured I should ask the experts before messing around with the system trying to duplicate the output somewhere!

lsusb
$ lsusb
...
Bus 001 Device 003: ID 046d:0a15
...
arecord -l
$ arecord -l
**** List of CAPTURE Hardware Devices ****
...
card 1: Headset [Logitech G35 Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
...
arecord -L
$ arecord -L
...
default:CARD=Headset
    Logitech G35 Headset, USB Audio
    Default Audio Device
sysdefault:CARD=Headset
    Logitech G35 Headset, USB Audio
    Default Audio Device
front:CARD=Headset,DEV=0
    Logitech G35 Headset, USB Audio
    Front speakers
surround21:CARD=Headset,DEV=0
    Logitech G35 Headset, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Headset,DEV=0
    Logitech G35 Headset, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Headset,DEV=0
    Logitech G35 Headset, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Headset,DEV=0
    Logitech G35 Headset, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Headset,DEV=0
    Logitech G35 Headset, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Headset,DEV=0
    Logitech G35 Headset, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
...
1 Like

Any simple 3.5mm jack to usb audio cable shoud work to use your headset with the earphone out of the dwarf

My headset (Logitech G35) doesn’t have analogue input, if that’s what you mean? It needs USB audio class drivers (which the device seems to be recognising, just not using as an audio output).

I guess I would prefer a headset that does have analogue input (for the simplicity and reduced latency), but this is the one I have.

So it has an internal audio card? If the system recognize it it is a matter of tweaking mod-host to have jackd routing audio trough it. I don’t think it is easy feasible…

that shouldnt be recommended. unit would stop booting correctly if it was powered on without the usb card connected.

the way to go for this is to have a plugin that can send and receive audio from external USB sound cards.
I still want to do this at some point, but there is lots of stuff to do first…

anyone wants to collaborate on such a plugin?

3 Likes