Discussion:
SynCE & OpenSUSE 11 & WindowMaker
Piotr Pydych
2011-02-15 13:54:10 UTC
Permalink
Hello,

I installed SynCE on my OpenSUSE 11 machine.

When the Windows CE device is connected via USB I get errors after SynCE
related commands.
For example, the following I received after running "pls":

** Message: Device
/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_1 not
fully set in Hal, skipping
** Message: Device
/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0 not
fully set in Hal, skipping
** Message: Odccm is not running, ignoring
Pls: Could not find configuration at path '(Default)'

Some more info:

===> dmesg (after plugging the device):

... cut ...
usb 2-2: new full speed USB device using uhci_hcd and address 11
usb 2-2: configuration #1 chosen from 1 choice
ipaq 2-2:1.0: PocketPC PDA converter detected
usb 2-2: PocketPC PDA converter now attached to ttyUSB1
usb 2-2: New USB device found, idVendor=045e, idProduct=00ce
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
... cut ...

===> dmesg (after un-plugging the device):

... cut ...
usb 2-2: USB disconnect, address 11
ipaq ttyUSB1: PocketPC PDA converter now disconnected from ttyUSB1
ipaq 2-2:1.0: device disconnected
... cut ...

===> lshal

... cut ...
udi =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_1'
info.addons = {'hal-synce-serial'} (string list)
info.callouts.add = {'hal-resmgr'} (string list)
info.capabilities = {'serial', 'pda', 'sync', 'pda'} (string list)
info.category = 'pda' (string)
info.interfaces = {'org.freedesktop.Hal.Device.resmgr'} (string list)
info.parent =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0' (string)
info.product = 'Pocket PC PDA' (string)
info.subsystem = 'tty' (string)
info.udi =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_1'
(string)
linux.device_file = '/dev/ttyUSB1' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'tty' (string)
linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/ttyUSB1/tty/ttyUSB1'
(string)
org.freedesktop.Hal.Device.resmgr.method_argnames = {'', ''} (string list)
org.freedesktop.Hal.Device.resmgr.method_execpaths = {'hal-resmgr-grant',
'hal-resmgr-revoke'} (string list)
org.freedesktop.Hal.Device.resmgr.method_names = {'Grant', 'Revoke'}
(string list)
org.freedesktop.Hal.Device.resmgr.method_signatures = {'', ''} (string
list)
pda.platform = 'pocketpc' (string)
pda.pocketpc.hotsync_interface = '/dev/ttyUSB1' (string)
resmgr.class = 'pda' (string)
serial.device = '/dev/ttyUSB1' (string)
serial.originating_device =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0' (string)
serial.port = 1 (0x1) (int)
serial.type = 'usb' (string)
sync.engine = 'opensync' (string)
sync.plugin = 'synce' (string)
usb.interface.description = 'Windows Mobile Data Provider' (string)
usb.product = 'Windows Mobile Device' (string)

udi =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0'
info.addons = {'hal-synce-serial'} (string list)
info.callouts.add = {'hal-resmgr'} (string list)
info.capabilities = {'serial', 'pda', 'sync', 'pda'} (string list)
info.category = 'pda' (string)
info.interfaces = {'org.freedesktop.Hal.Device.resmgr'} (string list)
info.parent =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0' (string)
info.product = 'Pocket PC PDA' (string)
info.subsystem = 'tty' (string)
info.udi =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0'
(string)
linux.device_file = '/dev/ttyUSB0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'tty' (string)
linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/ttyUSB0/tty/ttyUSB0'
(string)
org.freedesktop.Hal.Device.resmgr.method_argnames = {'', ''} (string list)
org.freedesktop.Hal.Device.resmgr.method_execpaths = {'hal-resmgr-grant',
'hal-resmgr-revoke'} (string list)
org.freedesktop.Hal.Device.resmgr.method_names = {'Grant', 'Revoke'}
(string list)
org.freedesktop.Hal.Device.resmgr.method_signatures = {'', ''} (string
list)
pda.platform = 'pocketpc' (string)
pda.pocketpc.hotsync_interface = '/dev/ttyUSB0' (string)
resmgr.class = 'pda' (string)
serial.device = '/dev/ttyUSB0' (string)
serial.originating_device =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0' (string)
serial.port = 0 (0x0) (int)
serial.type = 'usb' (string)
sync.engine = 'opensync' (string)
sync.plugin = 'synce' (string)
usb.interface.description = 'Windows Mobile Data Provider' (string)
usb.product = 'Windows Mobile Device' (string)

... cut ...

===> synce-hal.conf

[general]
# global logging level, can be debug, info, warning, error, critical
loglevel: debug

But unfortunately no /var/log/daemonlog is produced.

I would really appreciate it if you could provide me with some advice on it.

Peter.
Tejas Guruswamy
2011-02-15 16:27:48 UTC
Permalink
Post by Piotr Pydych
Hello,
I installed SynCE on my OpenSUSE 11 machine.
When the Windows CE device is connected via USB I get errors after SynCE
related commands.
** Message: Device
/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_1 not
fully set in Hal, skipping
** Message: Device
/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0 not
fully set in Hal, skipping
** Message: Odccm is not running, ignoring
Pls: Could not find configuration at path '(Default)'
... cut ...
usb 2-2: new full speed USB device using uhci_hcd and address 11
usb 2-2: configuration #1 chosen from 1 choice
ipaq 2-2:1.0: PocketPC PDA converter detected
usb 2-2: PocketPC PDA converter now attached to ttyUSB1
usb 2-2: New USB device found, idVendor=045e, idProduct=00ce
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
... cut ...
... cut ...
usb 2-2: USB disconnect, address 11
ipaq ttyUSB1: PocketPC PDA converter now disconnected from ttyUSB1
ipaq 2-2:1.0: device disconnected
... cut ...
===> lshal
... cut ...
udi =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_1'
info.addons = {'hal-synce-serial'} (string list)
info.callouts.add = {'hal-resmgr'} (string list)
info.capabilities = {'serial', 'pda', 'sync', 'pda'} (string list)
info.category = 'pda' (string)
info.interfaces = {'org.freedesktop.Hal.Device.resmgr'} (string list)
info.parent =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0' (string)
info.product = 'Pocket PC PDA' (string)
info.subsystem = 'tty' (string)
info.udi =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_1'
(string)
linux.device_file = '/dev/ttyUSB1' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'tty' (string)
linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/ttyUSB1/tty/ttyUSB1'
(string)
org.freedesktop.Hal.Device.resmgr.method_argnames = {'', ''} (string list)
org.freedesktop.Hal.Device.resmgr.method_execpaths = {'hal-resmgr-grant',
'hal-resmgr-revoke'} (string list)
org.freedesktop.Hal.Device.resmgr.method_names = {'Grant', 'Revoke'}
(string list)
org.freedesktop.Hal.Device.resmgr.method_signatures = {'', ''} (string
list)
pda.platform = 'pocketpc' (string)
pda.pocketpc.hotsync_interface = '/dev/ttyUSB1' (string)
resmgr.class = 'pda' (string)
serial.device = '/dev/ttyUSB1' (string)
serial.originating_device =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0' (string)
serial.port = 1 (0x1) (int)
serial.type = 'usb' (string)
sync.engine = 'opensync' (string)
sync.plugin = 'synce' (string)
usb.interface.description = 'Windows Mobile Data Provider' (string)
usb.product = 'Windows Mobile Device' (string)
udi =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0'
info.addons = {'hal-synce-serial'} (string list)
info.callouts.add = {'hal-resmgr'} (string list)
info.capabilities = {'serial', 'pda', 'sync', 'pda'} (string list)
info.category = 'pda' (string)
info.interfaces = {'org.freedesktop.Hal.Device.resmgr'} (string list)
info.parent =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0' (string)
info.product = 'Pocket PC PDA' (string)
info.subsystem = 'tty' (string)
info.udi =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0'
(string)
linux.device_file = '/dev/ttyUSB0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'tty' (string)
linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/ttyUSB0/tty/ttyUSB0'
(string)
org.freedesktop.Hal.Device.resmgr.method_argnames = {'', ''} (string list)
org.freedesktop.Hal.Device.resmgr.method_execpaths = {'hal-resmgr-grant',
'hal-resmgr-revoke'} (string list)
org.freedesktop.Hal.Device.resmgr.method_names = {'Grant', 'Revoke'}
(string list)
org.freedesktop.Hal.Device.resmgr.method_signatures = {'', ''} (string
list)
pda.platform = 'pocketpc' (string)
pda.pocketpc.hotsync_interface = '/dev/ttyUSB0' (string)
resmgr.class = 'pda' (string)
serial.device = '/dev/ttyUSB0' (string)
serial.originating_device =
'/org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0' (string)
serial.port = 0 (0x0) (int)
serial.type = 'usb' (string)
sync.engine = 'opensync' (string)
sync.plugin = 'synce' (string)
usb.interface.description = 'Windows Mobile Data Provider' (string)
usb.product = 'Windows Mobile Device' (string)
... cut ...
===> synce-hal.conf
[general]
# global logging level, can be debug, info, warning, error, critical
loglevel: debug
But unfortunately no /var/log/daemonlog is produced.
I would really appreciate it if you could provide me with some advice on it.
Peter.
The problem could be firewall (have you configured SuSEfirewall2 to
allow SynCE traffic?) or NetworkManager interfering.
The logging goes via syslog to /var/log/messages IIRC. So have a look there.

Regards,
Tejas
Piotr Pydych
2011-02-16 09:43:55 UTC
Permalink
Thank you for the answer, Tejas.

Unfortunately still have problems...

1. I have firewall configured to allow ALL traffic (INPUT/FORWARD/OUTPUT
policy ACCEPT).

2. Also I prepared /etc/sysconfig/network/ifcfg-ppp0 file with following the
instructions from synce
http://www.synce.org/moin/SynceInstallation/OpenSuse.

3. Now, when I plug in the WinCE device the device the following messages
are displayed on it:

Connecting to host...
Device Connected.
User authenticated.

Great. Unfortunately, just after few seconds a window opens with the
following message:

"Cannot start communications with the desktop computer. Winsock services
could not start due to critical error (Error %d). Please reconnect your
device. If the problem persists, see the Troubleshooting section of
Microsoft ActiveSync Help".

4. The following are dumps from /var/log/messages. What looks strange is
that each message is written twice (duplicated).

===> /var/log/messages (after pluggin-in)

Feb 16 10:28:33 host kernel: hub 3-0:1.0: unable to enumerate USB device on
port 2
Feb 16 10:28:33 host kernel: hub 3-0:1.0: unable to enumerate USB device on
port 2
Feb 16 10:28:33 host kernel: usb 1-2: new full speed USB device using
uhci_hcd and address 27
Feb 16 10:28:33 host kernel: usb 1-2: new full speed USB device using
uhci_hcd and address 27
Feb 16 10:28:33 host kernel: usb 1-2: configuration #1 chosen from 1 choice
Feb 16 10:28:33 host kernel: usb 1-2: configuration #1 chosen from 1 choice
Feb 16 10:28:33 host kernel: ipaq 1-2:1.0: PocketPC PDA converter detected
Feb 16 10:28:33 host kernel: ipaq 1-2:1.0: PocketPC PDA converter detected
Feb 16 10:28:33 host kernel: usb 1-2: PocketPC PDA converter now attached to
ttyUSB1
Feb 16 10:28:33 host kernel: usb 1-2: PocketPC PDA converter now attached to
ttyUSB1
Feb 16 10:28:33 host kernel: usb 1-2: New USB device found, idVendor=045e,
idProduct=00ce
Feb 16 10:28:33 host kernel: usb 1-2: New USB device found, idVendor=045e,
idProduct=00ce
Feb 16 10:28:33 host kernel: usb 1-2: New USB device strings: Mfr=0,
Product=0, SerialNumber=0
Feb 16 10:28:33 host kernel: usb 1-2: New USB device strings: Mfr=0,
Product=0, SerialNumber=0
Feb 16 10:28:33 host pppd[7227]: pppd 2.4.4 started by root, uid 0
Feb 16 10:28:33 host pppd[7227]: pppd 2.4.4 started by root, uid 0
Feb 16 10:28:34 host pppd[7227]: Serial connection established.
Feb 16 10:28:34 host pppd[7227]: Serial connection established.
Feb 16 10:28:34 host pppd[7227]: Using interface ppp0
Feb 16 10:28:34 host pppd[7227]: Using interface ppp0
Feb 16 10:28:34 host pppd[7227]: Connect: ppp0 <--> /dev/ttyUSB1
Feb 16 10:28:34 host pppd[7227]: Connect: ppp0 <--> /dev/ttyUSB1
Feb 16 10:28:37 host pppd[7227]: local IP address 192.168.131.2
Feb 16 10:28:37 host pppd[7227]: local IP address 192.168.131.2
Feb 16 10:28:37 host pppd[7227]: remote IP address 192.168.131.130
Feb 16 10:28:37 host pppd[7227]: remote IP address 192.168.131.130
Feb 16 10:28:37 host pppd[7227]: Script /etc/ppp/ip-up finished (pid 7233),
status = 0x0
Feb 16 10:28:37 host pppd[7227]: Script /etc/ppp/ip-up finished (pid 7233),
status = 0x0
Feb 16 10:28:37 host poll.tcpip: Starting mail and news send/fetch
Feb 16 10:28:42 host poll.tcpip: no server configured
Feb 16 10:28:42 host poll.tcpip: no server configured
Feb 16 10:28:42 host poll.tcpip: Done mail and news send/fetch


===> /var/log/messages (after disconnecting)

Feb 16 10:28:47 host pppd[7227]: LCP terminated by peer
Feb 16 10:28:47 host pppd[7227]: LCP terminated by peer
Feb 16 10:28:47 host pppd[7227]: Connect time 0.2 minutes.
Feb 16 10:28:47 host pppd[7227]: Connect time 0.2 minutes.
Feb 16 10:28:47 host pppd[7227]: Sent 120 bytes, received 973 bytes.
Feb 16 10:28:47 host pppd[7227]: Sent 120 bytes, received 973 bytes.
Feb 16 10:28:47 host pppd[7227]: Script /etc/ppp/ip-down finished (pid
7277), status = 0x0
Feb 16 10:28:47 host pppd[7227]: Script /etc/ppp/ip-down finished (pid
7277), status = 0x0
Feb 16 10:28:49 host pppd[7227]: Connection terminated.
Feb 16 10:28:49 host pppd[7227]: Connection terminated.
Feb 16 10:28:49 host pppd[7227]: Modem hangup
Feb 16 10:28:49 host pppd[7227]: Modem hangup
Feb 16 10:28:49 host pppd[7227]: Exit.
Feb 16 10:28:49 host pppd[7227]: Exit.
Feb 16 10:28:49 host hal-synce-serial[7224] ERROR : failed to initialize ppp
connection, return code 16
Feb 16 10:28:49 host hal-synce-serial[7224] ERROR : failed to initialize ppp
connection, return code 16
Feb 16 10:28:49 host hal-synce-serial[7224] CRITICAL : failed to establish
serial connection, aborting...
Feb 16 10:28:49 host hal-synce-serial[7224] CRITICAL : failed to establish
serial connection, aborting...


Any suggestions? I would really appreciate it.

Peter.
Mark Ellis
2011-02-16 20:47:44 UTC
Permalink
What is the device ?
Post by Piotr Pydych
Thank you for the answer, Tejas.
Unfortunately still have problems...
1. I have firewall configured to allow ALL traffic (INPUT/FORWARD/OUTPUT
policy ACCEPT).
What's the output of iptables -L
Post by Piotr Pydych
2. Also I prepared /etc/sysconfig/network/ifcfg-ppp0 file with following the
instructions from synce
http://www.synce.org/moin/SynceInstallation/OpenSuse.
3. Now, when I plug in the WinCE device the device the following messages
Connecting to host...
Device Connected.
User authenticated.
Great. Unfortunately, just after few seconds a window opens with the
"Cannot start communications with the desktop computer. Winsock services
could not start due to critical error (Error %d). Please reconnect your
device. If the problem persists, see the Troubleshooting section of
Microsoft ActiveSync Help".
Never seen that message before, almost looks like an error on the
device. Does it work with Windows ?
Post by Piotr Pydych
4. The following are dumps from /var/log/messages. What looks strange is
that each message is written twice (duplicated).
===> /var/log/messages (after pluggin-in)
Feb 16 10:28:33 host kernel: hub 3-0:1.0: unable to enumerate USB device on
port 2
Feb 16 10:28:33 host kernel: hub 3-0:1.0: unable to enumerate USB device on
port 2
Feb 16 10:28:33 host kernel: usb 1-2: new full speed USB device using
uhci_hcd and address 27
Feb 16 10:28:33 host kernel: usb 1-2: new full speed USB device using
uhci_hcd and address 27
Feb 16 10:28:33 host kernel: usb 1-2: configuration #1 chosen from 1 choice
Feb 16 10:28:33 host kernel: usb 1-2: configuration #1 chosen from 1 choice
Feb 16 10:28:33 host kernel: ipaq 1-2:1.0: PocketPC PDA converter detected
Feb 16 10:28:33 host kernel: ipaq 1-2:1.0: PocketPC PDA converter detected
Feb 16 10:28:33 host kernel: usb 1-2: PocketPC PDA converter now attached to
ttyUSB1
Feb 16 10:28:33 host kernel: usb 1-2: PocketPC PDA converter now attached to
ttyUSB1
Feb 16 10:28:33 host kernel: usb 1-2: New USB device found, idVendor=045e,
idProduct=00ce
Feb 16 10:28:33 host kernel: usb 1-2: New USB device found, idVendor=045e,
idProduct=00ce
Feb 16 10:28:33 host kernel: usb 1-2: New USB device strings: Mfr=0,
Product=0, SerialNumber=0
Feb 16 10:28:33 host kernel: usb 1-2: New USB device strings: Mfr=0,
Product=0, SerialNumber=0
Feb 16 10:28:33 host pppd[7227]: pppd 2.4.4 started by root, uid 0
Feb 16 10:28:33 host pppd[7227]: pppd 2.4.4 started by root, uid 0
Feb 16 10:28:34 host pppd[7227]: Serial connection established.
Feb 16 10:28:34 host pppd[7227]: Serial connection established.
Feb 16 10:28:34 host pppd[7227]: Using interface ppp0
Feb 16 10:28:34 host pppd[7227]: Using interface ppp0
Feb 16 10:28:34 host pppd[7227]: Connect: ppp0 <--> /dev/ttyUSB1
Feb 16 10:28:34 host pppd[7227]: Connect: ppp0 <--> /dev/ttyUSB1
Feb 16 10:28:37 host pppd[7227]: local IP address 192.168.131.2
Feb 16 10:28:37 host pppd[7227]: local IP address 192.168.131.2
Feb 16 10:28:37 host pppd[7227]: remote IP address 192.168.131.130
Feb 16 10:28:37 host pppd[7227]: remote IP address 192.168.131.130
Feb 16 10:28:37 host pppd[7227]: Script /etc/ppp/ip-up finished (pid 7233),
status = 0x0
Feb 16 10:28:37 host pppd[7227]: Script /etc/ppp/ip-up finished (pid 7233),
status = 0x0
Feb 16 10:28:37 host poll.tcpip: Starting mail and news send/fetch
Feb 16 10:28:42 host poll.tcpip: no server configured
Feb 16 10:28:42 host poll.tcpip: no server configured
Feb 16 10:28:42 host poll.tcpip: Done mail and news send/fetch
===> /var/log/messages (after disconnecting)
Feb 16 10:28:47 host pppd[7227]: LCP terminated by peer
Feb 16 10:28:47 host pppd[7227]: LCP terminated by peer
Feb 16 10:28:47 host pppd[7227]: Connect time 0.2 minutes.
Feb 16 10:28:47 host pppd[7227]: Connect time 0.2 minutes.
Feb 16 10:28:47 host pppd[7227]: Sent 120 bytes, received 973 bytes.
Feb 16 10:28:47 host pppd[7227]: Sent 120 bytes, received 973 bytes.
Feb 16 10:28:47 host pppd[7227]: Script /etc/ppp/ip-down finished (pid
7277), status = 0x0
Feb 16 10:28:47 host pppd[7227]: Script /etc/ppp/ip-down finished (pid
7277), status = 0x0
Feb 16 10:28:49 host pppd[7227]: Connection terminated.
Feb 16 10:28:49 host pppd[7227]: Connection terminated.
Feb 16 10:28:49 host pppd[7227]: Modem hangup
Feb 16 10:28:49 host pppd[7227]: Modem hangup
Feb 16 10:28:49 host pppd[7227]: Exit.
Feb 16 10:28:49 host pppd[7227]: Exit.
Feb 16 10:28:49 host hal-synce-serial[7224] ERROR : failed to initialize ppp
connection, return code 16
Feb 16 10:28:49 host hal-synce-serial[7224] ERROR : failed to initialize ppp
connection, return code 16
Feb 16 10:28:49 host hal-synce-serial[7224] CRITICAL : failed to establish
serial connection, aborting...
Feb 16 10:28:49 host hal-synce-serial[7224] CRITICAL : failed to establish
serial connection, aborting...
Any suggestions? I would really appreciate it.
Peter.
------------------------------------------------------------------------------
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
SynCE-Users mailing list
https://lists.sourceforge.net/lists/listinfo/synce-users
Piotr Pydych
2011-02-17 07:48:43 UTC
Permalink
Hello!

The device is a LXE MX-7 handheld computer.
But the same problems happen also on some other WindowsCE devices I have (e.g. Symbol / Motorola). So, it does not seem to be a device-related problem. All the devices connects with no problems to Windows & ActiveSync.

The iptables -L prints as follows:

-------

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

-------


Peter.

-----Original Message-----
From: Mark Ellis [mailto:***@mpellis.org.uk]
Sent: Wednesday, February 16, 2011 9:48 PM
To: synce-***@lists.sourceforge.net
Subject: RE: SynCE & OpenSUSE 11 & WindowMaker

What is the device ?
What's the output of iptables -L
Never seen that message before, almost looks like an error on the device. Does it work with Windows ?
Piotr Pydych
2011-02-22 08:26:37 UTC
Permalink
Dears,

I removed all the old parts of SynCE installed on my Open SUSE 11.0 computer.

Having a clean system, I downloaded source packages. As only the base functionality is important for me (pcp, pls, pstatus, etc.) I downloaded:

librapi2-0.15.1.tar.gz,
libsynce-0.15.1.tar.gz,
synce-hal-0.15.tar.gz
synce-connector-0.15.1.tar.gz

After this I unpacked them and installed in a standard Linux way (configure/make/make install).

Now the WinCE device connects, but after 2-3 secs after connecting the message I mentioned about earlier appears on its display:

"Cannot start communications with the desktop computer. Winsock services could not start due to critical error (Error %d). Please reconnect your device. If the problem persists, see the Troubleshooting section of Microsoft ActiveSync Help".

What have been a real surprise for me is that I CAN PING OR EVEN LOG into an FTP server run on the device while the above error message window is displayed. Being logged standard FTP file transfer commands work with no problems! I can put and get files from the device.

Unfortunately, after "pls" command I get:

** Message: dccm is not running, ignoring
** Message: Device /org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0_0 not fully set in Hal, skipping
** Message: Device /org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0 not fully set in Hal, skipping
** Message: Odccm is not running, ignoring
pls: Could not find configuration at path '(Default)'


I am also wondering why every entry in /var/log/messages is doubled? Is there a unwanted concurrency? Two interfering tasks? If it was it could be a source of problems, undoubtedly...


Thank you in advance for any idea on how to solve my problems.

Peter.
Mark Ellis
2011-02-22 16:40:02 UTC
Permalink
Send the output of

lsusb -v
Post by Piotr Pydych
Dears,
I removed all the old parts of SynCE installed on my Open SUSE 11.0 computer.
librapi2-0.15.1.tar.gz,
libsynce-0.15.1.tar.gz,
synce-hal-0.15.tar.gz
synce-connector-0.15.1.tar.gz
After this I unpacked them and installed in a standard Linux way (configure/make/make install).
"Cannot start communications with the desktop computer. Winsock services could not start due to critical error (Error %d). Please reconnect your device. If the problem persists, see the Troubleshooting section of Microsoft ActiveSync Help".
What have been a real surprise for me is that I CAN PING OR EVEN LOG into an FTP server run on the device while the above error message window is displayed. Being logged standard FTP file transfer commands work with no problems! I can put and get files from the device.
** Message: dccm is not running, ignoring
** Message: Device /org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0_0 not fully set in Hal, skipping
** Message: Device /org/freedesktop/Hal/devices/usb_device_45e_ce_noserial_if0_serial_usb_0 not fully set in Hal, skipping
** Message: Odccm is not running, ignoring
pls: Could not find configuration at path '(Default)'
I am also wondering why every entry in /var/log/messages is doubled? Is there a unwanted concurrency? Two interfering tasks? If it was it could be a source of problems, undoubtedly...
Thank you in advance for any idea on how to solve my problems.
Peter.
------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk
Collect, index and harness all the fast moving IT data generated by your
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights.
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
SynCE-Users mailing list
https://lists.sourceforge.net/lists/listinfo/synce-users
Piotr Pydych
2011-02-23 07:31:53 UTC
Permalink
Post by Mark Ellis
Send the output of
lsusb -v
Here you are:
----------------------
lsusb -v

Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 2.06
iManufacturer 3 Linux 2.6.25.5-1.1-pae ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:1d.7
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 8
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00 0x00
PortPwrCtrlMask 0xff 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Port 7: 0000.0100 power
Port 8: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3 Linux 2.6.25.5-1.1-pae uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3 Linux 2.6.25.5-1.1-pae uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 003 Device 003: ID 046d:c046 Logitech, Inc. RX1000 Laser Mouse
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0xc046 RX1000 Laser Mouse
bcdDevice 27.20
iManufacturer 1 Logitech
iProduct 2 USB Optical Mouse
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 98mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 59
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0005 1x 5 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3 Linux 2.6.25.5-1.1-pae uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0303 lowspeed power enable connect
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled

Bus 001 Device 002: ID 045e:00ce Microsoft Corp. Generic PPC Flash device
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.01
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 16
idVendor 0x045e Microsoft Corp.
idProduct 0x00ce Generic PPC Flash device
bcdDevice 0.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0001
Self Powered

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0001 1.1 root hub
bcdDevice 2.06
iManufacturer 3 Linux 2.6.25.5-1.1-pae uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0103 power enable connect
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled
Mark Ellis
2011-02-24 11:43:27 UTC
Permalink
Post by Piotr Pydych
Post by Mark Ellis
Send the output of
lsusb -v
----------------------
I'm guessing this is the device, but I've never seen one calling itself
a flash device before. Is there an option on the device somewhere to
change how it connects ?
Post by Piotr Pydych
Bus 001 Device 002: ID 045e:00ce Microsoft Corp. Generic PPC Flash device
bLength 18
bDescriptorType 1
bcdUSB 1.01
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 16
idVendor 0x045e Microsoft Corp.
idProduct 0x00ce Generic PPC Flash device
bcdDevice 0.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0001
Self Powered
Piotr Pydych
2011-02-25 07:20:21 UTC
Permalink
Post by Piotr Pydych
Post by Mark Ellis
Send the output of
lsusb -v
----------------------
I'm guessing this is the device, but I've never seen one calling itself a flash device before. Is there an option on > the device somewhere to change how it connects ?
Post by Piotr Pydych
Bus 001 Device 002: ID 045e:00ce Microsoft Corp. Generic PPC Flash
Yes, it is. Unfortunately there are no configuration options available. The only one is to enable/disable USB connectivity at all :)

Peter.

Loading...