how to configure minicom with my serial console (RS232) on USB.

Previous thread: kde printing problem (not cups) by LEVAI Daniel on Monday, April 20, 2009 - 10:02 am. (4 messages)

Next thread: Yahoo videos on OpenBSD by Tomáš Bodžár on Monday, April 20, 2009 - 1:46 pm. (3 messages)
To: <misc@...>
Date: Monday, April 20, 2009 - 12:19 pm

Hi, guys,

I have a console line, which is serial console (RS232) on USB. It works well
with minicom in my ubuntu 8.04 when I connect it to my netscreen-5xt.
But, it can't work with my OpenBSD 4.2.
Due to my command line "usbdevs -dv" output, I configure it as these below
"Serial Device : /dev/usb1" , Bits setting is "9600 8N1", turn off "hardware
Flow Contol ". Unlikely, it can't work.

-------------------------------------
My /var/log/messages output is :

Apr 20 23:48:00 uestc /bsd: ugen0 at uhub1 port 2
Apr 20 23:48:00 uestc /bsd:
Apr 20 23:48:00 uestc /bsd: ugen0: vendor 0x1a86 USB2.0-Ser!, rev 1.10/2.54,
addr 2

------------------------------------------

My usbdevs output is :
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
Intel(0x8086), rev 1.00
uhub0
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x8086), rev 1.00
uhub1
port 1 powered
port 2 addr 2: full speed, power 96 mA, config 1, USB2.0-Ser!(0x7523),
vendor 0x1a86(0x1a86), rev 2.54
ugen0
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x8086), rev 1.00
uhub2
port 1 powered
port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x8086), rev 1.00
uhub3
port 1 powered
port 2 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x8086), rev 1.00
uhub4
port 1 powered
port 2 powered

To: Feifei ( <feifeidai@...>
Cc: <misc@...>
Date: Monday, April 20, 2009 - 12:36 pm

I think you should use /dev/cuaU* as device.

HTH,

Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1

To: LEVAI Daniel <leva@...>
Cc: Feifei (??????) <feifeidai@...>, <misc@...>
Date: Monday, April 20, 2009 - 12:53 pm

and cu instead of minicom.

To: Marco Peereboom <slash@...>
Cc: <misc@...>
Date: Monday, April 20, 2009 - 10:42 pm

What is the "cu" ? Could you tell me the full name of the package or ports.
thanks.

To: Feifei (飞飞) <feifeidai@...>
Cc: <misc@...>, Marco Peereboom <slash@...>
Date: Monday, April 20, 2009 - 10:50 pm

> What is the "cu" ? Could you tell me the full name of the package or ports.

It's right near the "ls" package.

To: Theo de Raadt <deraadt@...>
Cc: <misc@...>, Marco Peereboom <slash@...>
Date: Tuesday, April 21, 2009 - 4:18 am

Sorry ? I don't understand .

To: Feifei (飞飞) <feifeidai@...>
Cc: <misc@...>
Date: Tuesday, April 21, 2009 - 4:35 am

It is in the base distribution by default, in /usr/bin.
--
Stephane LAPIE
Email: lapie@aozora-is.co.jp
Phone: +81 (0)42 319 5164

To: Theo de Raadt <deraadt@...>
Cc: Feifei (飞飞) <feifeidai@...>, <misc@...>, Marco Peereboom <slash@...>
Date: Monday, April 20, 2009 - 11:37 pm

;) this make my day! :)

Previous thread: kde printing problem (not cups) by LEVAI Daniel on Monday, April 20, 2009 - 10:02 am. (4 messages)

Next thread: Yahoo videos on OpenBSD by Tomáš Bodžár on Monday, April 20, 2009 - 1:46 pm. (3 messages)