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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux