> > The sierra device has pair of endpoints (bulk in and bulk out) that > > sends the multiplexed protocols data packets ( two protocols data > > packets encapsulated in one). Lets call that endpoint pair as EP1. The > > one of the multiplexed protocol is DM and other is command and status. > > EP1 is attached to ttyUSB1. Our application reads from ttyUSB1 and > > ignores DM packets and considers only command and status packets. > > However to get DM stream working another application has to read/write > > to ttyUSB1 concurrently which is as tricky. Thus, I am trying to setup > > another virtual serial port called ttyUSB3 that can read/write to EP1 > > concurrently so that we get two duplicate streams. One of the stream > > (ttyUSB1) can be used by our existing application and another stream > > (ttyUSB3) can be used to set up DM logging.Internally however they > > will talk to same endpoint pair EP1. Is it doable? > > Yes, for something like this, a modification of the sierra driver would > be needed to allow for two buffers like this. > > But, you might want to work with the current developers of the sierra > driver, as I'm pretty sure they are working to add this kind of > functionality (alternate ways to control the card) to the driver for > this very reason. > > Is there a reason you have not just contacted them already? Hi Greg et al.,
Chetan is actually helping Sierra out with this feature and I was not able to be of much help regarding finding a solution in the kernel space. I saw that the network driver framework has the ability to register packet handlers to devices data streams via the dev_add_pack command, I was hoping that the usb_serial drivers might have similar functionality (I couldn't find any). -Kevin - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
