On Fri, Sep 03, 2010 at 05:06:09PM +0800, Ike Panhc wrote: > I look at the DSDT again and again but unfortunately can not find anything > may cause the bluetooth device initial failed. BTEN looks like the switch > for EC to turn on/off bluetooth, BTST records the status of BTEN and BTPS > means bluetooth present. But no idea why initial failed after BTEN=1 Is there some way to trace ACPI calls under Windows (XP Home)? I could then have a look at what happens when I Fn-F5 BT off. > So I fall back to your suggestion. Have a module parameter to tell module > not to register rfkill for bluetooth. > I prepare the driver and please spend some time testing. Driver is at > http://kernel.ubuntu.com/git?p=ikepanhc/ideapad-laptop.git;a=blob;f=drivers/platform/x86/ideapad-laptop.c;h=c4cf46a363f3f72d6db5339ec326d282d7e58183;hb=26a58948693b7d25960299a8025e569e68f28937 > and you may use "insmod ideapad-laptop.ko no_bt_rfkill=1" for your S12. Hmmm, with this version and no_bt_rfkill=1 I run into the same problem as without the ideapad module: If I switch BT off in Windows and reboot to Linux, the device remains invisible and I have no chance to switch it back on again :/ I guess this is because the initial device activation does currently only happen in ideapad_register_rfkill() via rfkill_init_sw_state() which is not called if no_bt_rfkill=1. A manual call to ideapad_rfk_set() (or ideapad_sync_rfk_state()?) in the no_bt_rfkill=1 case would very likely solve this, but I don't know how to provide this call with the correct arguments. regards Mario -- ... aber nur deshalb blueht Autoritaet, weil die meisten Menschen Feiglinge und manche Menschen Diebe sind. -- Robert A. Wilson
Attachment:
signature.asc
Description: Digital signature