Stefan --

[EMAIL PROTECTED] wrote:
I want to use the plain (non ACM) stuff if possible. All testing
below is for the non-acm stuff, which should be the simpler case
anyway, isn't it?

Yes, but for reading/writing they should be the same.

Another problem ist that IMHO the NULLing of the tty->driver_data is wrong
in gs_open(), because if we have the driver open multiple times, the first close
will NULL the other's driver_data (same port!!).

Yes, you are right. That line that sets tty->driver_data to NULL is wrong and should be moved further down in the open so it is only done on the first time open is called. Don't know what I was thinking! I will submit a patch to fix this.

 - I guess this cant be something with terminal settings, can it? I
   tried to do a stty raw -F /dev/ttyXXXX, nothing changed.

Right, g_serial ignores stty settings.

I am looking into your other questions.

-- Al




------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to