Discussion:
[Synce-devel] Vendor and Product IDs for an HTC PPC-6700 (and synce failure notes)
Marques Johansson
2006-07-05 21:08:04 UTC
Permalink
This is a Sprint branded PocketPC phone. I have seen evidence on the
internet that other brandings of the same phone model may have a different
product id.

I was not able to get synce working following the directions given here:
http://synce.sourceforge.net/synce/howto.php


***@bang:~$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 003: ID 413c:3010 Dell Computer Corp. Optical Wheel Mouse
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 009: ID 0bb4:0b02 High Tech Computer Corp.
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
***@bang:~$ cat /proc/bus/usb/devices > /tmp/after
***@bang:~$ diff /tmp/before /tmp/after
34a35,46
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 9 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ef(unk. ) Sub=01 Prot=01 MxPS=16 #Cfgs= 1
P: Vendor=0bb4 ProdID=0b02 Rev= 0.00
S: Manufacturer=HTC
S: Product=PocketPC USB Sync
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ef(unk. ) Sub=01 Prot=01 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
***@bang:~$ rmmod ipaq; sudo modprobe ipaq product=0x0b02
vendor=0x0bb4
ERROR: Module ipaq does not exist in /proc/modules

***@bang:~$ dmesg | tail -n 70
# I think some of these lines were generated because I had my phone plugged
in without the ipaq driver and removed the phone (I was charging it)
[5318281.189000] usb 3-2: new full speed USB device using uhci_hcd and
address 2
[5318693.245000] usb 3-2: USB disconnect, address 2
[5318704.253000] usb 3-2: new full speed USB device using uhci_hcd and
address 3
[5320385.589000] usb 3-2: USB disconnect, address 3
[5320409.749000] usb 3-2: new full speed USB device using uhci_hcd and
address 4
[5320497.545000] usb 3-2: USB disconnect, address 4
[5320765.810000] usb 3-2: new full speed USB device using uhci_hcd and
address 5
[5321601.128000] usb 3-2: USB disconnect, address 5
[5322008.558000] usb 3-2: new full speed USB device using uhci_hcd and
address 6
[5323883.401000] usb 3-2: USB disconnect, address 6
[5323947.360000] usb 3-2: new full speed USB device using uhci_hcd and
address 7
[5332502.934000] usb 3-2: USB disconnect, address 7
[5338029.861000] usb 3-2: new full speed USB device using uhci_hcd and
address 8
[5339997.207000] usb 3-2: USB disconnect, address 8
[5340015.922000] usb 3-1: new full speed USB device using uhci_hcd and
address 9
[5340451.109000] usbcore: registered new driver usbserial
[5340451.109000] drivers/usb/serial/usb-serial.c: USB Serial support
registered for generic
[5340451.109000] usbcore: registered new driver usbserial_generic
[5340451.110000] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[5340451.113000] drivers/usb/serial/usb-serial.c: USB Serial support
registered for PocketPC PDA
[5340451.113000] drivers/usb/serial/ipaq.c: USB PocketPC PDA driver v0.5
[5340451.114000] ipaq 3-1:1.0: PocketPC PDA converter detected
[5340451.119000] usb 3-1: PocketPC PDA converter now attached to ttyUSB0
[5340451.119000] ipaq 3-1:1.1: PocketPC PDA converter detected
[5340451.122000] usb 3-1: PocketPC PDA converter now attached to ttyUSB1
[5340451.122000] usbcore: registered new driver ipaq
[5340451.292000] Unable to handle kernel NULL pointer dereference at virtual
address 00000034
[5340451.292000] printing eip:
[5340451.292000] f8c571f6
[5340451.292000] *pde = 00000000
[5340451.292000] Oops: 0002 [#1]
[5340451.292000] PREEMPT SMP
[5340451.292000] Modules linked in: ipaq usbserial iptable_filter ip_tables
zd1211 vmnet vmmon binfmt_misc autofs4 i915 drm ppdev lp video tc1100_wmi
sony_acpi pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac
i2c_acpi_ec i2c_core deflate zlib_deflate twofish serpent aes blowfish des
sha256 sha1 crypto_null af_key efs vfat fat ipv6 dm_mod af_packet
snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm
e1000 snd_timer snd soundcore psmouse shpchp pci_hotplug snd_page_alloc
serio_raw parport_pc parport intel_agp agpgart floppy pcspkr evdev tsdev
ext3 jbd usbhid ide_generic uhci_hcd ehci_hcd usbcore ata_piix libata
scsi_mod ide_disk ide_cd cdrom piix generic thermal processor fan capability
commoncap vesafb fbcon tileblit font bitblit softcursor
[5340451.292000] CPU: 1
[5340451.292000] EIP: 0060:[<f8c571f6>] Tainted: P VLI
[5340451.292000] EFLAGS: 00210286 (2.6.15-23-686)
[5340451.292000] EIP is at ipaq_open+0x1f6/0x3a0 [ipaq]
[5340451.292000] eax: cc66e000 ebx: dfffec60 ecx: df863200 edx:
00000000
[5340451.292000] esi: df863200 edi: 00000100 ebp: cabcbfc0 esp:
c3ca7e44
[5340451.292000] ds: 007b es: 007b ss: 0068
[5340451.292000] Process hald-probe-seri (pid: 16483, threadinfo=c3ca6000
task=c294b030)
[5340451.292000] Stack: dffff9c0 000000d0 c023ea9d 00000000 000000d0
f8c72f6f 00000000 0000001d
[5340451.292000] 00000101 00000000 c6729b40 e339c3fc c6729b40
00000001 df863200 ffffffed
[5340451.292000] f8c6f4e3 df863200 f28c10c0 f28c10c0 ffffffed
f28c10c0 00000000 0bc00000
[5340451.292000] Call Trace:
[5340451.292000] [<c023ea9d>] init_dev+0x2bd/0x630
[5340451.292000] [<f8c6f4e3>] serial_open+0x143/0x1c0 [usbserial]
[5340451.292000] [<c023f917>] tty_open+0x127/0x310
[5340451.292000] [<c023f7f0>] tty_open+0x0/0x310
[5340451.292000] [<c017b108>] chrdev_open+0xd8/0x1e0
[5340451.292000] [<c017b030>] chrdev_open+0x0/0x1e0
[5340451.292000] [<c016f74f>] __dentry_open+0xdf/0x280
[5340451.292000] [<c016fa34>] nameidata_to_filp+0x44/0x50
[5340451.292000] [<c016f944>] filp_open+0x54/0x60
[5340451.292000] [<c016fb82>] get_unused_fd+0xc2/0xf0
[5340451.292000] [<c016fcd5>] do_sys_open+0x55/0x100
[5340451.292000] [<c0103457>] sysenter_past_esp+0x54/0x75
[5340451.292000] Code: 00 00 00 89 44 24 04 a1 50 6c 35 c0 89 04 24 e8 c1 0a
50 c7 85 c0 89 46 40 0f 84 76 01 00 00 8b 44 24 44 8b 50 38 89 c1 8b 40 30
<89> 42 34 8b 51 48 8b 41 40 89 42 34 8b 41 38 c7 40 3c 00 10 00
[5340451.292000] <3>drivers/usb/serial/ipaq.c: ipaq_open - failed doing
control urb, error -32


***@bang:~$ sudo synce-serial-config ttyUSB0

You can now run synce-serial-start to start a serial connection.

***@bang:~$ dccm -d3 -f &
[1] 18061
***@bang:~$ dccm[18061]: Running in foreground
dccm[18061]: Listening for connections on port 5679

***@bang:~$ sudo synce-serial-start

synce-serial-start is now waiting for your device to connect

***@bang:~$ synce-pstatus
synce-pstatus: Unable to initialize RAPI: An unspecified failure has
occurred


After removing the PocketPC from the usb port I received:

[5341480.751000] usb 3-1: USB disconnect, address 9
[5341480.751000] ipaq 3-1:1.0: device disconnected
[5341480.751000] ------------[ cut here ]------------
[5341480.751000] kernel BUG at kernel/workqueue.c:109!
[5341480.751000] invalid operand: 0000 [#2]
[5341480.751000] PREEMPT SMP
[5341480.751000] Modules linked in: ppp_async ppp_generic slhc crc_ccitt
ipaq usbserial iptable_filter ip_tables vmnet vmmon binfmt_misc autofs4 i915
drm ppdev lp video tc1100_wmi sony_acpi pcc_acpi hotkey dev_acpi container
button acpi_sbs battery ac i2c_acpi_ec i2c_core deflate zlib_deflate twofish
serpent aes blowfish des sha256 sha1 crypto_null af_key efs vfat fat ipv6
dm_mod af_packet snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss
snd_mixer_oss snd_pcm e1000 snd_timer snd soundcore psmouse shpchp
pci_hotplug snd_page_alloc serio_raw parport_pc parport intel_agp agpgart
floppy pcspkr evdev tsdev ext3 jbd usbhid ide_generic uhci_hcd ehci_hcd
usbcore ata_piix libata scsi_mod ide_disk ide_cd cdrom piix generic thermal
processor fan capability commoncap vesafb fbcon tileblit font bitblit
softcursor
[5341480.751000] CPU: 0
[5341480.751000] EIP: 0060:[<c0137216>] Tainted: P VLI
[5341480.751000] EFLAGS: 00210282 (2.6.15-23-686)
[5341480.751000] EIP is at queue_work+0x76/0x90
[5341480.751000] eax: dc76e964 ebx: dffe73a0 ecx: 00000000 edx:
dc76e960
[5341480.751000] esi: 00000000 edi: d7443ec0 ebp: ee021a14 esp:
f7cc1e5c
[5341480.751000] ds: 007b es: 007b ss: 0068
[5341480.751000] Process khubd (pid: 1863, threadinfo=f7cc0000
task=f7c9ea90)
[5341480.751000] Stack: c030a160 c01f62ef 00000000 d7443ec0 f8c715d6
dc76e000 f7d79000 00000003
[5341480.751000] ee021a00 f8c5eba0 f8c5ebc0 ee021a14 f88e3142
ee021a00 ee021a00 ee021a14
[5341480.751000] ee021a9c ee021a14 c0260de5 ee021a14 c032f334
ee021a14 f7d79070 00000002
[5341480.751000] Call Trace:
[5341480.751000] [<c030a160>] klist_release+0x0/0x70
[5341480.751000] [<c01f62ef>] kobject_put+0x1f/0x30
[5341480.751000] [<f8c715d6>] usb_serial_disconnect+0x56/0xd0 [usbserial]
[5341480.751000] [<f88e3142>] usb_unbind_interface+0x42/0x90 [usbcore]
[5341480.751000] [<c0260de5>] __device_release_driver+0x75/0xc0
[5341480.751000] [<c0260e4d>] device_release_driver+0x1d/0x30
[5341480.751000] [<c026048b>] bus_remove_device+0x6b/0x90
[5341480.751000] [<c025f3a6>] device_del+0x46/0x90
[5341480.751000] [<f88ebf06>] usb_disable_device+0xc6/0x140 [usbcore]
[5341480.751000] [<f88e5e52>] usb_disconnect+0xa2/0x140 [usbcore]
[5341480.751000] [<f88e71c2>] hub_port_connect_change+0x62/0x410 [usbcore]
[5341480.751000] [<f88e4616>] clear_port_feature+0x56/0x60 [usbcore]
[5341480.751000] [<f88e789b>] hub_events+0x32b/0x4c0 [usbcore]
[5341480.751000] [<c013c8c0>] autoremove_wake_function+0x0/0x60
[5341480.751000] [<f88e7a30>] hub_thread+0x0/0xe0 [usbcore]
[5341480.751000] [<f88e7a45>] hub_thread+0x15/0xe0 [usbcore]
[5341480.751000] [<c013c8c0>] autoremove_wake_function+0x0/0x60
[5341480.751000] [<c013c388>] kthread+0xc8/0xd0
[5341480.751000] [<c013c2c0>] kthread+0x0/0xd0
[5341480.751000] [<c0101525>] kernel_thread_helper+0x5/0x10
[5341480.751000] Code: 0d 74 94 42 c0 3b 42 04 75 21 8b 03 be 01 00 00 00 f7
d0 8b 04 88 89 54 24 04 89 04 24 e8 23 ff ff ff eb b2 e8 bc 41 1d 00 eb bc
<0f> 0b 6d 00 fb f4 31 c0 89 f6 eb d3 8d b4 26 00 00 00 00 8d bc
[5341480.751000] <6>note: khubd[1863] exited with preempt_count 1
--
Marques Johansson
***@gmail.com
David Eriksson
2006-07-06 21:52:59 UTC
Permalink
Post by Marques Johansson
This is a Sprint branded PocketPC phone. I have seen evidence on the
internet that other brandings of the same phone model may have a
different product id.
I was not able to get synce working following the directions given
here: http://synce.sourceforge.net/synce/howto.php
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 003: ID 413c:3010 Dell Computer Corp. Optical Wheel Mouse
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 009: ID 0bb4:0b02 High Tech Computer Corp.
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
34a35,46
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 9 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ef(unk. ) Sub=01 Prot=01 MxPS=16 #Cfgs= 1
As specified in the "Class, subclass and protocol" part of the HOWTO,
this device does not work with the "ipaq" kernel driver.

Windows Mobile 2005 devices use the RNDIS protocol, which is not
supported by the "ipaq" kernel driver and never will be.

Read the SynCE-WindowsMobile5 mailing list archives to get updated on
the current status of WM5 support in SynCE.

\David

Loading...