#
3a50f0a9 |
| 28-Dec-2022 |
jmc <jmc@openbsd.org> |
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
|
#
e7155720 |
| 28-Oct-2022 |
dlg <dlg@openbsd.org> |
getopt optstring doesn't need '?'.
found while hacking up a comp3301 prac/assignment ok millert@ deraadt@
|
#
bc5a8259 |
| 12-Jul-2021 |
beck <beck@openbsd.org> |
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion.
Work done and verified by A
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion.
Work done and verified by Ashton Fagg <ashton@fagg.id.au>
ok deraadt@ semarie@ claudio@
show more ...
|
#
5de804ec |
| 22-Dec-2019 |
semarie <semarie@openbsd.org> |
code cleanup and rearranging. no intentionnal behaviour change (except a printf(3) changed to warn(3))
fine deraadt@
|
#
544844c4 |
| 30-Nov-2019 |
mestre <mestre@openbsd.org> |
unveil(2) /dev with read permissions since it's the only directory usbdevs(8) will read from
OK kn@
|
#
44d2074c |
| 14-Apr-2019 |
deraadt <deraadt@openbsd.org> |
use strvis on strings from the device; ok sthen mortimer
|
#
95c55c5b |
| 07-Jan-2019 |
mpi <mpi@openbsd.org> |
Make the output fit in 80 chars when a serial number is printed.
ok sthen@, millert@, denis@, kn@
|
#
48ef7734 |
| 12-Jul-2018 |
mpi <mpi@openbsd.org> |
Instead of having a button for printing the driver(s) attached to a USB device, do it when invoked with '-v'.
While here recycle '-d' to specify a specific device node, like pcidump(8) does.
ok jca
Instead of having a button for printing the driver(s) attached to a USB device, do it when invoked with '-v'.
While here recycle '-d' to specify a specific device node, like pcidump(8) does.
ok jca@, sthen@
show more ...
|
#
5cd7bad0 |
| 10-Jul-2018 |
mpi <mpi@openbsd.org> |
Print USB port status/changes in verbose++ mode.
While here align the driver name with the new output.
|
#
d412bb60 |
| 03-Jul-2018 |
mpi <mpi@openbsd.org> |
Improve output.
- Display Vendor:Device IDs by default - Put extended informations on a second line - Separate Hub port and subdevices
ok kettenis@, sthen@
|
#
45249121 |
| 01-Jul-2018 |
mpi <mpi@openbsd.org> |
Tweak output to behave more like pcidump(8):
- Display port info with -vv or more - Always print the corresponding USB controller
ok sthen@, deraadt@
|
#
e6abd7b1 |
| 22-Dec-2015 |
mmcc <mmcc@openbsd.org> |
Initialize a char* to NULL rather than 0.
|
#
b5cd11a0 |
| 31-Mar-2015 |
mpi <mpi@openbsd.org> |
Do not iterate past the size of the array.
Found by naddy@
|
#
28056f30 |
| 09-Feb-2015 |
deraadt <deraadt@openbsd.org> |
clean up flags++ instances around getopt() ok florian
|
#
42fdad5c |
| 17-Nov-2014 |
jsg <jsg@openbsd.org> |
show super speed status in verbose output
|
#
341ea017 |
| 07-May-2012 |
mpi <mpi@openbsd.org> |
Remove leftovers from last commit, getdevicedesc() cannot be used now that the bus node is open read-only.
ok mikeb@
|
#
9acd4950 |
| 16-Jan-2011 |
jakemsr <jakemsr@openbsd.org> |
the serial number is now available in struct usb_device_info, so there's no need to use the USB_REQUEST ioctl to get the serial number. this also means usbdevs can open /dev/usb* read-only, instead o
the serial number is now available in struct usb_device_info, so there's no need to use the USB_REQUEST ioctl to get the serial number. this also means usbdevs can open /dev/usb* read-only, instead of read-write, and still be fully functional.
discussed with deraadt and miod
show more ...
|
#
48800d7b |
| 31-May-2010 |
deraadt <deraadt@openbsd.org> |
use strtonum() instead of atoi() to parse the device address (from 1 - USB_MAX_DEVICES, not 0- as submitted) from Gleydson Soares
|
#
acacac8f |
| 02-Apr-2010 |
ckuethe <ckuethe@openbsd.org> |
Read description string length before reading description. From Marcin Wyrwas in system/6338, tested with various ipods, usb drives and smartphones. ok deraadt@
|
#
4ff3ccaf |
| 04-Sep-2008 |
jsg <jsg@openbsd.org> |
Check for the correct ioctl failure case and reflect that in the return code of getdevicedesc in which it is called.
ok yuo@
|
#
d874cce4 |
| 26-Jun-2008 |
ray <ray@openbsd.org> |
First pass at removing clauses 3 and 4 from NetBSD licenses.
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 t
First pass at removing clauses 3 and 4 from NetBSD licenses.
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@
show more ...
|
#
2870dc6d |
| 17-Mar-2008 |
sobrado <sobrado@openbsd.org> |
"usage:" is lowercase; while here, KNF
ok jmc@
|
#
7d4efefe |
| 25-Feb-2008 |
deraadt <deraadt@openbsd.org> |
uninitialized variable needs zero'ing, ok kettenis
|
#
bcd0f9c7 |
| 19-Jan-2008 |
winiger <winiger@openbsd.org> |
some usb devices stale (getstring: ioctl: Input/output error) if a string is requested with language id 0, so we get the language table first and use the language id from there
ok mglocker@
|
#
1c95a3eb |
| 04-Dec-2007 |
ckuethe <ckuethe@openbsd.org> |
allow the usb serial number to be printed in verbose mode. this is useful for people writing custom hotplugd(8) scripts, as well as ipod users. ok deraadt
|