Re: xhci isochronous transfers (was: Re: CVS: cvs.openbsd.org: src)

2019-03-16 Thread Solene Rapenne
On Sat, Mar 16, 2019 at 12:38:09PM -, Christian Weisgerber wrote:
> On 2019-03-15, Patrick Wildt  wrote:
> 
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: patr...@cvs.openbsd.org 2019/03/15 17:20:35
> >
> > Modified files:
> > sys/dev/usb: xhci.c 
> >
> > Log message:
> > Improve and enable isochronous transfers in xhci(4). [...]
> 
> Wow, that appears to be the crucial step many people have been
> waiting for.  With this, I can now play sound through my USB audio
> dongle connected to a "new" (~5-year old) machine:
> 
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
> addr 1
> ..
> uaudio0 at uhub0 port 9 configuration 1 interface 1 "C-Media INC. USB Sound 
> Device" rev 1.10/0.10 addr 4
> uaudio0: class v1, full-speed, sync, channels: 2 play, 0 rec, 4 ctls audio1 
> at uaudio0
> 
> -- 
> Christian "naddy" Weisgerber  na...@mips.inka.de
> 

On my T480 with usb3 only, I can now:

- use the built in webcam
- use an usb webcam
- use the usb phone tethering (lineageos) with urndis0

Thanks!



xhci isochronous transfers (was: Re: CVS: cvs.openbsd.org: src)

2019-03-16 Thread Christian Weisgerber
On 2019-03-15, Patrick Wildt  wrote:

> CVSROOT:  /cvs
> Module name:  src
> Changes by:   patr...@cvs.openbsd.org 2019/03/15 17:20:35
>
> Modified files:
>   sys/dev/usb: xhci.c 
>
> Log message:
> Improve and enable isochronous transfers in xhci(4). [...]

Wow, that appears to be the crucial step many people have been
waiting for.  With this, I can now play sound through my USB audio
dongle connected to a "new" (~5-year old) machine:

usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
...
uaudio0 at uhub0 port 9 configuration 1 interface 1 "C-Media INC. USB Sound 
Device" rev 1.10/0.10 addr 4
uaudio0: class v1, full-speed, sync, channels: 2 play, 0 rec, 4 ctls audio1 at 
uaudio0

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de