summaryrefslogtreecommitdiffstats
path: root/usr.sbin/usbd
Commit message (Collapse)AuthorAgeFilesLines
* Add a missing '"' in the examples.obrien1999-12-171-1/+1
|
* Complain if we get an error that is not ENXIO while opening /dev/usb\d+n_hibma1999-12-061-0/+7
| | | | | | | devices. For example, starting 'usbd -e' would give a 'No USB controllers found' message instead of a '/dev/usb0: Permission denied'. Submitted-By: Dirk-Willem van Gulik <dirkx@webweaving.org>
* Add the ability to match on device names attached to.n_hibma1999-11-282-28/+166
| | | | | If a device is attached to ums4, you can reference this devname in the configuration file as ${DEVNAME} (a shell variable, yes).
* Avoid null dereference on verbose output.n_hibma1999-11-241-7/+7
| | | | | | Submitted-By: Doug Ambrisko <ambrisko@whistle.com> Don't print a warning on exit status 0.
* Flip the sequence of vendor, product around, to make it consistentn_hibma1999-11-221-19/+19
| | | | | with the rest of the world. This avoids confusion when talking about VID.PID.RID vs. PID.VID.RID. The former is the sequence normally used.
* Clarify the functionality of usbd a bit more.n_hibma1999-11-221-3/+24
|
* Add event queue handling. It triggers activities on events read fromn_hibma1999-11-214-59/+949
| | | | | | | | | | | | | | | | | | | /dev/usb. The actions are specified in the file /etc/usbd.conf. usbd.c: - Add event queue (/dev/usb) handling. - Add comments - Clean up code some more usbd.8: - Update manpage for the new command line flags - Remove a duplicate FreeBSD tag from it). usbd.conf, usbd.conf.5, Makefile: - Add the usbd.conf configuration file and the man page for it. NOTE: MAKEDEV already creates the /dev/usb device tree node, no change needed there anymore.
* Cleanup of the code before we add a few thins.n_hibma1999-11-181-33/+49
| | | | | | | | | | | - remove the use of NDEV. It is confusing. MAXUSBDEV should do. - add some comments. - add more explanation in usage() - change the timeout value for undetected USB devices from 300 to 30 seconds. I don't think anyone wants to wait 5 minutes for broken devices to show up. The overhead CPU wise is very little. - print 'no controllers found' as a fatal error. - remove inclusion of malloc.h. It's unused.
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+2
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Syncing with NetBSD version 1998/12/14n_hibma1999-04-112-9/+8
|
* Added Idn_hibma1998-12-142-0/+2
|
* Made this actually work when there is an obj dir.bde1998-12-131-10/+2
| | | | | | Removed bogons, especially the include of bsd.subdir.mk. Fixed style bugs.
* Initial commit of ported NetBSD USB stackn_hibma1998-11-263-0/+278
OpenPOWER on IntegriCloud