unknown
1970-01-01 00:00:00 UTC
Jan 19 19:58:48 dellpc hal-dccm[4419]: DEBUG: create_device: found
device interface
Jan 19 19:58:48 dellpc hal-dccm[4419]: CRITICAL: create_device: unable
to listen on rndis port (990), server invalid
I have to kill hal-dccm and re-plug again, and then it works.
I think my new udev rules and thus simplified udev-synce-serial (as per
my patch) are good. Happy to try and debug hal-dccm if you can give me
some pointers.
Karl
device interface
Jan 19 19:58:48 dellpc hal-dccm[4419]: CRITICAL: create_device: unable
to listen on rndis port (990), server invalid
I have to kill hal-dccm and re-plug again, and then it works.
I think my new udev rules and thus simplified udev-synce-serial (as per
my patch) are good. Happy to try and debug hal-dccm if you can give me
some pointers.
Karl
Hi Karl
Apologies, I should have replied earlier.
The ubuntu package is actually a bit out of date, so I've already added
some of the fixes you've been sending. I'll upload a new one as soon as
I can.
I'll also take a look at the below. I would rather do this at the udev
level, but I couldn't figure out how. If you've cracked it that will be
great.
The main problem that had stopped me releasing the udev stuff was with
pre WM 5 devices. It worked connecting once, but to connect again I had
to kill dccm. I've now managed to lose my WM2003 test device, can you
try connecting multiple times and confirm if it works or not ?
Thanks
Mark
Apologies, I should have replied earlier.
The ubuntu package is actually a bit out of date, so I've already added
some of the fixes you've been sending. I'll upload a new one as soon as
I can.
I'll also take a look at the below. I would rather do this at the udev
level, but I couldn't figure out how. If you've cracked it that will be
great.
The main problem that had stopped me releasing the udev stuff was with
pre WM 5 devices. It worked connecting once, but to connect again I had
to kill dccm. I've now managed to lose my WM2003 test device, can you
try connecting multiple times and confirm if it works or not ?
Thanks
Mark
I've done some digging, and worked out that the device querying code in
udev-synce-serial is only necessary for trying to handle two-port
devices. I think this can be better handled in the udev rules, from
which we can launch udev-synce-serial only when required (i.e. on the
2nd port of a two port device), and thus remove all that logic from
udev-synce-serial itself.
That means udev-synce-serial no longer has to call udevadm or use a
library to interrogate the udev database, cutting a chunk of code.
The patch below does just that.
Regards
Karl
udev-synce-serial is only necessary for trying to handle two-port
devices. I think this can be better handled in the udev rules, from
which we can launch udev-synce-serial only when required (i.e. on the
2nd port of a two port device), and thus remove all that logic from
udev-synce-serial itself.
That means udev-synce-serial no longer has to call udevadm or use a
library to interrogate the udev database, cutting a chunk of code.
The patch below does just that.
Regards
Karl