Hi,
I'm developping a driver for a usb device. For the moment I just try to make a program that can handle the device. I have to send to it some urbs which are vendor-defined requests to its interface (it doesn't even have endpoints !).
So I think the functions delivered in the libusb package doesn't apply to my case since I can't use bulk transfers :-( (tell me if I am wrong...).
I found in the "Programming Guide for Linux USB Device Drivers" that I could use the urb functions to solve my problem.
Then I try to use the linux/usb.h library of my 2.4.0 kernel. But it doesn't compile : it tells that the functions I use are not declared whereas it exists in usb.h (a simple two line program using a purb_t and a usb_alloc_urb() doesn't compile and it is not a problem of usb.h file not found)
What have I done wrong ? How to include usb.h ? or should I use an other library ?
I know that it is a stupid question but I really don't know where is the problem...
I am nearly a newbie in usb and after having read the usb specs and the programming guide I still need a little help to start.
So please help me ;-)
Thanks,
Eric HENRY