Sending files from phone to ppc machine fails
Hi,
Since some time i've got an Ericsson T630. Sending files via obex from both my ppc and x86 machine to the phone works fine. But from the phone i can only send stuff to the x86. When sending to my powerbook the phone almost immediatly indicates ``connection failed''.
Both machines have the exact same hcid.conf and are running debian unstable. Both run kernel 2.6.8, trying 2.6.8-mh2 on the ppc didn't make a difference (although my bluetooth mouse started to work a lot better, very nice).
hcidump -x shows the following when trying to send from the phone to the ppc:
Quoted 1 line
HCI Event: Connect Request (
0x04) plen 10
75 3F 1D DE 0F 00 04 02 52 01
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
75 3F 1D DE 0F 00 00 Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 01 09 04
Quoted 1 line
HCI Event: Connect Complete (
0x03) plen 11
1A 2C 00 75 3F 1D DE 0F 00 01 00
Then the phone shows ``connetion failed'' and that's all there is :(
Doing the same on the x86 box starts with:
Quoted 1 line
HCI Event: Connect Request (
0x04) plen 10
75 3F 1D DE 0F 00 04 02 52 01
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
75 3F 1D DE 0F 00 01 Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 01 09 04
Quoted 1 line
HCI Event: Link Key Request (
0x17) plen 6
75 3F 1D DE 0F 00
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
75 3F 1D DE 0F 00 0E 42 18 96 9C 4D 11 8A 5D 73 1B 58 3F 07
4C BF Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 10
01 0B 04 00 75 3F 1D DE 0F 00
Quoted 1 line
HCI Event: Connect Complete (
0x03) plen 11
00 29 00 75 3F 1D DE 0F 00 01 01
Any ideas what could be going wrong here ?
Sjoerd
Signature · 13 lines
Why don't you fix your little problem... and light this candle? -- Alan Shepherd, the first man into space, Gemini program ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Sjoerd,
Quoted 33 lines
Since some time i've got an Ericsson T630. Sending files via obex from both my ppc and x86 machine to the phone works fine. But from the phone i can only send stuff to the x86. When sending to my powerbook the phone almost immediatly indicates ``connection failed''.
Both machines have the exact same hcid.conf and are running debian unstable. Both run kernel 2.6.8, trying 2.6.8-mh2 on the ppc didn't make a difference (although my bluetooth mouse started to work a lot better, very nice).
hcidump -x shows the following when trying to send from the phone to the ppc:
Quoted 1 line
HCI Event: Connect Request (
0x04) plen 1075 3F 1D DE 0F 00 04 02 52 01 < HCI Command: Accept Connection Request (0x01|0x0009) plen 7 75 3F 1D DE 0F 00 00Quoted 1 line
HCI Event: Command Status (
0x0f) plen 400 01 09 04Quoted 1 line
HCI Event: Connect Complete (
0x03) plen 111A 2C 00 75 3F 1D DE 0F 00 01 00Then the phone shows ``connetion failed'' and that's all there is :(
Doing the same on the x86 box starts with:
Quoted 1 line
HCI Event: Connect Request (
0x04) plen 1075 3F 1D DE 0F 00 04 02 52 01 < HCI Command: Accept Connection Request (0x01|0x0009) plen 7 75 3F 1D DE 0F 00 01Quoted 1 line
HCI Event: Command Status (
0x0f) plen 400 01 09 04Quoted 1 line
HCI Event: Link Key Request (
0x17) plen 675 3F 1D DE 0F 00 < HCI Command: Link Key Request Reply (0x01|0x000b) plen 22 75 3F 1D DE 0F 00 0E 42 18 96 9C 4D 11 8A 5D 73 1B 58 3F 07 4C BF
Quoted 7 lines
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 1001 0B 04 00 75 3F 1D DE 0F 00Quoted 1 line
HCI Event: Connect Complete (
0x03) plen 1100 29 00 75 3F 1D DE 0F 00 01 01Any ideas what could be going wrong here ?
stop hidd and see if it works then.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 11 lines · Marcel Holtmann
Hi Sjoerd,
Quoted 7 lines
Since some time i've got an Ericsson T630. Sending files via obex from both my ppc and x86 machine to the phone works fine. But from the phone i can only send stuff to the x86. When sending to my powerbook the phone almost immediatly indicates ``connection failed''.
[...]Any ideas what could be going wrong here ?
stop hidd and see if it works then.
That does indeed solve it (should have though about trying that). Could you explain what's going wrong with hidd (yes i'm curious) ?
Thanks,
Sjoerd
Signature · 2 lines
Never worry about theory as long as the machinery does what it's supposed to do. -- R. A. Heinlein
Quoted 8 lines · Sjoerd Simons
Quoted 7 lines · Marcel Holtmann
Hi Sjoerd,
Quoted 5 lines
Since some time i've got an Ericsson T630. Sending files via obex from both my ppc and x86 machine to the phone works fine. But from the phone i can only send stuff to the x86. When sending to my powerbook the phone almost immediatly indicates ``connection failed''. [...]
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Any ideas what could be going wrong here ?
stop hidd and see if it works then.
That does indeed solve it (should have though about trying that).
Seems i was a little too fast. Now it works ``sometimes'', but most of the times it takes three or four tries to send a file over. Incidentally i'm working on another x86 machine today and that also works fine ?
The moment it goes wrong is a little different though. I get this when it fails the first time:
HCIDump - HCI packet analyzer ver 1.10
device: hci0 snap_len: 1028 filter: 0xffffffff
Quoted 1 line
HCI Event: Connect Request (
0x04) plen 10
75 3F 1D DE 0F 00 04 02 52 01
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
75 3F 1D DE 0F 00 01
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 01 09 04
Quoted 1 line
HCI Event: Link Key Request (
0x17) plen 6
75 3F 1D DE 0F 00
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
75 3F 1D DE 0F 00 F4 D8 1D 5D 52 C4 28 CB 63 65 02 03 CD BC 00 C3
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 10
01 0B 04 00 75 3F 1D DE 0F 00
Quoted 1 line
HCI Event: Connect Complete (
0x03) plen 11
00 29 00 75 3F 1D DE 0F 00 01 01
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
29 00 0F 00
Quoted 1 line
HCI Event: Page Scan Repetition Mode Change (
0x20) plen 7
75 3F 1D DE 0F 00 01
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6
01 0D 08 00 29 00
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
29 00 18 CC
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 01 0F 04
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
75 3F 1D DE 0F 00 01 00 00 00
Quoted 1 line
HCI Event: Connection Packet Type Changed (
0x1d) plen 5
00 29 00 18 00
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 01 19 04
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
75 3F 1D DE 0F 00 01 00 00 00
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 00 19 04
Sjoerd
Signature · 3 lines
Nothing is as simple as it seems at first Or as hopeless as it seems in the middle Or as finished as it seems in the end.
Marcel Holtmann
maintainerHi Sjoerd,
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Since some time i've got an Ericsson T630. Sending files via obex from both my ppc and x86 machine to the phone works fine. But from the phone i can only send stuff to the x86. When sending to my powerbook the phone almost immediatly indicates ``connection failed''. [...]
Any ideas what could be going wrong here ?
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
stop hidd and see if it works then.
That does indeed solve it (should have though about trying that).
Seems i was a little too fast. Now it works ``sometimes'', but most of the times it takes three or four tries to send a file over. Incidentally i'm working on another x86 machine today and that also works fine ?
maybe there is another big endian bug somewhere, but I don't think so.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Sjoerd,
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Since some time i've got an Ericsson T630. Sending files via obex from both my ppc and x86 machine to the phone works fine. But from the phone i can only send stuff to the x86. When sending to my powerbook the phone almost immediatly indicates ``connection failed''.
[...]
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Any ideas what could be going wrong here ?
stop hidd and see if it works then.
That does indeed solve it (should have though about trying that). Could you explain what's going wrong with hidd (yes i'm curious) ?
I already tracked this problem. The T610 has an old Bluetooth chip that can't do a role switch and this is forced when you run hidd. The CVS already contains a fixed hidd that can deal with it.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 10 lines · Marcel Holtmann
Hi Sjoerd,
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Since some time i've got an Ericsson T630. Sending files via obex from both my ppc and x86 machine to the phone works fine. But from the phone i can only send stuff to the x86. When sending to my powerbook the phone almost immediatly indicates ``connection failed''. [...]
Any ideas what could be going wrong here ?
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
stop hidd and see if it works then.
That does indeed solve it (should have though about trying that). Could you explain what's going wrong with hidd (yes i'm curious) ?
I already tracked this problem. The T610 has an old Bluetooth chip that can't do a role switch and this is forced when you run hidd. The CVS already contains a fixed hidd that can deal with it.
Is this only a problem when running hidd or can i also expect it when using other bluetooth apps (pand ?).
I've tested the cvs hidd version on my x86, but to no avail. When starting hidd --server --master sending files from the phone start failing :(.
Do i need the -mh2 patches for this ?
For the record hcitool info on my phone says:
Requesting information ...
BD Address: 00:0F:DE:1D:3F:75
Device Name: Winter
LMP Version: 1.1 (0x1) LMP Subversion: 0x503
Manufacturer: Ericsson Technology Licensing (0)
Features: 0x04 0xca 0x31 0x00 0x00 0x00 0x00 0x00
<encryption> <RSSI> <SCO link> <u-law log> <A-law log> <CVSD>
Sjoerd
Signature · 2 lines
I use technology in order to hate it more properly. -- Nam June Paik
Marcel Holtmann
maintainerHi Sjoerd,
Quoted 6 lines
Quoted 3 lines
I already tracked this problem. The T610 has an old Bluetooth chip that can't do a role switch and this is forced when you run hidd. The CVS already contains a fixed hidd that can deal with it.
Is this only a problem when running hidd or can i also expect it when using other bluetooth apps (pand ?).
it is a problem whenever you run an application that forces an role switch. For example using pand with --master option.
Quoted 2 lines
I've tested the cvs hidd version on my x86, but to no avail. When starting hidd --server --master sending files from the phone start failing :(.
Leave the --master option out. CSR based HID input devices will trigger the role switch by themself. Only the Broadcom stuff (Apple) have a problem there.
Quoted 1 line
Do i need the -mh2 patches for this ?
No.
Quoted 8 lines
For the record hcitool info on my phone says:
Requesting information ...
BD Address: 00:0F:DE:1D:3F:75
Device Name: Winter
LMP Version: 1.1 (0x1) LMP Subversion:0x503
Manufacturer: Ericsson Technology Licensing (0)
Features:0x040xca0x310x000x000x000x000x00
<encryption> <RSSI> <SCO link> <u-law log> <A-law log> <CVSD>
The missing <role switch> is here important.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 6 lines · Marcel Holtmann
Quoted 2 lines
I've tested the cvs hidd version on my x86, but to no avail. When starting hidd --server --master sending files from the phone start failing :(.
Leave the --master option out. CSR based HID input devices will trigger the role switch by themself. Only the Broadcom stuff (Apple) have a problem there.
Ah i misunderstood. I though that it should be forced to run as master to not roleswitch :) Need to learn somewhat more about bluetooth it seems.
Without master it works perfectly on my x86 box. On my powerbook it still sometimes fails. I will see if i can track down the difference between a succeeded connection and a failed one..
Thanks for all the great work on bluez ;)
Sjoerd
Signature · 1 line
"If value corrupts then absolute value corrupts absolutely."