Re: USB and serial communication

2003-09-11 Thread Bernd Walter
On Fri, Sep 05, 2003 at 01:40:13PM +0200, Anders Jansson wrote:
 Hi everyone,
 
 
 I have just installed FreeBSD 5.1 om my PC (my first FreeBSD ever and it 
 looks really nice).
 
 However, there is one missing link to connect me to FreeBSD heave. I 
 would like to have a larger number of serial ports than the 2 already 
 aailable in my PC and so I turned my attention to USB. I have a little 
 box that has converts one USB connector to 4 serial ports. When I plug 
 in this box in one of my two USB connections on my PC, I get the 
 following printouts in the /var/log/messages file:

You need ucom and uftdi compiled into your kernel.
ugen is just a generic fallback driver.

-- 
B.Walter   BWCThttp://www.bwct.de
[EMAIL PROTECTED]  [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB and serial communication

2003-09-05 Thread Anders Jansson
Hi everyone,

I have just installed FreeBSD 5.1 om my PC (my first FreeBSD ever and it 
looks really nice).

However, there is one missing link to connect me to FreeBSD heave. I 
would like to have a larger number of serial ports than the 2 already 
aailable in my PC and so I turned my attention to USB. I have a little 
box that has converts one USB connector to 4 serial ports. When I plug 
in this box in one of my two USB connections on my PC, I get the 
following printouts in the /var/log/messages file:

Sep  5 08:05:26 vile kernel: uhub3: Texas Instruments TUSB2046 hub, 
class 9/0, rev 1.10/1.25, addr 2
Sep  5 08:05:26 vile kernel: uhub3: 4 ports with 4 removable, self powered
Sep  5 08:05:28 vile kernel: ugen0: FTDI USB FAST SERIAL ADAPTER, rev 
1.10/2.00, addr 3
Sep  5 08:05:28 vile kernel: ugen1: FTDI USB FAST SERIAL ADAPTER, rev 
1.10/2.00, addr 4
Sep  5 08:05:29 vile kernel: ugen2: FTDI USB FAST SERIAL ADAPTER, rev 
1.10/2.00, addr 5
Sep  5 08:05:30 vile kernel: ugen3: FTDI USB FAST SERIAL ADAPTER, rev 
1.10/2.00, addr 6

Furthermore:
bash-2.05b# ls -l /dev/u*
crw-r--r--  1 root  operator  114,   0 Sep  5 11:36 /dev/ugen0
crw-r--r--  1 root  operator  114,   1 Sep  5 11:36 /dev/ugen0.1
crw-r--r--  1 root  operator  114,   2 Sep  5 11:36 /dev/ugen0.2
crw-r--r--  1 root  operator  114,  16 Sep  5 11:36 /dev/ugen1
crw-r--r--  1 root  operator  114,  17 Sep  5 11:36 /dev/ugen1.1
crw-r--r--  1 root  operator  114,  18 Sep  5 11:36 /dev/ugen1.2
crw-r--r--  1 root  operator  114,  32 Sep  5 11:36 /dev/ugen2
crw-r--r--  1 root  operator  114,  33 Sep  5 11:36 /dev/ugen2.1
crw-r--r--  1 root  operator  114,  34 Sep  5 11:36 /dev/ugen2.2
crw-r--r--  1 root  operator  114,  48 Sep  5 11:36 /dev/ugen3
crw-r--r--  1 root  operator  114,  49 Sep  5 11:36 /dev/ugen3.1
crw-r--r--  1 root  operator  114,  50 Sep  5 11:36 /dev/ugen3.2
lrwxr-xr-x  1 root  wheel7 Sep  5 13:36 /dev/urandom - random
crw-rw  1 root  operator  108, 255 Sep  5 11:36 /dev/usb
crw-rw  1 root  operator  108,   0 Sep  5 11:36 /dev/usb0
crw-rw  1 root  operator  108,   1 Sep  5 11:36 /dev/usb1
crw-rw  1 root  operator  108,   2 Sep  5 11:36 /dev/usb2
And finally I try:
bash-2.05b# cu -l ugen0 -s 9600
fcntl: Invalid argument
bash-2.05b#
I have searched the internet for some help on this but I haven't found 
anything useful. I would be most grateful for any kind of assistance.

Cheers
Anders


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]