PDA

View Full Version : any ways to get usb info ?


varnie
May 4th, 2009, 06:04
good day.

what is the similar FreeBSD command for the Linux' one: "sudo lsusb -v|grep -i iSerial" ?

suppose, we want to have a look at Apple iPod's "iSerial" value.
the command "usbdev" doesn't provide enough info as the Linux' "lsubsd" does.

i've found the solution: http://50hz.ws/dev/getserial.c and it works pretty well. but i am curious if there are any "native" FreeBSD ways to get the same?

thanks in advance.

rbelk
May 4th, 2009, 07:46
Varnie, the lsusb command is in the port sysutils/usbutils. You might also want to install the separate port sysutils/usbutils also.

phoenix
May 4th, 2009, 17:56
FreeBSD ships with pciconf and usbdevs which let you see all PCI and USB devices.

Carpetsmoker
May 11th, 2009, 06:12
FreeBSD ships with pciconf and usbdevs which let you see all PCI and USB devices.

This doesn't display all information, for example the iPod serial number mentioned above.

lme@
May 11th, 2009, 09:03
IIRC you can list the serial number with audio/gnupod.

Carpetsmoker
May 11th, 2009, 10:23
Only on Linux/Solaris, not on FreeBSD ... At least, not that I could figure out.

varnie
May 11th, 2009, 14:49
yes, Carpertsmoker is right.

phoenix
May 11th, 2009, 20:49
Hrm, didn't know that about the iPod. I don't have access to any iPods (my phone is an 8 GB media player).