Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-06 Thread Raimo Niskanen
On Mon, Nov 03, 2014 at 05:17:40PM +0100, Raimo Niskanen wrote: > On Sat, Nov 01, 2014 at 10:32:52PM +0100, ropers wrote: > > > o New uscom(4) driver for simple USB serial adapters. > > > > This reminds me of something I've been meaning to ask for some time: > > > > * Has anyone here used a U

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-03 Thread Stuart Henderson
On 2014-11-01, ropers wrote: > * Does uscom(4) make this any easier/is it more compatible than ucom(4)? Nope. uscom is afaik only tested so far with HP graphing calculators. It is *really* simple, just provides a way to transfer data, it does not allow setting port speed etc. Also it is not built

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-03 Thread Raimo Niskanen
On Sat, Nov 01, 2014 at 10:32:52PM +0100, ropers wrote: > > o New uscom(4) driver for simple USB serial adapters. > > This reminds me of something I've been meaning to ask for some time: > > * Has anyone here used a USB-only laptop with a USB-to-serial adapter > as a serial console? (You know

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-02 Thread Ted Unangst
On Sun, Nov 02, 2014 at 06:08, ropers wrote: > When I said I wanted to use a USB-only laptop *as* a serial console, > what I meant was this: > > 1. There is a headless computer that has a physical RS-232. This is > not the laptop. So what you want to know is if you can run "cu -l /dev/cuaU0" on

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread Theo de Raadt
>On 11/02/14 00:51, Theo de Raadt wrote: >>> On 2 November 2014 06:15, Theo de Raadt wrote: A "serial console" is a serial port on a machine exposing it's boottime console. OpenBSD cannnot use select a USB serial connector as a console tty, no more than it can select some random se

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread Theo de Raadt
>On 2 November 2014 06:51, Theo de Raadt >> Whatever you want, just try it. Unbelievable.. > >I don't actually have a USB-to-serial adapter yet. I was trying to ask >before buying something that wouldn't work. >I'm dimly aware that USB-to-serial can be problematic in some cases. I >wasn't sure if

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread Stan Gammons
On 11/02/14 00:51, Theo de Raadt wrote: On 2 November 2014 06:15, Theo de Raadt wrote: A "serial console" is a serial port on a machine exposing it's boottime console. OpenBSD cannnot use select a USB serial connector as a console tty, no more than it can select some random serial pci card. T

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread ropers
On 2 November 2014 06:51, Theo de Raadt > Whatever you want, just try it. Unbelievable.. I don't actually have a USB-to-serial adapter yet. I was trying to ask before buying something that wouldn't work. I'm dimly aware that USB-to-serial can be problematic in some cases. I wasn't sure if this w

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread Theo de Raadt
>On 2 November 2014 06:15, Theo de Raadt wrote: >> A "serial console" is a serial port on a machine exposing it's boottime >> console. OpenBSD cannnot use select a USB serial connector as a console >> tty, no more than it can select some random serial pci card. The logic >> for finding the devic

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread ropers
On 2 November 2014 06:15, Theo de Raadt wrote: > A "serial console" is a serial port on a machine exposing it's boottime > console. OpenBSD cannnot use select a USB serial connector as a console > tty, no more than it can select some random serial pci card. The logic > for finding the device hap

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread Theo de Raadt
>> On 2014-11-01, ropers wrote: >>> * Has anyone here used a USB-only laptop with a USB-to-serial adapter >>> as a serial console? (You know, instead of hardware that has a native >>> RS-232 port? > >On 1 November 2014 23:51, Christian Weisgerber wrote: >> This is impossible. The serial part is

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread ropers
> On 2014-11-01, ropers wrote: >> * Has anyone here used a USB-only laptop with a USB-to-serial adapter >> as a serial console? (You know, instead of hardware that has a native >> RS-232 port? On 1 November 2014 23:51, Christian Weisgerber wrote: > This is impossible. The serial part is on the

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread patrick keshishian
On 11/1/14, Christian Weisgerber wrote: > On 2014-11-01, patrick keshishian wrote: > >>> * Has anyone here used a USB-only laptop with a USB-to-serial adapter >>> as a serial console? (You know, instead of hardware that has a native >>> RS-232 port? >> >> Yes. I use such a setup on one "server".

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread Christian Weisgerber
On 2014-11-01, patrick keshishian wrote: >> * Has anyone here used a USB-only laptop with a USB-to-serial adapter >> as a serial console? (You know, instead of hardware that has a native >> RS-232 port? > > Yes. I use such a setup on one "server". You need to add the > appropriate /dev/ttyUx in y

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread Christian Weisgerber
On 2014-11-01, ropers wrote: > * Has anyone here used a USB-only laptop with a USB-to-serial adapter > as a serial console? (You know, instead of hardware that has a native > RS-232 port? This is impossible. The serial part is on the wrong end. The console code would have to drive a USB device

Re: uscom/ucom hardware question [was: OpenBSD 5.6 Released]

2014-11-01 Thread patrick keshishian
Hi, On 11/1/14, ropers wrote: >> o New uscom(4) driver for simple USB serial adapters. > > This reminds me of something I've been meaning to ask for some time: > > * Has anyone here used a USB-only laptop with a USB-to-serial adapter > as a serial console? (You know, instead of hardware that