User Tools

Site Tools


usb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
usb [2009/09/16 09:45] suapapausb [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 1: Line 1:
 find sysfs by id find sysfs by id
 <code bash> <code bash>
-suapapa@jang devices $ pwd+$ lsusb 
 +Bus 003 Device 003: ID 15d9:0a33   
 +$ pwd
 /sys/devices /sys/devices
-suapapa@jang devices $ lsusb +$ find ./ -name "*15D9:0A33*"
-Bus 001 Device 004: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device +
-Bus 001 Device 003: ID 064e:a118 Suyin Corp.  +
-Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub +
-Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub +
-Bus 003 Device 003: ID 15d9:0a33   +
-Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub +
-Bus 002 Device 002: ID 10c8:0910   +
-Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub +
- +
-suapapa@jang devices $ find ./ -name "*15D9:0A33*"+
 ./pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:15D9:0A33.0002 ./pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:15D9:0A33.0002
- +$ pwd
-suapapa@jang 3-2:1.0 $ pwd+
 /sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0 /sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0
 suapapa@jang 3-2:1.0 $ ls suapapa@jang 3-2:1.0 $ ls
Line 75: Line 66:
  
 ====== references ====== ====== references ======
 +  *[[http://microdia.googlegroups.com/web/HowTo-sniffUSB1.8.txt|How to capture USB traffic with usbsnoop 1.8]] for use with [[http://iki.fi/lindi/darcs/usbsnoop2libusb/usbsnoop2libusb.pl|usbsnoop2libusb.pl]]
   *[[http://www.linuxjournal.com/article/7353|Writing a Simple USB Driver]]   *[[http://www.linuxjournal.com/article/7353|Writing a Simple USB Driver]]
   *[[https://microdia.googlegroups.com/web/usb-in-a-nutshell.pdf|usb-in-a-nutshell(pdf)]]   *[[https://microdia.googlegroups.com/web/usb-in-a-nutshell.pdf|usb-in-a-nutshell(pdf)]]
 +  *[[http://linuxdevcenter.com/pub/a/linux/2007/07/05/devhelloworld-a-simple-introduction-to-device-drivers-under-linux.html?page=1|/dev/hello_world: A Simple Introduction to Device Drivers under Linux]]
   *[[http://www.boot-land.net/forums/index.php?showtopic=1659|USB Vendor ID list]]   *[[http://www.boot-land.net/forums/index.php?showtopic=1659|USB Vendor ID list]]
  
  
usb.1253094343.txt.gz · Last modified: 2013/08/03 05:04 (external edit)