All of lore.kernel.org
 help / color / mirror / Atom feed
* Plug and play for a tty line disciple networking device
@ 2013-03-19 15:30 jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <CAKON4OxNV85-J8C-hodpq9pY5tRCT+7aYa=m4T3Vk04XSGhOrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: jonsmirl-Re5JQEeQqe8AvxtiuMwx3w @ 2013-03-19 15:30 UTC (permalink / raw)
  To: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-serial-u79uwXL29TY76Z2rM5mHXA, Alan Ott

How can you achieve plug and play for a ft2232 based USB serial device
implementing 802.15.4 networking?

The device has a 802.15.4 SOC with a UART attached to a ft2232. With
firmware loaded the only thing it can do is talk the 802.15.4 tty line
discipline, it is not a general purpose serial port.

Right now the device works by plugging it in and it appears as a
generic USB serial device like ttyUSB0. You then run a user space app
which sets the line discipline, holds the port open and attaches it to
the 6lowpan implementation in the networking code. But doing that is
inconvenient and users needs to be trained to do it. Much simpler if
we could just plug the device in and it worked.

We can add a EEPROM to the ft2232 to give it a unique USB ID.  Is it
possible to make a kernel driver that see this ID, sets the line
discipline and wires the serial port directly into the networking
code? There is already a driver in the 6lowpan code that turns the
line discipline into a net device. In this case there is no need for
the ttyUSB0 device to appear in user space.

--
Jon Smirl
jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-03-21  1:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-19 15:30 Plug and play for a tty line disciple networking device jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <CAKON4OxNV85-J8C-hodpq9pY5tRCT+7aYa=m4T3Vk04XSGhOrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-20 23:26   ` Greg KH
2013-03-21  0:04     ` jonsmirl
     [not found]       ` <CAKON4Oz+2DfzeOcvmKgi3ADAtyC5ie5-22uUQdfH_gcqeaDSYA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-21  0:14         ` Greg KH
2013-03-21  0:25           ` jonsmirl
2013-03-21  0:38             ` Greg KH
2013-03-21  0:49               ` jonsmirl
     [not found]                 ` <CAKON4OxceqF8LJa9L+QZ_jznFbD0VE+2PejdZWTpOC+gdU2vHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-21  0:56                   ` Greg KH
     [not found]                     ` <20130321005604.GA28671-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-03-21  1:12                       ` jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2013-03-21  1:19                         ` Alan Ott
2013-03-21  1:28                           ` jonsmirl
2013-03-21  1:33                             ` Alan Ott
2013-03-21  1:43                               ` jonsmirl
2013-03-21  1:52                                 ` jonsmirl
2013-03-21  0:25           ` Marcel Holtmann
2013-03-21  0:30             ` jonsmirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.