lsusb
lsusb copied to clipboard
lsusb command for Mac OS X
Hi! There are 2 pull request, where the oldest is from 2020. Is this project abandoned? Best regards
## Errors ``` /usr/local/bin/lsusb: line 89: 16#80 : syntax error in expression (error token is "80 ``` ``` /usr/local/bin/lsusb: line 89: 16#00 01: syntax error in expression (error token is...
This script assumes that all device entries have 6 lines following `Product ID` which is absolutely not true. Just with a single line change ```diff -devices=`echo "$rawlog" | egrep -B...
Hi, I'm on 10.14.16 (Mojave) and I've been getting these errors of late on the first line, I'm on a 13" MBP: 2019-11-05 15:41: 55.196 system_profiler[3880:8668137] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be...
`/opt/homebrew/bin/lsusb: line 89: 16#: invalid integer constant (error token is "16#")` Looks like there is no bus number: ``` % lsusb -v USB: USB 3.1 Bus: Host Controller Driver: AppleT6000USBXHCI...
If a device has fewer than 6 lines in its system profiler description, it will get merged with the following device in the egrep output. This patch changes the device...
When `$bus_num` is empty (e.g. in case of `05ac:8102 Apple Inc. Apple T2 Bus`), the script throws the following error: ```bash /usr/local/bin/lsusb: line 89: 16#: invalid integer constant (error token...
I just needed an `import`able version, hence [this gist](https://gist.github.com/jn0/f785880016be100780c9ec6d0e6b0837)
Proposed for addition to Homebrew core: https://github.com/Homebrew/homebrew-core/pull/30920 If this is merged, probably worth deprecating your personal tap, and updating the installation instructions ;)