| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
ok mpi@
|
|
|
|
|
|
|
|
|
| |
seen by the stack.
This will allows us to debug port status changes without relying on
external tools, like lsusb(1), that generate I/O.
While here correct USB3 LS port defines.
|
|
|
|
| |
ok abieber@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Those devices have a broken AudioControl descriptor which advertises a
bad value for bLength for the FEATURE_UNIT sub-descriptor, so add a
quirk 'fixing' this bLength so that uaudio(4) attaches properly instead
of bailing out with 'audio descriptors make no sense, error=4'.
My C310 now properly attaches but doesnt seem to work right now, this is
a different issue that will be worked on.
Thanks to tb@, remi@, weerd@, Raf Czlonka, Base Pr1me, Jordan Geoghegan,
Peter J. Philipp, Alfredo Vogel, James Hastings, Bruno Flueckiger,
Remco & Alex Tsang for providing lsusb -v output for a large variety of
Logitech Webcams.
ok mpi@ ratchov@
|
| |
|
|
|
|
|
|
| |
FEATURE_UNIT bLength' issue.
ok mpi@
|
|
|
|
| |
ok bluhm@, mpi@
|
| |
|
|
|
|
|
| |
Their audio isn't properly detected yet, but a new quirk will fix that.
ok mpi@
|
|
|
|
| |
ok claudio@, deraadt@, mpi@, rob@
|
|
|
|
| |
ok deraadt@, mpi@, rob@
|
| |
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
Diff from Paul de Weerd (weerd@), tested by Jan-Piet Mens, thanks!
|
| |
|
|
|
|
| |
Diff from Paul de Weerd (weerd@), tested by Jan-Piet Mens, thanks!
|
|
|
|
| |
ok stsp
|
| |
|
|
|
|
|
|
|
| |
and initialize bwfm(4) later in the case that the firmware was not
available on bootup and was only later installed.
ok stsp@
|
| |
|
|
|
|
|
|
|
|
|
| |
ids. So far we were only able to have one command in flight at a time
and race conditions could easily lead to unexpected behaviour, especia-
lly combined with a slow bus and timeouts. With this rework we send or
enqueue a control packet command and wait for replies to happen. Thus
we can have multiple control packets in flight and a reply with the
correct id will wake us up.
|
|
|
|
|
|
| |
flip before the rest of the TRB is updated.
OK dlg@, pirofti@, mpi@
|
|
|
|
| |
ok patrick@, kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gathered from usb devices.
Cache them early in usbd_new_device() instead of querying the device
several times (the content wont change anyway) and uselessly generating
usb traffic (which could conflict with other access..)
The heuristic stays the same, first look in the device descriptor, then
try to match against usb_known_vendors/usb_known_products, then fallback
to use the idVendor/idProduct codes.
Remove the now useless 'usedev' parameter from usbd_fill_deviceinfo().
Tested from bsd & bsd.rd.
suggested by and ok mpi@
|
|
|
|
|
|
|
|
|
|
| |
protected: mrt_ioctl() and in_ioctl(). The former has no other callers
and only needs a read lock. The latter will need refactoring to reduce
the lock's scope further. In a first step, establish a single exit point
and protect most of the function body with the NET_LOCK() while removing
the NET_LOCK() from a handful of callers.
suggested by & ok mpi, ok visa
|
| |
|
|
|
|
| |
ok pirofti@, visa@
|
|
|
|
|
|
|
| |
they flush old nodes and set the interface link state to down, like the
framework does.
OK stsp@ pirofti@
|
|
|
|
|
|
|
|
|
| |
this gets rid of the source annotation which doesn't really add
anything other than adding complexitiy. randomess is generally
good enough that the few extra bits that the source type would
add are not worth it.
ok mikeb@ deraadt@
|
|
|
|
|
|
|
|
|
| |
get an up-to-date view of APs around us. In particular, we need to
kick out the AP we are associated to. Otherwise, our current AP might
stay cached if it is turned off while we are scanning, and we could
end up picking a now non-existent but "good looking" AP over and over.
found with and ok phessler@
|
| |
|
| |
|
|
|
|
|
|
|
| |
curproc that does the locking or unlocking, so the proc parameter
is pointless and can be dropped.
OK mpi@, deraadt@
|
|
|
|
|
|
|
|
|
| |
Use this helper to calculate the Transfer Burst Count (TBC) and Transfer
Last Burst Packet Count (TLBPC) required for isochronous support.
Note that SS companion descriptors are still not read.
While here print the ETE and IST values in debug mode.
|
|
|
|
|
|
|
|
|
| |
Use this helper to calculate the Transfer Burst Count (TBC) and Transfer
Last Burst Packet Count (TLBPC) required for isochronous support.
Note that SS companion descriptors are still not read.
While here print the ETE and IST values in debug mode.
|
| |
|
|
|
|
|
|
| |
While here use UE_GET_SIZE() coherently.
ok pirofti@, stsp@, visa@
|
|
|
|
|
|
| |
and not as a uplcom.
From mpi, ok deraadt, no objection kettenis
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following removes the functionality of the SIOCS80211SCAN ioctl.
After long discussions with stps@, mpi@, and deraadt@ we decided that
this was the correct way of fixing ifconfig scan from blocking the
network stack.
The kernel will continue scanning in the background and filling the
nodes array, but ifconfig scan commands will now basically do just a
SIOCG80211ALLNODES and pretty print the array. So the output stays the
same but is instant.
In fact, when the interface is freshly brought up, if you type fast
enough, you can see the array being filled by running multiple ifconfig
scans in sequence.
The SIOCS80211SCAN ioctl stays for now as wi(4), pgt(4) and malo(4)
still need it around. But not for long...
Another change that this introduces is the fact that ifconfig scan no
longer plays with UP and DOWN. If the interface is down it complains and
exits. This is needed in order to maintain the nodes list.
Works on iwm(4), iwn(4), urtwn(4), run(4) and athn(4).
Tested by mpi@, landry@, florian@, thanks!
OK mpi@.
|
|
|
|
| |
ok stsp@
|
|
|
|
| |
ok stsp@
|
|
|
|
|
|
|
|
| |
name coming from usbd_devinfo_vp() instead of the dummy "Generic USB
video class device" string, makes it easier to differentiate multiple
webcams in firefox's webrtc permission dialog.
ok/help mpi@
|
|
|
|
| |
OK jca@, sthen@, deraadt@
|
| |
|
|
|
|
| |
OK jca@, sthen@, deraadt@
|
| |
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
|
| |
- remove extra blank line
- call ifq_deq_rollback() when ugl_send() failed
- call ifq_clr_oactive() before splx()
ok mpi@
|