public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: Stefan Seyfried <seife@suse.de>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: bluez-gnome: how to turn adapter off?
Date: Mon, 29 Sep 2008 21:39:56 +0100	[thread overview]
Message-ID: <1222720796.3311.101.camel@cookie.hadess.net> (raw)
In-Reply-To: <48E1004F.20605@suse.de>

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


  reply	other threads:[~2008-09-29 20:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-29 15:59 bluez-gnome: how to turn adapter off? Stefan Seyfried
2008-09-29 16:05 ` Bastien Nocera
2008-09-29 16:20   ` Stefan Seyfried
2008-09-29 20:39     ` Bastien Nocera [this message]
2008-09-29 23:44       ` Marcel Holtmann
2008-09-30  3:18       ` Marcel Holtmann
2008-09-30 10:17         ` Bastien Nocera
2008-09-30 10:29           ` Marcel Holtmann
2008-09-29 23:43     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1222720796.3311.101.camel@cookie.hadess.net \
    --to=hadess@hadess.net \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=seife@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox