Anyone have a Bluetooth mouse ?

Vincent MEURISSE openmoko-community at meurisse.org
Sun Jul 27 15:45:46 CEST 2008


On Sun, Jul 27, 2008 at 08:55, Valerio Valerio <vdv100 at gmail.com> wrote:
> HI,
>> 2008年7月27日 Dylan Semler <dylan.semler at gmail.com>
>>>> On Sat, Jul 26, 2008 at 6:36 AM, Valerio Valerio <vdv100 at gmail.com> wrote:
>>>>>> HI,
>>>>>> 2008年7月26日 Yogiz <yogizz at gmail.com>
>>>>>>>> > 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
>> community at lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>>>>>>> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mouse
Type: application/octet-stream
Size: 7861 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20080727/aee04b38/attachment-0001.obj 


More information about the community mailing list

AltStyle によって変換されたページ (->オリジナル) /