I guess, both are serial protocols and the hardware adaptor takes care of legit default serial values.
Still the problem is to find a free available usb port for communication:(
Will have to test and see:)


Nikos

On Tue, May 15, 2018 at 7:02 AM, Nikos Balkanas <nbalkanas@gmail.com> wrote:
Ty Craig,

I'll try it for myself before changing anything:)

I'm surprised, however, that osmocon can work like that. RS232 interfaces need different initialization (baud rate, stop bits, parity, etc) that usb doesn't understant!

Nikos

On Tue, May 15, 2018 at 5:24 AM, Craig Comstock <craig@unreasonablefarm.org> wrote:
Hi Nikos,

> Planning to add usb support to osmocon.
> Is there any interest for a patch, or should I do it just for myself?
>
> PS: You can convert a USB port to serial with a USB2serial converter:)

Exactly. I have mostly used a USB to serial adapter without modifying osmocom-bb code at all. At one point I also built osmocom-bb natively on a raspberry-pi and was able to operate that way to some extent.

-Craig