Bug 13879

Summary: Bluetooth stops working after s3 suspend/resume
Product: Drivers Reporter: pi3mm3
Component: BluetoothAssignee: drivers_bluetooth (drivers_bluetooth)
Status: RESOLVED CODE_FIX    
Severity: normal CC: acpi_platform-drivers, johannes, rui.zhang
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.30-gentoo-r1 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output
lsusb -v
lspci -v
config-2.6.30-gentoo-r1

Description pi3mm3 2009-07-30 15:30:30 UTC
Created attachment 22540 [details]
dmesg output

Distribution: Gentoo 2008.0 64bit
Hardware Environment: notebook Toshiba Portege M750
Software Environment: desktop with gnome-2.24.3, udev-141 and dbus-1.2.3
Problem Description: After an S3 cycle the hci0 device disappears.

The only way I found to wake it up is:
1) patch drivers/platform/x86/toshiba_acpi.c module with the Experimental Toshiba Acpi Driver (http://memebeam.org/free-software/toshiba_acpi/toshiba_acpi-dev_toshiba_test5-linux_2.6.29.patch)
2) run as root "toshset -bluetooth on" (http://schwieters.org/toshset/).
Comment 1 pi3mm3 2009-07-30 15:31:56 UTC
Created attachment 22541 [details]
lsusb -v
Comment 2 pi3mm3 2009-07-30 15:32:39 UTC
Created attachment 22542 [details]
lspci -v
Comment 3 pi3mm3 2009-07-30 16:21:46 UTC
Created attachment 22543 [details]
config-2.6.30-gentoo-r1
Comment 4 Andrew Morton 2009-07-30 21:27:38 UTC
(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

(added lots of cc's)

On Thu, 30 Jul 2009 15:30:31 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=13879
> 
>            Summary: Bluetooth stops working after s3 suspend/resume
>            Product: Drivers
>            Version: 2.5
>     Kernel Version: 2.6.30-gentoo-r1
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Bluetooth
>         AssignedTo: drivers_bluetooth@kernel-bugs.osdl.org
>         ReportedBy: pi3mm3@gmail.com
>                 CC: acpi_platform-drivers@kernel-bugs.osdl.org
>         Regression: No
> 
> 
> Created an attachment (id=22540)
>  --> (http://bugzilla.kernel.org/attachment.cgi?id=22540)
> dmesg output
> 
> Distribution: Gentoo 2008.0 64bit
> Hardware Environment: notebook Toshiba Portege M750
> Software Environment: desktop with gnome-2.24.3, udev-141 and dbus-1.2.3
> Problem Description: After an S3 cycle the hci0 device disappears.
> 
> The only way I found to wake it up is:
> 1) patch drivers/platform/x86/toshiba_acpi.c module with the Experimental
> Toshiba Acpi Driver
>
> (http://memebeam.org/free-software/toshiba_acpi/toshiba_acpi-dev_toshiba_test5-linux_2.6.29.patch)
> 2) run as root "toshset -bluetooth on" (http://schwieters.org/toshset/).
> 

hm, what's all that stuff in
http://memebeam.org/free-software/toshiba_acpi/ and who wrote it and
should we be merging it into mainline?
Comment 5 Anonymous Emailer 2009-07-30 22:24:46 UTC
Reply-To: mjg59@srcf.ucam.org

On Thu, Jul 30, 2009 at 02:27:33PM -0700, Andrew Morton wrote:

> hm, what's all that stuff in
> http://memebeam.org/free-software/toshiba_acpi/ and who wrote it and
> should we be merging it into mainline?

Still waiting for someone to just do the right thing and add rfkill 
support to the Toshiba driver. I'm actually considering a complete 
rewrite - the existing code's grown kind of organically, and support for 
modern kernel features has been rather bolted onto the side.
Comment 6 pi3mm3 2009-09-14 17:49:44 UTC
I just installed the new kernel 2.6.31 and now bluetooth device doesn't disappear anymore.

Thanks!
Great job!