[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ibm-acpi-devel
Subject:    Re: [ibm-acpi-devel] bluetooth radio ThinkPad T61
From:       Henrique de Moraes Holschuh <hmh () hmh ! eng ! br>
Date:       2009-07-20 13:10:20
Message-ID: 20090720131020.GB15068 () khazad-dum ! debian ! net
[Download RAW message or body]

On Mon, 20 Jul 2009, Bruce Hill wrote:
> CONFIG_THINKPAD_ACPI_BAY=y

Disable this.  It is broken and will cause problems if it activates because
libata didn't attach to the bay before it.

> mingdao@jeremiah:~/kernel/linux-2.6.30.1$ dmesg | grep radios
> thinkpad_acpi: radio switch found; radios are enabled

That's good...

> It is not turned on when the system is booted, and Fn+F5 does nothing,
> even though the log says it is turned on. Running "xev" and pressing
> Fn+F5 gives no output.

Try to enable bluetooth using the rfkill subsystem...

> turns it on. However, I'd like for thinkpad-acpi to do so when the
> kernel boots, if possible.

thinkpad-acpi tries to keep bluetooth state stored in the NVRAM.  Whether it
works or not depends entirely on your thinkpad, *and* on the kernel's rfkill
subsystem (which may decide it prefers the radio to be disabled depending on
how it is configured), and your distro scripts.

The easiest way to always have your bluetooth on at boot if it is not just
working by itself, is to add an udev rule, HAL rule, or a initscript that
tells thinkpad-acpi to turn it on using the rfkill subsystem or some of the
other ways of asking thinkpad-acpi to control the bluetooth radio.

> Please let me know how I can help. I'll patch and build a new kernel if
> any patches show up on the list, or if you say so.

You shouldn't need patches, unless there is something wrong in rfkill
itself.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic