Mark

So sorry for length of time to replying - for some reason your reply on
24/12 didn't seem to hit my inbox.


By 'connecting multiple times', do you mean unplugging and re-plugging
my WM2003 device?

If I do that, then indeed I am getting a dccm related issue. From my
syslog:

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

> 
> 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
> 
> > 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


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to