aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/usbd
Commit message (Collapse)AuthorAgeFilesLines
* Remove usbd(8) and all references to it. It is no longer necessaryIan Dowse2005-12-154-1459/+0
| | | | | | | | | since devd(8) now provides the same functionality. Submitted by: Anish Mistry Notes: svn path=/head/; revision=153430
* Up the count of busses supported by usbd(8) from 4 to 40. With the adventJohn Baldwin2005-07-011-1/+1
| | | | | | | | | | | | | of USB2 "duplicate" psuedo busses, it is not at all uncommon for machines to have more than 4 USB busses nowadays. PR: bin/81533 Submitted by: Darren Pilgrim dmp at bitfreak dot org Approved by: re (scottl) MFC after: 1 week Notes: svn path=/head/; revision=147728
* Sort sections.Ruslan Ermilov2005-01-181-10/+10
| | | | Notes: svn path=/head/; revision=140442
* Allow usbd to handle event notificatiosn where mor ethan oneJulian Elischer2005-01-041-47/+67
| | | | | | | | | | | | device is involved, (e.g. plugin a hub with multiple devices already attached to it) Submitted by: Naoyuki Tai <ntai@smartfruit.com> PR: 43993 MFC in: 1 week Notes: svn path=/head/; revision=139661
* Fix a few coding errors that caused compiler warnings.Ian Dowse2004-11-281-5/+6
| | | | | | | | PR: bin/71615 Submitted by: Craig Rodrigues (original patch by Dan Lukes) Notes: svn path=/head/; revision=138168
* Fix 'camcontrol rescan' syntax and use the proper indentation forPeter Pentchev2004-07-151-2/+2
| | | | | | | | | | | the FILES list. PR: 66827 Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> MFC after: 2 weeks Notes: svn path=/head/; revision=132194
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+3
| | | | Notes: svn path=/head/; revision=131500
* fix spelling of ATTACHJohn-Mark Gurney2003-10-251-1/+1
| | | | | | | | | Submitted by: Johny Mattsson MFC after: 2 week (do to code freeze) Notes: svn path=/head/; revision=121516
* The second argument to fgetln() is a size_t *, not an int *.Thomas Moestl2003-07-121-1/+1
| | | | Notes: svn path=/head/; revision=117477
* Include sys/param.h for both modfind and kldloadWarner Losh2003-06-091-2/+5
| | | | | | | | | Include sys/linker.h for kldload Include sys/module.h for modfind sort sys includes Notes: svn path=/head/; revision=116077
* Use stdlib.h for getopt interface.Warner Losh2003-06-071-2/+0
| | | | Notes: svn path=/head/; revision=115979
* A few grammatical improvements.Murray Stokely2003-05-041-3/+5
| | | | | | | | PR: docs/40911 MFC After: 3 days Notes: svn path=/head/; revision=114677
* Eliminate hard sentence breaks.Tom Rhodes2003-01-301-4/+4
| | | | Notes: svn path=/head/; revision=110126
* Grammar cleanup.Tom Rhodes2003-01-302-5/+5
| | | | | | | | | PR: 34529 Submitted by: David Sieborger <drs@rucus.ru.ac.za> (original version) With comments by: keramida Notes: svn path=/head/; revision=110125
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317
* Fix usbd.conf parsing: fgetln(3) returns a string without terminatingMaxim Konovalov2002-12-241-1/+1
| | | | | | | | | | NUL character so do not expect it. PR: bin/46489 MFC after: 1 week Notes: svn path=/head/; revision=108256
* The .Nm utilityPhilippe Charnier2002-07-141-2/+3
| | | | Notes: svn path=/head/; revision=99968
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
| | | | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. Notes: svn path=/head/; revision=95258
* Prefix structure members to protect them against clashes with eg.Alfred Perlstein2002-02-201-21/+21
| | | | | | | | | | | | c++ keywords. This keeps us in sync with NetBSD because they actually committed my delta first. Ok'd by: lennard Notes: svn path=/head/; revision=90996
* Merge from NetBSD.Josef Karthauser2002-01-281-21/+56
| | | | | | | | | | | | | | | | | | | | | | | uhub.c: revision 1.37 usb.4: revision 1.30 usb.c: revision 1.38 usb.h: revision 1.40 usb_port.h: revision 1.21 usb_subr.c: revision 1.65 usbdi.h: revision 1.40 Split the attach/detach events up into device, driver and controller attach and detach events. The commit message from NetBSD was: date: 2000/02/02 07:34:00; author: augustss; state: Exp; Change the USB event mechanism to include more information about devices and drivers. Partly from FreeBSD. Also rework usbd to take these new event types into account. Notes: svn path=/head/; revision=89892
* Sync usb.h with NetBSD, apart from usb_device_info.speed, whichJosef Karthauser2002-01-021-10/+10
| | | | | | | | requires logic changes. For now leave it as usb_device_info.lowspeed. It will get addressed when the usb.c code is sync'd. Notes: svn path=/head/; revision=88832
* Spell "FreeBSD" with "F" and "BSD" in uppercase.Ruslan Ermilov2001-08-132-2/+2
| | | | Notes: svn path=/head/; revision=81588
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79537
* Removed -I${.CURDIR}/.../sys from CFLAGS.Ruslan Ermilov2001-05-181-1/+0
| | | | Notes: svn path=/head/; revision=76812
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-2/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Fix brokeness in rev. 1.6: this manpage appeared in NetBSD 1.4.Ruslan Ermilov2001-03-011-1/+1
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=73279
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-1/+1
| | | | Notes: svn path=/head/; revision=71898
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-272-5/+7
| | | | Notes: svn path=/head/; revision=70403
* mdoc(7) police: do not split author names in the AUTHORS section.Ruslan Ermilov2000-11-221-1/+1
| | | | Notes: svn path=/head/; revision=69027
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68965
* Check the return value of strdupNick Hibma2000-11-121-0/+8
| | | | | | | Submitted by: Chris Faulhaber <jedgar@fxp.org> Notes: svn path=/head/; revision=68631
* Don't check for ohci/uhci to be loaded, check for the usb module.Nick Hibma2000-09-021-3/+2
| | | | Notes: svn path=/head/; revision=65364
* And another buffer overflow. Maybe next time I should read the manpage forNick Hibma2000-07-161-1/+1
| | | | | | | | | | | strlen. This one only occurs if there is exactly one element on the line without any whitespace. This is however never a valid line, so not a big chance that this would ever cause any problems. Notes: svn path=/head/; revision=63273
* Oops. I originally extended the bcopy to 8 characters to include thePeter Wemm2000-07-141-1/+1
| | | | | | | | | original \0 on the terminating string, however I changed my mind to make it more obvious that the termination was being taken care of and explicitly added the nul terminator. I forgot to reset the bcopy length. Notes: svn path=/head/; revision=63098
* Correct an additional off-by-one bug and buffer overflow. A malloc()Peter Wemm2000-07-141-2/+3
| | | | | | | | | | was being made one byte too short, and the string assembled in it was not null terminated. The string was passed to regcomp() so it never matched anything in /etc/usbd.conf. This is the cause of usbd not working for the last few days.. The new malloc.conf default of AJ triggered this. Notes: svn path=/head/; revision=63096
* Fix an off-by-one error which breaks this (detected by malloc flags):Brian Feldman2000-07-111-1/+1
| | | | | | | the line being read in was terminated one byte too late. Notes: svn path=/head/; revision=62931
* Back out the previous change to the queue(3) interface.Jake Burkholder2000-05-261-2/+2
| | | | | | | | | It was not discussed and should probably not happen. Requested by: msmith and others Notes: svn path=/head/; revision=60938
* Change the way that the queue(3) structures are declared; don't assume thatJake Burkholder2000-05-231-2/+2
| | | | | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd Notes: svn path=/head/; revision=60833
* Add a comment to deconfuse a few lines of code I've tripped over twoNick Hibma2000-05-121-1/+6
| | | | | | | times now. Notes: svn path=/head/; revision=60489
* Mention that each criterium can only be used once.Nick Hibma2000-05-121-0/+3
| | | | Notes: svn path=/head/; revision=60488
* Add a comment about the fact that the usb module is automaticallyNick Hibma2000-04-021-0/+7
| | | | | | | loaded. Notes: svn path=/head/; revision=58949
* if USB support is not compiled into the kernel,Jonathan M. Bresler2000-04-021-0/+8
| | | | | | | | | | | and has not been loaded via a kldload, running usbd(8) will autoload the "usb.ko" kld. thanks to Peter Wemm for enlightening me on the differences between kldfind(2) and modfind(2). Notes: svn path=/head/; revision=58915
* Remove gratuitous dashes (-) in Fl macro arguments.Sheldon Hearn2000-03-061-2/+2
| | | | | | | | PR: 17216 Submitted by: horikawa@psinet.com (Kazuo Horikawa) Notes: svn path=/head/; revision=57784
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-061-1/+2
| | | | Notes: svn path=/head/; revision=57782
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-012-21/+42
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57673
* Don't fail if less then MAXDEV /dev/usb\d+ entries exist.Nick Hibma2000-01-101-1/+1
| | | | Notes: svn path=/head/; revision=55788
* usbd.conf is in section 5, not 8.Jun Kuriyama1999-12-301-1/+1
| | | | Notes: svn path=/head/; revision=55267
* Add a missing '"' in the examples.David E. O'Brien1999-12-171-1/+1
| | | | Notes: svn path=/head/; revision=54727
* Complain if we get an error that is not ENXIO while opening /dev/usb\d+Nick 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> Notes: svn path=/head/; revision=54204