LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   USB device driver (http://www.linuxquestions.org/questions/showthread.php?t=4175435028)

samir82show 11-01-2012 01:59 AM

USB device driver
 
I'm working in this project in order to control usb LED's, http://www.obdev.at/products/vusb/powerswitch.html, its controlled here using powerswitch API, which depends on libusb, after reading inside powerswitch I found that it passes two parameters, led no and status (on/off), in general other options like timing are there also but I don't need them, how can I develop usb device driver for the same, actually I customized one of the device drivers in the kernel source code adding the VendorID and ProductID of my device, but I couldn't figure out how to add the functionality of passing the two parameters to the device driver, thus to the hardware


All times are GMT -5. The time now is 03:14 PM.