Bug 321

Summary: Bluetooth service fail after wake-up
Product: [ROSA-based products] ROSA Fresh Reporter: Vladimir Potapov <v.potapov>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: RESOLVED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal CC: alex.burmashev, alexander.kazantsev
Version: MarathonFlags: v.potapov: qa_verified+
alex.burmashev: published+
Target Milestone: 2012 Marathon RP1   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:
Attachments: filegogo

Description Vladimir Potapov 2012-06-02 10:24:17 MSK
Description of problem:
bluetooth service don`t work after standby|wake up on my asus 1201 .


Steps to Reproduce:
1. Set up to internet by bluetooth by GPRS-mobile phone
2. Close-open cover of my netbook (standby-weak up)
3.  Connect is not restored. Bluetooth icons disappeared from system tray

If I restart the service, everything is fine.
Comment 1 Alexander Burmashev 2012-08-03 16:06:51 MSK
Created attachment 447 [details]
filegogo
Comment 2 Alexander Burmashev 2012-08-03 16:08:15 MSK
1) What service do you restart ?

2) Place please previously attached file to /usr/lib64/pm-utils/sleep.d  or /usr/lib/pm-utils/sleep.d ( on 32 bit system )

run chmod +x on the file so it is executable


3)test bluetooth
Comment 3 Vladimir Potapov 2012-08-03 17:19:17 MSK
1) Bluetooth service from GUI - restart (stop and start)
Comment 4 Vladimir Potapov 2012-08-03 17:27:22 MSK
3) :-(  Connect is not restored. Bluetooth icons disappeared from system tray and dolphin

I found a solution
http://forum.rosalab.ru/viewtopic.php?f=3&t=1002
Comment 5 Vladimir Potapov 2012-08-04 06:16:32 MSK
fix: add service bluetooth restart
/usr/lib/pm-ultis/sleep.d/49bluetooth

resume_bluetooth()
{

        state_exists ibm_bluetooth || return
        restorestate ibm_bluetooth > /proc/acpi/ibm/bluetooth
        service bluetooth restart
}
Comment 6 Vladimir Potapov 2012-08-06 15:49:38 MSK
https://bugzilla.redhat.com/show_bug.cgi?id=727106
Comment 7 Vladimir Potapov 2012-08-06 15:53:18 MSK
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/824144
"bluez 4.96-0ubuntu4 in oneiric-updates should contains the fix. If it's confirmed to fix the eeepc too, we can close the bug too."
Comment 8 Alexander Burmashev 2012-08-16 18:59:12 MSK
Advisory:
bluez was rebuilt with some external patches to ensure that bluetooth works after suspend/wakeup
buildlists:
https://abf.rosalinux.ru/build_lists/658296
https://abf.rosalinux.ru/build_lists/658295
Comment 9 Vladimir Potapov 2012-08-17 16:01:00 MSK
http://bugs.rosalinux.ru/show_bug.cgi?id=321
Comment 10 Vladimir Potapov 2012-08-21 08:03:10 MSK
bluez-4.93-3-rosa.lts2012.0
************ Advisory *******************
bluez was rebuilt with some external patches to ensure that bluetooth works after suspend/wakeup
******************************************
QA Verified