Re: bluez-gnome: how to turn adapter off?

Marcel Holtmann
2008-09-29T23:44:42Z

Hi Bastien,

> > Ok, so I remembered wrong ;-) How about adding a "disable this adapter"
> > option? Would a patch that implements this be welcome?
>
> I'd like a patch implementing HAL killswitching. DannyK can explain to
> you how that's supposed to work.
>
> I saw this as a single toggle menu item in the right-click, allowing you
> to enable/disable the main Bluetooth adapter on laptops. If there's a
> killswitch present, and there's 0 or 1 adapter (and the adapter matches
> the expected device) then the Bluetooth icon would shown grayed out.
>
> This would probably also require more work like this:
> <match key="@info.parent:system.product" contains="VGN-S1XP">
> <merge key="killswitch.expected_usb_vendor_id"
> type="int">0x44e</merge>
> <merge key="killswitch.expected_usb_product_id"
> type="int">0x3007</merge>
> </match>

can we not just reference the UDI the killswitch belongs to. The vendor
and product things can be misleading.

Regards

Marcel