Module Name:src
Committed By: mrg
Date: Sun Mar 24 03:23:19 UTC 2024
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
usbdevs(8): don't assume usb bus count is the same as max usb bus unit
keep track of the highest usbN value, not the count of busses.
fixes
Module Name:src
Committed By: mrg
Date: Sun Mar 24 03:23:19 UTC 2024
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
usbdevs(8): don't assume usb bus count is the same as max usb bus unit
keep track of the highest usbN value, not the count of busses.
fixes
Module Name:src
Committed By: riastradh
Date: Tue Sep 13 08:34:37 UTC 2022
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
usbdevs(8): Misc KNF.
- Fix whitespace and braces.
- malloc(n * sizeof(...)) -> calloc(n, sizeof(...))
To generate a diff of this
Module Name:src
Committed By: riastradh
Date: Tue Sep 13 08:34:37 UTC 2022
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
usbdevs(8): Misc KNF.
- Fix whitespace and braces.
- malloc(n * sizeof(...)) -> calloc(n, sizeof(...))
To generate a diff of this
Module Name:src
Committed By: christos
Date: Wed Nov 27 17:56:09 UTC 2019
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Use strtoi instead of atoi() to catch bad input (Alexander Kuleshov)
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40
Module Name:src
Committed By: christos
Date: Wed Nov 27 17:56:09 UTC 2019
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Use strtoi instead of atoi() to catch bad input (Alexander Kuleshov)
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40
Module Name:src
Committed By: mrg
Date: Tue Nov 12 07:41:50 UTC 2019
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
dynamically calculate the list of usb hubs from drvctl if available.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39
Module Name:src
Committed By: mrg
Date: Tue Nov 12 07:41:50 UTC 2019
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
dynamically calculate the list of usb hubs from drvctl if available.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39
> On further thought, I think your patch won't work correctly in cases
> where USB controllers are detached. For example, if you attach usb0
> and usb1, and then detach usb0, getusbcount_device() will return 1,
> and usbdevs will try to list devices only on the detached usb0, and
> not on the
Matthew,
On further thought, I think your patch won't work correctly in cases
where USB controllers are detached. For example, if you attach usb0
and usb1, and then detach usb0, getusbcount_device() will return 1,
and usbdevs will try to list devices only on the detached usb0, and
not on the
Hi mrg
You wrote:
> > Look for up to 16 USB controllers, to match the number of device nodes
> > now created by MAKEDEV.
>
> thanks for doing this. you inspired me to get usbdevs to get the
> count from drvctl(8) if available, so next time we don't have to
> patch it again. based upon the code
"Andreas Gustafsson" writes:
> Module Name: src
> Committed By: gson
> Date: Sat Sep 21 16:22:25 UTC 2019
>
> Modified Files:
> src/usr.sbin/usbdevs: usbdevs.c
>
> Log Message:
> Look for up to 16 USB controllers, to match the number of device nodes
> now created by MAKEDEV.
Module Name:src
Committed By: gson
Date: Sat Sep 21 16:22:25 UTC 2019
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Look for up to 16 USB controllers, to match the number of device nodes
now created by MAKEDEV.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: gson
Date: Sat Sep 21 16:22:25 UTC 2019
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Look for up to 16 USB controllers, to match the number of device nodes
now created by MAKEDEV.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: jmcneill
Date: Thu Jul 5 19:46:58 UTC 2018
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Print USB_SPEED_SUPER_PLUS capability if present
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36
Module Name:src
Committed By: jmcneill
Date: Thu Jul 5 19:46:58 UTC 2018
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Print USB_SPEED_SUPER_PLUS capability if present
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36
Module Name:src
Committed By: skrll
Date: Wed Sep 7 08:10:00 UTC 2016
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Fix previous... handle hub ports
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/usbdevs/usbdevs.c
Please note
Module Name:src
Committed By: skrll
Date: Wed Sep 7 08:10:00 UTC 2016
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Fix previous... handle hub ports
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/usbdevs/usbdevs.c
Please note
Module Name:src
Committed By: skrll
Date: Wed Sep 7 08:05:02 UTC 2016
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Don't read beyond the end of the array when given a overly large number
of ports on a hub.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: skrll
Date: Wed Sep 7 08:05:02 UTC 2016
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Don't read beyond the end of the array when given a overly large number
of ports on a hub.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: skrll
Date: Fri Sep 2 05:59:05 UTC 2016
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Add __RCDIS
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/usbdevs/usbdevs.c
Please note that diffs are not
Module Name:src
Committed By: skrll
Date: Fri Sep 2 05:59:05 UTC 2016
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Add __RCDIS
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/usbdevs/usbdevs.c
Please note that diffs are not
Module Name:src
Committed By: mlelstv
Date: Sun Jun 26 07:10:24 UTC 2016
Modified Files:
src/usr.sbin/usbdevs: usbdevs.8 usbdevs.c
Log Message:
Print release also in hex.
Print device class information if -v is used twice.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: mlelstv
Date: Sun Jun 26 07:10:24 UTC 2016
Modified Files:
src/usr.sbin/usbdevs: usbdevs.8 usbdevs.c
Log Message:
Print release also in hex.
Print device class information if -v is used twice.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: skrll
Date: Tue Aug 12 13:40:07 UTC 2014
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Report super speed devices. From Takahiro HAYASHI.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31
Module Name:src
Committed By: skrll
Date: Tue Aug 12 13:40:07 UTC 2014
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Report super speed devices. From Takahiro HAYASHI.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31
Module Name:src
Committed By: jakllsch
Date: Sat Sep 14 14:07:56 UTC 2013
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Try to dump device at address 0. Allows dumping of xhci(4) root hub.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30
Module Name:src
Committed By: jakllsch
Date: Sat Sep 14 14:07:56 UTC 2013
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Try to dump device at address 0. Allows dumping of xhci(4) root hub.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30
Module Name:src
Committed By: jakllsch
Date: Mon Jul 8 14:47:18 UTC 2013
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Use symbolic constants EXIT_SUCCESS, EXIT_FAILURE, and NULL where appropriate.
To generate a diff of this commit:
cvs rdiff -u -r1.28
Module Name:src
Committed By: jakllsch
Date: Mon Jul 8 14:47:18 UTC 2013
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Use symbolic constants EXIT_SUCCESS, EXIT_FAILURE, and NULL where appropriate.
To generate a diff of this commit:
cvs rdiff -u -r1.28
Module Name:src
Committed By: joerg
Date: Tue Aug 30 20:51:29 UTC 2011
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
static + __dead
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/usbdevs/usbdevs.c
Please note that diffs are
Module Name:src
Committed By: joerg
Date: Tue Aug 30 20:51:29 UTC 2011
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
static + __dead
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/usbdevs/usbdevs.c
Please note that diffs are
Module Name:src
Committed By: tnn
Date: Mon Aug 15 14:20:08 UTC 2011
Modified Files:
src/usr.sbin/usbdevs: usbdevs.8
Log Message:
Use proper capitalization. Reported on IRC.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/usbdevs/usbdevs.8
Module Name:src
Committed By: wiz
Date: Mon Aug 15 14:31:24 UTC 2011
Modified Files:
src/usr.sbin/usbdevs: usbdevs.8
Log Message:
Sort options in SYNOPSIS. From Snader_LB.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/usbdevs/usbdevs.8
Please
Module Name:src
Committed By: wiz
Date: Mon Aug 15 14:31:58 UTC 2011
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Sync usage with SYNOPSIS.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/usbdevs/usbdevs.c
Please note that
Module Name:src
Committed By: tnn
Date: Mon Aug 15 14:20:08 UTC 2011
Modified Files:
src/usr.sbin/usbdevs: usbdevs.8
Log Message:
Use proper capitalization. Reported on IRC.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/usbdevs/usbdevs.8
Module Name:src
Committed By: wiz
Date: Mon Aug 15 14:31:24 UTC 2011
Modified Files:
src/usr.sbin/usbdevs: usbdevs.8
Log Message:
Sort options in SYNOPSIS. From Snader_LB.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/usbdevs/usbdevs.8
Please
Module Name:src
Committed By: wiz
Date: Mon Aug 15 14:31:58 UTC 2011
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
Sync usage with SYNOPSIS.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/usbdevs/usbdevs.c
Please note that
Module Name:src
Committed By: drochner
Date: Tue Feb 2 16:25:31 UTC 2010
Modified Files:
src/usr.sbin/usbdevs: usbdevs.c
Log Message:
The structure returned by USB_DEVICEINFO has the vendor/device strings
UTF-8 encoded now. We can't simply print this to a terminal, so
39 matches
Mail list logo