From: Habib S. <hab...@ya...> - 2008-12-18 06:22:51
|
Hi guys, As you know, I still have problem with syncing Sony Ericsson P1i with my linux box. Because "Connecting to Mobile over USB Cable" thread have become two large and its subject has been changed many times, I decided to create new thread. After all, I decided to sniff the traffic of the USB port in a Windows machine when my PC and the mobile are syncing. I downloaded 3 of them: SnoopyPro-0.22, SniffUSB-x86-2.0.0006, usb-monitor, here is a URL which has good such tools: http://www.freedownloadmanager.org/downloads/usb_sniffer_software/ But unfortunately, none of them works as I want. Before diving into problems of these tools, I should say that my mobile has four USB port: Sony Ericsson P1i Application Port, Sony Ericsson P1i USB Modem, Sony Ericsson P1i Composite Device, Sony Ericsson P1i PC-Connect. So, my first question is that Which USB port I should listen to? Second question is that which tool does listen to USB port and returns the results as an XML(no binary format)? For example, usb-monitor is a powerful application. I could set it so that it listened to all of above four ports, then I synced my mobile, the tool generated the results but in binary format :-(, The two other tools didn't generate any result at all although I installed the four above ports and replugged them. Cheers, Habib |
From: Daniel G. <dg...@su...> - 2008-12-18 08:26:58
|
On Thursday 18 December 2008 07:22:48 Habib Seifzadeh wrote: > Second question is that which tool does listen to USB port and returns the > results as an XML(no binary format)? For example, usb-monitor is a powerful > application. I could set it so that it listened to all of above four ports, > then I synced my mobile, the tool generated the results but in binary > format :-(, Any possibility to copy&paste the traffic in hex? Isn't there any export function - even HTML would be fine :P |
From: Habib S. <hab...@ya...> - 2008-12-19 05:53:34
Attachments:
P1iUSBSniffed.tar.bz2
|
> > On Thursday 18 December 2008 07:22:48 Habib Seifzadeh wrote: > > Second question is that which tool does listen to USB port and returns the > > results as an XML(no binary format)? For example, usb-monitor is a powerful > > application. I could set it so that it listened to all of above four ports, > > then I synced my mobile, the tool generated the results but in binary > > format :-(, > > Any possibility to copy&paste the traffic in hex? > Isn't there any export function - even HTML would be fine :P Dear Daniel, I finally could get data from the traffic. The attached file contains the traffic information in 3 views (URB Basic View, URB Complete View, Packet View). I hope it can help. Please let me know if you find the problem.... Cheers, Habib |
From: Daniel G. <dg...@su...> - 2008-12-19 08:51:10
|
On Friday 19 December 2008 06:53:31 Habib Seifzadeh wrote: > > On Thursday 18 December 2008 07:22:48 Habib Seifzadeh wrote: > > > Second question is that which tool does listen to USB port and returns > > > the results as an XML(no binary format)? For example, usb-monitor is a > > > powerful application. I could set it so that it listened to all of > > > above four ports, then I synced my mobile, the tool generated the > > > results but in binary format :-(, > > > > Any possibility to copy&paste the traffic in hex? > > Isn't there any export function - even HTML would be fine :P > > Dear Daniel, > I > finally could get data from the traffic. The attached file contains the > traffic information in 3 views (URB Basic View, URB Complete View, > Packet View). > I hope it can help. Please let me know if you find the problem.... Thanks - brief check: SE is not using OBEX at all.. it's all SyncML 1.2 via HTTP in WBXML :( It's again a Teleca SyncML stack... this is also used on various Samsung mobiles. It would be interesting to try some on OBEX - if this works at all... but not quite sure if it's worth the pain - maybe it's completley broken and never tested by Teleca/SE. The mRouter used here is no fun... best regards, Daniel |
From: Daniel G. <dg...@su...> - 2008-12-19 10:38:44
|
On Friday 19 December 2008 06:53:31 Habib Seifzadeh wrote: > > On Thursday 18 December 2008 07:22:48 Habib Seifzadeh wrote: > > > Second question is that which tool does listen to USB port and returns > > > the results as an XML(no binary format)? For example, usb-monitor is a > > > powerful application. I could set it so that it listened to all of > > > above four ports, then I synced my mobile, the tool generated the > > > results but in binary format :-(, > > > > Any possibility to copy&paste the traffic in hex? > > Isn't there any export function - even HTML would be fine :P > > Dear Daniel, > I > finally could get data from the traffic. The attached file contains the > traffic information in 3 views (URB Basic View, URB Complete View, > Packet View). > I hope it can help. Please let me know if you find the problem.... This was a sync with the mobile connect via USB - right? Could try to sync via Bluetooth and sniff the Bluetooth traffic? Often the Bluetooth interface are connected via USB - so just sniff the Bluetooth interface with the USB app. you used before. It would be interesting to see if the OBEX interface only get used via Bluetooth... best regards, Daniel |
From: Habib S. <hab...@ya...> - 2008-12-19 10:00:52
|
> > > > Second question is that which tool does listen to USB port and returns > > > > the results as an XML(no binary format)? For example, usb-monitor is a > > > > powerful application. I could set it so that it listened to all of > > > > above four ports, then I synced my mobile, the tool generated the > > > > results but in binary format :-(, > > > > > > Any possibility to copy&paste the traffic in hex? > > > Isn't there any export function - even HTML would be fine :P > > > > Dear Daniel, > > I > > finally could get data from the traffic. The attached file contains the > > traffic information in 3 views (URB Basic View, URB Complete View, > > Packet View). > > I hope it can help. Please let me know if you find the problem.... > > Thanks - brief check: SE is not using OBEX at all.. it's all SyncML 1.2 via > HTTP in WBXML :( > Dear Daniel, Using either OBEX or HTTP isn't important for me at all. But why the command syncml-http-server doesn't work with P1i? > It's again a Teleca SyncML stack... this is also used on various Samsung > mobiles. It would be interesting to try some on OBEX - if this works at > all... but not quite sure if it's worth the pain - maybe it's completley > broken and never tested by Teleca/SE. Can we use a special software written for Samsung in this case? |
From: Daniel G. <dg...@su...> - 2008-12-19 10:26:44
|
On Friday 19 December 2008 11:00:47 Habib Seifzadeh wrote: > > > > > Second question is that which tool does listen to USB port and > > > > > returns the results as an XML(no binary format)? For example, > > > > > usb-monitor is a powerful application. I could set it so that it > > > > > listened to all of above four ports, then I synced my mobile, the > > > > > tool generated the results but in binary format :-(, > > > > > > > > Any possibility to copy&paste the traffic in hex? > > > > Isn't there any export function - even HTML would be fine :P > > > > > > Dear Daniel, > > > I > > > finally could get data from the traffic. The attached file contains the > > > traffic information in 3 views (URB Basic View, URB Complete View, > > > Packet View). > > > I hope it can help. Please let me know if you find the problem.... > > > > Thanks - brief check: SE is not using OBEX at all.. it's all SyncML 1.2 > > via HTTP in WBXML :( > > Dear Daniel, > Using either OBEX or HTTP isn't important for me at all. But why the > command syncml-http-server doesn't work with P1i? I see - but OBEX is easier for Desktop Distribution to integrate. Setting-up IP connection with a mobile is not yet that trivial today.. How did you establish the IP connection? > > > It's again a Teleca SyncML stack... this is also used on various Samsung > > mobiles. It would be interesting to try some on OBEX - if this works at > > all... but not quite sure if it's worth the pain - maybe it's completley > > broken and never tested by Teleca/SE. > > Can we use a special software written for Samsung in this case? There is already one major different of Samsung and the SE on the OBEX interface. Samsung does everything via the DUN interface - SE provides via Bluetotoh a direct OBEX interface for SyncML - so there is already a major difference. IIRC there used to be issues that the "Database"-name of the PC- side needs to reflect the same name as the one from the mobile for some reason. At least i had to do so for some Telecal Samsungs mobile sometime ago... but again not quite sure if it's worth a try. Direct Access to such a phone would be more helpful... best regards, Daniel |
From: Habib S. <hab...@ya...> - 2008-12-19 11:20:26
|
> > > > Second question is that which tool does listen to USB port and returns > > > > the results as an XML(no binary format)? For example, usb-monitor is a > > > > powerful application. I could set it so that it listened to all of > > > > above four ports, then I synced my mobile, the tool generated the > > > > results but in binary format :-(, > > > > > > Any possibility to copy&paste the traffic in hex? > > > Isn't there any export function - even HTML would be fine :P > > > > Dear Daniel, > > I > > finally could get data from the traffic. The attached file contains the > > traffic information in 3 views (URB Basic View, URB Complete View, > > Packet View). > > I hope it can help. Please let me know if you find the problem.... > > This was a sync with the mobile connect via USB - right? > Yeah, it was the traffic of USB. > Could try to sync via Bluetooth and sniff the Bluetooth traffic? Often the > Bluetooth interface are connected via USB - so just sniff the Bluetooth > interface with the USB app. you used before. I don't have any USB BT device. My BT device is inside my laptop :-(. If there is a way for sniffing internal BT devices, I surely give you a report.... I also try to borrow a USB BT device and sniff the traffic. best regards, Habib |
From: Christian H. <Chr...@co...> - 2008-12-19 11:28:18
|
Habib Seifzadeh schrieb: > I don't have any USB BT device. My BT device is inside my laptop :-(. If there is a way for sniffing internal BT devices, I surely give you a report.... > I also try to borrow a USB BT device and sniff the traffic. inside BT is typically connected over a USB bridge, so it that should not be a problem. You could verify that quite easy. Boot a Linux and use the keyboard action to switch BT off and on. I expect you will see USB messages in syslog. Christian -- Christian Hilgers |ConSol* Tel. +49.2102.994-423 |Consulting&Solutions Software GmbH Fax +49.2102.994-411 |Berliner Str. 101, 40880 Ratingen email: Chr...@co... |WWW: http://www.consol.de |
From: Daniel G. <dg...@su...> - 2008-12-19 12:09:14
|
On Friday 19 December 2008 12:20:21 Habib Seifzadeh wrote: > > > > > Second question is that which tool does listen to USB port and > > > > > returns the results as an XML(no binary format)? For example, > > > > > usb-monitor is a powerful application. I could set it so that it > > > > > listened to all of above four ports, then I synced my mobile, the > > > > > tool generated the results but in binary format :-(, > > > > > > > > Any possibility to copy&paste the traffic in hex? > > > > Isn't there any export function - even HTML would be fine :P > > > > > > Dear Daniel, > > > I > > > finally could get data from the traffic. The attached file contains the > > > traffic information in 3 views (URB Basic View, URB Complete View, > > > Packet View). > > > I hope it can help. Please let me know if you find the problem.... > > > > This was a sync with the mobile connect via USB - right? > > Yeah, it was the traffic of USB. > > > Could try to sync via Bluetooth and sniff the Bluetooth traffic? Often > > the Bluetooth interface are connected via USB - so just sniff the > > Bluetooth interface with the USB app. you used before. > > I don't have any USB BT device. My BT device is inside my laptop :-(. If > there is a way for sniffing internal BT devices, I surely give you a > report.... I also try to borrow a USB BT device and sniff the traffic. Most laptops have bluetooth connect via USB internally. Run lsusb in linux... i only new few laptops which use UART. best regards, Daniel |
From: Habib S. <hab...@ya...> - 2008-12-19 11:23:52
|
> > > > > > Second question is that which tool does listen to USB port and > > > > > > returns the results as an XML(no binary format)? For example, > > > > > > usb-monitor is a powerful application. I could set it so that it > > > > > > listened to all of above four ports, then I synced my mobile, the > > > > > > tool generated the results but in binary format :-(, > > > > > > > > > > Any possibility to copy&paste the traffic in hex? > > > > > Isn't there any export function - even HTML would be fine :P > > > > > > > > Dear Daniel, > > > > I > > > > finally could get data from the traffic. The attached file contains the > > > > traffic information in 3 views (URB Basic View, URB Complete View, > > > > Packet View). > > > > I hope it can help. Please let me know if you find the problem.... > > > > > > Thanks - brief check: SE is not using OBEX at all.. it's all SyncML 1.2 > > > via HTTP in WBXML :( > > > > Dear Daniel, > > Using either OBEX or HTTP isn't important for me at all. But why the > > command syncml-http-server doesn't work with P1i? > > I see - but OBEX is easier for Desktop Distribution to integrate. Setting-up > IP connection with a mobile is not yet that trivial today.. > > How did you establish the IP connection? It's very easy. The P1i supports WLANs perfectly. I set an IP address in it and make an Ad-Hoc wireless network between my laptop and the mobile. Please let me know if you need a more info. > > > > > > It's again a Teleca SyncML stack... this is also used on various Samsung > > > mobiles. It would be interesting to try some on OBEX - if this works at > > > all... but not quite sure if it's worth the pain - maybe it's completley > > > broken and never tested by Teleca/SE. > > > > Can we use a special software written for Samsung in this case? > > There is already one major different of Samsung and the SE on the OBEX > interface. Samsung does everything via the DUN interface - SE provides via > Bluetotoh a direct OBEX interface for SyncML - so there is already a major > difference. IIRC there used to be issues that the "Database"-name of the PC- > side needs to reflect the same name as the one from the mobile for some > reason. At least i had to do so for some Telecal Samsungs mobile sometime > ago... but again not quite sure if it's worth a try. Direct Access to such a > phone would be more helpful... > > best regards, > Daniel |
From: Habib S. <hab...@ya...> - 2008-12-23 14:23:17
Attachments:
BTSniffed.tar.bz2
|
> > > > > > Second question is that which tool does listen to USB port and > > > > > > returns the results as an XML(no binary format)? For example, > > > > > > usb-monitor is a powerful application. I could set it so that it > > > > > > listened to all of above four ports, then I synced my mobile, the > > > > > > tool generated the results but in binary format :-(, > > > > > > > > > > Any possibility to copy&paste the traffic in hex? > > > > > Isn't there any export function - even HTML would be fine :P > > > > > > > > Dear Daniel, > > > > I > > > > finally could get data from the traffic. The attached file contains the > > > > traffic information in 3 views (URB Basic View, URB Complete View, > > > > Packet View). > > > > I hope it can help. Please let me know if you find the problem.... > > > > > > This was a sync with the mobile connect via USB - right? > > > > Yeah, it was the traffic of USB. > > > > > Could try to sync via Bluetooth and sniff the Bluetooth traffic? Often > > > the Bluetooth interface are connected via USB - so just sniff the > > > Bluetooth interface with the USB app. you used before. > > > > I don't have any USB BT device. My BT device is inside my laptop :-(. If > > there is a way for sniffing internal BT devices, I surely give you a > > report.... I also try to borrow a USB BT device and sniff the traffic. > > Most laptops have bluetooth connect via USB internally. > Run lsusb in linux... i only new few laptops which use UART. Dear Daniel, First of all, happy new year! You was right, my BT device is recognized as a USB device. So, I could sniff the BT traffic.The information has been attached to the email. I hope I finally can sync my P1i mobile with Linux box. Cheers, Habib Seifzadeh |
From: Daniel G. <dg...@su...> - 2008-12-23 15:19:54
|
On Tuesday 23 December 2008 15:22:50 Habib Seifzadeh wrote: > > > > > > > Second question is that which tool does listen to USB port and > > > > > > > returns the results as an XML(no binary format)? For example, > > > > > > > usb-monitor is a powerful application. I could set it so that > > > > > > > it listened to all of above four ports, then I synced my > > > > > > > mobile, the tool generated the results but in binary format > > > > > > > :-(, > > > > > > > > > > > > Any possibility to copy&paste the traffic in hex? > > > > > > Isn't there any export function - even HTML would be fine :P > > > > > > > > > > Dear Daniel, > > > > > I > > > > > finally could get data from the traffic. The attached file contains > > > > > the traffic information in 3 views (URB Basic View, URB Complete > > > > > View, Packet View). > > > > > I hope it can help. Please let me know if you find the problem.... > > > > > > > > This was a sync with the mobile connect via USB - right? > > > > > > Yeah, it was the traffic of USB. > > > > > > > Could try to sync via Bluetooth and sniff the Bluetooth traffic? > > > > Often the Bluetooth interface are connected via USB - so just sniff > > > > the Bluetooth interface with the USB app. you used before. > > > > > > I don't have any USB BT device. My BT device is inside my laptop :-(. > > > If there is a way for sniffing internal BT devices, I surely give you a > > > report.... I also try to borrow a USB BT device and sniff the traffic. > > > > Most laptops have bluetooth connect via USB internally. > > Run lsusb in linux... i only new few laptops which use UART. > > Dear Daniel, > First of all, happy new year! thanks! > > You was right, my BT device is recognized as a USB device. So, I could > sniff the BT traffic.The information has been attached to the email. I hope > I finally can sync my P1i mobile with Linux box. Hmm .. even via bluetooth HTTP get used. I really wonder why they implemented OBEX Server for SyncML at all.. > > Cheers, > Habib Seifzadeh |