Re: virtual USB device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mar 22, 2017, at 4:33 AM, Greg KH <greg@xxxxxxxxx> wrote:

On Wed, Mar 22, 2017 at 04:29:09AM -0700, Greg Hazel wrote:

On Mar 22, 2017, at 4:22 AM, Greg KH <greg@xxxxxxxxx> wrote:

On Wed, Mar 22, 2017 at 04:19:30AM -0700, Greg Hazel wrote:
  What exactly do you have connected on the other side of that module
  uart?


That UART is currently a TI SimpleLink/EasyLink. I’m also considering a
slip-radio. These are relatively simple wrappers from radio to ethernet. Most
importantly, I can only control the software on my side of the Greybus, so
using bridged-phy to expose the UART as a tty would not enable me to use the
tty on the other side…

Well, go yell at your system engineers then, you can't fix broken
systems by working around it in the kernel :)

The greybus TTY interface should work just fine for you here, that's
what it was designed for.

I agree! However, yelling at large device manufacturers hasn’t proved
fruitful for me.

Then provide a userspace application that interfaces with the tty device
and creates the connection that way?  There's no way that any random
network device showing up is going to work properly without some system
changes happening.

A userspace application could only provide a connection through VPN, which is encumbered with authorization dialogs and UI complications.

The user-experience of a USB ethernet device connecting is much better (I’ve tried with a real adapter), so if that’s possible it does seem to be worth the effort.

So taking the scenic route; is there a better way than cdc-evm?

It's a tty device, make it a tty device :)

Unfortunately this would mean asking users on the host side to unlock and root their device, which is very difficult and often against their warranty agreement.

-Greg

_______________________________________________
greybus-dev mailing list
greybus-dev@xxxxxxxxxxxxxxxx
https://lists.linaro.org/mailman/listinfo/greybus-dev

[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux