View previous topic :: View next topic |
Author |
Message |
beba n00b
Joined: 23 Jul 2008 Posts: 19 Location: Belarus
|
Posted: Fri Nov 14, 2008 10:26 am Post subject: Configuring Bluez-4.x |
|
|
Hi
I'm install bluez-4.6 from ebuild - https://bugs.gentoo.org/show_bug.cgi?id=236357.
But I have trouble with configuration this package.
I read http://wiki.bluez.org/#HOWTOs. I not can send than I all undestand at this pages.
I think, in new version 4.x bluetooth control by d-bus.
By d-bus I send system message to bluetooth and I can enable or disable Scan mode (For example) or Get mode state at this moment.
I do:
Code: |
#dbus-send --system --type=method_call --print-reply --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.GetMode
|
And recieve Error
Code: |
Error org.freedesktop.DBus.Error.UnknownMethod: Method "GetMode" with signature "" on interface "org.bluez.Adapter" doesn't exist
|
Some commands:
Code: |
# uname -r
2.6.25-gentoo-r9
# hcitool dev
Devices:
hci0 88:20:0E:24:7D:A1
# hcitool scan
Scanning ...
00:16:BC:D3:E5:02 Nokia 6021
# hcitool inq
Inquiring ...
00:16:BC:D3:E5:02 clock offset: 0x0485 class: 0x520204
# l2ping 00:16:BC:D3:E5:02
Ping: 00:16:BC:D3:E5:02 from 88:20:0E:24:7D:A1 (data size 44) ...
0 bytes from 00:16:BC:D3:E5:02 id 0 time 9.88ms
0 bytes from 00:16:BC:D3:E5:02 id 1 time 34.63ms
0 bytes from 00:16:BC:D3:E5:02 id 2 time 15.74ms
^C3 sent, 3 received, 0% loss
# hciconfig -a
hci0: Type: USB
BD Address: 88:20:0E:24:7D:A1 ACL MTU: 1017:8 SCO MTU: 64:0
UP RUNNING
RX bytes:4258 acl:4 sco:0 events:184 errors:0
TX bytes:1732 acl:4 sco:0 commands:106 errors:0
Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'grpr-0'
Class: 0x0a0100
Service Classes: Networking, Capturing
Device Class: Computer, Uncategorized
HCI Ver: 2.0 (0x3) HCI Rev: 0x4000 LMP Ver: 2.0 (0x3) LMP Subver: 0x430e
Manufacturer: Broadcom Corporation (15)
|
P.s. Sorry for my English, I'm from Belarus and poken russian language ...
P.s.2. I question on russian forums, but not answer.. after that I try this..
Thanks |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Fri Nov 14, 2008 10:59 am Post subject: |
|
|
Package not in portage, moving.
Moved from Multimedia to Unsupported Software. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
beba n00b
Joined: 23 Jul 2008 Posts: 19 Location: Belarus
|
Posted: Fri Nov 14, 2008 8:06 pm Post subject: |
|
|
ok, sorry..
I look to /var/log/debug after restarting service.
Code: |
bluetoothd: Can't create GN bridge
|
Maybe it's my trouble?
Search in Google this keywords - "Can't create GN bridge", nothing.. |
|
Back to top |
|
|
CarloJekko Veteran
Joined: 31 Mar 2005 Posts: 1315 Location: Baia Domizia :-)
|
Posted: Wed Dec 10, 2008 11:08 am Post subject: |
|
|
same problem.
also i have this in dmesg
hci_cmd_task: hci0 command tx timeout _________________ C. |
|
Back to top |
|
|
|