taiyo K wrote: > Hello Lei, > > In one of the posts above I found this comment, which grabbed my attention. > > >> But as we discussed in the other thread, I'm afraid your patch is a little >> aggressive. Though it works for this device, it may break other usb serial >> application. >> > > I wonder if you could tell me about it in more detail please. I have been > thinking of mobile OpenSolaris and did a bit research. It seems either/both > Chototsu patch or/and your patch would make it possible. However I am also > scared to death if I might kill other usb serial applications with the patch > you pointed out. > > What exactly or possibly usb serial application(s) you think would be the > case? Any examples of it, so that I can understand it would affect me? > I can't tell the exact application. Just from the source code, I made a guess. The original code considers the M_DELAY, M_BREAK and a set of other Control messages which require serialization. If we totally overlook these conditions, it may cause problem. There are so many serial applications and the termio(7I)/termios(3C) are also complex, we are not able to test every corner case at this moment. So, to be safe, I think we should take a conservative fix.
Thanks, Lei Chen > I really appreciate you keep putting a lot of effort and time to fix this > bug. > > Thanks! > Robinky >