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

On Wed, 6 Nov 2002 08:28, Robert Love wrote:
> On Tue, 2002-11-05 at 15:26, Brad Hards wrote:
> > Try:
> > http://www.frogmouth.net/hid-doco/examples/hiddev-misc/dump-events.c
> > Let us know what it says.
>
> The following is from the Logitech Wireless Optical Mouseman.
>
> The events are caused by me moving the mouse.
>
> [16:23:14]root@phantasy:/home/rml# ./dump-events /dev/usb/hiddev0
> hiddev driver version is 1.0.2
> vendor 0x046d product 0xffffc501 version 0x0910 has 1 application and is on
> bus: 1 devnum: 2 ifnum: 0 Application 0 is 0x10002 (Needs to be added)
Application for a mouse.
>   Report id: 0 (3 fields)
>     Field: 0: app: 10002 phys 10001 flags 2 (5 usages) unit 0 exp 0
>       Usage: 90001 val 0 idx 0
Button 1
>       Usage: 90002 val 0 idx 1
Button 2
>       Usage: 90003 val 0 idx 2
Button 3
>       Usage: 90004 val 0 idx 3
Button 4
>       Usage: 90005 val 0 idx 4
Button 5
>     Field: 1: app: 10002 phys 10001 flags 6 (3 usages) unit 0 exp 0
>       Usage: 10030 val 0 idx 0
X axis
>       Usage: 10031 val 0 idx 1
Y axis
>       Usage: 10038 val 0 idx 2
Wheel axis
>     Field: 2: app: 10002 phys 0000 flags 2 (1 usages) unit 0 exp 0
>       Usage: 8004b val 0 idx 0
"Generic Indicator" LED.
>   Report id: 0 (1 fields)
>     Field: 0: app: 10002 phys 0000 flags 22 (1 usages) unit 0 exp 0
>       Usage: 1003c val 1 idx 0
Motion wakeup.

So I'd say that the device isn't routinely reporting the battery status, and 
you have to do a vendor specific query to the device.

Two options:
1. Reverse engineer it, with usb snoopy
2. Ask logitech - I have a contact that might work.

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

iD8DBQE9yDuOW6pHgIdAuOMRAgSFAJ90UwFHR/9bZDp2YwbsQGrSBKdWhwCaA65h
v0sSfg1rKwtILqDf1DIy/Pw=
=LnGm
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to