Hi,
I am trying to modify usb-skeleton.c so that when I enter my USB into my machine, it will detect it and display a message - like "Hello World!".
I have managed to do it using commands like:
sudo insmod ./usb-skeleton.ko
dmesg | tail
and it works, but I want the drivers to load without having to enter this. So that when I enter my USB it will display a message.
From what I know I need the ProductID and VendorID (of my USB), in order to do this and I have found
http://www.linux-usb.org/usb.ids this shows the VendorID.
But by changing the VendorID and ProductID will I be able to enter my USB device and have it detected by my modified usb-skeleton.c? Or are there more configurations I need to do?
I am running Ubuntu - Linux version 2.6.28-17-generic (buildd@rothera) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #58-Ubuntu
Thanks!