Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2007 09:26:20 +0200
From:      Benjamin Lutz <mail@maxlor.com>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: USB->Serial adapter, how to make /dev/cuad* appear?
Message-ID:  <471EF39C.3030200@maxlor.com>
In-Reply-To: <20071023221116.GA10261@slackbox.xs4all.nl>
References:  <200710231806.12237.mail@maxlor.com> <20071023175444.GB3981@slackbox.xs4all.nl> <200710232017.03932.mail@maxlor.com> <20071023221116.GA10261@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help


Roland Smith wrote:
> On Tue, Oct 23, 2007 at 08:17:01PM +0200, Benjamin Lutz wrote:
>> On Tuesday 23 October 2007 19:54:44 Roland Smith wrote:
>>> On Tue, Oct 23, 2007 at 06:06:08PM +0200, Benjamin Lutz wrote:
>>>> I'd expect some device to show up in /dev, cuad1, ucom0, something
>>>> like that, but I get nothing. (cuad0 is taken by the onboard serial
>>>> port, which, alas, isn't wired to the outside of the case).
>>> Looking at ucom(4):
>>>
>>> FILES
>>>      /dev/cuaU?
>>>
>>> See if that exists.
>> No such luck I'm afraid. There's only cuaU0, which belongs to the 
>> onboard serial port too.
> 
> Does the onboard serial port work via USB? How odd! On my standard PC,
> the serial ports are driven by the sio driver, and have /dev/cuad* and
> /dev/ttyd* devices, noc cuaU. 

No, that one's a standard serial port, driven by sio as well, and
creates /dev/cuad0, /dev/cuaU0, maybe some /dev/tty* as well, I don't know.

> Do you have the correct driver for the converter loaded next to ucom?
> The ucom manual page gives a list of them.

Yes, uplcom is the right driver. (Or at least I think so, because the
device and manufacturer ids that usbdevs -v gives me match those in
/usr/src/sys/dev/usb/uplcom.c .) Besides, without the uplcom module
loaded, I only get an ugen device, so it seems to attach to the device ok.

Cheers
Benjamin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?471EF39C.3030200>