Warner Losh
54a25dd338
add Benq 3300U/4300U support
...
Submitted by: Denis Sadykov
PR: 110477
Approved by: re (kensmith, blanket)
2007-06-22 05:49:12 +00:00
Warner Losh
bbc84740c1
Latest round of usb cleanups:
...
o Consistently use device_foo_t and bus_foo_t for functions implementing
device_foo and bus_foo respectively. Adjust those routines that were wrong
(we should do this throughout the tree).
o make all the modules depend on usb. Otherwise these modules won't
load.
o ucycom doesn't need usb_port.h
o Minor unifdefing
o uhub, umass, ums, urio, uscanner conversion complete.
o ukbd: Remove the NO_SET_PROTO quirk (fixes a PR 77940). NetBSD removed
their check and setting the proto a long time ago.
o umodem panic fixed. UQ_ASSUME_CM_OVER_DATA quirk removed because I've never
seen a umodem that needed this rejection for proection (this gets rid of
~20% of the quirks).
Approved by: re@ (kensmith)
PR: 77940
2007-06-21 14:42:34 +00:00
Warner Losh
7bd250d818
s/logprintf/printf/g
...
Approved by: re@
2007-06-20 05:11:37 +00:00
Warner Losh
c8222a9830
Mark the few remaining drivers that haven't been converted as needing
...
usb_port.h by explicitly including it.
2007-06-18 22:32:09 +00:00
Warner Losh
fc5d431363
Expand USB_MATCH_START
2007-06-17 16:24:49 +00:00
Warner Losh
63ba0d2d76
Remove more __OtherBSD__ ifdefs that don't make sense, and haven't for
...
some time.
2007-06-13 05:45:48 +00:00
Warner Losh
778e5b6687
Expand USB_DETACH, USB_ATTACH and USB_MATCH inline. No functional
...
change, and MD5's appear to be the same.
2007-06-13 05:37:59 +00:00
Warner Losh
4f9929e80f
Eliminate usb_thread_t.
2007-06-12 17:30:54 +00:00
Warner Losh
0f5a2cb6b7
Remove USBDEV() macro. We do not need a macro that is defined as its
...
only argument. It was used inconsistently in the tree, so remove it.
2007-06-12 16:52:07 +00:00
Warner Losh
645016c0e4
Expand USB_ATTACH_{ERROR,SUCCESS}_RETURN inline and eliminate from
...
usb_port.h. They aren't needed, and are a legacy of this code's past.
2007-06-12 15:37:19 +00:00
Warner Losh
a5b1cb0cd0
Remove devinfo junk.
...
Remove bogus bzero/memset
Expand USB_ATTACH_SETUP
Minor nits
2007-06-09 06:42:19 +00:00
Christian Brueffer
578e607926
Remove compat ifdefs for version < 500014 from the rest of the USB files.
...
Approved by: rwatson (mentor)
MFC after: 1 week
2007-06-07 09:29:37 +00:00
Florent Thoumie
774b7afefb
Add support for Epson Stylus CX4200 in uscanner(4).
...
PR: usb/102851
Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org>
MFC after: 3 days
2006-10-07 18:09:27 +00:00
Florent Thoumie
da9b42184b
- Add support for Epson USB Scanners (3590 [1] and 4990 [2]).
...
- Add entries in the uscanner.4 man page (along with missing 3500).
PR: usb/100957 [1], usb/100992 [2]
Submitted by: Jim Teresco <terescoj@teresco.org> [1],
Walter C. Pelissero <walter.pelissero@iesy.net> [2]
MFC after: 3 days
2006-10-07 16:00:59 +00:00
Warner Losh
2deae8fa2f
More removing compatibility macros.
...
md5 still the same.
"Dave, stop. I feel my mind slipping away." -- hal
2006-09-07 00:06:42 +00:00
Warner Losh
56635f6bd3
s/Static/static/g
...
s/device_ptr_t/device_t/g
No md5 changes in the .o's
# Note to the md5 tracking club: $FreeBSD$ changes md5 after every commit
# so you need to checkout -kk to get $FreeBSD$ instead of the actual value
# of the keyword.
2006-09-06 23:44:25 +00:00
Bruce M Simpson
d180698897
Add identifier for the Epson CX3650 all-in-one scanner function.
...
This enables the scanner function on these devices to be detected
and probed by uscanner(4), but only when ulpt is not loaded.
PR: usb/92462
Submitted by: Friedrich Volkmann
MFC after: 30 days
2006-08-06 12:01:42 +00:00
Alexander Leidinger
4e93c5c41e
Add Epson Perfection 1270 scanner. All other scanners in the PR are already
...
detected, but with a different name.
PR: 98106
Submitted by: Lars Engels <lars.engels@0x20.net>
2006-06-18 17:29:16 +00:00
Florent Thoumie
e79417e5d4
- Add support for the Acer Acerscan 640BT.
...
- Add documentation bits.
PR: usb/95616
Submitted by: Matthieu Guegan <lesaint@gcu.info>
Approved by: cperciva (mentor)
MFC after: 3 days
2006-04-11 10:44:31 +00:00
Florent Thoumie
281f5eff33
- Add support for the Epson RX425 scanner.
...
PR: usb/95346
Submitted by: Matthieu Guegan <lesaint@gcu.info>
Approved by: cperciva (mentor)
MFC after: 3 days
2006-04-10 10:21:09 +00:00
Alexander Leidinger
b85f5cf149
Add support for Canon CanoScan D660U.
...
PR: 87395
Submitted by: Eirik Mikkelsen <eirik@bsdbox.org>
2006-01-08 14:17:04 +00:00
Florent Thoumie
d908e8fa84
Add Product ID for Acerscan 1240u and the corresponding entry in uscanner.c.
...
PR: usb/91466
Submitted by: Cameron Lerch <cam@zarya.org>
MFC after: 3 days
Approved by: ssouhlal
2006-01-08 01:43:00 +00:00
Alexander Leidinger
d677792c20
Add support for the HP 8200C/8250C/8290C scanners.
...
PR: 90467
Submitted by: Adam McDougall <mcdouga9@egr.msu.edu>
2005-12-29 18:25:25 +00:00
Alexander Leidinger
1b4c44fb4c
Add support for the Canon CanoSvan LIDE 25.
...
PR: 89509
Submitted by: David Gilbert <dgilbert@daveg.ca>
2005-12-29 18:15:03 +00:00
Alexander Leidinger
247eac7f18
Add support for Epson 2480 scanner.
...
PR: 86094
Submitted by: Erik Norgaard <norgaard@locolomo.org>
2005-12-29 17:38:03 +00:00
Warner Losh
098ca2bda9
Start each of the license/copyright comments with /*-, minor shuffle of lines
2005-01-06 01:43:34 +00:00
Warner Losh
317ccb1fc3
sys/vnode.h is inappropriate for a driver. Use sys/uio.h instead.
2004-12-13 06:26:23 +00:00
Julian Elischer
0e7470486d
Revert addition of Lide scanner entry..
...
It's a duplicate of an already exisiting entry. (with another name).
2004-12-13 00:25:03 +00:00
Julian Elischer
a09345e6cd
Add support for Cannon LIDE 20 scanner
...
PR: kern/74301
Submitted by: Vlad Manilici <vman@tmok.com>
MFC after: 1 week
2004-12-12 08:35:21 +00:00
Ralf S. Engelschall
1b0ee80834
Add identifiers for the HP Laserjet 2300d USB
...
printer and the HP ScanJet 4670v USB scanner.
MFC after: 1 week
2004-10-24 11:16:29 +00:00
MIHIRA Sanpei Yoshiro
3785db4f85
Add support Nikon CoolScan LS40 ED
...
PR: kern/71139
Submitted by: Pierre DAVID <Pierre.David@crc.u-strasbg.fr>
MFC after: 1 week
2004-09-03 23:29:01 +00:00
Warner Losh
1ff2328528
Tweak the compatibility macros a little so that the device printing is
...
moved into them.
2004-08-15 23:39:18 +00:00
Warner Losh
d1458cfdf4
MFp4: First batch of dev/usb/usbdevs.h -> usbdevs.h changes.
2004-06-27 12:41:44 +00:00
Poul-Henning Kamp
89c9c53da0
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
Tim J. Robbins
2a5bb2de6b
Add support for the Epson Perfection 1670 scanner.
2004-03-13 08:45:16 +00:00
Poul-Henning Kamp
dc08ffec87
Device megapatch 4/6:
...
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
2004-02-21 21:10:55 +00:00
Poul-Henning Kamp
c9c7976f7f
Device megapatch 1/6:
...
Free approx 86 major numbers with a mostly automatically generated patch.
A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
2004-02-21 19:42:58 +00:00
Wilko Bulte
91bdd189c6
Make uscanner recognise EPSON Perfection 3200. Tested with xsane.
...
PR: kern/63041
MFC after: 3 days
2004-02-19 22:05:10 +00:00
Warner Losh
20d6d1bd21
Add the Canon N1240U to the mix. It appears to be similar to the
...
1220U and supported by sane
# someone should update the man page to include all the devices that
# uscanner supports.
2004-01-31 18:12:18 +00:00
MIHIRA Sanpei Yoshiro
bab0ca7f3a
Add support
...
- Canon USB Scanner N676U [1]
- Canon USB Scanner N1220U [2]
PR: misc/40280 [1]
Submitted by: [1] Yasue Koichi / StarRing <starring@fscn.ne.jp>
[2] MIYAO Akio <miyao@affrc.go.jp> [FreeBSD-users-jp 74516]
2004-01-03 12:51:59 +00:00
MIHIRA Sanpei Yoshiro
6724255495
resort device list
2003-12-22 19:58:27 +00:00
MIHIRA Sanpei Yoshiro
e95ba214a5
Add Support
...
- PNY Attache Flash Drive [1]
- minolta 5400 USB scanner [2]
PR: kern/58045 [1]
kern/56496 [2]
Submitted by: [1] Rick C. Petty <rick@kiwi-computer.com>
[2] Mark Diekhans <markd@kermodei.com>
2003-12-18 05:47:11 +00:00
Bernd Walter
a244477908
Don't call makedev().
...
Cache result of make_dev() and use it when calling destroy_dev().
2003-10-01 13:53:51 +00:00
Poul-Henning Kamp
ed692400eb
I don't know from where the notion that device driver should or
...
even could call VOP_REVOKE() on vnodes associated with its dev_t's
has originated, but it stops right here.
If there are things people belive destroy_dev() needs to learn how to
do, please tell me about it, preferably with a reproducible test case.
Include <sys/uio.h> in bluetooth code rather than rely on <sys/vnode.h>
to do so.
The fact that some of the USB code needs to include <sys/vnode.h>
still disturbs me greatly, but I do not have time to chase that.
2003-09-28 20:48:13 +00:00
Josef Karthauser
219b479f9f
Fix the cdevsw compatibility for -stable.
2003-08-25 22:01:06 +00:00
David E. O'Brien
aad970f1fe
Use __FBSDID().
...
Also some minor style cleanups.
2003-08-24 17:55:58 +00:00
Josef Karthauser
d4322278fa
MFNetBSD:
...
date: 2002/09/23 05:51:20; author: simonb;
Remove breaks after returns, unreachable returns and returns after
returns(!).
2003-07-14 18:25:47 +00:00
Andrey A. Chernov
171f8dccf7
Add ID for UMAX Astra 2100U
2003-07-09 17:05:59 +00:00
Josef Karthauser
4f1e4d55e7
USB scanner support for Mustek BearPaw scanner.
...
Submitted by: netchild
2003-07-01 12:16:46 +00:00
Josef Karthauser
702966f238
Support the Epson GT-9300UF usb scanner.
...
PR: kern/53929
2003-07-01 08:46:01 +00:00