2008-05-28 09:21:36

by jayjwa

[permalink] [raw]
Subject: [Bluez-users] bluez-utils-3.32: something broke?


Where to start? To put it simply, it used to work, now it doesn't. ;)
I upgraded to 3.32 and everything went haywire. Audio stopped working, plus
I'm seeing alot of weird error messages.

This used to work playing on my bt headset:

sox -t ogg file.ogg -t alsa pcm.bluetooth

Now:

ALSA lib pcm_bluetooth.c:1505:(audioservice_recv) Error receiving data from
audio service: Success(0)
ALSA lib pcm_bluetooth.c:1521:(audioservice_expect) Bogus message
BT_SETCONFIGURATION_REQ received while BT_SETCONFIGURATION_RSP was expected
sox soxio: Can't open output file `pcm.bluetooth': cannot set parameters

hcid segfaulted on the first test. The bluetooth USB dongle "hangs", flashing
endlessly. The sco counts stay at zero.


2008-05-28T03:50:07.678634-04:00 vdrl hcid[3348]: Bluetooth HCI daemon
2008-05-28T03:50:07.686778-04:00 vdrl hcid[3348]: Parsing
/etc/bluetooth/main.conf failed: No such file or directory

main.conf? Never saw that before. What are the service-*.xml files for? Where
to install?

2008-05-28T03:50:07.686794-04:00 vdrl hcid[3348]: HCI dev 0
registered
2008-05-28T03:50:07.688100-04:00 vdrl hcid[3348]: HCI dev 0 already up
2008-05-28T03:50:07.688730-04:00 vdrl hcid[3348]: Device hci0 has been added
2008-05-28T03:50:07.690768-04:00 vdrl hcid[3348]: Starting security manager
0
2008-05-28T03:50:07.729056-04:00 vdrl hcid[3348]: Device hci0 has been
activated
2008-05-28T03:50:07.729095-04:00 vdrl hcid[3348]: Starting SDP server
2008-05-28T03:50:07.729107-04:00 vdrl hcid[3348]: Can't create GN bridge
2008-05-28T03:50:07.729117-04:00 vdrl hcid[3348]: Registered manager
path:/org/bluez/network
2008-05-28T03:50:07.729129-04:00 vdrl hcid[3348]: Registered server
path:/org/bluez/network/nap
2008-05-28T03:50:07.729139-04:00 vdrl hcid[3348]: Registered server
path:/org/bluez/network/gn
2008-05-28T03:50:07.729150-04:00 vdrl hcid[3348]: Registered server
path:/org/bluez/network/panu
2008-05-28T03:50:07.729202-04:00 vdrl hcid[3348]: Registered manager
path:/org/bluez/serial
2008-05-28T03:50:07.729213-04:00 vdrl hcid[3348]: Registered input manager
path:/org/bluez/input
2008-05-28T03:50:07.730615-04:00 vdrl hcid[3348]: Unix socket created: 18
2008-05-28T03:50:07.739750-04:00 vdrl hcid[3348]: Registered manager
path:/org/bluez/audio
2008-05-28T03:50:07.739785-04:00 vdrl hcid[3348]:
Loading device 00:1A:45:01:F9:42 (headset )
2008-05-28T03:50:07.739796-04:00 vdrl hcid[3348]: Setting 00:1A:45:01:F9:42
as default device
2008-05-28T03:50:07.739807-04:00 vdrl hcid[3348]: Starting experimental
netlink support

^^^^^^^^^^^^ I thought this could be the trouble, so I hid it and built
again. Same results.


2008-05-28T03:50:07.739818-04:00 vdrl hcid[3348]: Failed to find Bluetooth
netlink family
2008-05-28T03:50:07.739829-04:00 vdrl hcid[3348]: Can't init plugin
/usr/lib/bluetooth/plugins/libnetlink.so

It does exist and I installed this particular "netlink' lib (there's about 4:
rtnetlink, nfnetlink, iproute2's libnetlink, and this libnl-1).

2008-05-28T03:50:12.747879-04:00 vdrl hcid[3348]: Default authorization
/agent (:1.10, /org/bluez/auth_agent_3352) registered
2008-05-28T03:50:34.813665-04:00 vdrl hcid[3348]: Default passkey agent
/(:1.11, /org/bluez/passkey_agent_3355) registered
2008-05-28T03:51:00.171619-04:00 vdrl hcid[3348]: Audio API: received
/BT_GETCAPABILITIES_REQ
2008-05-28T03:51:00.171649-04:00 vdrl hcid[3348]: Audio API: sending
/BT_GETCAPABILITIES_RSP
2008-05-28T03:51:00.173225-04:00 vdrl hcid[3348]: Audio API: received
/BT_SETCONFIGURATION_REQ
2008-05-28T03:51:00.173300-04:00 vdrl hcid[3348]: config sco - device =
/00:1A:45:01:F9:42 access_mode = 2
2008-05-28T03:51:03.900979-04:00 vdrl hcid[3348]: link_key_request
/(sba=00:0A:3A:7C:5C:74, dba=00:1A:45:01:F9:42)
2008-05-28T03:51:06.571723-04:00 vdrl hcid[3348]: connect: Socket operation
/on non-socket (88)
2008-05-28T03:51:07.762096-04:00 vdrl hcid[3348]: Badly formated or
/unrecognized command: AT+BTRH?

Very similar to the errors I got before patching the kernel to support SCO.


2008-05-28T03:51:58.718581-04:00 vdrl hcid[3348]: Audio API: received
/BT_GETCAPABILITIES_REQ
2008-05-28T03:51:58.718607-04:00 vdrl hcid[3348]: Audio API: sending
/BT_GETCAPABILITIES_RSP
2008-05-28T03:51:58.720113-04:00 vdrl hcid[3348]: Audio API: received
/BT_SETCONFIGURATION_REQ
2008-05-28T03:51:58.720155-04:00 vdrl hcid[3348]: config sco - device =
/00:1A:45:01:F9:42 access_mode = 2
2008-05-28T03:52:02.251505-04:00 vdrl hcid[3348]: link_key_request
/(sba=00:0A:3A:7C:5C:74, dba=00:1A:45:01:F9:42)
2008-05-28T03:52:04.914254-04:00 vdrl hcid[3348]: connect: Invalid argument
/(22)
2008-05-28T03:52:06.341660-04:00 vdrl hcid[3348]: Badly formated or
/unrecognized command: AT+BTRH?

As nothing I tried worked, I put back bluez-utils-3.31 and the problems
disappeared. bluez-libs-3.32 appears OK, but bluez-utils-3.32 has some serious
issues.
2.6.25.3 w/sco patch built with gcc-4.3.0, x86.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2008-05-31 08:29:40

by jayjwa

[permalink] [raw]
Subject: Re: [Bluez-users] bluez-utils-3.32: something broke?




On Thu, 29 May 2008, Marcel Holtmann wrote:

-> > 2.6.25.3 w/sco patch built with gcc-4.3.0, x86.
->
-> The SCO patch should not be needed at all.


After reversing the patch and rebuilting 2.6.25.4, I can most certainly say it
is needed for SCO-only headsets being sent to from eSCO/SCO bluetooth
adapters.

2008-05-31T04:08:58-04:00 vdrl kernel: usb 3-2: new full speed USB device
using uhci_hcd and address 2
2008-05-31T04:08:58-04:00 vdrl kernel: usb 3-2: configuration #1 chosen from 1
choice
2008-05-31T04:08:58-04:00 vdrl kernel: usb 3-2: New USB device found,
idVendor=050d, idProduct=0121
2008-05-31T04:08:58-04:00 vdrl kernel: usb 3-2: New USB device strings: Mfr=1,
Product=2, SerialNumber=0
2008-05-31T04:08:58-04:00 vdrl kernel: usb 3-2: Product: BELKIN BLUETOOTH USB
ADAPTER CL. 1
2008-05-31T04:08:58-04:00 vdrl kernel: usb 3-2: Manufacturer: Broadcom Corp
2008-05-31T04:09:52.396255-04:00 vdrl hcid[1916]: Bluetooth HCI daemon
2008-05-31T04:09:52.429271-04:00 vdrl hcid[1916]: HCI dev 0 registered
2008-05-31T04:09:52.429877-04:00 vdrl hcid[1916]: Starting SDP server
2008-05-31T04:09:52.496084-04:00 vdrl hcid[1916]: Can't create GN bridge
2008-05-31T04:09:52.496250-04:00 vdrl hcid[1916]: Registered manager
path:/org/bluez/network
2008-05-31T04:09:52.511086-04:00 vdrl hcid[1916]: Registered server
path:/org/bluez/network/nap
2008-05-31T04:09:52.511435-04:00 vdrl hcid[1916]: Registered server
path:/org/bluez/network/gn
2008-05-31T04:09:52.511734-04:00 vdrl hcid[1916]: Registered server
path:/org/bluez/network/panu
2008-05-31T04:09:52.520654-04:00 vdrl hcid[1916]: Registering service
2008-05-31T04:09:52.539779-04:00 vdrl hcid[1916]: Registered manager
path:/org/bluez/serial
2008-05-31T04:09:52.539969-04:00 vdrl hcid[1916]: Registering service
2008-05-31T04:09:52.542778-04:00 vdrl hcid[1916]: Registered input manager
path:/org/bluez/input
2008-05-31T04:09:52.543005-04:00 vdrl hcid[1916]: Registering service
2008-05-31T04:09:52.565451-04:00 vdrl hcid[1916]: Unix socket created: 18
2008-05-31T04:09:52.587640-04:00 vdrl hcid[1916]: Registered manager
path:/org/bluez/audio
2008-05-31T04:09:52.603416-04:00 vdrl hcid[1916]: Loading device
00:1A:45:01:F9:42 (headset )
2008-05-31T04:09:52.611591-04:00 vdrl hcid[1916]: Setting 00:1A:45:01:F9:42 as
default device
2008-05-31T04:09:52.611709-04:00 vdrl hcid[1916]: Registering service
2008-05-31T04:09:52.612459-04:00 vdrl hcid[1916]: HCI dev 0 up
2008-05-31T04:09:52.612588-04:00 vdrl hcid[1916]: Device hci0 has been added
2008-05-31T04:09:52.618162-04:00 vdrl hcid[1916]: Starting security manager 0
2008-05-31T04:09:52.651570-04:00 vdrl hcid[1916]: Device hci0 has been
activated
2008-05-31T04:09:55.140881-04:00 vdrl hcid[1916]: Default passkey agent (:1.5,
/org/bluez/passkey_agent_1919) registered
2008-05-31T04:09:59.939386-04:00 vdrl hcid[1916]: Default authorization agent
(:1.6, /org/bluez/auth_agent_1920) registered
2008-05-31T04:10:21.442155-04:00 vdrl hcid[1916]: link_key_request
(sba=00:0A:3A:7C:5C:74, dba=00:1A:45:01:F9:42)
2008-05-31T04:10:22.553064-04:00 vdrl hcid[1916]: link_key_notify
(sba=00:0A:3A:7C:5C:74, dba=00:1A:45:01:F9:42)
2008-05-31T04:10:27.911891-04:00 vdrl hcid[1916]: Badly formated or
unrecognized command: AT+BTRH?
2008-05-31T04:10:53.210714-04:00 vdrl hcid[1916]: Audio API: received
BT_GETCAPABILITIES_REQ
2008-05-31T04:10:53.210855-04:00 vdrl hcid[1916]: Audio API: sending
BT_GETCAPABILITIES_RSP
2008-05-31T04:10:53.225439-04:00 vdrl hcid[1916]: Audio API: received
BT_SETCONFIGURATION_REQ
2008-05-31T04:10:53.225556-04:00 vdrl hcid[1916]: config sco - device =
00:1A:45:01:F9:42 access_mode = 2
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1
2008-05-31T04:10:53-04:00 vdrl kernel: hci_scodata_packet: hci0 SCO packet for
unknown connection handle 1

...



( continues endlessly. I had to pull the dongle to stop it. I also need
to look up duplicate mesg reporting limiting in rsyslog ;) )


usb 2-2: USB disconnect, address 2


This is the patch I've been using for awhile now:


--- linux-2.6.23/net/bluetooth/hci_event.c.orig 2008-02-26 12:46:36.000000000+0900
+++ linux-2.6.23/net/bluetooth/hci_event.c 2008-02-26 12:47:23.000000000+0900
@@ -1313,8 +1313,15 @@
hci_dev_lock(hdev);

conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr);
- if (!conn)
- goto unlock;
+ if (!conn) {
+ __u8 link_type = (ev->link_type == ESCO_LINK) ? SCO_LINK : ESCO_LINK;
+
+ conn = hci_conn_hash_lookup_ba(hdev, link_type, &ev->bdaddr);
+ if (conn)
+ conn->type = ev->link_type;
+ else
+ goto unlock;
+ }

if (!ev->status) {
conn->handle = __le16_to_cpu(ev->handle);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-05-31 01:01:54

by jayjwa

[permalink] [raw]
Subject: Re: [Bluez-users] bluez-utils-3.32: something broke?


On Thu, 29 May 2008, Marcel Holtmann wrote:

-> > ALSA lib pcm_bluetooth.c:1521:(audioservice_expect) Bogus message
-> > BT_SETCONFIGURATION_REQ received while BT_SETCONFIGURATION_RSP was expected
-> > sox soxio: Can't open output file `pcm.bluetooth': cannot set parameters
-> >
-> > hcid segfaulted on the first test. The bluetooth USB dongle "hangs",
-> > flashing
-> > endlessly. The sco counts stay at zero.
->
-> can you get us the backtrace of it. Sounds like a real bug.


I'll have to put 3.32 back on a machine and try to reproduce.

-> > 2008-05-28T03:50:07.678634-04:00 vdrl hcid[3348]: Bluetooth HCI daemon
-> > 2008-05-28T03:50:07.686778-04:00 vdrl hcid[3348]: Parsing
-> > /etc/bluetooth/main.conf failed: No such file or directory
-> >
-> > main.conf? Never saw that before. What are the service-*.xml files for?
-> > Where
-> > to install?
->
-> Don't worry. If not present it will use proper defaults. That is not an
-> issue.

OK, just trying to keep on top of things.


-> > 2008-05-28T03:50:12.747879-04:00 vdrl hcid[3348]: Default authorization
-> > /agent (:1.10, /org/bluez/auth_agent_3352) registered
-> > 2008-05-28T03:50:34.813665-04:00 vdrl hcid[3348]: Default passkey agent
-> > /(:1.11, /org/bluez/passkey_agent_3355) registered
-> > 2008-05-28T03:51:00.171619-04:00 vdrl hcid[3348]: Audio API: received
-> > /BT_GETCAPABILITIES_REQ
-> > 2008-05-28T03:51:00.171649-04:00 vdrl hcid[3348]: Audio API: sending
-> > /BT_GETCAPABILITIES_RSP
-> > 2008-05-28T03:51:00.173225-04:00 vdrl hcid[3348]: Audio API: received
-> > /BT_SETCONFIGURATION_REQ
-> > 2008-05-28T03:51:00.173300-04:00 vdrl hcid[3348]: config sco - device =
-> > /00:1A:45:01:F9:42 access_mode = 2
-> > 2008-05-28T03:51:03.900979-04:00 vdrl hcid[3348]: link_key_request
-> > /(sba=00:0A:3A:7C:5C:74, dba=00:1A:45:01:F9:42)
-> > 2008-05-28T03:51:06.571723-04:00 vdrl hcid[3348]: connect: Socket operation
-> > /on non-socket (88)
-> > 2008-05-28T03:51:07.762096-04:00 vdrl hcid[3348]: Badly formated or
-> > /unrecognized command: AT+BTRH?
-> >
-> > Very similar to the errors I got before patching the kernel to support SCO.
->
-> That is weird. Have either Luiz or Johan look into that. You can ping them on
-> IRC.

Looks like whatever it is, it's stopping the audio from working.


-> > 2008-05-28T03:51:58.718581-04:00 vdrl hcid[3348]: Audio API: received
-> > /BT_GETCAPABILITIES_REQ
-> > 2008-05-28T03:51:58.718607-04:00 vdrl hcid[3348]: Audio API: sending
-> > /BT_GETCAPABILITIES_RSP
-> > 2008-05-28T03:51:58.720113-04:00 vdrl hcid[3348]: Audio API: received
-> > /BT_SETCONFIGURATION_REQ
-> > 2008-05-28T03:51:58.720155-04:00 vdrl hcid[3348]: config sco - device =
-> > /00:1A:45:01:F9:42 access_mode = 2
-> > 2008-05-28T03:52:02.251505-04:00 vdrl hcid[3348]: link_key_request
-> > /(sba=00:0A:3A:7C:5C:74, dba=00:1A:45:01:F9:42)
-> > 2008-05-28T03:52:04.914254-04:00 vdrl hcid[3348]: connect: Invalid argument
-> > /(22)
-> > 2008-05-28T03:52:06.341660-04:00 vdrl hcid[3348]: Badly formated or
-> > /unrecognized command: AT+BTRH?
-> >
-> > As nothing I tried worked, I put back bluez-utils-3.31 and the problems
-> > disappeared. bluez-libs-3.32 appears OK, but bluez-utils-3.32 has some
-> > serious
-> > issues.
-> > 2.6.25.3 w/sco patch built with gcc-4.3.0, x86.
->
-> The SCO patch should not be needed at all.

2.6.25.x is supporting SCO headsets straight out-of-the-box now? This will be
good. The patch applied cleanly, so I figured nothing had been changed in the
code. Actually, I'm now on 2.6.25.4 since last night. It will be easy to
reverse.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-05-29 20:48:32

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] bluez-utils-3.32: something broke?

Hi,

> Where to start? To put it simply, it used to work, now it doesn't. ;)
> I upgraded to 3.32 and everything went haywire. Audio stopped
> working, plus
> I'm seeing alot of weird error messages.
>
> This used to work playing on my bt headset:
>
> sox -t ogg file.ogg -t alsa pcm.bluetooth
>
> Now:
>
> ALSA lib pcm_bluetooth.c:1505:(audioservice_recv) Error receiving
> data from
> audio service: Success(0)
> ALSA lib pcm_bluetooth.c:1521:(audioservice_expect) Bogus message
> BT_SETCONFIGURATION_REQ received while BT_SETCONFIGURATION_RSP was
> expected
> sox soxio: Can't open output file `pcm.bluetooth': cannot set
> parameters
>
> hcid segfaulted on the first test. The bluetooth USB dongle "hangs",
> flashing
> endlessly. The sco counts stay at zero.

can you get us the backtrace of it. Sounds like a real bug.

> 2008-05-28T03:50:07.678634-04:00 vdrl hcid[3348]: Bluetooth HCI daemon
> 2008-05-28T03:50:07.686778-04:00 vdrl hcid[3348]: Parsing
> /etc/bluetooth/main.conf failed: No such file or directory
>
> main.conf? Never saw that before. What are the service-*.xml files
> for? Where
> to install?

Don't worry. If not present it will use proper defaults. That is not
an issue.

> 2008-05-28T03:50:07.686794-04:00 vdrl hcid[3348]: HCI dev 0
> registered
> 2008-05-28T03:50:07.688100-04:00 vdrl hcid[3348]: HCI dev 0 already up
> 2008-05-28T03:50:07.688730-04:00 vdrl hcid[3348]: Device hci0 has
> been added
> 2008-05-28T03:50:07.690768-04:00 vdrl hcid[3348]: Starting security
> manager
> 0
> 2008-05-28T03:50:07.729056-04:00 vdrl hcid[3348]: Device hci0 has been
> activated
> 2008-05-28T03:50:07.729095-04:00 vdrl hcid[3348]: Starting SDP server
> 2008-05-28T03:50:07.729107-04:00 vdrl hcid[3348]: Can't create GN
> bridge
> 2008-05-28T03:50:07.729117-04:00 vdrl hcid[3348]: Registered manager
> path:/org/bluez/network
> 2008-05-28T03:50:07.729129-04:00 vdrl hcid[3348]: Registered server
> path:/org/bluez/network/nap
> 2008-05-28T03:50:07.729139-04:00 vdrl hcid[3348]: Registered server
> path:/org/bluez/network/gn
> 2008-05-28T03:50:07.729150-04:00 vdrl hcid[3348]: Registered server
> path:/org/bluez/network/panu
> 2008-05-28T03:50:07.729202-04:00 vdrl hcid[3348]: Registered manager
> path:/org/bluez/serial
> 2008-05-28T03:50:07.729213-04:00 vdrl hcid[3348]: Registered input
> manager
> path:/org/bluez/input
> 2008-05-28T03:50:07.730615-04:00 vdrl hcid[3348]: Unix socket
> created: 18
> 2008-05-28T03:50:07.739750-04:00 vdrl hcid[3348]: Registered manager
> path:/org/bluez/audio
> 2008-05-28T03:50:07.739785-04:00 vdrl hcid[3348]:
> Loading device 00:1A:45:01:F9:42 (headset )
> 2008-05-28T03:50:07.739796-04:00 vdrl hcid[3348]: Setting 00:1A:
> 45:01:F9:42
> as default device
> 2008-05-28T03:50:07.739807-04:00 vdrl hcid[3348]: Starting
> experimental
> netlink support
>
> ^^^^^^^^^^^^ I thought this could be the trouble, so I hid it and
> built
> again. Same results.
>
>
> 2008-05-28T03:50:07.739818-04:00 vdrl hcid[3348]: Failed to find
> Bluetooth
> netlink family
> 2008-05-28T03:50:07.739829-04:00 vdrl hcid[3348]: Can't init plugin
> /usr/lib/bluetooth/plugins/libnetlink.so
>
> It does exist and I installed this particular "netlink' lib (there's
> about 4:
> rtnetlink, nfnetlink, iproute2's libnetlink, and this libnl-1).

That is not an issue. You can ignore this.

> 2008-05-28T03:50:12.747879-04:00 vdrl hcid[3348]: Default
> authorization
> /agent (:1.10, /org/bluez/auth_agent_3352) registered
> 2008-05-28T03:50:34.813665-04:00 vdrl hcid[3348]: Default passkey
> agent
> /(:1.11, /org/bluez/passkey_agent_3355) registered
> 2008-05-28T03:51:00.171619-04:00 vdrl hcid[3348]: Audio API: received
> /BT_GETCAPABILITIES_REQ
> 2008-05-28T03:51:00.171649-04:00 vdrl hcid[3348]: Audio API: sending
> /BT_GETCAPABILITIES_RSP
> 2008-05-28T03:51:00.173225-04:00 vdrl hcid[3348]: Audio API: received
> /BT_SETCONFIGURATION_REQ
> 2008-05-28T03:51:00.173300-04:00 vdrl hcid[3348]: config sco -
> device =
> /00:1A:45:01:F9:42 access_mode = 2
> 2008-05-28T03:51:03.900979-04:00 vdrl hcid[3348]: link_key_request
> /(sba=00:0A:3A:7C:5C:74, dba=00:1A:45:01:F9:42)
> 2008-05-28T03:51:06.571723-04:00 vdrl hcid[3348]: connect: Socket
> operation
> /on non-socket (88)
> 2008-05-28T03:51:07.762096-04:00 vdrl hcid[3348]: Badly formated or
> /unrecognized command: AT+BTRH?
>
> Very similar to the errors I got before patching the kernel to
> support SCO.

That is weird. Have either Luiz or Johan look into that. You can ping
them on IRC.

> 2008-05-28T03:51:58.718581-04:00 vdrl hcid[3348]: Audio API: received
> /BT_GETCAPABILITIES_REQ
> 2008-05-28T03:51:58.718607-04:00 vdrl hcid[3348]: Audio API: sending
> /BT_GETCAPABILITIES_RSP
> 2008-05-28T03:51:58.720113-04:00 vdrl hcid[3348]: Audio API: received
> /BT_SETCONFIGURATION_REQ
> 2008-05-28T03:51:58.720155-04:00 vdrl hcid[3348]: config sco -
> device =
> /00:1A:45:01:F9:42 access_mode = 2
> 2008-05-28T03:52:02.251505-04:00 vdrl hcid[3348]: link_key_request
> /(sba=00:0A:3A:7C:5C:74, dba=00:1A:45:01:F9:42)
> 2008-05-28T03:52:04.914254-04:00 vdrl hcid[3348]: connect: Invalid
> argument
> /(22)
> 2008-05-28T03:52:06.341660-04:00 vdrl hcid[3348]: Badly formated or
> /unrecognized command: AT+BTRH?
>
> As nothing I tried worked, I put back bluez-utils-3.31 and the
> problems
> disappeared. bluez-libs-3.32 appears OK, but bluez-utils-3.32 has
> some serious
> issues.
> 2.6.25.3 w/sco patch built with gcc-4.3.0, x86.

The SCO patch should not be needed at all.

Regards

Marcel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users