QA:Testcase Power Management bluetooth

Bluetooth on demand
Testcase is focused on bluetooth on demand.
 * Use this testcase if you have usb bluetooth stick, or in case yare able turn on/off bluetooth HW

Sytem Preparation

 * install bluetooth on demand test repo: rpm -ivh http://plautrba.fedorapeople.org/bluez/bluez-ondemand-release-1-2.fc11.noarch.rpm
 * install or update bluez and DeviceKit packages yum install bluez DeviceKit

How to test "Test on demand"
service bluetooth status bluetoothd (pid 22364) is running... service bluetooth status bluetoothd is stopped service bluetooth status bluetoothd is stopped
 * Enable bluetooth the bluetooth service: chkconfig bluetooth on
 * Enable on demand functionality: echo "BLUETOOTH_ONDEMAND=true" >> /etc/sysconfig/bluetooth
 * Stop the bluetooth service: service bluetooth stop
 * Now activate bluetooth by:
 * Inserting a USB bluetooth device, or
 * Toggling your laptop bluetooth switch, or
 * Right-click on the bluetooth icon and select Turn On Bluetooth
 * Confirm the bluetooth daemon has started:
 * Now deactivate bluetooth by:
 * Removing the USB bluetooth device, or
 * Toggling your laptop bluetooth switch, or
 * Right-click on the bluetooth icon and select Turn Off Bluetooth
 * Confirm that the bluetooth daemon is no longer running:
 * Disable the bluetooth service: chkconfig bluetooth off
 * Now activate bluetooth by:
 * Inserting a USB bluetooth device, or
 * Toggling your laptop bluetooth switch, or
 * Right-click on the bluetooth icon and select Turn On Bluetooth
 * Confirm that the bluetooth daemon did not start:

Test your preferred application:
service bluetooth status bluetoothd (pid 22364) is running...
 * Enable the bluetooth service: chkconfig bluetooth on
 * Enable on demand functionality: echo "BLUETOOTH_ONDEMAND=true" >> /etc/sysconfig/bluetooth
 * Now activate bluetooth by:
 * Inserting a USB bluetooth device, or
 * Toggling your laptop bluetooth switch, or
 * Right-click on the bluetooth icon and select Turn On Bluetooth
 * Confirm the bluetooth daemon has started:
 * Now run your preferred program using bluetooth and remove/switch off bluetooth and insert/switch on.

Results

 * Is application running?
 * Did any problem occur?
 * Write status and bugs into wiki

Known issues:

 * BT hw detection doesn't work with DeviceKit < 002-5
 * kbluetooth4 crash when usb BT removed bug