Hi !

Sorry to disturb again ...

I think the las thread I started became accidently private.

[snip]

>> My first idea was doing this as a script. But how can I find the relation
>> between the device file minor number / name (registered in the device
>> driver) and the topology location ?
>> I think I can't use usbfs because we need our own driver, or am I wrong ?

> You cannot submit URBs to the device, but you still can parse the device
> tree and you can talk to your driver through usbfs, if you have implemented
> the ioctl method of struct usb_driver. So you could ask the driver questions
> about device identity.

I tried this. I added the ioctl function to my driver. If I call this ioctl 
with the registered device file opened, it works fine. 
If I try to do this via usbfs (/proc/bus/usb/001/0xx), the open call doesn't 
invoke the open function of my driver. Can someone give my a hint what I miss 
to "connect" my driver to the appropriate file in usbfs ?

Thanks a lot !

Thorsten


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to