usb serial gadget

77 views
Skip to first unread message

bremenpl

unread,
Jan 16, 2016, 5:28:25 PM1/16/16
to BeagleBoard
Hello there,
The bbb image normally comes with usb gadget that simulates ethernet and mass storage. I have 2 questions regarding that:

Can the usb additionally simulate serial port? So on the host side one would see a com port (if windows) and on the beagle side it would be a tty interface? If yes, how to enable it?

Second question, can serial interfaces in linux be bridged together easily? For example, by connecting the beagle to the pc and writing to the usb serial gadget from the pc, i would like uart5 to send that data. In short terms, can beagle be configured to be a serial uab converter?

I would apreciate all help!

Robert Nelson

unread,
Jan 16, 2016, 7:09:25 PM1/16/16
to Beagle Board


On Jan 16, 2016 4:28 PM, "bremenpl" <brem...@gmail.com> wrote:
>
> Hello there,
> The bbb image normally comes with usb gadget that simulates ethernet and mass storage. I have 2 questions regarding that:
>
> Can the usb additionally simulate serial port? So on the host side one would see a com port (if windows) and on the beagle side it would be a tty interface? If yes, how to enable it?

By default serial is also enabled.. By default you should see Ethernet, mass storage, and serial..

>
> Second question, can serial interfaces in linux be bridged together easily? For example, by connecting the beagle to the pc and writing to the usb serial gadget from the pc, i would like uart5 to send that data. In short terms, can beagle be configured to be a serial uab converter?
>
> I would apreciate all help!

The Linux serial interface created is /dev/ttyGS0

Regards,

Bremenpl

unread,
Jan 17, 2016, 1:18:20 AM1/17/16
to beagl...@googlegroups.com
I see, and is there a way to bridge it to another serial at a low OS level, without having to write a program that would do it manually for it?

W dniu 2016-01-17 o 01:09, Robert Nelson pisze:
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/qNXqseY60Dw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Bremenpl
Reply all
Reply to author
Forward
0 new messages