USB to Serial - Prolific Adapter

Warren Block wblock at wonkity.com
Wed Mar 25 17:15:26 PDT 2009


On Wed, 25 Mar 2009, Bruce Anthony Grobler wrote:

>
> I just tried my usb to serial adapter on FreeBSD 7.1 (GENERIC), now
> here's is my problem :
>
> dmesg:
>
>> ugen1: <vendor 0x4348 product 0x5523, class 255/0, rev 1.10/2.50, addr 2> on uhub0

grep 0x4348 /usr/src/sys/dev/usb/*
/usr/src/sys/dev/usb/usbdevs:vendor WCH		0x4348	QinHeng Electronics

grep 0x5523 /usr/src/sys/dev/usb/*
/usr/src/sys/dev/usb/usbdevs:product WCH CH341SER		0x5523	CH341/CH340 USB-Serial Bridge

But it appears to only be defined, not used in any code.

> /var/log/messages:
>
>> Mar 25 19:26:29 valhalla root: Unknown USB device: vendor 0x4348 product 0x5523 bus uhub0
>> Mar 25 19:26:29 valhalla kernel: ugen1: <vendor 0x4348 product 0x5523, class 255/0, rev 1.10/2.50, addr 2> on uhub0
>
> Now I'm pretty sure it's a Prolific 2303, as it works with the windows driver for the pl2303, I looked in the kernel config
> and there is a prolific 2303 module and it is being loaded. I can't tell you much about it as I found it lying around, its a
> little black box about the size of a match box with no writing on it at all.

My PL2303 has to be connected after the kernel module (uplcom) is 
loaded (it's not part of my kernel).

kldload uplcom
attach USB end of PL2303
use /dev/cuaU0

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-questions mailing list