Google
  Web www.spinics.net

HIDDEV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Powered by Linux