On 08/03/2015 03:44 AM, arun k wrote: > Hi , > > I have a trouble with using usb serial generic device. > I am using USB - Generic Serial driver for communicating with my usb > device and my embedded device. > My usb device sending data at a rate of 409600 bytes/sec, and in host > side application I tried to read 16384 bytes in one read. But the read > size returning is always 4095 > I don't know whether I missed any settings or this is limited in driver. > Could you please tell me is it possible to read large size(16384 > bytes) using usb serial generic driver.
read() is limited to 4096 bytes by the driver. What linux version are you using? Regards, Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html