> Perhaps you might like to explain exactly what you are trying to accomplish. > There are lots of ioctl()s that you can use to do different things to the usb > device (usbfs ioctls), the ethernet device (eg ethtool ioctls), the driver > (private ioctl()s, if any), the networking stack, and so on.
The USB driver for the speedtouch modem has a (private?) ioctl() routine defined and I would like to call it from userspace (to send the UDSL_IOCTL_START command to the driver). > A good example of a user space tool for networking is the ethtool package from > http://gkernel.sf.net. Another example, more complex, is the wireless tools > package. I've had a look at these and these are network drivers. I still don't understand where and how usb is represented. Can anyone point me in the direction of an example of how to call a USB device driver's private ioctl() routine from userspace? An example of any call to a USB ioctl from userspace would be helpful... FWIW, I've tried the Programming Guide for Linux USB Device Drivers, the Linux Kernel Module Programming Guide and the Linux Device Drivers book (2nd edition) with no joy... They don't mention how to communicate with USB ioctls... Thanks, RP (please cc: in any reply) _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
