On Sun, Jul 27, 2008 at 08:55, Valerio Valerio <[EMAIL PROTECTED]> wrote: > HI, > > 2008/7/27 Dylan Semler <[EMAIL PROTECTED]> >> >> On Sat, Jul 26, 2008 at 6:36 AM, Valerio Valerio <[EMAIL PROTECTED]> wrote: >>> >>> HI, >>> >>> 2008/7/26 Yogiz <[EMAIL PROTECTED]> >>>> >>>> > sudo /usr/sbin/hcidump -X > test_mouse >>>> > Can't open device: No such device >>>> You should probably use the device file there, such as /dev/input/mouse >>>> or whatever. I'd dump it myself, but my MoGo mouse doesn't have a >>>> scrolling wheel. >>> >>> >>> It can't open the bluetooth device, probably your bluetooth device isn't >>> hci0. >>> Check with "hciconfig" your device (hci0, hci1...) and then try with the >>> command "sudo hcidump -i device_hcixx -X > test_mouse" >> >> >> K, I don't know if I'm going to be able to help you out. hciconfig -a >> doesn't have any output. I think the bluetooth devices are mapped to >> /dev/input/mouse*: >> >> $ cd /dev/input/by-id >> $ ll >> $ lrwxrwxrwx 1 root root 9 2008-07-25 01:11 usb-15c2_0038-event-mouse -> >> ../event1 >> $ lrwxrwxrwx 1 root root 9 2008-07-25 01:11 usb-15c2_0038-mouse -> >> ../mouse1 >> $ lrwxrwxrwx 1 root root 9 2008-07-25 01:11 >> usb-Logitech_Logitech_BT_Mini-Receiver_000761A42B60-event-kbd -> ../event2 >> $ lrwxrwxrwx 1 root root 9 2008-07-25 01:11 >> usb-Logitech_Logitech_BT_Mini-Receiver_000761A42B60-event-mouse -> ../event3 >> $ lrwxrwxrwx 1 root root 9 2008-07-25 01:11 >> usb-Logitech_Logitech_BT_Mini-Receiver_000761A42B60-mouse -> ../mouse2 >> >> and sudo /usr/sbin/hcidump -X -i /dev/input/mouse1 > 'test_mouse' has the >> same "Can't open device: No such device" result. I've tried with >> mouse[0-3]. If you have any other suggestions let me know, otherwise maybe >> someone else can help you out. > > > Your mouse seems to be a Bluetooth mouse with some USB receiver, your > computer probably don't have Bluetooth (or isn't configured). > > Thanks for the help anyway. > > Best regards, > > -- > Valério Valério > > http://www.valeriovalerio.org > >> >> >> -- >> Dylan >> >> Type faster. Use Dvorak: >> http://dvzine.org >> >> _______________________________________________ >> Openmoko community mailing list >> [email protected] >> http://lists.openmoko.org/mailman/listinfo/community >> > > > > > > _______________________________________________ > Openmoko community mailing list > [email protected] > http://lists.openmoko.org/mailman/listinfo/community > > Here is a dump with my mouse. There is only one byte changing between the messages: byte = '01' : 1 click scroll up byte = '02' : 2 clicks scroll up byte = '03' : 3 clicks scroll up ... byte = 'ff' : 1 click scroll down byte = 'fe' : 2 clicks scroll down ...
I hope this is ok for you -- Vincent MEURISSE
test_mouse
Description: Binary data
_______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

