Commit Graph

1809 Commits

Author SHA1 Message Date
bouyer 2d7b577657 When padding to URL_MIN_FRAME_LEN, memset the extra buffer space used. 2003-01-15 22:40:34 +00:00
augustss 16d56c01d2 Regen. 2003-01-15 13:36:23 +00:00
augustss 61f5ebcc50 Add Epson Perfection 2400. From kern/19856, Rob Quinn. 2003-01-15 13:35:55 +00:00
tron a7bc8e6057 Add support for Epson Perfection 1260. 2003-01-13 21:51:30 +00:00
tron ced7282b45 Regen from "usbdevs". 2003-01-13 17:26:33 +00:00
tron 341e2f7441 Add Epson Perfection 1260 scanner. 2003-01-13 17:25:20 +00:00
dsainty e648b82855 Changed the interface for passing output data between the bthci driver
and the back end Bluetooth device driver.  The device driver now
allocates a suitable buffer on behalf of the bthci driver, and bthci
fills the buffer before despatch.

This saves an ugly temporary allocation (in bthci) and memory copy (in
the USB driver) per write, and also works better with the
sockets-based interface I'm experimenting with.
2003-01-11 06:12:09 +00:00
augustss a9dbc85017 Try to get full device descriptor a few times. This makes some slow
devices work.  From FreeBSD.
2003-01-10 11:19:13 +00:00
augustss 89b8fd8b00 Regen. 2003-01-10 11:13:51 +00:00
augustss 7d481b8bc1 Add Epson 1660. From kerm/19767, Neil Short. 2003-01-10 11:06:58 +00:00
augustss cd3665ed2a Add Epson 1660. From kern/19767. 2003-01-10 11:06:13 +00:00
gehenna aab035b2c2 Add quirk for NeoDio ND3050. 2003-01-10 00:52:13 +00:00
gehenna cea6e962cb Regen. 2003-01-10 00:50:55 +00:00
gehenna c77255a12b Add NeoDio A 6-in-1 Flash Device Controller with USB Interface. 2003-01-10 00:50:00 +00:00
grant 3258109e78 regen 2003-01-07 12:20:10 +00:00
grant 0a49647d6b add Cambridge Silicon Radio and their Bluetooth USB Adapter. 2003-01-07 12:19:16 +00:00
wiz 45ad5c9584 successful with only one l. 2003-01-06 12:46:05 +00:00
scw 584c708e83 When detaching a ulpt device, call vdevgone() for the corresponding
NOPRIME minor device too.
2003-01-05 10:19:42 +00:00
dsainty 97f7cada0b Make the ubt driver functional. This is an experimental, incomplete, but
actually functional driver.  It provides a local HCI interface to the
HCI-over-USB interface on standards-compliant Bluetooth USB devices.

Currently this device can be attached to the bthci driver for direct user-land
access to the device.
2003-01-05 05:20:20 +00:00
dsainty 6957647e8b Move #define UBT_DEBUG from ubt.c to usb_port.h 2003-01-05 03:48:18 +00:00
dsainty 388a82e194 Knock off some XXX'd code: Use malloc() instead of a fixed length buffer
on the stack.
2003-01-02 11:00:21 +00:00
tron 3e383d4995 Regen from "usbdevs". 2003-01-02 09:20:39 +00:00
tron e2ecbdf4c0 Copy USB product id for HP DeskJet 1220C from FreeBSD-current to fix
build problems in "usb_quirks.c".
2003-01-02 09:20:21 +00:00
imp 906987bba8 Merge changes from FreeBSD:
o HP 1220C
o Sanyo SCP-4900 (needs UQ_ASSUME_CM_OVER_DATA to work with umodem)
2003-01-02 04:19:00 +00:00
imp ca15bf77d6 Sync to usbdevs 1.286 2003-01-02 04:04:23 +00:00
imp abf9e63902 Add Sanyo SCP-4900 3G phone. 2003-01-02 04:01:46 +00:00
dsainty 439063014c Initialise uhubdebug so that it's patchable in a kernel image 2003-01-02 03:20:09 +00:00
augustss 25ffe0e71a Regen. 2003-01-01 16:36:51 +00:00
augustss 16de3525ca Add Vivitar camera. From OpenBSD. 2003-01-01 16:36:20 +00:00
augustss 0ac88e0baf Don't try to use 1284 mode. 2003-01-01 16:32:58 +00:00
augustss f2590fdb81 Reissue the MAXP command on resume. From FreeBSD. 2003-01-01 16:25:59 +00:00
augustss 8789d465b2 Try getting string descriptors in a slightly different way to works around
some problematic devices.  From Alexander Kabaev <kan@FreeBSD.ORG>.
2003-01-01 16:21:50 +00:00
toshii 086cbf5710 Assign NULL to sc_pipe after closing, so that usbd_close_pipe isn't
called twice.  At least in NetBSD, the detach function is called when the
device is removed, even if the attach function has failed.
This is probably the cause of panics reported in kern/19326.
2003-01-01 15:55:48 +00:00
thorpej 72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
dsainty 3204b83aa5 Be somewhat more persuasive about enabling the port on a port reset.
USB protocol dictates that the port enable must be implied by the port
reset. To implement this on (at least) the VIA VT83C572 this means we
need to wait around tweaking the chip state until the port actually
transitions to enabled (or the device goes away).  Likely fixes
kern/11018.
2002-12-31 02:21:31 +00:00
dsainty 0bdb52527a CONSTCOND away some lint warnings 2002-12-31 02:04:49 +00:00
augustss 914250b8f3 Another quirk. 2002-12-31 00:50:07 +00:00
augustss 13d6b87d32 Use a somewhat bigger buffer for the vendor string. 2002-12-31 00:39:11 +00:00
dsainty 3d3cc353c3 extern references to debugging globals that really exist elsewhere 2002-12-30 02:44:32 +00:00
dsainty 47fa5a292f An earlier revision of the data sheet documented MIR data rate support,
576000bps and 1152000bps.  In the current published version of the data
sheet the MIR support documentation is gone, and the MIR mode bit is
documented as reserved.  Possibly the device has a design flaw affecting
the MIR data rates?  Document here that this information came from an
earlier data sheet, but leave MIR support in for the moment.
2002-12-28 06:04:18 +00:00
dsainty 912898cad7 Update reference to online data sheets 2002-12-28 05:35:34 +00:00
dsainty 4bfd7daa84 This device has a single FIFO shared by both incoming and outgoing data.
If a series of outputs are delivered to the device before the kernel thread
has polled for input data, any input data will be lost.  As a
counter measure, always force an input check between outputs.
2002-12-28 04:55:30 +00:00
dsainty 562d1e4603 Delinting - as the data passed to ustir_dumpdata() is always u_int8_t,
use that type in the prototype too.
2002-12-28 04:28:39 +00:00
dsainty df379868e8 Delinting - don't treat ennumerated types as booleans 2002-12-28 04:23:40 +00:00
dsainty 6e4d13a881 Delinting - sprinkle some ARGSUSED 2002-12-28 04:16:33 +00:00
augustss 095017c9ef Add quirk. From kern/19499, Werner Backes. 2002-12-23 12:42:53 +00:00
augustss 09b10d25e0 Regen. 2002-12-23 12:40:03 +00:00
augustss cb1f48b543 Add SIIG MULTOCARDREADER. From kern/19499 2002-12-23 12:39:36 +00:00
tron c4b584f5c4 Use "NULL" instead of "0" in pointer checks. 2002-12-18 14:12:33 +00:00
toshii cf41cc5294 Add a couple of le32toh which were missing in the previous.
Pointed out by SOMEYA Yoshihiko.
2002-12-10 14:07:37 +00:00