Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove uscanner(4). It was disabled in GENERIC more than 2.5 years ago. | 2013-08-20 | 1 | -678/+0 | |
| | | | | | | | | No regression has been reported since libusb became the prefered solution to work with USB scanners. req. by mpi@ ok ian@ mpi@ miod@ | ||||
* | Get rid of various 'typedef struct' definitions and use plain structure | 2013-04-15 | 1 | -7/+7 | |
| | | | | | | | | | definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@ | ||||
* | proc.h is way too much header for usb to handle. | 2013-03-28 | 1 | -2/+1 | |
| | |||||
* | Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing | 2011-07-03 | 1 | -4/+1 | |
| | | | | | | | | that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it up a few weeks ago | ||||
* | kqueue attach functions should return an errno or 0, not a plain 1. Fix | 2011-07-02 | 1 | -3/+3 | |
| | | | | | | the obvious cases to return EINVAL and ENXIO. ok tedu deraadt | ||||
* | garbage collect "usb events". without /dev/usb there is no way to access | 2011-01-25 | 1 | -6/+1 | |
| | | | | | | them from userland, and nothing in the kernel uses them. ok krw@, miod@ | ||||
* | remove dying flag in detach() function. | 2010-09-24 | 1 | -2/+1 | |
| | | | | | | The dying flag will be set in activate()/DEACTIVATE. ok deraadt@ | ||||
* | No more ss(4) or usscanner(4). Unused, unloved and unmaintained. | 2010-07-03 | 1 | -18/+1 | |
| | | | | | | General huzzahs. "go for it" deraadt@ | ||||
* | Get rid of devact enum, substitute it with an int and coresponding defines. | 2009-10-13 | 1 | -3/+3 | |
| | | | | | | This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@. | ||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 1 | -8/+1 | |
| | | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | ||||
* | support EPSON CX5400 scanner; Christophe Etcheverry <cetcheve at gmail dot com> | 2008-02-26 | 1 | -1/+2 | |
| | |||||
* | - add support for more multifunction Epson devices (from FreeBSD and SANE). | 2007-11-10 | 1 | -2/+5 | |
| | | | | | | | | I'm not adding any new !MF USB scanner IDs as those can be handled using libusb and sane-backends (from ports). - bring the uscanner man page up-to-date with actually supported scanners ok winiger@ mbalmer@ jmc@, input and ok jsg@ | ||||
* | - from FreeBSD: | 2007-11-06 | 1 | -12/+25 | |
| | | | | | | | | | | | | add support for Epson multifunction USB devices (i.e. scanner/printer/card readers) by adding their IDs to the table of recognised devices (because we don't have a "scanner" class) and preventing uscanner attach routine to reconfigure the whole USB device while we are dealing only with one of its interfaces. - add the Epson Stylus 3850/4050 ID in the process feedback from mbalmer@ and jmc@ ok jsg@ | ||||
* | treat usb vendor/product names as a locator, and have usbd_print handle it, | 2007-10-11 | 1 | -6/+1 | |
| | | | | | | so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis | ||||
* | Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS and | 2007-06-14 | 1 | -2/+17 | |
| | | | | | | | | USB_DECLARE_DRIVER macros. No binary change. ok dlg. | ||||
* | Remove the definition and use of the device_ptr_t which was a struct device *. | 2007-06-12 | 1 | -2/+2 | |
| | | | | | | No binary change. ok mk. | ||||
* | Remove the usb_proc_ptr type definition, which was really a 'struct proc *' | 2007-06-11 | 1 | -5/+5 | |
| | | | | | | | | only. No binary change. ok mk. | ||||
* | Remove the USB_GET_SC_OPEN macro. There is a double check for sc == NULL in | 2007-06-11 | 1 | -2/+6 | |
| | | | | | | | | ulpt.c, I am aware of that and it will be changed later. No binary change. ok mk. | ||||
* | Remove the definition and use of the USB_GET_SC macro, no binary change. | 2007-06-11 | 1 | -6/+6 | |
| | | | | ok mk. | ||||
* | More USB cleanup: In usb_port.h, get rid of the sel_klist #define | 2007-06-11 | 1 | -3/+3 | |
| | | | | | | | (which was there twice without gcc complaining) and update all uses of it. ok jsg mbalmer | ||||
* | Remove the definition and use of the USBDEVNAME macro. | 2007-06-10 | 1 | -10/+10 | |
| | | | | | | | (This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg. | ||||
* | Remove the definition and use of the USBDEV macro. It only created confusion | 2007-06-10 | 1 | -6/+6 | |
| | | | | | | | | and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg. | ||||
* | Mechanical removal of USBBASEDEVICE. No binary change. | 2007-06-06 | 1 | -2/+2 | |
| | | | | | | Tested by thib and myself. ok mbalmer jsg | ||||
* | Remove the "Static" declaration of many functions. It was defined to be empty | 2007-06-05 | 1 | -9/+9 | |
| | | | | | | | and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg. | ||||
* | Remove more #ifdef/#endif's that checked for other bsds. No binary | 2007-05-31 | 1 | -86/+1 | |
| | | | | | | change, no functionality change. ok jsg | ||||
* | Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed. | 2007-05-27 | 1 | -15/+16 | |
| | | | | ok deraadt@ krw@ mbalmer@ | ||||
* | Remove logprintf macro | 2007-05-21 | 1 | -3/+3 | |
| | |||||
* | poll errors should be POLLERR, not some random E value | 2006-11-01 | 1 | -2/+2 | |
| | | | | from alexandre ratchov. ok claudio | ||||
* | More Canon scanners, from NetBSD via Matthieu Baptiste. | 2006-07-01 | 1 | -1/+4 | |
| | |||||
* | In a drivers activate() entry point, if on DVACT_DEACTIVATE it does | 2006-06-23 | 1 | -2/+2 | |
| | | | | | | something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@ | ||||
* | Move contents of sys/select.h to sys/selinfo.h in preparation for a | 2005-11-21 | 1 | -5/+1 | |
| | | | | | userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@. | ||||
* | Don't keep the devinfo string on the stack, instead use malloc/free. | 2005-08-01 | 1 | -4/+5 | |
| | | | | | | | | This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@ | ||||
* | put "do { } while (0)" wrappers on all the debug maroc functions | 2004-07-08 | 1 | -3/+3 | |
| | |||||
* | kqueue support for various usb devices including: usb, uhid, ugen, | 2003-06-27 | 1 | -2/+52 | |
| | | | | | and uscanner From NetBSD | ||||
* | more scanners from netbsd | 2003-05-17 | 1 | -1/+4 | |
| | |||||
* | string cleanup; nate ok | 2003-05-07 | 1 | -2/+2 | |
| | |||||
* | sync with NetBSD | 2002-11-11 | 1 | -4/+18 | |
| | |||||
* | update $NetBSD$ tags | 2002-07-25 | 1 | -2/+2 | |
| | |||||
* | get rid of trailing whitespace | 2002-07-25 | 1 | -4/+4 | |
| | |||||
* | 'this is a scanner' | 2002-07-12 | 1 | -1/+2 | |
| | |||||
* | no provate cdev_decl()s, they are in sys/conf.h now | 2002-07-10 | 1 | -2/+2 | |
| | |||||
* | scanner updates from NetBSD | 2002-07-09 | 1 | -163/+173 | |
| | |||||
* | Meant to commit only ulpt and committed everything. Most things weren't ready | 2002-05-07 | 1 | -171/+163 | |
| | |||||
* | Sync ulpt driver with NetBSD | 2002-05-07 | 1 | -163/+171 | |
| | |||||
* | new names, nate broke the tree | 2002-01-03 | 1 | -2/+2 | |
| | |||||
* | Synchronize usb code with NetBSD. | 2001-10-31 | 1 | -2/+10 | |
| | |||||
* | Sync with NetBSD. Tested with a USB keyboard, USB mouse, and three different | 2001-05-03 | 1 | -2/+8 | |
| | | | | kue(4) Ethernet devices. | ||||
* | Another USB sync with NetBSD. We are still lacking an up-to-date umass(4) | 2001-01-28 | 1 | -6/+8 | |
| | | | | | | driver. I would appreciate it if someone with the hardware looked into it. I also have to take a closer look at changes to the USB Ethernet drivers, as well as import some drivers we are missing (uftdi, if_upl, yap, etc.) | ||||
* | Driver for USB scanners; from NetBSD. | 2000-11-16 | 1 | -0/+671 | |