USB Driver Tutorial ------------------- By: Mike McCabe Date: 12/1/05 cp -r /afs/cu/users/m/c/mccabemt/public/driver-tutorial . links mirror.clarkson.edu (arrow down or page down) --> /pub/linux/kernel/v2.6/linux-2.6.13.1.tar.bz2 mv linux-2.6.13.1.tar.bz2 /usr/src mv linux-2.6.13.1 linux-2.6.13-gentoo make cd /usr/src/linux-2.6.13.1 cp Makefile ../linux-2.6.13-gentoo cd ../linux-2.6.13-gentoo zcat /proc/config.gz > .config make oldconfig && make insmod hello.ko cd /sys/devices/pci0000\:00/0000\:00\:1d.3/usb5/5-0\:1.0/5-1/ cat idVendor cat product cat manufacturer cat version // Look at the code for hello and the USB remote control emacs hello-world/hello.c emacs remote-driver/remote.c emacs keyspan-driver/keyspan_remote.c - reverse engineering with usb sniffers