Re: uchcom USB-serial

2018-10-16 Thread Patrick Welche
On Tue, Oct 16, 2018 at 05:44:30PM +0200, Manuel Bouyer wrote:
> On Tue, Oct 16, 2018 at 04:36:35PM +0100, Patrick Welche wrote:
> > Just had a proper go, and see:
> > 
> > uchcom0: QinHeng Electronics (0x1a86) USB2.0-Ser! (0x7523), rev 1.10/2.54, 
> > addr 3
> > uchcom0: CH341 detected
> > ucom3 at uchcom0
> > uchcom0: cannot reset: STALLED
> > uchcom0: cannot reset: STALLED
> > uchcom0: cannot reset: STALLED
> > uchcom0: cannot reset: STALLED
> > uchcom0: cannot reset: STALLED
> > uchcom0: cannot reset: STALLED
> > uchcom0: cannot reset: STALLED
> > ...
> > 
> > I note that you have the full word "Serial"...
> 
> Looks like a communication problem. Mine is manufactured by olimex,
> which usually do robust hardware. I can see there is a true 12Mhz crystal.
> Maybe yours uses a ceramic resonator, which is not stable enough ?

This says "NLink Pax" on it. I think it is returning to where it came
from...

Thanks,

Patrick


Re: uchcom USB-serial

2018-10-16 Thread Manuel Bouyer
On Tue, Oct 16, 2018 at 04:36:35PM +0100, Patrick Welche wrote:
> Just had a proper go, and see:
> 
> uchcom0: QinHeng Electronics (0x1a86) USB2.0-Ser! (0x7523), rev 1.10/2.54, 
> addr 3
> uchcom0: CH341 detected
> ucom3 at uchcom0
> uchcom0: cannot reset: STALLED
> uchcom0: cannot reset: STALLED
> uchcom0: cannot reset: STALLED
> uchcom0: cannot reset: STALLED
> uchcom0: cannot reset: STALLED
> uchcom0: cannot reset: STALLED
> uchcom0: cannot reset: STALLED
> ...
> 
> I note that you have the full word "Serial"...

Looks like a communication problem. Mine is manufactured by olimex,
which usually do robust hardware. I can see there is a true 12Mhz crystal.
Maybe yours uses a ceramic resonator, which is not stable enough ?

-- 
Manuel Bouyer 
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: uchcom USB-serial

2018-10-16 Thread Patrick Welche
On Sat, Oct 13, 2018 at 12:39:35PM +0200, Manuel Bouyer wrote:
> On Tue, Oct 09, 2018 at 04:13:32PM +0100, Patrick Welche wrote:
> > I purchased a couple of USB-serial adapters. Unfortunately, given the lack
> > of detail in the descriptions, they turned out to be
> > 
> >   uchcom0: QinHeng Electronics (0x1a86) USB2.0-Ser! (0x7523), rev 1.10/2.54
> > 
> > According to
> > 
> >   https://nxr.netbsd.org/xref/src/sys/dev/usb/uchcom.c#40
> > 
> > this is "the worst USB-serial chip in the world."
> > 
> > Do these work at all? (Get "tip: link down", then change to a 
> > uplcom0: Prolific Technology Inc. and all is well.)
> 
> I use one:
> uchcom0: QinHeng Electronics (0x1a86) USB2.0-Serial (0x7523), rev 1.10/2.54, 
> addr 3
> uchcom0: CH341 detected
> ucom0 at uchcom0
> 
> to connect to an ARM board's console. I didn't notice problems so far ...

Just had a proper go, and see:

uchcom0: QinHeng Electronics (0x1a86) USB2.0-Ser! (0x7523), rev 1.10/2.54, addr 
3
uchcom0: CH341 detected
ucom3 at uchcom0
uchcom0: cannot reset: STALLED
uchcom0: cannot reset: STALLED
uchcom0: cannot reset: STALLED
uchcom0: cannot reset: STALLED
uchcom0: cannot reset: STALLED
uchcom0: cannot reset: STALLED
uchcom0: cannot reset: STALLED
...

I note that you have the full word "Serial"...

Cheers,

Patrick


Re: uchcom USB-serial

2018-10-13 Thread Manuel Bouyer
On Tue, Oct 09, 2018 at 04:13:32PM +0100, Patrick Welche wrote:
> I purchased a couple of USB-serial adapters. Unfortunately, given the lack
> of detail in the descriptions, they turned out to be
> 
>   uchcom0: QinHeng Electronics (0x1a86) USB2.0-Ser! (0x7523), rev 1.10/2.54
> 
> According to
> 
>   https://nxr.netbsd.org/xref/src/sys/dev/usb/uchcom.c#40
> 
> this is "the worst USB-serial chip in the world."
> 
> Do these work at all? (Get "tip: link down", then change to a 
> uplcom0: Prolific Technology Inc. and all is well.)

I use one:
uchcom0: QinHeng Electronics (0x1a86) USB2.0-Serial (0x7523), rev 1.10/2.54, 
addr 3
uchcom0: CH341 detected
ucom0 at uchcom0

to connect to an ARM board's console. I didn't notice problems so far ...

-- 
Manuel Bouyer 
 NetBSD: 26 ans d'experience feront toujours la difference
--


uchcom USB-serial

2018-10-09 Thread Patrick Welche
I purchased a couple of USB-serial adapters. Unfortunately, given the lack
of detail in the descriptions, they turned out to be

  uchcom0: QinHeng Electronics (0x1a86) USB2.0-Ser! (0x7523), rev 1.10/2.54

According to

  https://nxr.netbsd.org/xref/src/sys/dev/usb/uchcom.c#40

this is "the worst USB-serial chip in the world."

Do these work at all? (Get "tip: link down", then change to a 
uplcom0: Prolific Technology Inc. and all is well.)


Cheers,

Patrick