Post by Mark EllisPost by Stéphane GuedonPost by Mark EllisPost by Stéphane GuedonRecently, I upgraded my kernel to a new release, this change the
network interface of my device !
It doesn't matter. If you have firewall rules you may need to adjust
them, but it won't affect synce directly.
Post by Stéphane GuedonIs it important that my windows mobile has allways a rndis*
interface in ifconfig, or is it usable through a eth* ?
If no, I think I should use udev to create a symlink between
eth1 and
rndis*, is that right ? Anyone know the correct rule ?
If yes, how do I make synce and related softwares to know this
network interface ?
Thanks in advance !
Perhaps, but currently, I can't access to my device with synce, using
synce- hal !
** Message: Hal reports no devices connected
** Message: Odccm is not running, ignoring
synce-list-programs: Unable to initialize RAPI: An unspecified failure
has occurred
I have checked my firewall, and nothing blocks that.
But hal reports many things ! (maybe 30 messages, concerning udev, rndis
or others...)
Ah, that's different, you should've said it didn't work ! The interface
name change doesn't matter, so isn't the problem, but that doesn't mean
there isn't another problem.
I need the output of dmesg and the log entries from hal.
Mark
dmesg at hotplug of the device :
[17831.410067] usb 2-2: new high speed USB device using ehci_hcd and address 7
[17831.533425] usb 2-2: New USB device found, idVendorb4, idProduct25
[17831.533432] usb 2-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[17831.533436] usb 2-2: Product: Generic RNDIS
[17831.533440] usb 2-2: Manufacturer: HTC
[17831.533444] usb 2-2: SerialNumber: 3fbf5000-7351-0801-3539-690238315210
[17831.533535] PM: Adding info for usb:2-2
[17831.534724] PM: Adding info for usb:2-2:1.0
[17831.666062] rndis_host 2-2:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
[17831.686153] PM: Adding info for No Bus:eth1
[17831.687574] rndis_host 2-2:1.0: eth1: register 'rndis_host' at
usb-0000:00:1d.7-2, RNDIS device, 80:00:60:0f:e8:00
[17831.687614] PM: Adding info for No Bus:ep_81
[17831.687650] PM: Adding info for usb:2-2:1.1
[17831.687709] PM: Adding info for No Bus:ep_82
[17831.687731] PM: Adding info for No Bus:ep_03
[17831.687770] PM: Adding info for No Bus:ep_00
[17842.226265] eth1: no IPv6 routers present
hal (don't know exactly where it begin), so, I have tailed on the latest 100
lines:
18:32:38 ***@luciole:/home/stephane # tail -n 100 /var/log/messages
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.786 [I] hald.c:143: Removed
device from GDL;
udi=/org/freedesktop/Hal/devices/usb_device_bb4_b25_3fbf5000_7351_0801_3539_690238315210_if0
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.786 [D] hotplug.c:500: events
queued = 0, events in progress = 0
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.786 [D] hotplug.c:505: Hotplug-
queue empty now ... no hotplug events in progress
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [I] osspec.c:251:
SEQNUM67, ACTION=remove, SUBSYSTEM=usb,
DEVPATH=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2,
DEVNAME=/dev/bus/usb/002/007, IFINDEX=0
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [D] hotplug.c:478: checking
REMOVE event /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [D] hotplug.c:397: event
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2: skip ourselves and all later
events
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [I] hotplug.c:121:
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2 is a device (store)
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [I] device.c:5083:
remove_dev: subsys=usb
sysfs_path=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [I] device.c:4864: Remove
callouts completed
udi=/org/freedesktop/Hal/devices/usb_device_bb4_b25_3fbf5000_7351_0801_3539_690238315210
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [D] device_store.c:519:
removing 0x18904c0 from
(linux.sysfs_path,/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2)
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [I] hald.c:143: Removed
device from GDL;
udi=/org/freedesktop/Hal/devices/usb_device_bb4_b25_3fbf5000_7351_0801_3539_690238315210
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [D] hotplug.c:500: events
queued = 0, events in progress = 0
Sep 15 18:32:25 luciole hald[5505]: 18:32:25.787 [D] hotplug.c:505: Hotplug-
queue empty now ... no hotplug events in progress
Sep 15 18:32:26 luciole orage: polling /dev/sr0 (every 2 sec): [5653]:
18:32:26.000 [I] addon-storage.c:356: Checking whether device /dev/sr0 is
locked on HAL
Sep 15 18:32:26 luciole orage: polling /dev/sr0 (every 2 sec): [5653]:
18:32:26.000 [I] addon-storage.c:365: ... device /dev/sr0 is not locked on HAL
Sep 15 18:32:29 luciole kernel: [18069.753031] usb 2-2: new high speed USB
device using ehci_hcd and address 8
Sep 15 18:32:30 luciole kernel: [18069.877585] usb 2-2: New USB device found,
idVendorb4, idProduct25
Sep 15 18:32:30 luciole kernel: [18069.877589] usb 2-2: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Sep 15 18:32:30 luciole kernel: [18069.877592] usb 2-2: Product: Generic RNDIS
Sep 15 18:32:30 luciole kernel: [18069.877595] usb 2-2: Manufacturer: HTC
Sep 15 18:32:30 luciole kernel: [18069.877597] usb 2-2: SerialNumber:
3fbf5000-7351-0801-3539-690238315210
Sep 15 18:32:30 luciole kernel: [18069.877670] PM: Adding info for usb:2-2
Sep 15 18:32:30 luciole kernel: [18069.879127] PM: Adding info for usb:2-2:1.0
Sep 15 18:32:30 luciole kernel: [18069.996203] rndis_host 2-2:1.0:
RNDIS_MSG_QUERY(0x00010202) failed, -47
Sep 15 18:32:30 luciole kernel: [18070.016405] PM: Adding info for No Bus:eth1
Sep 15 18:32:30 luciole kernel: [18070.017299] rndis_host 2-2:1.0: eth1:
register 'rndis_host' at usb-0000:00:1d.7-2, RNDIS device, 80:00:60:0f:e8:00
Sep 15 18:32:30 luciole kernel: [18070.017333] PM: Adding info for No
Bus:ep_81
Sep 15 18:32:30 luciole kernel: [18070.017359] PM: Adding info for usb:2-2:1.1
Sep 15 18:32:30 luciole kernel: [18070.017403] PM: Adding info for No
Bus:ep_82
Sep 15 18:32:30 luciole kernel: [18070.017417] PM: Adding info for No
Bus:ep_03
Sep 15 18:32:30 luciole kernel: [18070.017446] PM: Adding info for No
Bus:ep_00
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.262 [I] osspec.c:251:
SEQNUM68, ACTIONd, SUBSYSTEM=usb,
DEVPATH=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2,
DEVNAME=/dev/bus/usb/002/008, IFINDEX=0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.262 [D] hotplug.c:476: checking
ADD event /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.262 [D] hotplug.c:397: event
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2: skip ourselves and all later
events
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.262 [I] hotplug.c:145:
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2 is a device (subsystem)
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.262 [I] osspec.c:1017:
hal_util_find_known_parent: '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2'-
Post by Mark Ellis'/sys/devices/pci0000:00/0000:00:1d.7/usb2'
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.262 [I] device.c:5002: add_dev:
subsys=usb sysfs_path=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2
dev=/dev/bus/usb/002/008 parent_dev=0x018f16c0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.264 [I] device.c:4850: Add
callouts completed
udi=/org/freedesktop/Hal/devices/usb_device_bb4_b25_3fbf5000_7351_0801_3539_690238315210
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.264 [D] device_store.c:516:
adding 0x18f14a0 to
(linux.sysfs_path,/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2)
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.264 [I] hald.c:108: Added device
to GDL;
udi=/org/freedesktop/Hal/devices/usb_device_bb4_b25_3fbf5000_7351_0801_3539_690238315210
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.264 [D] hotplug.c:500: events
queued = 0, events in progress = 0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.264 [D] hotplug.c:505: Hotplug-
queue empty now ... no hotplug events in progress
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.269 [I] osspec.c:251:
SEQNUM72, ACTIONd, SUBSYSTEM=usb,
DEVPATH=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1, DEVNAME=,
IFINDEX=0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.269 [D] hotplug.c:476: checking
ADD event /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.269 [D] hotplug.c:397: event
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1: skip ourselves and all
later events
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.269 [I] hotplug.c:145:
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1 is a device (subsystem)
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.269 [I] osspec.c:1017:
hal_util_find_known_parent:
'/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1'-
Post by Mark Ellis'/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2'
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.269 [I] device.c:5002: add_dev:
subsys=usb sysfs_path=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1
dev= parent_dev=0x018f14a0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.270 [I] device.c:4850: Add
callouts completed
udi=/org/freedesktop/Hal/devices/usb_device_bb4_b25_3fbf5000_7351_0801_3539_690238315210_if1
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.270 [D] device_store.c:516:
adding 0x18e6a80 to
(linux.sysfs_path,/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1)
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.270 [I] hald.c:108: Added device
to GDL;
udi=/org/freedesktop/Hal/devices/usb_device_bb4_b25_3fbf5000_7351_0801_3539_690238315210_if1
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.270 [D] hotplug.c:500: events
queued = 0, events in progress = 0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.270 [D] hotplug.c:505: Hotplug-
queue empty now ... no hotplug events in progress
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.271 [I] osspec.c:251:
SEQNUM69, ACTIONd, SUBSYSTEM=usb,
DEVPATH=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0, DEVNAME=,
IFINDEX=0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.271 [D] hotplug.c:476: checking
ADD event /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.271 [D] hotplug.c:397: event
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0: skip ourselves and all
later events
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.271 [I] hotplug.c:145:
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0 is a device (subsystem)
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.271 [I] osspec.c:1017:
hal_util_find_known_parent:
'/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0'-
Post by Mark Ellis'/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2'
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.271 [I] device.c:5002: add_dev:
subsys=usb sysfs_path=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0
dev= parent_dev=0x018f14a0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.272 [I] device.c:4850: Add
callouts completed
udi=/org/freedesktop/Hal/devices/usb_device_bb4_b25_3fbf5000_7351_0801_3539_690238315210_if0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.272 [D] device_store.c:516:
adding 0x18efa20 to
(linux.sysfs_path,/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0)
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.272 [I] hald.c:108: Added device
to GDL;
udi=/org/freedesktop/Hal/devices/usb_device_bb4_b25_3fbf5000_7351_0801_3539_690238315210_if0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.272 [D] hotplug.c:500: events
queued = 0, events in progress = 0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.272 [D] hotplug.c:505: Hotplug-
queue empty now ... no hotplug events in progress
Sep 15 18:32:30 luciole udevd-work[15398]: error changing net interface name
eth1 to rndis1: Device or resource busy
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.278 [I] osspec.c:251:
SEQNUM71, ACTIONd, SUBSYSTEM=queues,
DEVPATH=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/net/eth1/queues/rx-0,
DEVNAME=, IFINDEX=0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.279 [D] hotplug.c:476: checking
ADD event
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/net/eth1/queues/rx-0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.279 [D] hotplug.c:397: event
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/net/eth1/queues/rx-0:
skip ourselves and all later events
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.279 [I] osspec.c:1017:
hal_util_find_known_parent:
'/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/net/eth1/queues/rx-0'-
Post by Mark Ellis'/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0'
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.279 [I] device.c:5002: add_dev:
subsys=queues
sysfs_path=/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/net/eth1/queues/rx-0
dev= parent_dev=0x018efa20
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.280 [D] hotplug.c:500: events
queued = 0, events in progress = 0
Sep 15 18:32:30 luciole hald[5505]: 18:32:30.280 [D] hotplug.c:505: Hotplug-
queue empty now ... no hotplug events in progress
Sep 15 18:32:30 luciole /etc/init.d/firewall-home[19081]: WARNING: firewall-home
has already been started
Sep 15 18:32:30 luciole /etc/init.d/rpcbind[19082]: WARNING: rpcbind has
already been started
Sep 15 18:32:30 luciole /etc/init.d/ypbind[19083]: WARNING: ypbind has already
been started
Sep 15 18:32:30 luciole /etc/init.d/rpc.idmapd[19084]: WARNING: rpc.idmapd has
already been started
Sep 15 18:32:30 luciole /etc/init.d/nfsmount[19085]: WARNING: nfsmount has
already been started
Sep 15 18:32:30 luciole /etc/init.d/firewall-home[19089]: WARNING: firewall-home
has already been started
Sep 15 18:32:30 luciole /etc/init.d/rpcbind[19090]: WARNING: rpcbind has
already been started
Sep 15 18:32:30 luciole /etc/init.d/ypbind[19091]: WARNING: ypbind has already
been started
Sep 15 18:32:30 luciole /etc/init.d/rpc.idmapd[19092]: WARNING: rpc.idmapd has
already been started
Sep 15 18:32:30 luciole /etc/init.d/nfsmount[19093]: WARNING: nfsmount has
already been started
Sep 15 18:32:30 luciole dhcpcd[9137]: eth1: rebinding lease of 169.254.2.2
Sep 15 18:32:31 luciole avahi-daemon[5559]: Joining mDNS multicast group on
interface eth1.IPv6 with address fe80::8200:60ff:fe0f:e800.
Sep 15 18:32:31 luciole avahi-daemon[5559]: New relevant interface eth1.IPv6
for mDNS.
Sep 15 18:32:31 luciole avahi-daemon[5559]: Registering new address record for
fe80::8200:60ff:fe0f:e800 on eth1.*.
Sep 15 18:32:32 luciole orage: polling /dev/sr0 (every 2 sec): [5653]:
18:32:32.002 [I] addon-storage.c:356: Checking whether device /dev/sr0 is
locked on HAL
Sep 15 18:32:32 luciole orage: polling /dev/sr0 (every 2 sec): [5653]:
18:32:32.002 [I] addon-storage.c:365: ... device /dev/sr0 is not locked on HAL
Sep 15 18:32:34 luciole dhcpcd[9137]: eth1: acknowledged 169.254.2.2 from
169.254.2.1
Sep 15 18:32:34 luciole dhcpcd[9137]: eth1: checking for 169.254.2.2
Sep 15 18:32:38 luciole dhcpcd[9137]: eth1: leased 169.254.2.2 for 2592000
seconds
Sep 15 18:32:38 luciole avahi-daemon[5559]: Joining mDNS multicast group on
interface eth1.IPv4 with address 169.254.2.2.
Sep 15 18:32:38 luciole avahi-daemon[5559]: New relevant interface eth1.IPv4
for mDNS.
Sep 15 18:32:38 luciole avahi-daemon[5559]: Registering new address record for
169.254.2.2 on eth1.IPv4.
Sep 15 18:32:38 luciole /etc/init.d/firewall-home[19123]: WARNING: firewall-home
has already been started
Sep 15 18:32:38 luciole /etc/init.d/rpcbind[19124]: WARNING: rpcbind has
already been started
Sep 15 18:32:38 luciole /etc/init.d/ypbind[19125]: WARNING: ypbind has already
been started
Sep 15 18:32:38 luciole /etc/init.d/rpc.idmapd[19126]: WARNING: rpc.idmapd has
already been started
Sep 15 18:32:38 luciole /etc/init.d/nfsmount[19127]: WARNING: nfsmount has
already been started
Sep 15 18:32:40 luciole kernel: [18080.210267] eth1: no IPv6 routers present
Thanks
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc