Fwd: USB - Generic Serial device : Unable to read more than 4095 bytes

2015-08-17 Thread arun k
Hi, Regarding the above issue, I was checking the USB- Generic driver, And I tried the following things and found my data loss issue is fixed. change point >> In usb_serial_probe() function in usb-serial.c /* set up the endpoint information */ for (i = 0; i < num_bulk_in; ++i

Fwd: USB - Generic Serial device : Unable to read more than 4095 bytes

2015-08-04 Thread arun k
-- Forwarded message -- From: arun k Date: Wed, Aug 5, 2015 at 12:57 PM Subject: Re: USB - Generic Serial device : Unable to read more than 4095 bytes To: Peter Hurley Cc: Greg KH , linux-usb@vger.kernel.org > Ok, but does the sending device know how to process in-band software

Fwd: USB - Generic Serial device : Unable to read more than 4095 bytes

2015-08-03 Thread arun k
Thank you for the reply >> The tty layer is limiting you, just keep reading in a loop until you >> run out of data, you should not ever expect to read a specific number of >> bytes from a tty device at a time, the read call will tell you the >> number that was read properly. I tried this method b