summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix: Cut&paste error from the NetBSD code.n_hibma2008-11-031-18/+22
| | | | | | | | | Also: Change the initialisation of the command string to a static initialiser. Verify it against the output of umass.c when being sent a command using 'camcontrol eject da0' to a Bulk-Only device. This should make those devices work that need a SCSI eject command to switch to modem mode (Novatel 950D and others).
* uaa->ifaces contains pointers so set its entry to NULL not 0.n_hibma2008-11-031-1/+1
|
* Merge some minor deltas from p4 newcard tree:imp2008-11-021-0/+2
| | | | | | (1) Belkin F5D7050_V4000 was also sold as 'Ativa 802.11g wireless card' (document) (2) Add HP Office Jet 4215
* We need to print out the device info ourselves on FBSD 6.n_hibma2008-10-301-0/+7
| | | | Submitted by: Thomas Nystrom
* Bugfix: Check the error code for in progress as well, after starting then_hibma2008-10-301-8/+10
| | | | | | transfer. Some changes to improve the debugging experience.
* Return USBD_NORMAL_COMPLETION instead of a hard coded 0.n_hibma2008-10-301-1/+1
|
* Comment out #define turning on debugging which went in with r184436 andbz2008-10-291-1/+1
| | | | which is also in conf/NOTES and thus defined twice when building LINT.
* Add the device ID for the mass storage device that appears before then_hibma2008-10-292-4/+4
| | | | modem appears to facilitate faster switching to modem mode.
* Unbreak LINT from r184381 using the correct variable in debuggingbz2008-10-281-4/+1
| | | | DPRINTF for the device and remove dead code.
* Grab Sierra and Novatel init functions from NetBSD version of the u3gn_hibma2008-10-271-26/+141
| | | | | | | | driver (rev 1.3), by Joerg Sonnenberger. Note: This change is untested as I do not own the hardware. Let me know if things work or do not work for you by sending me the output dmesg (and usbctl -f /dev/usbX if possible). Thanks.
* o use the new association callback to notify the driver when joining a bsssam2008-10-271-5/+0
| | | | | | | in sta and adhoc modes; this should've been done forever ago as most all drivers use this hook to set per-station transmit parameters such as for tx rate control o adjust drivers to remove explicit calls to the driver newassoc method
* Make the driver compile on FBSD6 as well.n_hibma2008-10-241-2/+6
| | | | | Up the speed on the E220 ID as it is a part which is used in other devices that are capable of HSPA speeds.
* Add U3G_DEBUG to LINTn_hibma2008-10-241-0/+1
|
* - Bugfix: Only claim interface after having checked all endpoints. Thisn_hibma2008-10-241-42/+40
| | | | | | | | might make Qualcomm and Option cards (which have all endpoints in 1 interface) work. - Change the USB buffer sizes to depend on the transfer speed. With UMTS we use a buffer 384k / 1000 frames/sec * 50msecs =~ 15kB for example. - Add a MODULE_VERSION statement
* Don't include <sys/clist.h> inside ucom(4) and ufoma(4).ed2008-10-232-2/+0
| | | | | After being ported to the MPSAFE TTY layer, these drivers do not use clists anymore. Don't include their header files.
* Retire the MALLOC and FREE macros. They are an abomination unto style(9).des2008-10-231-2/+2
| | | | MFC after: 3 months
* Remove a comment that belonged to a deleted if statement.n_hibma2008-10-221-1/+0
|
* Remove the debug flag.n_hibma2008-10-221-1/+0
| | | | | This makes the u3gstub lines and the Windows-driver CD-ROM devices disappear.
* Add a device ID for the Ovation MC950D (Novatel Wireless HSUPA modem).n_hibma2008-10-211-0/+1
|
* Wireless Mouse device of Sony VGP-WRC1 mouse/keyboard receiver has thebrooks2008-10-172-0/+3
| | | | | | | | same program interface as Microsoft Wireless Notebook Optical Mouse and needs a quirk. PR: usb/122712 MFC after: 3 days
* Rewrite the driver to better support the Huawei devices. It should now supportn_hibma2008-10-153-252/+294
| | | | | | | | | | | the Sierra and Novatel devices, ignore all umass devices and hide the umass devices that represent the CD ROM devices (but not the SD card slot in the Huawei Mobile dongle). Note: This driver in FBSD7 seems to suffer from memory corruption when used with an Option GT Quad. The E220 however works flawlessly. Also add the ID for the Option GTMaxHSUPA, provided by Olivier Fromme.
* Remove the 'old' Novatel MC950D entry which was slightly incorrect, NetBSD hasthompsa2008-10-141-1/+0
| | | | already picked up the new name so run with it.
* Add back in the (incorrect) entry for the MC950D, as requested by Andrewn_hibma2008-10-141-0/+1
| | | | Thompson. They should not be removed in support of 3rd party software.
* Move all the hacks for the Huawei, Novatel and Qualcomm cards into a stubn_hibma2008-10-142-74/+122
| | | | | | | driver. This stub also hides the devices until they are ready to be used to avoid confusion (commented out for now).
* Fix a comment.n_hibma2008-10-141-9/+8
| | | | Submitted by: Nick Mann
* - Fix the naming of the MC950D device.n_hibma2008-10-142-4/+3
| | | | | - Remove the (unimplemented) U3GFL_EJECT quirk as this won't be implemented in the u3g driver anyway (most probably as an entry in devd.conf)
* Mbus attachment for USB EHCI integrated controller on Marvell chips.raj2008-10-143-2/+342
| | | | | | | This includes workarounds required for the ehci(4) to handle some non-standard behaviour of these devices. Obtained from: Marvell, Semihalf
* - Add better support for Huawei cards, by attaching as an interface driver.n_hibma2008-10-132-94/+97
| | | | | - Be bold and add Novatel cards to the list of supported devices. One person reported success with the Novatal U950D.
* - Only refuse to attach to the first interface on the Huawei cards as forn_hibma2008-10-131-6/+23
| | | | | | | | | | example the Huawei Mobile has an SD card slot on the second interface. - Do not attach to Qualcomm and Novatel cards. If ignored these cards will switch to modem mode automatically it seems. - Reduce the priority on generic attachment to the appropriate level. Note: A better solution is to send an eject command straightaway, but that can be left till later.
* Move Qualcomm ZTE CDMA from ubsa(4) to u3g(4).rpaulo2008-10-112-2/+2
| | | | Reviewed by: n_hibma
* Typo.n_hibma2008-10-101-1/+1
|
* Typo in ifdef.n_hibma2008-10-101-1/+1
| | | | Submitted by: Andrew Thompson
* Say hello to the u3g driver, implementing support for 3G modems.n_hibma2008-10-093-72/+335
| | | | | | | | | | | | | | | | | | | | | This was located in the ubsa driver, but should be moved into a separate driver: - 3G modems provide multiple serial ports to allow AT commands while the PPP connection is up. - 3G modems do not provide baud rate or other serial port settings. - Huawei cards need specific initialisation. - ubsa is for Belkin adapters, an Linuxy choice for another device like 3G. Speeds achieved here with a weak signal at best is ~40kb/s (UMTS). No spooky STALLED messages as well. Next: Move over all entries for Sierra and Novatel cards once I have found testers, and implemented serial port enumeration for Sierra (or rather have Andrea Guzzo do it). They list all endpoints in 1 iface instead of 4 ifaces. Submitted by: aguzzo@anywi.com MFC after: 3 weeks
* uark/ucom: Minor code cleanup.n_hibma2008-10-094-18/+4
| | | | | umass; Remove duplicated code. ukbd: Fill in the arg parameter on the through call.
* Add modules for the HCI part of USB. This is convenient when having a UHCIn_hibma2008-10-094-1/+6
| | | | controller in your laptop but inserting a (OHCI-based) Option Cardbus card.
* Quirks for SDS-infrared.com "Hotfind-D" camera.phk2008-10-082-0/+5
| | | | PR: 127943
* Replace all calls to minor() with dev2unit().ed2008-09-279-13/+13
| | | | | | | | | | | | | | | After I removed all the unit2minor()/minor2unit() calls from the kernel yesterday, I realised calling minor() everywhere is quite confusing. Character devices now only have the ability to store a unit number, not a minor number. Remove the confusion by using dev2unit() everywhere. This commit could also be considered as a bug fix. A lot of drivers call minor(), while they should actually be calling dev2unit(). In -CURRENT this isn't a problem, but it turns out we never had any problem reports related to that issue in the past. I suspect not many people connect more than 256 pieces of the same hardware. Reviewed by: kib
* Tell umass to leave Huawei radio devices alone so ubsa(4) willphk2008-09-251-0/+7
| | | | be able to kick them into shape.
* Make the ubsa(4) work with Huawei Exxx (tested with E169) 3G radio devices:phk2008-09-251-2/+61
| | | | | | | | | | Kick the device into the right mode if it comes up as a flash-disk. Set the buffers to a sensible 1024 bytes instead of a far too small default. Don't attempt to change speed, baud, parity and such, the device does not understand it.
* Add a vendor ID for 3G Green Green Globe Co., Ltd, found inkevlo2008-09-191-0/+1
| | | | D-Link DPG-1200 remote control.
* fix a another driver bug related with tsleep() during detaching thatweongyo2008-09-191-6/+18
| | | | | | | | | | | | | | | | | | this also can be happened if we pull the USN stick out forcibly. Currently the ZyDAS driver uses tsleep() when it try to query a read command to the device and it'd make a timeout if the device doesn't response within about 1 sec. In a case of that the USB stick is gone by hand and the driver's scanning with changing the channel numbers, the thread which is sleeping until a command requested is responded can be waked up after all detaching routines finished that means the zyd softc already freed. Tring to touch the softc freed by the wakeup thread makes a panic. So make sure that all sleeping threads should be waken up before the detach is completed and any other new requests to the device should be prevented.
* clear pending callbacks when the driver try to change the stateweongyo2008-09-191-0/+2
| | | | Pointed by: sam
* Recover handsfree port support.(Almost all changes are done on previous commit).takawata2008-09-141-5/+24
| | | | Don't send serial line emulation request for OBEX port.
* Add a bunch of Novatel and Sierra 3G wireless product ids.thompsa2008-09-142-7/+106
| | | | Obtained from: Hobnob, Inc
* Don't issue CDC request before negotiate the interface role.takawata2008-09-121-58/+107
|
* Connect ufoma(4) to build and,takawata2008-09-121-2/+0
| | | | disable handsfree interface that is not yet ported to newtty.
* rename flags and add a ZYD_FLAG_DETACHING flag to indicate we'reweongyo2008-09-102-2/+9
| | | | | | detaching that when the USB is pulled out forcibly during the driver is running background scan, a page fault can be occurred even if we called usb_rem_task() when detaching. It looks like a kind of races.
* Add support for the CyberPower CP1500AVRLCD.remko2008-09-092-0/+6
| | | | | | | PR: 126845 Submitted by: gavin Approved by: imp (mentor, implicit) MFC after: 1 week
* Keep track of the active buffer on output. For the moment, panic ifimp2008-09-052-0/+5
| | | | | | | | | | the device indicates that it wasn't able to write all the data in the buffer out. Ed Schouten doesn't like the idea of a panic here. I think for production code, we need something better. For right now, while we're trying to assess the impact of this issue, a panic is OK. So complain to me, not him if this is hit.
* Sort products numerically.imp2008-09-051-1/+1
|
OpenPOWER on IntegriCloud