On 03/19/2013 10:24 AM, jonsm...@gmail.com wrote:
> I poked around with btusb a little. BT has it's own USB descriptor
> set. That's not the same as using a ft2232 to attach to the mc13224
> UART.  There is no way to do something btusb like on the ft2232. You
> could do it on the cc2531.

A cc2531 is a programmable USB device, where firmware has direct access
to the USB hardware. With the firmware, one can do just about anything.
FTDI's on the other hand (at least our 2232), are not programmable, as
we know.

> So the next question is, if a serial port is implementing a line
> disciple can you wire it inside the kernel to the networking stack so
> that every packet doesn't need to traverse user space.  A similar
> question is why does PPP/SLIP need a user space daemon?

Every packet _doesn't_ traverse userspace. The izattach daemon just sets
the line discipline of the device. (and I'm a little unclear on why it
needs to be a daemon).

The packets, in the case of the Econotag, go from the air, to the
MC13224, out the serial line of the MC13224, into the FTDI, out of the
FTDI as USB, into the kernelspace FTDI driver as USB, out of the FTDI
driver and into the serial.c line driver as serial data, then into the
kernel 802.15.4 subsystem . No userspace required.

http://linux-zigbee.git.sourceforge.net/git/gitweb.cgi?p=linux-zigbee/linux-zigbee;a=blob;f=src/serial.c;hb=HEAD

Alan.




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to