Hi,


   I am testing the connman0.75 in Fedora 14. unable to scan bluetoth
   devices using connman-0.75.



   Desktop Environment :

   1. Fedora14,kernel version:2.6.35
   2. Bluetooth Dongle connected



   Issue:

   Able to scan bluetooth devices using hcitool scan, sdptool search.
   However not able to scan bluetooth devices using connman0.75.



   Following are the steps followed to bringup the bluetooth in
   connman0.75.

   1. NetworkManager and Network is stopped.
   2. Started Connmand0.75 - [root@01HW087732 connman-0.75]# connmand -W
   wext -n -d 'plugins/*'
   3. Started bluetoothd 4.94
   4. plugged in bluetooth dongle.
   5. Executed test-manager script from connman-0.75 test script and
   output as follows

   [root@localhost test]# ./test-manager
   ActiveProfile
       /profile/default
   EnabledDebugs
       [ ]
   ConnectedTechnologies
       [ ethernet ]
   DefaultTechnology
       ethernet
   EnabledTechnologies
       [ ethernet bluetooth ]
   AvailableDebugs
       [ ]
   State
       online
   Services
       /profile/default/ethernet_0013727a7ae7_cable
           IPv6.Configuration = { Method=auto Privacy=disabled }
           AutoConnect = false
           Proxy.Configuration = { }
           Name = Wired
           Nameservers = [ 172.19.88.135 172.19.144.135 172.19.168.75 ]
           Provider = { }
           Favorite = true
           Domains.Configuration = [ ]
           State = online
           Proxy = { Method=direct }
           Nameservers.Configuration = [ ]
           LoginRequired = false
           IPv6 = { Method=auto Privacy=disabled }
           Domains = [ india.tcs.com ]
           Ethernet = { Interface=eth0 MTU=1500 Method=auto
   Address=00:13:72:7A:7A:E7 }
           Security = [ ]
           IPv4.Configuration = { Method=dhcp }
           Type = ethernet
           Immutable = false
           IPv4 = { Netmask=255.255.255.128 Gateway=172.19.94.129
   Method=dhcp Address=172.19.94.142 }
   Technologies
       /net/connman/technology/ethernet
           State = enabled
           Type = ethernet
           Name = Wired
           Tethering = false
       /net/connman/technology/wifi
           State = offline
           Type = wifi
           Name = WiFi
           Tethering = false
       /net/connman/technology/bluetooth
           State = enabled
           Type = bluetooth
           Name = Bluetooth
           Tethering = false
   OfflineMode
       false
   AvailableTechnologies
       [ ethernet bluetooth ]
   SessionMode
       0

   6. Scan for bluetooth devices using test-connman and the output as
   follows

   [root@localhost test]# ./test-connman scan bluetooth
   Traceback (most recent call last):
     File "./test-connman", line 175, in <module>
       manager.RequestScan(sys.argv[2])
     File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in
   __call__
       return self._proxy_method(*args, **keywords)
     File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in
   __call__
       **keywords)
     File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630,
   in call_blocking
       message, timeout)
   dbus.exceptions.DBusException: net.connman.Error.InvalidArguments:
   Invalid arguments



   7. As per the mailing list
   "[1]http://lists.connman.net/pipermail/connman/2009-January/000124.html
   ", device is created using Bluez scripts. Output is as follows

   [root@localhost test]# ./test-device create 00:24:83:5D:C5:A3
   New device (/org/bluez/14869/hci0/dev_00_24_83_5D_C5_A3)



   8. Executed step 6. However got the same error that is mentioned in
   step6.

   9. connmand output is as follows

   [root@localhost test]# connmand -W wext -n -d 'plugins/*'
   Failed to create state directory: No such file or directory
   Failed to create storage directory: No such file or directory
   Failed to create statistics directory: No such file or directory
   connmand[16260]: Connection Manager version 0.75
   connmand[16260]: Parsing /usr/local/etc/connman/main.conf failed: No
   such file or directory
   connmand[16260]: Creation of STORAGEDIR  watch failed
   connmand[16260]: Checking loopback interface settings
   connmand[16260]: System hostname is localhost.localdomain
   connmand[16260]: System domainname is india.tcs.com
   connmand[16260]: Adding default profile
   connmand[16260]: lo {newlink} index 1 operstate 0 <UNKNOWN>
   connmand[16260]: eth0 {create} index 2 type 1 <ETHER>
   connmand[16260]: eth0 {RX} 1627 packets 449831 bytes
   connmand[16260]: eth0 {TX} 498 packets 117610 bytes
   connmand[16260]: eth0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
   connmand[16260]: eth0 {newlink} index 2 address 00:13:72:7A:7A:E7 mtu
   1500
   connmand[16260]: eth0 {newlink} index 2 operstate 6 <UP>
   connmand[16260]: Create interface eth0 [ ethernet ]
   connmand[16260]: Failed to store service information
   connmand[16260]: open error No such file or directory for
   /usr/local/var/lib/connman/stats/ethernet_0013727a7ae7_cable.data
   connmand[16260]: eth0 {add} address 172.19.94.142/25 label eth0 family
   2
   connmand[16260]: eth0 {add} route 172.19.94.128 gw 0.0.0.0 scope 253
   <LINK>
   connmand[16260]: Adding DNS server 172.19.88.135
   connmand[16260]: Removing DNS server 172.19.88.135
   connmand[16260]: Adding DNS server 172.19.88.135
   connmand[16260]: Adding DNS server 172.19.144.135
   connmand[16260]: Removing DNS server 172.19.88.135
   connmand[16260]: Removing DNS server 172.19.144.135
   connmand[16260]: Adding DNS server 172.19.88.135
   connmand[16260]: Adding DNS server 172.19.144.135
   connmand[16260]: Adding DNS server 172.19.168.75
   connmand[16260]: Setting domainname to india.tcs.com
   connmand[16260]: Deleting host route failed (No such process)
   connmand[16260]: Deleting host route failed (No such process)
   connmand[16260]: Deleting host route failed (No such process)
   connmand[16260]: Enabling DNS server 172.19.88.135
   connmand[16260]: Enabling DNS server 172.19.144.135
   connmand[16260]: Enabling DNS server 172.19.168.75
   connmand[16260]: Enabling DNS server 172.19.88.135
   connmand[16260]: Enabling DNS server 172.19.144.135
   connmand[16260]: Enabling DNS server 172.19.168.75
   connmand[16260]: eth0 {add} route 172.19.94.129 gw 0.0.0.0 scope 253
   <LINK>
   connmand[16260]: eth0 {add} route 172.19.88.135 gw 172.19.94.129 scope
   0 <UNIVERSE>
   connmand[16260]: eth0 {add} route 172.19.144.135 gw 172.19.94.129 scope
   0 <UNIVERSE>
   connmand[16260]: eth0 {add} route 172.19.168.75 gw 172.19.94.129 scope
   0 <UNIVERSE>
   connmand[16260]: eth0 {add} route 0.0.0.0 gw 172.19.94.129 scope 0
   <UNIVERSE>

   after removing the Bluetooth Dongle:
   connmand[16260]: Failed to store information

   after terminating manually :
   ^Cconnmand[16260]: Terminating
   connmand[16260]: Removing DNS server 172.19.88.135
   connmand[16260]: Removing DNS server 172.19.144.135
   connmand[16260]: Removing DNS server 172.19.168.75
   connmand[16260]: Adding DNS server 172.19.144.135
   connmand[16260]: Failed to store service information
   connmand[16260]: Removing DNS server 172.19.144.135
   connmand[16260]: Deleting host route failed (No such process)
   connmand[16260]: Removing default gateway route failed (No such
   process)
   connmand[16260]: connman_inet_clear_address: Invalid argument
   connmand[16260]: Failed to store service information
   connmand[16260]: Failed to store information
   connmand[16260]: Failed to store information
   connmand[16260]: Remove interface eth0 [ ethernet ]
   connmand[16260]: eth0 {remove} index 2
   connmand[16260]: Exit



   Kindly let me know the steps to be followed to scan the bluetooth
   devices from connman0.75.



   Thanks and Regards,
   Sree Gowri

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

References

   1. http://lists.connman.net/pipermail/connman/2009-January/000124.html
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to