Logitech V470 Bluetooth Mouse on FreeBSD ?

mato gamato at users.sf.net
Mon Mar 31 12:33:11 PDT 2008


Maksim Yevmenkin wrote:
>  Martin,
>
>   
>>  I've just bought the mouse and it works, partially.
>>  Well, I couldn't find anything in the handbook but google helped.
>>
>>  However, the mouse has 4-way wheel but horizontal scrolling doesn't work.
>>  I've got the following in my xorg.conf:
>>
>>  Section "InputDevice"
>>        Identifier  "Mouse0"
>>        Driver      "mouse"
>>        Option      "Protocol" "auto"
>>        Option      "Device" "/dev/sysmouse"
>>        Option      "ZAxisMapping" "4 5 6 7"
>>  EndSection
>>
>>  Any ideas pls ?
>>     
>
> as Iain already pointed out, you might try adding 'Option "Buttons"
> "7"'. also it would be nice if you post hid descriptor for the mouse
> from your /etc/bluetooth/bthidd.conf
>
>   
>>  Apart from that I noticed double clicks don't work in console.
>>     
>
> yes, from bthidd(8) man page
>
> KNOWN LIMITATIONS
>      The bthidd daemon currently does not handle key auto repeat and double
>      click mouse events.  Those events work under X(7) just fine, but not in
>      text console.
>
> thanks,
> max
>   

Hi Max,

Option Buttons did not help me. :-(

$ bthidcontrol -a mato-mouse query
device {
        bdaddr                  00:07:61:a7:64:15;
        control_psm             0x11;
        interrupt_psm           0x13;
        reconnect_initiate      true;
        battery_power           true;
        normally_connectable    false;
        hid_descriptor          {
                0x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02
                0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01
                0x29 0x08 0x15 0x00 0x25 0x01 0x75 0x01
                0x95 0x08 0x81 0x02 0x05 0x01 0x09 0x30
                0x09 0x31 0x16 0x01 0xf8 0x26 0xff 0x07
                0x75 0x0c 0x95 0x02 0x81 0x06 0x09 0x38
                0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01
                0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x75
                0x08 0x95 0x01 0x81 0x06 0xc0 0xc0 0x06
                0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10
                0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff
                0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91
                0x00 0xc0
        };
}

$ bthidcontrol -a mato-mouse dump
Collection page=Generic_Desktop usage=Mouse
Collection page=Generic_Desktop usage=Pointer
Input   id=2 size=1 count=1 page=Button usage=Button_1 Variable, logical 
range 0
..1
Input   id=2 size=1 count=1 page=Button usage=Button_2 Variable, logical 
range 0
..1
Input   id=2 size=1 count=1 page=Button usage=Button_3 Variable, logical 
range 0
..1
Input   id=2 size=1 count=1 page=Button usage=Button_4 Variable, logical 
range 0
..1
Input   id=2 size=1 count=1 page=Button usage=Button_5 Variable, logical 
range 0
..1
Input   id=2 size=1 count=1 page=Button usage=Button_6 Variable, logical 
range 0
..1
Input   id=2 size=1 count=1 page=Button usage=Button_7 Variable, logical 
range 0
..1
Input   id=2 size=1 count=1 page=Button usage=Button_8 Variable, logical 
range 0
..1
Input   id=2 size=12 count=1 page=Generic_Desktop usage=X Variable 
Relative, log
ical range -2047..2047
Input   id=2 size=12 count=1 page=Generic_Desktop usage=Y Variable 
Relative, log
ical range -2047..2047
Input   id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable 
Relative,
logical range -127..127
Input   id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable 
Relative, logica
l range -127..127
End collection
End collection
Input   id=16 size=8 count=6 page=Microsoft usage=0x0001, logical range 
0..255
Output  id=16 size=8 count=6 page=Microsoft usage=0x0001, logical range 
0..255
Collection page=Microsoft usage=0x0001



More information about the freebsd-mobile mailing list