Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2011-06-18 10:51:35

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Bluetooth w Wheezy nie działa

W Squeeze działa pięknie w Wheezy (oraz ubuntu 11.04 ) nie.

Kod:

pkill bluetoothd
bluetoothd -n -d...
....

Kod:

root@debian:/home/ilin# hciconfig -a
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:03:C9:80:80:16  ACL MTU: 377:10  SCO MTU: 16:0
        UP RUNNING PSCAN ISCAN 
        RX bytes:5015 acl:57 sco:0 events:102 errors:0
        TX bytes:2010 acl:50 sco:0 commands:77 errors:0
        Features: 0xff 0xfe 0x0d 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: 
        Link mode: SLAVE ACCEPT 
        Name: 'debian-0'
        Class: 0x4a0100
        Service Classes: Networking, Capturing, Telephony
        Device Class: Computer, Uncategorized
        HCI Version: 1.2 (0x2)  Revision: 0x0
        LMP Version: 1.2 (0x2)  Subversion: 0x309
        Manufacturer: Broadcom Corporation (15)

root@debian:/home/ilin# hciconfig hci0 up
root@debian:/home/ilin# hcitool scan
Scanning ...
        E4:EC:10:EE:9A:01       Nokia 7230
root@debian:/home/ilin# hciconfig hci0 piscan
root@debian:/home/ilin# obexftp -b E4:EC:10:EE:9A:01 -l
Browsing E4:EC:10:EE:9A:01 ...
Connecting...failed: connect
Tried to connect for 3000ms
Interupted/bad reception or the device moved out of range: Operation now in progress
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Device or resource busy
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Device or resource busy
Still trying to connect

Jak sprawdzić co go blokuje?

Żadne graficzne programy też nie dają pozytywnych wyników.
Sparować telefon można ale przeglądać go czy przesłać coś już nie.


Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#2  2011-06-18 11:06:39

  NIC - Członek DUG

NIC
Członek DUG
Skąd: Wrocław
Zarejestrowany: 2006-12-25
Serwis

Re: Bluetooth w Wheezy nie działa

No fajnie, ale wyciąłeś ważne logi... (bluetoothd -d -n) (najpierw -d, poźniej -n)
Po uruchomieniu bluetoothd odpal jeszcze przechwytywanie logów: hcidump -tVX (lub hcidump 2.0: hcidump -tX)

Widać że skanowanie działa. A wykrywanie usług? W graficznych programach można zobaczyć usługi? Lub z konsoli:

Kod:

BD_ADDR=E4:EC:10:EE:9A:01 sdptool records $BD_ADDR

Moje podejrzenie: urządzenia jednak nie są sparowane (usługi można przeglądać jeśli są sparowane urządzenia)

To na pewno odparuje je. (czasem trzeba jeśli zostały błędnie uznane za sparowane)

Kod:

export BD_PATH=$(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.FindAdapter string:hci0 | sed -ne 's/^.*object path //p' | sed -e 's/"//g')
dbus-send   --system --print-reply --dest=org.bluez ${BD_PATH} org.bluez.Adapter.GetProperties
dbus-send --system --type=method_call --print-reply --dest=org.bluez "/org/bluez/23603/hci0" org.bluez.Adapter.RemoveDevice objpath:${BD_PATH}/dev_E4_EC_10_EE_9A_01

A parować najlepiej

Kod:

./simple-agent hci0 E4:EC:10:EE:9A:01

Stronka-dom: http://titek.victorygames.pl
Jabber: nic@jabster.pl
Hobby: kompilowanie Linuksa, Bluetooth
Dystrybucja: żadna, bliski krewny LFS, składak

Offline

 

#3  2011-06-18 11:28:37

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Bluetooth w Wheezy nie działa

To masz obszerniejszą dokumentację :)

Kod:

root@debian:/home/ilin# pkill bluetoothd
root@debian:/home/ilin# bluetoothd -n -d
bluetoothd[2423]: Bluetooth deamon 4.91
bluetoothd[2423]: src/main.c:parse_config() parsing main.conf
bluetoothd[2423]: src/main.c:parse_config() discovto=0
bluetoothd[2423]: src/main.c:parse_config() pairto=0
bluetoothd[2423]: src/main.c:parse_config() pageto=8192
bluetoothd[2423]: src/main.c:parse_config() name=%h-%d
bluetoothd[2423]: src/main.c:parse_config() class=0x000100
bluetoothd[2423]: src/main.c:parse_config() discov_interval=0
bluetoothd[2423]: src/main.c:parse_config() Key file does not have key 'DeviceID'
bluetoothd[2423]: Starting SDP server
bluetoothd[2423]: src/plugin.c:plugin_init() Loading builtin plugins
bluetoothd[2423]: src/plugin.c:add_plugin() Loading pnat plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading audio plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading input plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading serial plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading network plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading service plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading attrib plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading health plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading hciops plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading mgmtops plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading formfactor plugin
bluetoothd[2423]: src/plugin.c:add_plugin() Loading storage plugin
bluetoothd[2423]: src/plugin.c:plugin_init() Loading plugins /usr/lib/bluetooth/plugins
bluetoothd[2423]: plugins/service.c:register_interface() path /org/bluez/2423/any
bluetoothd[2423]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/2423/any
bluetoothd[2423]: health/hdp.c:hdp_manager_start() Starting Health manager
bluetoothd[2423]: network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'DisableSecurity'
bluetoothd[2423]: network/manager.c:read_config() Config options: Security=true
bluetoothd[2423]: input/manager.c:input_manager_init() input.conf: Key file does not have key 'IdleTimeout'
bluetoothd[2423]: audio/manager.c:audio_manager_init() audio.conf: Key file does not have key 'AutoConnect'
bluetoothd[2423]: audio/unix.c:unix_init() Unix socket created: 8
bluetoothd[2423]: plugins/pnat.c:pnat_init() Setup Phonet AT (DUN) plugin
bluetoothd[2423]: plugins/hciops.c:hciops_init() 
bluetoothd[2423]: plugins/hciops.c:hciops_setup() 
bluetoothd[2423]: src/main.c:main() Entering main loop
bluetoothd[2423]: src/rfkill.c:rfkill_event() RFKILL event idx 0 type 1 op 0 soft 0 hard 0
bluetoothd[2423]: src/rfkill.c:rfkill_event() RFKILL event idx 1 type 2 op 0 soft 0 hard 0
bluetoothd[2423]: plugins/hciops.c:init_known_adapters() 
bluetoothd[2423]: plugins/hciops.c:init_device() hci0
bluetoothd[2423]: Listening for HCI events on hci0
bluetoothd[2423]: plugins/hciops.c:init_device() child 2424 forked
bluetoothd[2423]: plugins/hciops.c:read_local_features_complete() Got features for hci0
bluetoothd[2423]: plugins/hciops.c:read_local_version_complete() Got version for hci0
bluetoothd[2423]: plugins/hciops.c:read_bd_addr_complete() hci0 status 0
bluetoothd[2423]: plugins/hciops.c:read_bd_addr_complete() Got bdaddr for hci0
bluetoothd[2423]: plugins/hciops.c:read_local_name_complete() hci0 status 0
bluetoothd[2423]: plugins/hciops.c:read_local_name_complete() Got name for hci0
bluetoothd[2423]: HCI dev 0 up
bluetoothd[2423]: plugins/hciops.c:device_devup_setup() hci0
bluetoothd[2423]: src/adapter.c:btd_adapter_ref() 0x7fdd29776690: ref=1
bluetoothd[2423]: plugins/hciops.c:hciops_read_bdaddr() hci0
bluetoothd[2423]: plugins/hciops.c:hciops_read_local_version() hci0
bluetoothd[2423]: plugins/hciops.c:hciops_read_local_features() hci0
bluetoothd[2423]: src/sdpd-database.c:sdp_init_services_list() 
bluetoothd[2423]: plugins/hciops.c:hciops_add_uuid() hci0
bluetoothd[2423]: plugins/hciops.c:update_service_classes() hci0 value 0
bluetoothd[2423]: plugins/hciops.c:hciops_add_uuid() hci0
bluetoothd[2423]: plugins/hciops.c:update_service_classes() hci0 value 0
bluetoothd[2423]: plugins/service.c:register_interface() path /org/bluez/2423/hci0
bluetoothd[2423]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/2423/hci0
bluetoothd[2423]: src/adapter.c:btd_adapter_ref() 0x7fdd29776690: ref=2
bluetoothd[2423]: network/manager.c:network_server_probe() path /org/bluez/2423/hci0
bluetoothd[2423]: src/adapter.c:btd_adapter_ref() 0x7fdd29776690: ref=3
bluetoothd[2423]: network/server.c:server_register() Registered interface org.bluez.NetworkServer on path /org/bluez/2423/hci0
bluetoothd[2423]: serial/manager.c:proxy_probe() path /org/bluez/2423/hci0
bluetoothd[2423]: src/adapter.c:btd_adapter_ref() 0x7fdd29776690: ref=4
bluetoothd[2423]: serial/proxy.c:proxy_register() Registered interface org.bluez.SerialProxyManager on path /org/bluez/2423/hci0
bluetoothd[2423]: src/adapter.c:btd_adapter_ref() 0x7fdd29776690: ref=5
bluetoothd[2423]: audio/manager.c:headset_server_probe() path /org/bluez/2423/hci0
bluetoothd[2423]: src/adapter.c:btd_adapter_ref() 0x7fdd29776690: ref=6
bluetoothd[2423]: audio/manager.c:audio_adapter_ref() 0x7fdd29776c70: ref=1
bluetoothd[2423]: audio/manager.c:headset_server_init() audio.conf: Key file does not have key 'Master'
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10000
bluetoothd[2423]: plugins/hciops.c:hciops_add_uuid() hci0
bluetoothd[2423]: plugins/hciops.c:update_service_classes() hci0 value 0
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000003-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001108-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001112-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001203-0000-1000-8000-00805f9
bluetoothd[2423]: audio/headset.c:headset_config_init() audio.conf: Key file does not have key 'SCORouting'
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10001
bluetoothd[2423]: plugins/hciops.c:hciops_add_uuid() hci0
bluetoothd[2423]: plugins/hciops.c:update_service_classes() hci0 value 64
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000003-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000111e-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000111f-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001203-0000-1000-8000-00805f9
bluetoothd[2423]: audio/manager.c:state_changed() /org/bluez/2423/hci0 powered on
bluetoothd[2423]: audio/telephony.c:telephony_init() 
bluetoothd[2423]: audio/headset.c:telephony_ready_ind() Telephony plugin initialized
bluetoothd[2423]: audio/headset.c:print_ag_features() HFP AG features: "Ability to reject a call" "Enhanced call status" "Extended Error Result Codes" 
bluetoothd[2423]: audio/manager.c:a2dp_server_probe() path /org/bluez/2423/hci0
bluetoothd[2423]: audio/manager.c:audio_adapter_ref() 0x7fdd29776c70: ref=2
bluetoothd[2423]: audio/a2dp.c:a2dp_register() audio.conf: Key file does not have key 'Enable'
bluetoothd[2423]: audio/a2dp.c:a2dp_register() audio.conf: Key file does not have key 'Disable'
bluetoothd[2423]: audio/a2dp.c:a2dp_register() audio.conf: Key file does not have group 'A2DP'
bluetoothd[2423]: audio/a2dp.c:a2dp_register() audio.conf: Key file does not have group 'A2DP'
bluetoothd[2423]: audio/a2dp.c:a2dp_register() audio.conf: Key file does not have group 'A2DP'
bluetoothd[2423]: audio/a2dp.c:a2dp_register() audio.conf: Key file does not have group 'A2DP'
bluetoothd[2423]: audio/avdtp.c:avdtp_init() audio.conf: Key file does not have key 'Master'
bluetoothd[2423]: audio/avdtp.c:avdtp_register_sep() SEP 0x7fdd29778810 registered: type:0 codec:0 seid:1
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10002
bluetoothd[2423]: plugins/hciops.c:hciops_add_uuid() hci0
bluetoothd[2423]: plugins/hciops.c:update_service_classes() hci0 value 72
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000019-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110a-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110d-0000-1000-8000-00805f9
bluetoothd[2423]: audio/manager.c:avrcp_server_probe() path /org/bluez/2423/hci0
bluetoothd[2423]: audio/manager.c:audio_adapter_ref() 0x7fdd29776c70: ref=3
bluetoothd[2423]: audio/control.c:avrcp_register() audio.conf: Key file does not have key 'Master'
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10003
bluetoothd[2423]: plugins/hciops.c:hciops_add_uuid() hci0
bluetoothd[2423]: plugins/hciops.c:update_service_classes() hci0 value 72
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000017-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110c-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110e-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10004
bluetoothd[2423]: plugins/hciops.c:hciops_add_uuid() hci0
bluetoothd[2423]: plugins/hciops.c:update_service_classes() hci0 value 72
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000017-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110e-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10005
bluetoothd[2423]: plugins/hciops.c:hciops_add_uuid() hci0
bluetoothd[2423]: plugins/hciops.c:update_service_classes() hci0 value 74
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000003-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001103-0000-1000-8000-00805f9
bluetoothd[2423]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001201-0000-1000-8000-00805f9
bluetoothd[2423]: plugins/formfactor.c:formfactor_probe() Setting 0x000100 for major/minor device class
bluetoothd[2423]: plugins/hciops.c:hciops_set_dev_class() hci0 major 1 minor 0
bluetoothd[2423]: plugins/hciops.c:hciops_unblock_device() hci0 dba 00:00:00:00:00:00
bluetoothd[2423]: src/device.c:device_create() Creating device /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01
bluetoothd[2423]: src/device.c:btd_device_ref() 0x7fdd2977c500: ref=1
bluetoothd[2423]: src/device.c:device_set_temporary() temporary 0
bluetoothd[2423]: src/device.c:device_probe_drivers() Probing drivers for E4:EC:10:EE:9A:01
bluetoothd[2423]: network/manager.c:network_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01
bluetoothd[2423]: src/device.c:btd_device_ref() 0x7fdd2977c500: ref=2
bluetoothd[2423]: network/connection.c:create_peer() Registered interface org.bluez.Network on path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 00000002-0000-1000-8000-0002ee000002
bluetoothd[2423]: serial/port.c:create_serial_device() Registered interface org.bluez.Serial on path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 00001101-0000-1000-8000-00805f9b34fb
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 00001103-0000-1000-8000-00805f9b34fb
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 00001105-0000-1000-8000-00805f9b34fb
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 00001106-0000-1000-8000-00805f9b34fb
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 00001112-0000-1000-8000-00805f9b34fb
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 0000111f-0000-1000-8000-00805f9b34fb
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 0000112d-0000-1000-8000-00805f9b34fb
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 0000112f-0000-1000-8000-00805f9b34fb
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 00005002-0000-1000-8000-0002ee000001
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 00005557-0000-1000-8000-0002ee000001
bluetoothd[2423]: serial/manager.c:serial_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01: 00005601-0000-1000-8000-0002ee000001
bluetoothd[2423]: input/manager.c:headset_probe() path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01
bluetoothd[2423]: input-headset driver probe failed for device E4:EC:10:EE:9A:01
bluetoothd[2423]: src/adapter.c:adapter_get_device() E4:EC:10:EE:9A:01
bluetoothd[2423]: src/device.c:btd_device_ref() 0x7fdd2977c500: ref=3
bluetoothd[2423]: audio/device.c:audio_device_register() Registered interface org.bluez.Audio on path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01
bluetoothd[2423]: audio/manager.c:handle_uuid() server not enabled for 00001112-0000-1000-8000-00805f9b34fb (0x1112)
bluetoothd[2423]: audio/manager.c:handle_uuid() server not enabled for 0000111f-0000-1000-8000-00805f9b34fb (0x111f)
bluetoothd[2423]: audio/manager.c:handle_uuid() server not enabled for 0000110a-0000-1000-8000-00805f9b34fb (0x110a)
bluetoothd[2423]: audio/manager.c:handle_uuid() Found AV Target
bluetoothd[2423]: audio/control.c:control_init() Registered interface org.bluez.Control on path /org/bluez/2423/hci0/dev_E4_EC_10_EE_9A_01
bluetoothd[2423]: audio/manager.c:handle_uuid() Found AV Remote
bluetoothd[2423]: plugins/hciops.c:hciops_load_keys() hci0 keys 1 debug_keys 0
bluetoothd[2423]: plugins/hciops.c:hciops_get_conn_list() hci0
bluetoothd[2423]: src/manager.c:btd_manager_register_adapter() Adapter /org/bluez/2423/hci0 registered
bluetoothd[2423]: src/adapter.c:btd_adapter_ref() 0x7fdd29776690: ref=7
bluetoothd[2423]: plugins/hciops.c:hciops_set_name() hci0, name debian-0
bluetoothd[2423]: plugins/hciops.c:update_ext_inquiry_response() hci0
bluetoothd[2423]: plugins/hciops.c:hciops_set_dev_class() hci0 major 1 minor 0
bluetoothd[2423]: audio/manager.c:state_changed() /org/bluez/2423/hci0 powered on
bluetoothd[2423]: plugins/hciops.c:hciops_disable_cod_cache() hci0 cache_enable 1
bluetoothd[2423]: plugins/hciops.c:hciops_disable_cod_cache() hci0 current_cod 0x000000 wanted_cod 0x4a0100
bluetoothd[2423]: plugins/hciops.c:write_class() hci0 class 0x4a0100
bluetoothd[2423]: Adapter /org/bluez/2423/hci0 has been enabled
bluetoothd[2423]: plugins/hciops.c:hciops_set_discoverable() hci0 discoverable 1
bluetoothd[2423]: plugins/hciops.c:hciops_set_pairable() hci0 pairable 1
bluetoothd[2423]: src/adapter.c:btd_adapter_unref() 0x7fdd29776690: ref=6
bluetoothd[2423]: plugins/hciops.c:child_exit() child 2424 exited
bluetoothd[2423]: plugins/hciops.c:update_ext_inquiry_response() hci0
bluetoothd[2423]: plugins/hciops.c:read_local_name_complete() hci0 status 0
bluetoothd[2423]: plugins/hciops.c:update_ext_inquiry_response() hci0
bluetoothd[2423]: plugins/hciops.c:read_scan_complete() hci0 status 0
bluetoothd[2423]: src/adapter.c:adapter_mode_changed() old 0x00 new 0x03
bluetoothd[2423]: src/adapter.c:set_mode_complete()

Kod:

root@debian:/home/ilin# ./simple-agent hci0 E4:EC:10:EE:9A:01
RequestPinCode (/org/bluez/2499/hci0/dev_E4_EC_10_EE_9A_01)
Enter PIN Code: 0000
Release
New device (/org/bluez/2499/hci0/dev_E4_EC_10_EE_9A_01)

Przy

Kod:

root@debian:/home/ilin# obexftp -b E4:EC:10:EE:9A:01 -l
Browsing E4:EC:10:EE:9A:01 ...
Connecting...failed: connect
Tried to connect for 3000ms
Interupted/bad reception or the device moved out of range: Operation now in progress
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Device or resource busy
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Devi

Pluje

Kod:

root@debian:/home/ilin# hcidump -tX
HCI sniffer - Bluetooth packet analyzer ver 2.0
device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
2011-06-18 11:26:50.496731 < HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr E4:EC:10:EE:9A:01 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 
2011-06-18 11:26:50.545985 > HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
2011-06-18 11:26:54.050985 > HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 6 bdaddr E4:EC:10:EE:9A:01 type ACL encrypt 0x00
2011-06-18 11:26:54.051033 < HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
    handle 6
2011-06-18 11:26:54.056981 > HCI Event: Command Status (0x0f) plen 4
    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
2011-06-18 11:26:54.078984 > HCI Event: Max Slots Change (0x1b) plen 3
    handle 6 slots 5
2011-06-18 11:26:54.084983 > HCI Event: Read Remote Supported Features (0x0b) plen 11
    status 0x00 handle 6
    Features: 0xbf 0xee 0x0f 0xce 0x98 0xbd 0x59 0x83
2011-06-18 11:26:54.085039 < HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr E4:EC:10:EE:9A:01 mode 2 clkoffset 0x0000
2011-06-18 11:26:54.085053 < ACL data: handle 6 flags 0x02 dlen 10
    L2CAP(s): Info req: type 2
2011-06-18 11:26:54.089973 > HCI Event: Command Status (0x0f) plen 4
    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
2011-06-18 11:26:54.119973 > HCI Event: Remote Name Req Complete (0x07) plen 255
    status 0x00 bdaddr E4:EC:10:EE:9A:01 name 'Nokia 7230'
2011-06-18 11:26:54.120978 > ACL data: handle 6 flags 0x02 dlen 16
    L2CAP(s): Info rsp: type 2 result 0
      Extended feature mask 0x0000
2011-06-18 11:26:54.121007 < ACL data: handle 6 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0040
2011-06-18 11:26:54.128972 > ACL data: handle 6 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
      Connection successful
2011-06-18 11:26:54.128989 < ACL data: handle 6 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
2011-06-18 11:26:54.130969 > ACL data: handle 6 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
      MTU 65535 
2011-06-18 11:26:54.130988 < ACL data: handle 6 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
      MTU 65535 
2011-06-18 11:26:54.137981 > ACL data: handle 6 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
2011-06-18 11:26:54.138265 < ACL data: handle 6 flags 0x02 dlen 36
    L2CAP(d): cid 0x0040 len 32 [psm 1]
        SDP SSA Req: tid 0x0 len 0x1b
          pat uuid-128 00005005-0000-1000-8000-0002ee000001
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
2011-06-18 11:26:54.145977 > ACL data: handle 6 flags 0x02 dlen 15
    L2CAP(d): cid 0x0040 len 11 [psm 1]
        SDP SSA Rsp: tid 0x0 len 0x6
          count 3
          cont 00
2011-06-18 11:26:54.146221 < ACL data: handle 6 flags 0x02 dlen 22
    L2CAP(d): cid 0x0040 len 18 [psm 1]
        SDP SSA Req: tid 0x1 len 0xd
          pat uuid-16 0x1106 (OBEXObjTrnsf)
          max 65535
          aid(s) 0x0004 (ProtocolDescList)
          cont 00
2011-06-18 11:26:54.154973 > ACL data: handle 6 flags 0x02 dlen 40
    L2CAP(d): cid 0x0040 len 36 [psm 1]
        SDP SSA Rsp: tid 0x1 len 0x1f
          count 28
          record #0
              aid 0x0004 (ProtocolDescList)
                 < < uuid-16 0x0100 (L2CAP) > <
                 uuid-16 0x0003 (RFCOMM) uint 0xa > <
                 uuid-16 0x0008 (OBEX) > >
          cont 00
2011-06-18 11:26:54.155078 < ACL data: handle 6 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
2011-06-18 11:26:54.155314 < ACL data: handle 6 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 3 scid 0x0041
2011-06-18 11:26:54.162974 > ACL data: handle 6 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
2011-06-18 11:26:54.163972 > ACL data: handle 6 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0041 result 0 status 0
      Connection successful
2011-06-18 11:26:54.163989 < ACL data: handle 6 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 1013 
2011-06-18 11:26:54.165971 > ACL data: handle 6 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 32772 
2011-06-18 11:26:54.165998 < ACL data: handle 6 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
      MTU 32772 
2011-06-18 11:26:54.172979 > ACL data: handle 6 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
      MTU 1013 
2011-06-18 11:27:46.181019 < HCI Command: Disconnect (0x01|0x0006) plen 3
    handle 6 reason 0x13
    Reason: Remote User Terminated Connection
2011-06-18 11:27:46.220986 > HCI Event: Command Status (0x0f) plen 4
    Disconnect (0x01|0x0006) status 0x00 ncmd 1
2011-06-18 11:27:46.221036 < HCI Command: Disconnect (0x01|0x0006) plen 3
    handle 6 reason 0x13
    Reason: Remote User Terminated Connection
2011-06-18 11:27:46.224975 > HCI Event: Command Status (0x0f) plen 4
    Disconnect (0x01|0x0006) status 0x00 ncmd 1
2011-06-18 11:27:46.295980 > HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 6 reason 0x16
    Reason: Connection Terminated by Local Host

Czarna magia :)


Jeszcze

Kod:

ilin@debian:~$ BD_ADDR=E4:EC:10:EE:9A:01 sdptool records E4:EC:10:EE:9A:01
Service Name: Network Access Point Service
Service Description: Personal Ad-hoc Network Service which provides access to a network
Service RecHandle: 0x10000
Service Class ID List:
  "Network Access Point" (0x1116)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 15
  "BNEP" (0x000f)
    Version: 0x0100
    SEQ8: dd 6
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Network Access Point" (0x1116)
    Version: 0x0100

Service Name: OBEX Object Push
Service RecHandle: 0x10001
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100


]Failed to connect to SDP server on E4:EC:10:EE:9A:01: Operation now in progress

Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#4  2011-06-18 12:25:57

  NIC - Członek DUG

NIC
Członek DUG
Skąd: Wrocław
Zarejestrowany: 2006-12-25
Serwis

Re: Bluetooth w Wheezy nie działa

Hmm... Podejrzenie numer 2: moduły kernela nie są załadowane.

Kod:

dmesg | grep Bluetooth

Powinno zwracać mniej więcej:

Kod:

[    0.364180] Bluetooth: Core ver 2.15
[    0.364180] Bluetooth: HCI device and connection manager initialized
[    0.364180] Bluetooth: HCI socket layer initialized
[    1.174127] Bluetooth: Virtual HCI driver ver 1.3
[    1.174288] Bluetooth: Generic Bluetooth USB driver ver 0.6
[    2.263061] Bluetooth: L2CAP ver 2.15
[    2.263067] Bluetooth: L2CAP socket layer initialized
[    2.263079] Bluetooth: SCO (Voice Link) ver 0.6
[    2.263083] Bluetooth: SCO socket layer initialized
[    2.263298] Bluetooth: RFCOMM TTY layer initialized
[    2.263309] Bluetooth: RFCOMM socket layer initialized
[    2.263315] Bluetooth: RFCOMM ver 1.11
[    2.263319] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.263323] Bluetooth: BNEP filters: protocol multicast
[    2.263327] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

Moduł l2cap masz załadowany, bo w hcidump jest successful na połączeniu L2CAP. Protokół Obex zaś wymaga protokołu RFCOMM, więc ten też powinien widnieć (jeśli nie ma, to modprobe z nazwą protokołu małymi)

[Na marginesie - a właściwie w nadstopce]
W internecie znalazłem iż być może są jakieś problemy z autentykacją, na które pomaga dodanie do zaufanych.

Kod:

export BD_PATH=$(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.FindAdapter string:hci0 | sed -ne 's/^.*object path //p' | sed -e 's/"//g')

dbus-send   --system --print-reply --dest=org.bluez \
${BD_PATH}/dev_E4_EC_10_EE_9A_01 \
org.bluez.Device.GetProperties

dbus-send   --system --print-reply --dest=org.bluez \
${BD_PATH}/dev_E4_EC_10_EE_9A_01 \
org.bluez.Device.SetProperty string:Trusted variant:boolean:true

dbus-send   --system --print-reply --dest=org.bluez \
${BD_PATH}/dev_E4_EC_10_EE_9A_01 \
org.bluez.Device.GetProperties

Stronka-dom: http://titek.victorygames.pl
Jabber: nic@jabster.pl
Hobby: kompilowanie Linuksa, Bluetooth
Dystrybucja: żadna, bliski krewny LFS, składak

Offline

 

#5  2011-06-18 12:39:32

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Bluetooth w Wheezy nie działa

Niestety ale efekt ten sam co wcześniej

Kod:

root@debian:/home/ilin# dmesg | grep Bluetooth
[    4.715161] Bluetooth: Core ver 2.16
[    4.715202] Bluetooth: HCI device and connection manager initialized
[    4.715207] Bluetooth: HCI socket layer initialized
[    4.715210] Bluetooth: L2CAP socket layer initialized
[    4.715279] Bluetooth: SCO socket layer initialized
[    4.736515] Bluetooth: Generic Bluetooth USB driver ver 0.6
[   18.470206] Bluetooth: RFCOMM TTY layer initialized
[   18.470220] Bluetooth: RFCOMM socket layer initialized
[   18.470225] Bluetooth: RFCOMM ver 1.11
[   18.472709] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   18.472717] Bluetooth: BNEP filters: protocol multicast
root@debian:/home/ilin#

Kod:

root@debian:/home/ilin# lsmod | grep blue
bluetooth             100304  25 bnep,rfcomm,btusb

Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#6  2011-06-18 13:12:21

  NIC - Członek DUG

NIC
Członek DUG
Skąd: Wrocław
Zarejestrowany: 2006-12-25
Serwis

Re: Bluetooth w Wheezy nie działa

Hmmm...
"uname -a"

Interesuje mnie jaką masz wersję jądra, bo zdaje się że nowszą niż moja, a widać że jakieś modyfikacje były w części bluetoothowej, bo w moim 2.6.38(+) w kodzie mam
    BT_INFO("L2CAP ver %s", VERSION);
    BT_INFO("L2CAP socket layer initialized");

A u Ciebie już widać musi być inaczej.

Spróbuj też innej klasy (tu moja ulubiona)
hciconfig hci0 class 0xff05cc # lub 0xff0100

I rozpaczliwe próby uzyskania czegoś:
hciconfig hci0 auth encrypt # lub próbuj noauth lub  noencrypt

hciconfig hci0 unblock E4:EC:10:EE:9A:01

hciconfig hci0 reset # lub down, i następnie up


Stronka-dom: http://titek.victorygames.pl
Jabber: nic@jabster.pl
Hobby: kompilowanie Linuksa, Bluetooth
Dystrybucja: żadna, bliski krewny LFS, składak

Offline

 

#7  2011-06-18 14:13:32

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Bluetooth w Wheezy nie działa

Zaczynam mieć wątpliwości co do tego debianowego bluez

Caly czas dokładnie to samo.

Jądro miałem 2.6.39.1  ale odpaliłem  na repowym  2.6.38-2-amd64 i jest tak samo.

Te ostatnie polecenia dają tylko takie logii

Kod:

bluetoothd[2533]: plugins/hciops.c:write_class() hci0 class 0x4a0100
bluetoothd[2533]: Adapter /org/bluez/2533/hci0 has been enabled
bluetoothd[2533]: plugins/hciops.c:hciops_set_discoverable() hci0 discoverable 1
bluetoothd[2533]: plugins/hciops.c:hciops_set_pairable() hci0 pairable 1
bluetoothd[2533]: src/adapter.c:btd_adapter_unref() 0x7f7387756690: ref=6
bluetoothd[2533]: plugins/hciops.c:update_ext_inquiry_response() hci0
bluetoothd[2533]: plugins/hciops.c:read_local_name_complete() hci0 status 0
bluetoothd[2533]: plugins/hciops.c:update_ext_inquiry_response() hci0
bluetoothd[2533]: plugins/hciops.c:read_scan_complete() hci0 status 0
bluetoothd[2533]: src/adapter.c:adapter_mode_changed() old 0x00 new 0x03
bluetoothd[2533]: src/adapter.c:set_mode_complete() 
bluetoothd[2533]: plugins/hciops.c:conn_complete() status 0x00
bluetoothd[2533]: src/adapter.c:adapter_get_device() E4:EC:10:EE:9A:01
bluetoothd[2533]: plugins/hciops.c:remote_features_information() hci0 status 0
bluetoothd[2533]: plugins/hciops.c:remote_name_information() hci0 status 0
bluetoothd[2533]: plugins/hciops.c:disconn_complete() handle 6 status 0x00
bluetoothd[2533]: src/event.c:btd_event_disconn_complete() 
bluetoothd[2533]: src/adapter.c:adapter_remove_connection()

Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#8  2011-06-18 15:03:40

  NIC - Członek DUG

NIC
Członek DUG
Skąd: Wrocław
Zarejestrowany: 2006-12-25
Serwis

Re: Bluetooth w Wheezy nie działa

Pokaż jeszcze:

Kod:

sdptool search FTP
sdptool search OPUSH
sdptool browse E4:EC:10:EE:9A:01

A problem jest tu chyba:

Kod:

2011-06-18 11:26:54.163972 > ACL data: handle 6 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0041 result 0 status 0
      Connection successful

# połączenie niby nawiązał z usługą


2011-06-18 11:26:54.163989 < ACL data: handle 6 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 1013 
2011-06-18 11:26:54.165971 > ACL data: handle 6 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 32772 
2011-06-18 11:26:54.165998 < ACL data: handle 6 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
      MTU 32772 
2011-06-18 11:26:54.172979 > ACL data: handle 6 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
      MTU 1013 

# widać negocjował MTU....

2011-06-18 11:27:46.181019 < HCI Command: Disconnect (0x01|0x0006) plen 3
    handle 6 reason 0x13
    Reason: Remote User Terminated Connection

# i widać nie spodobało się mu owe MTU...

Stronka-dom: http://titek.victorygames.pl
Jabber: nic@jabster.pl
Hobby: kompilowanie Linuksa, Bluetooth
Dystrybucja: żadna, bliski krewny LFS, składak

Offline

 

#9  2011-06-18 15:11:14

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Bluetooth w Wheezy nie działa

Kod:

root@debian:/home/ilin# sdptool search FTP
Inquiring ...
Searching for FTP on E4:EC:10:EE:9A:01 ...
Service Name: OBEX File Transfer
Service RecHandle: 0x10002
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Kod:

root@debian:/home/ilin# sdptool search OPUSH
Inquiring ...
Searching for OPUSH on E4:EC:10:EE:9A:01 ...
Service Name: OBEX Object Push
Service RecHandle: 0x10001
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Kod:

root@debian:/home/ilin# sdptool browse E4:EC:10:EE:9A:01
Browsing E4:EC:10:EE:9A:01 ...
Service Name: Network Access Point Service
Service Description: Personal Ad-hoc Network Service which provides access to a network
Service RecHandle: 0x10000
Service Class ID List:
  "Network Access Point" (0x1116)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 15
  "BNEP" (0x000f)
    Version: 0x0100
    SEQ8: dd 6
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Network Access Point" (0x1116)
    Version: 0x0100

Service Name: OBEX Object Push
Service RecHandle: 0x10001
Service Class ID List:
  "OBEX Object Push" (0x1105)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX Object Push" (0x1105)
    Version: 0x0100

Service Name: OBEX File Transfer
Service RecHandle: 0x10002
Service Class ID List:
  "OBEX File Transfer" (0x1106)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "OBEX File Transfer" (0x1106)
    Version: 0x0100

Service Name: Dial-up networking
Service RecHandle: 0x10003
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100

Service Name: Nokia PC Suite
Service RecHandle: 0x10004
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 15
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: COM 1
Service RecHandle: 0x10005
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Voice Gateway
Service RecHandle: 0x10006
Service Class ID List:
  "Handsfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 13
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Service Name: Audio Gateway
Service RecHandle: 0x10007
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 12
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: SyncML Client
Service RecHandle: 0x10009
Service Class ID List:
  UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 11
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Phonebook Access PSE
Service RecHandle: 0x1000b
Service Class ID List:
  "Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 21
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Phonebook Access" (0x1130)
    Version: 0x0100

Service Name: SIM ACCESS
Service RecHandle: 0x1000f
Service Class ID List:
  "SIM Access" (0x112d)
  "Generic Telephony" (0x1204)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "SIM Access" (0x112d)
    Version: 0x0102

Service Name: Music-Player
Service Provider: Nokia
Service RecHandle: 0x10010
Service Class ID List:
  "Audio Source" (0x110a)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 25
  "AVDTP" (0x0019)
    uint16: 0x100
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Advanced Audio" (0x110d)
    Version: 0x0100

Service Name: Media Player
Service Provider: Nokia
Service RecHandle: 0x10011
Service Class ID List:
  "AV Remote Target" (0x110c)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x100
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0103

Service Name: Media Player
Service Provider: Nokia
Service RecHandle: 0x10012
Service Class ID List:
  "AV Remote" (0x110e)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x100
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0103

Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#10  2011-06-18 16:52:29

  NIC - Członek DUG

NIC
Członek DUG
Skąd: Wrocław
Zarejestrowany: 2006-12-25
Serwis

Re: Bluetooth w Wheezy nie działa

Moja teoria jest słuszna. Nie dogadały się urządzenia o parametry połączenia (MTU)... Choć wygląda na to że powinny się dogadać, ale chyba telefonowi coś odbiło....

Możliwe że to błąd w L2CAP. Spróbuj najnowsze jądro lub nieco bardziej starsze. Np. takie jak w Squeeze (ja bym strzelał 2.6.36, no chyba że masz 37 na stanie)


Stronka-dom: http://titek.victorygames.pl
Jabber: nic@jabster.pl
Hobby: kompilowanie Linuksa, Bluetooth
Dystrybucja: żadna, bliski krewny LFS, składak

Offline

 

#11  2011-06-19 10:23:27

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Bluetooth w Wheezy nie działa

To raczej nie będzie wina jądra.
Raczej błąd w jakiejś bibliotece.

Cofnąłem  część systemu do Squeeze gdyż inaczej nie dało się zainstalować kde-trinity i bluetooth działa.
Jądro zostało to samo.


Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#12  2011-07-09 12:39:24

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Bluetooth w Wheezy nie działa

Znalazłem przyczynę.

Problemem jest bluez

Wystarczy cofnąć bluez do wersji z Squeeze i już działa.
Tutaj nie jest tez wina paczkującego gdyż  w archlinuxie również nie działa.
Nowsze wersje bluez coś się nie lubią z moim dongle czy telefonem


Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)