[ltp] Thinkpad T60 2007-CTO bluetooth not working

Josh linux-thinkpad@linux-thinkpad.org
Fri, 01 Aug 2008 17:59:58 -0500


Henrique de Moraes Holschuh wrote:
>
>
> I'd say the ThinkPad BIOS is reporting that the device is permanentely
> disabled or not installed as far as thinkpad-acpi knows, but I need data to
> know for sure what is happening.
>
> Load thinkpad-acpi with the debug=0xffff option, and send me the kernel logs
> it will produce.
>
>   

Hopefully I did this right. First I tried booting with the hardware 
switch set to the off position. No change. It booted fine, I switched it 
to on and wlan came up but still no /proc/acpi/ibm/bluetooth file was 
created.


Then I did the following:

root@joshm-laptop:~# rmmod thinkpad-acpi
root@joshm-laptop:~# lsmod | grep thinkpad-acpi
root@joshm-laptop:~# modprobe thinkpad-acpi debug=0xffff

Then in /var/log/kern.log I found the following:


Aug  1 17:39:37 joshm-laptop kernel: [  528.383380] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle \_SB.PCI0.LPC.EC for ec
Aug  1 17:39:37 joshm-laptop kernel: [  528.383590] thinkpad_acpi: 
ibm_init: probing for driver
Aug  1 17:39:37 joshm-laptop kernel: [  528.383594] thinkpad_acpi: 
ThinkPad ACPI Extras v0.17
Aug  1 17:39:37 joshm-laptop kernel: [  528.383597] thinkpad_acpi: 
http://ibm-acpi.sf.net/
Aug  1 17:39:37 joshm-laptop kernel: [  528.383600] thinkpad_acpi: 
ThinkPad BIOS 79ETD7WW (2.17 ), EC 79HT50WW-1.07
Aug  1 17:39:37 joshm-laptop kernel: [  528.383603] thinkpad_acpi: 
Lenovo ThinkPad T60
Aug  1 17:39:37 joshm-laptop kernel: [  528.383606] thinkpad_acpi: 
ibm_init: driver installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.383610] thinkpad_acpi: 
ibm_init: probing for hotkey
Aug  1 17:39:37 joshm-laptop kernel: [  528.383620] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle HKEY for hkey
Aug  1 17:39:37 joshm-laptop kernel: [  528.386022] thinkpad_acpi: radio 
switch found; radios are enabled
Aug  1 17:39:37 joshm-laptop kernel: [  528.386046] thinkpad_acpi: 
hotkey_init: using Lenovo default hot key map
Aug  1 17:39:37 joshm-laptop kernel: [  528.386052] thinkpad_acpi: 
hotkey_init: enabling hot key handling
Aug  1 17:39:37 joshm-laptop kernel: [  528.390265] thinkpad_acpi: 
hotkey_init: legacy hot key reporting over procfs enabled
Aug  1 17:39:37 joshm-laptop kernel: [  528.390270] thinkpad_acpi: 
register_tpacpi_subdriver: registering hotkey as an ACPI driver
Aug  1 17:39:37 joshm-laptop kernel: [  528.390366] thinkpad_acpi: 
ibm_init: hotkey installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.390372] thinkpad_acpi: 
ibm_init: probing for bluetooth
Aug  1 17:39:37 joshm-laptop kernel: [  528.390383] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle HKEY for hkey
Aug  1 17:39:37 joshm-laptop kernel: [  528.390490] thinkpad_acpi: 
bluetooth_init: bluetooth hardware not installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.390498] thinkpad_acpi: 
ibm_init: probing for video
Aug  1 17:39:37 joshm-laptop kernel: [  528.390511] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle \_SB.PCI0.VID for vid
Aug  1 17:39:37 joshm-laptop kernel: [  528.390522] thinkpad_acpi: 
ibm_init: video installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.390527] thinkpad_acpi: 
ibm_init: probing for light
Aug  1 17:39:37 joshm-laptop kernel: [  528.390538] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle \UCMS for cmos
Aug  1 17:39:37 joshm-laptop kernel: [  528.390702] thinkpad_acpi: 
ibm_init: light installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.390707] thinkpad_acpi: 
ibm_init: probing for bay
Aug  1 17:39:37 joshm-laptop kernel: [  528.390718] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle \_SB.PCI0.SATA.SCND.MSTR for bay
Aug  1 17:39:37 joshm-laptop kernel: [  528.390724] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle _EJ0 for bay_ej
Aug  1 17:39:37 joshm-laptop kernel: [  528.391086] thinkpad_acpi: 
another device driver is already handling bay events
Aug  1 17:39:37 joshm-laptop kernel: [  528.391090] thinkpad_acpi: 
disabling subdriver bay
Aug  1 17:39:37 joshm-laptop kernel: [  528.391095] thinkpad_acpi: 
ibm_init: bay: at error exit path with result 0
Aug  1 17:39:37 joshm-laptop kernel: [  528.391100] thinkpad_acpi: 
ibm_exit: removing bay
Aug  1 17:39:37 joshm-laptop kernel: [  528.391105] thinkpad_acpi: 
ibm_exit: finished removing bay
Aug  1 17:39:37 joshm-laptop kernel: [  528.391110] thinkpad_acpi: 
ibm_init: probing for cmos
Aug  1 17:39:37 joshm-laptop kernel: [  528.391116] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle \UCMS for cmos
Aug  1 17:39:37 joshm-laptop kernel: [  528.391125] thinkpad_acpi: 
ibm_init: cmos installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.391130] thinkpad_acpi: 
ibm_init: probing for led
Aug  1 17:39:37 joshm-laptop kernel: [  528.391140] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle LED for led
Aug  1 17:39:37 joshm-laptop kernel: [  528.391144] thinkpad_acpi: 
ibm_init: led installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.391149] thinkpad_acpi: 
ibm_init: probing for beep
Aug  1 17:39:37 joshm-laptop kernel: [  528.391155] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle BEEP for beep
Aug  1 17:39:37 joshm-laptop kernel: [  528.391160] thinkpad_acpi: 
ibm_init: beep installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.391165] thinkpad_acpi: 
ibm_init: probing for thermal
Aug  1 17:39:37 joshm-laptop kernel: [  528.393301] thinkpad_acpi: 
ibm_init: thermal installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.393308] thinkpad_acpi: 
ibm_init: probing for brightness
Aug  1 17:39:37 joshm-laptop kernel: [  528.393322] thinkpad_acpi: 
standard ACPI backlight interface available, not loading native one...
Aug  1 17:39:37 joshm-laptop kernel: [  528.393329] thinkpad_acpi: 
ibm_init: probing for volume
Aug  1 17:39:37 joshm-laptop kernel: [  528.393333] thinkpad_acpi: 
ibm_init: volume installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.393338] thinkpad_acpi: 
ibm_init: probing for fan
Aug  1 17:39:37 joshm-laptop kernel: [  528.393467] thinkpad_acpi: 
fan_init: fan control features disabled by parameter
Aug  1 17:39:37 joshm-laptop kernel: [  528.393591] thinkpad_acpi: 
ibm_init: fan installed
Aug  1 17:39:37 joshm-laptop kernel: [  528.393685] input: ThinkPad 
Extra Buttons as /devices/virtual/input/input12

I noticed these lines:
Aug  1 17:39:37 joshm-laptop kernel: [  528.390372] thinkpad_acpi: 
ibm_init: probing for bluetooth
Aug  1 17:39:37 joshm-laptop kernel: [  528.390383] thinkpad_acpi: 
drv_acpi_handle_init: Found ACPI handle HKEY for hkey
Aug  1 17:39:37 joshm-laptop kernel: [  528.390490] thinkpad_acpi: 
bluetooth_init: bluetooth hardware not installed


>> I am the administrator at a school with a laptop program so I have lots  
>> of spare machines to test with. I tossed my HDD in another laptop that  
>> bluetooth was working in windows in and it doesn't work on my linux  
>> drive. If I toss a windows HDD in my laptop bluetooth works. So it isn't  
>> dead hardware.
>>     
>
> Good. It is software. Let's track it down. Just in case, and in order not to
> waste much time chasing ghosts, please do a clean recompile/reinstall of
> your kernel and boot loader, and make sure you don't have older/broken
> kernels and copies of thinkpad-acpi lying around anywhere in your disk.
>
>   
I'll have to get back to you on the kernel and whatnot. It's been years 
since I've compiled my own kernel. Fedora->SuSE-> Ubuntu have ruined me 
since my old slackware days ;) I probably haven't built a kernel since 
slackware 8.0

That and it's late on Friday and my 2 year old is running wild. If I 
spend all evening on the computer my wife will be cooking me for dinner 
tonight ;-)



>> I'm beginning to think it is a bug with either Hardy, or the  
>> thinkpad_acpi module. I've ran into a few posts around the net from  
>> people who seem to have the same issues but no resolution.
>>     
>
> First things first.  If the other mentions of the issue you found were also
> from Ubuntu users, open a bug about it in Ubuntu Launchpad, and send me the
> LP# (bug ID or URL to the bug page).
>
>   

Now that I think about it before I go pestering more developers I would 
like to try installing on a fresh HDD incase who knows what went wonky 
with my install. Granted mine was a clean install from good media, but 
I've seen stranger things happen.
>> If I'm wrong and the 2007-CTO model is not supported/doesn't work I may  
>> be able to setup SSH access for a developer to one if they would like to  
>> work on it remotely. I've got extras sitting around so I could set it  
>> aside for awhile with the  distro of choice of the developer.
>>     
>
> I am the kernel maintainer for thinkpad-acpi.  Thanks for the offer, I might
> have to take you up on it if it is indeed a bug in thinkpad-acpi, in order
> to test the fix.  But for now, the debug output of thinkpad-acpi would be a
> good starting point...
>
>   

Well first off I'de like to thank you for your work. If it is needed I 
can provide you with SSH access to a 2007-CTO for quite some time. We 
have "loaners" for when the kids break theirs and I just swap HDD and 
send them on their way while I repair theirs. The kids do not come back 
until late august and I have a good many loaners available. One missing 
for awhile wouldn't be any problem.