| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Analysed by and ok claudio@
|
|
|
|
| |
written by Cody Cutler <ccutler at csail.mit.edu>
|
| |
|
| |
|
|
|
|
|
|
| |
devices which have padding between finger data
tested on an older model by bru@
|
|
|
|
| |
ok ratchov@
|
| |
|
|
|
|
| |
ok mpi@
|
|
|
|
|
|
|
| |
Currently we send the request to the unit indicated as clock source of
the terminals, which may be a clock selector unit that doesn't support
the request. Fix this by following the clock source path until the
clock source unit is found.
|
|
|
|
| |
a random streaming iface.
|
|
|
|
|
|
| |
Even if having multiple control interface descriptors is not allowed
by the UAC spec, there's no reason to stop as long as a proper control
interface was processed.
|
|
|
|
|
|
| |
chromebooks.
ok deraadt@
|
|
|
|
|
|
| |
chromebooks.
ok deraadt@
|
| |
|
| |
|
|
|
|
|
| |
Fixes STALL errors in mixer requests causing the mixer to be unusable.
With help from Claus <claus at mailbox.org>. Thanks.
|
|
|
|
| |
ok mpi
|
|
|
|
|
|
|
| |
in x_media_change(), return the errno from ieee80211_media_change() and
do the error check from x_init().
ok stsp@, jmatthew@, phessler@
|
|
|
|
| |
ok deraadt@ phessler@ sthen@
|
| |
|
|
|
|
| |
ok deraadt@ phessler@ sthen@
|
|
|
|
| |
ok deraadt
|
|
|
|
|
|
|
|
|
| |
After each MSE, ensuire usbd_complete_transfer() is called for each
missed transfer, for which there's no transfer completion event. Fixes
crashes and deadlocks in upper layers caused by the missing
completion.
ok deraadt, patrick; help from mpi, patrick, gmlocker
|
|
|
|
|
|
| |
Based on FreeBSD r346028, this fixes ure(4) not detected after a reboot.
ok deraadt@
|
|
|
|
|
| |
This makes the code less bug prone as the "rare" underruns
conditions are handled by the main non-underrun code.
|
| |
|
|
|
|
|
| |
No behavior change as we don't call uaudio_pdata_copy() in situations
when bounce buffers may not be available.
|
|
|
|
|
| |
No behavior change. The new representation is equivalent but eases
detection of overflows and underflows.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Even though these chips implement the standard USB CDC class protocol
we need a separate driver to be able to disable hardware flow control.
Hardware flow control is automatically enabled in CDC mode but if the
relevant lines aren't connected this prevents the chip from getting
input.
ok deraadt@
|
| |
|
|
|
|
| |
ok deraadt@
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
At least my uaudio(4) over ohci is encountering a fair amount of USBD_IOERROR
when the system is busy (most probably because the deadline is missed because
of the big lock being hold). With this in, playing music while running a
make build no longer stops after a few seconds.
OK ratchov@
|
|
|
|
|
|
| |
code in xhci_event_xfer() to the generic handler function.
suggested and ok mpi@
|
|
|
|
|
|
|
|
| |
functions for isoc and !isoc xfers.
Suggested by mpi@.
ok patrick@, stsp@
|
| |
|
|
|
|
|
|
| |
to one single function.
ok mpi@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
frame has to be enqueued as Transfer Descriptor. This means each frame
starts with an isoch TRB and may also contain further normal TRBs. The
TDs each throw at least one interrupt for a successful completion or
possibly more in case of a short xfer. We have to account the amount
of data transfered for each frame using the completion of the matching
TD and its TRBs.
Thanks to stsp@ for initiating this, and many more thanks to mglocker@
for reworking and cleaning up my initial diff. Further improvements
can happen in-tree now.
Tested by mglocker@, phessler@ and stsp@
ok mglocker@, stsp@
|
|
|
|
|
|
|
| |
as in: Since there's always one transfer, 0 means 1. Thus we have
to add 1 (not OR) to get to the desired number.
ok mglocker@ mpi@ stsp@
|
|
|
|
|
|
|
|
|
| |
the routine safe to use in soft interrupt context.
This fixes an assertwaitok() panic reported by
Abel Abraham Camarillo Ojeda.
OK mpi@
|
|
|
|
| |
ok mpi@
|
|
|
|
| |
ok mpi
|
|
|
|
|
|
|
|
|
|
| |
current one for UAC v1.0 devices.
The main difference with the old driver is that now we map audio
blocks to USB transfers, which allows precise synchronization and
reliability, including during low-latency operation.
with help from many, ok mpi
|
|
|
|
|
|
|
| |
When an isochronous transfer of n frames is scheduled, the last frame
i.e. frame number (n - 1) must be set to generate an interrupt.
ok mpi
|
| |
|
|
|
|
|
|
|
| |
to reset/enable MCU
- there's no need to enable 1.2V power for rtl8192eu
ok jmatthew@
|
|
|
|
|
|
|
|
|
| |
we know that the last non-link TRB has been written and we can look at
the flags to set the chain bit in the link TRB. Since we will now toggle
the cycle bit on the first TRB of a ring, set it on the ring reset.
Tested by jcs@, jsg@ and visa@
"commit it" jcs@
|