-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 10 Oct 2002 02:43, Douglas Roberts wrote:
> Hi.
>
> It was suggested to me that you guys could help.  I inherited a project
> that involves writing a user-space program to communicate with a usb
> digital radio.  When plugged in, the radio device identifies itself as
> an hid device, so I guess that's good news as I should be able to use
> the Linux hid driver. I'm running Mandrake 9.0 (gcc3.2, kernel
> 2.4.19-16mdkcustom which I built).
> 1.  modprobe evdev
>
> 2.  I plugged the radio device in, and Mandrake's hotplug usb.agent
> recognized the device as an hid device and logged the following:
<snip>
> Loading these modules caused the directory hid to be created in
> /dev/usb, and the device file /dev/usb/hid/hiddev0 to be created (with
> the correct major & minor)
>
> lilly:[/dev/usb/hid]# ls -l
> total 0
> crw-rw-rw-    1 root     root     180,  96 Dec 31  1969 hiddev0
So this device was not taken by the HID input code (either because you didn't 
enable it in the kernel, or because the radio has the wrong Application).

> 3.  I ran the evtest code
That won't help. You need something that understands hiddev events, not input 
events.

There is an outdated document on 
http://www.frogmouth.net/hid-doco/linux-hid.html
that explains this, a bit.

http://www.frogmouth.net/hid-doco/examples/hiddev-misc/dump-events.c is kinda 
similar to evtest, although you'll likely need to hack it a bit to make the 
messages more meaninful.

Brad

- -- 
http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9pJnJW6pHgIdAuOMRAh3LAJ9YDguGrR1gJDuXpN7gpXEdcz/4fgCfZRDj
sBQ4JdfLiYgX/MJc+8m10tw=
=/1UO
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to