[cdc_acm] The received data seems to be buffered

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

 



Hello everybody,

I've actually some problem when trying to read data from a u-blox LEA-6T USB module. My kernel is the 2.6.34 and I'm using the cdc_acm driver to read data from the GPS.

The GPS is sending a packet every second, but when I try a "hexdump /dev/ttyACM0", <file:///dev/ttyACM0%22%2C> I do only receive some data every 5, 10 or even 20 seconds instead of every second as if it has been buffering the data. But I am receiving the correct number of packets (for example 10 every 10 seconds, 5 every 5, etc.). I'm also losing some data (a few bytes) when I receive the data.

I've checked with a few kernels and linux distros, and I haven't been able to find some coherency.

Does someone has an idea where to search ? Thanks
Best regards,

Jérôme

--
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