HCI - HID proxy
Rui Paulo
rpaulo at fnop.net
Thu Jul 12 18:30:46 UTC 2007
Anish Mistry wrote:
>> Anyway, if you want to use devd it would be something like:
>>
>> attach 100 {
>> match "vendor" "0x05ac";
>> match "product" "0x1000";
>> action "/usr/bin/ubthid2hci -m 0 $device-name";
>> };
>>
>> And then repeat this for every device that needs to be switched to
>> HCI mode. This has the problem of not being able to switch the
>> device to HID mode because when you try to do that, devd will
>> automatically switch it back to HCI mode if this attach rule is
>> present. I don't think this is a serious issue because the HID mode
>> is normally only needed before the operating system has booted.
>
> Right. Actually that brings up a good point. Is there a way (API)
> that allows us to enable/disable certain devd entries at runtime? If
> not I think that this might be a useful feature. If this was
> available we'd then be able to programmatically disable an entry when
> we want to switch back to HID mode without having to change the
> devd.conf file.
AFAIK, no.
--
Rui Paulo
More information about the freebsd-bluetooth
mailing list