hello, i've seen in examples of HIDDEV[1]:
"usage: %s hiddevice - probably /dev/usb/hiddev0\n"
does anyone know the most elegant way to discover the /dev entry to
open? the best thing I thought up to now is to mknod() from minor=96
.. 111 and to ioctl(HIDIOCGSTRING), searching for the string which
equals to the device I want. I strongly believe there should be a
better way to do that.

ah, sorry I'm not sure if this is the correct list to send this kind
of question, but I couldn't find one hiddev-specific.

[1] http://www.frogmouth.net/hid-doco/c514.html

Thanks,
Ribamar.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to