From Fedora Project Wiki

Line 5: Line 5:
== Sytem Preparation ==
== Sytem Preparation ==


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


== How to test "Test on demand" ==
== How to test "Test on demand" ==

Revision as of 15:20, 2 April 2009

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"

  • enable bluetooth in current runlevel
 # chkconfig --level 5 bluetooth on
  • enable on demand functionality
 # echo "BLUETOOTH_ONDEMAND=true" >> /etc/sysconfig/bluetooth
  • stop bluetooth
 # service bluetooth stop
  • insert bluetooth stick or switch bt on and check status
 # service bluetooth status
  bluetoothd (pid 22364) is running...
  • remove stick or switch bt off and check status
 # service bluetooth status
  bluetoothd is stopped
  • with chkconfig disable bluetooth in current runlevel
 # chkconfig --level 5 bluetooth off
  • insert bluetooth stick or switch bt on and check status
 # service bluetooth status
  bluetoothd is stopped

Test your preferred application:

  • enable bluetooth in current runlevel
 # chkconfig --level 5 bluetooth on
  • enable on demand functionality
 # echo "BLUETOOTH_ONDEMAND=true" >> /etc/sysconfig/bluetooth
  • insert bluetooth stick or switch bt on and check status
 # service bluetooth status
 bluetoothd (pid 22364) is running...
  • Now run your preferred program using bluetooth and remove/switch off BT 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