bluetooth mouse (bthidd errors)
Maksim Yevmenkin
maksim.yevmenkin at savvis.net
Tue May 10 15:41:27 PDT 2005
Eric,
>>>>> I'm trying to get a bluetooth mouse working. When I run bthidd, I
>>>>> see this in my /var/log/messages:
>>>>>
>>>>> bthidd[30447]: Could not open /dev/vkbdctl. No such file or
>>>>> directory (2)
>>>>>
>>>>> Any hints? I'm running current as of about a week ago.
>>>>
>>>> # kldload vkbd
>>>>
>>>> but do not get any ideas :) bluetooth keyboard is not going to work.
>>>
>>> Thanks for the quick reply! That did the trick! Maybe a little hint
>>> in the error output would help. Like:
>>>
>>> bthidd[30447]: Could not open /dev/vkbdctl. No such file or directory
>>> (2). Did you load vkbd?
>>
>> well, may be. bthid(8) could just load it automatically. i will fix it
>> in the future :)
>>
>>> Also - my mouse buttons (2/3) are swapped. I see a couple brief
>>> mentions about it being a mouse bluetooth issue - but how do I fix it?
>>
>> patch by Vladimir Grebenschikov " vova at fbsd dot ru "
>>
[...]
> Thanks! Is this or another patch going to be committed to fix this
> permanently? Just curious..
yes. it appears (but i'm not 100% sure) that our mouse code uses "1 3 2"
button encoding (left middle right), and usb hid seems to use "1 2 3"
button encoding. it seems like generic mouse button mapping code
(similar to moused(8)) would be nice to have.
> Also - for those who don't want to patch their systems, this works fine
> in X:
>
> xmodmap -e "pointer = 1 3 2 4 5 6 7"
yes, but this does not work on console (like you said it only works in X).
thanks,
max
More information about the freebsd-bluetooth
mailing list