Project

General

Profile

Actions

Bug #14535

open

cfgadm_usb(1M) should provide iSerialNumber in -v output

Added by Bryan Cantrill 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Actions #1

Updated by Stephan Althaus 4 months ago

Hello!
As you are at it - i think it would be nice to have a possibility to get vendor and product ID - i didn't find it in the man page.
Thanks!

Actions #2

Updated by Bryan Cantrill 4 months ago

Stephan Althaus wrote in #note-1:

Hello!
As you are at it - i think it would be nice to have a possibility to get vendor and product ID - i didn't find it in the man page.
Thanks!

Yes! Those are already offered via -v -- this will add the serial number as well.

Actions #3

Updated by Bryan Cantrill 4 months ago

cfgadm_usb(1M) provides some additional information when run with the -v, but lacks the iSerialNumber -- which can make distinguishing devices of like type unnecessary onerous. This will add this in the Information column, which is currently only loosely specified and not generally parsable. Example output today:

cfgadm -vl usb2/1.2
Ap_Id                          Receptacle   Occupant     Condition  Information
When         Type         Busy     Phys_Id
usb2/1.2                       connected    configured   ok         Mfg: STMicroelectronics  Product: STLINK-V3  NConfigs: 1  Config: 0  : Default Config

Example output with this addressed:

cfgadm -vl usb2/1.2
Ap_Id                          Receptacle   Occupant     Condition  Information
When         Type         Busy     Phys_Id
usb2/1.2                       connected    configured   ok         Mfg: STMicroelectronics  Product: STLINK-V3  Serial: 003C00174741500520383733  NConfigs: 1  Config: 0  : Default Config
Actions #4

Updated by Bryan Cantrill 4 months ago

  • Assignee set to Bryan Cantrill
  • Difficulty changed from Medium to Bite-size
Actions #5

Updated by Electric Monk 4 months ago

  • Gerrit CR set to 2051
Actions #6

Updated by Stephan Althaus 4 months ago

I meant the id values like 8086:550d this is valueable when dealing with drivers and /etc/driver_aliases ...

Actions

Also available in: Atom PDF