Re: usb_serial_generic_read_bulk_callback dying when it calls tty_flip_buffer_push
Alan Cox <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Organization | Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 |
| Message-ID | <[email protected]> |
> When I call this function (and tty_buffer_request_room and > tty_insert_flip_string) in an ioctl command I've rigged up, all three > functions work as expected, pushing the tty data to the awaiting program > reading from the /dev/ttyUSB file. > > Any pointers on what may be going on here? It would be useful to see your locking in the code. The usual gotcha is that tty_flip_buffer_push may lead to an immediate call to your write paths (echoing characters). Try building a kernel with all the lock debugging enabled and see if that reveals anything. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel