| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and
contained no logic, the default interface is now libusb (supported by sane).
Reviewed by: HPS
|
|
|
|
|
|
|
|
|
| |
- Rename Type 6 entry (following NetBSD)
- Add Sun Type 7 Keyboard USB Hub
PR: usb/132811
Reviewed by: thompsa
Approved by: thompsa
|
|
|
|
|
|
|
|
|
|
|
| |
Fix regression issue in the USB file system interface.
- Use cdev_privdata pointer as indicator of correct file handle.
- Remove redundant FIFO opened flags.
Don't send ZLP at close for ulpt and uscanner devices as this causes some
models to stop working. This reverts back to the USB1 behaviour.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Add umass quirks.
Submitted by: Michael Gmelin
|
| |
|
|
|
|
|
| |
Submitted by: Hans Petter Selasky
Tested by: Andreas Tobler
|
|
|
|
|
|
|
|
|
|
| |
More HID parsing fixes for usb mice.
- be less strict on the last HID item usage.
- preserve item size and count accross items
- improve default HID usage selection.
Tested by: ache
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Sync support for ATMEGA DCI parts.
Submitted by: Hans Petter Selasky
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Tested by: Renato Botelho
Tested by: beech (earlier version)
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Allow USB to be compiled without ugen support.
Submitted by: Hans Petter Selasky
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
USB mouse patch to address complicated data reporting descriptors.
Reported by: Boris Kotzev
Submitted by: Hans Petter Selasky
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fix bugs and improve HID parsing.
- fix possible memory leak found
- fix possible NULL pointer access
- fix possible invalid memory read
- parsing improvements
- reset item data position when a new report ID is detected.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
Fix sael init code.
Reported by: Alberto Mijares
Submitted by: Hans Petter Selasky
|
|
|
|
| |
ETHER_ALIGN was having no effect since m_len had not been set.
|
|
|
|
| |
Tested with: ARM xscale
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o add Transaction Translator support (still missing ISOC xfers)
o add EHCI_SCFLG_BIGEMMIO flag to force big-endian byte-select to be
set in USBMODE
o split reset work into new public routine ehci_reset so bus shim drivers
can force big-endian byte-select before ehci_init
o enable TT and big-endian MMIO
o force a reset before ehci_init to get byte-select setup
Also go back to using USB_EHCI_BIG_ENDIAN_DESC at compile time to enable the
byteswapping and reduce diffs to the original commits.
This fixes the new USB stack on the Cambria board.
|
|
|
|
| |
Reviewed by: hps
|
|
|
|
|
|
|
| |
Workaround a EHCI performance problem by issuing a doorbell after queueing a
bulk xfer.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
zyd_cmd function may have timed out. It wouldnt cause a panic but could wakeup
someone.
Spotted by: HPS
|
|
|
|
|
|
|
| |
. Dresden Elektronik "Wireless Handheld Terminal"
. Atmel STK541 "Zigbee Controller"
MFC after: 1 week
|
|
|
|
|
|
| |
bitmask of events.
Pointed out by: HPS
|
|
|
|
| |
PR: usb/117185
|
|
|
|
|
|
| |
PR: usb/125072
Submitted by: Alexander Logvinov
MFC after: 1 week
|
|
|
|
|
|
| |
moused(8) looks for "uhub/ums" to decide if needs to load the module.
Reported by: Garrett Cooper
|
|
|
|
| |
Tested with: u3g, ubser, uplcom
|
|
|
|
|
| |
- unwrap short lines
- move variable initialisation out of the declaration.
|
|
|
|
|
|
|
| |
- Do not recreate the device nodes in set_alt_interface as the endpoints do not
change.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
further root checks were needed, this isnt the case anymore but just change it
to PRIV_DRIVER until it can be investigated later.
Spotted by: rwatson
|
|
|
|
|
| |
Spotted by: sam
Pointy hat: me
|
|
|
|
|
|
|
|
| |
- Reissue the ctrl request on failure
- Ensure Tx and ctrl requests are not interleaved
- Add promisc callbacks
Obtained from: Hans Petter Selasky
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the devfs clone handler to open the (invisible) devices on the fly.
The /dev entries are layed out as follows,
/dev/usbctl = master device
/dev/usb/0.1.0.5 = usb device, (<bus>.<dev>.<iface>.<endpoint>)
/dev/ugen0.1 -> usb/0.1.0.0 = ugen link to ctrl endpoint
This also removes the custom permissions model from USB. Bump
__FreeBSD_version to 800066.
Submitted by: rink (earlier version)
|
|
|
|
| |
Approved by: thompsa
|
|
|
|
|
|
| |
If I remember correctly, our policy was to use FreeBSD with proper
capitalisation in our email addresses. Fix this in Nick Hibma's address
as well.
|
|
|
|
|
|
| |
Add support for the Sael M460 3G modem.
Submitted by: Hans Petter Selasky
|
| |
|
|
|
|
|
|
|
| |
Add support for setting and getting the USB template value through libusb20 and
usbconfig.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
|
|
| |
- We don't need to exit the Giant mutex when sleeping. This is done
automatically. Replace Giant by NULL mutex for all control requests in the
enumeration path.
- Optimise away duplicate alternate interface selection requests in USB Host
mode.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
| |
Changes to make implementing USB NDIS easier.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
Clean up old way of polling the USB hardware. The existing polling support was
a bit hackish.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
| |
Improvements to "usb2_transfer_setup()" and "usb2_transfer_unsetup()". Set
"ppxfer[n]" when the transfer setup is complete to prevent races. Remove
redundant NULL-checks from "usb2_transfer_unsetup()".
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The software computed HID size is not always correct, because the algoritm
does not handle unsorted HID descriptors.
- Change the way we obtain the report ID.
- Use the X/Y/Z+button locations instead for report ID source for ums.
- Add more range checks.
- Remove Microsoft Mouse quirks. If the positions are moduloed the report
length multiplied by 8, the values seem correct.
- Some minor style changes.
Submitted by: Hans Petter Selasky
|
|
|
|
| |
additional frame may be sent for 80211 protection.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
new USB2 stack will fully replace this for 8.0.
Remove kernel modules, a subsequent commit will update conf/files. Unhook
usbdevs from the build.
|
|
|
|
|
|
|
|
|
|
| |
name) (not sure whether this works correctly, but should be close).
Fix the stub attach phase for some Novatel cards. They expect the CSW
(repsonse to CBW, SCSI eject command) to be fetched before switching to
modem mode.
MFC after: 2 weeks
|