problem with usb-serial device

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

 



Hi Greg,
I am currently testing my device(eZ430) using generic usb-serial
driver, and I came across some strange problem.

If I test the device with x86, it works very well. It sends character
strings to USB serial, after pressing key on device.
But when I test with ARM board(Beagle), it shows some characters
missed in between.(for ex "Hello" receives as "Helo" with "l" missed)
While debugging, I enabled debug messages with debug=1 while modprobe.
And I started getting data properly with no characters missed.
I found out that it was "usb_serial_debug_data" function from
"usb_serial_generic_read_bulk_callback" printing data received.ow

But here, If I disables debug, I starts getting data corrupted again.
in short "modprobe usbserial debug=1" works very well but "modprobe
usbserial" doesn't.

Is there any possibility that specific to my device, it needs the urb
flushing to be delayed some time using debug messages?
What could be the probable reason? How can I debug these problems?

Thanks for your help.

Thanks,
Shivdas
--
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