Oliver Neukum wrote:


Then, after 'insmod ./ekey.o' and plug in my device, I do this:
int hDevice = open("/dev/usb/ekey0", O_RDONLY);
But, hDevice is always -1. What's wrong with my driver?


Does /proc/bus/usb/devices show your driver bound to the device?

How to know this? with 'ls -l'?

I can see some info output of the 'probe' routine. It shows that my device has successfully attached to 'ekey0'.

LRD



-------------------------------------------------------
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