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

Bastien Nocera
2008-09-29T20:39:56Z

On Mon, 2008-09-29 at 18:20 +0200, Stefan Seyfried wrote:
<snip>
> 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>

To make sure the killswitch controls (or tries to control) the correct
adapter.

Cheers