No STE on Solaris

lsusb utility can be compiled on Solaris but with the big efforts. Without lsusb getting USB device info is possible but it’s very slow:

root@sol11:~# rmformat
Looking for devices…
1. Logical Node: /dev/rdsk/c1t4d0p0
Physical Node: /pci@0,0/pci1043,8496@11/cdrom@4,0
Connected Device: TEAC DV-W58G-A U4S8
Device Type: DVD Reader/Writer
Bus: <Unknown>
Size: <Unknown>
Label: <Unknown>
Access permissions: <Unknown>
2. Logical Node: /dev/rdsk/c3t0d0p0
Physical Node: /pci@0,0/pci1043,8496@13,2/storage@3/disk@0,0
Connected Device: Kingston DataTraveler 2.0 1.00
Device Type: Removable
Bus: USB
Size: 14.8 GB
Label: <Unknown>
Access permissions: Medium is not write protected.

oracle@sol11:~$ rmformat | grep “Connected Device:”
Connected Device: TEAC DV-W58G-A U4S8
Connected Device: Kingston DataTraveler 2.0 1.00
Connected Device: Sony Card R/W -CF 2.10
Connected Device: Sony Card R/W -SM/xD 2.10
Connected Device: Sony Card R/W -SD 2.10
Connected Device: Sony Card R/W -MS 2.10

oracle@sol11:~$ prtconf -v | /usr/sfw/bin/ggrep -A 5 -i Kingston | /usr/sfw/bin/ggrep -A 1 -i usb-serialno | grep value=
value=’50E549C6931BC171E906AE9B’

oracle@sol11:~$ prtconf -v | /usr/sfw/bin/ggrep -A 5 -i Sony | /usr/sfw/bin/ggrep -A 1 -i usb-serialno | grep value=
value=’0000001360C7′

Leave a Reply

Your email address will not be published. Required fields are marked *