On Thu, Dec 9, 2010 at 11:30 PM, Matthew Dharm <mdharm-usb@xxxxxxxxxxxxxxxxxx> wrote: > On Thu, Dec 09, 2010 at 10:45:13PM +0100, ENRIQUE ARIZON BENITO wrote: >> A simple script like: >> >> echo "1" > /dev/ttyUSB0 >> >> stopped to work after upgrading my system to a custom compiled version >> of kernel 2.6.35. >> >> There are no errors in syslog or dmesg and the pl2303 loads without >> complains, but strace shows that >> open("/dev/ttyUSB0",...) blocks forever. >> >> I guess it must be some wrong parameter in the compilation, but I'm >> blind trying to find the solution. > > Have you used stty to check the port mode settings? ÂIt may be blocking for > carrier detect.... > > Matt > Yes, I did. In fact the setting as displayed from the output command "stty -a -F /dev/ttyUSB0" are equals both for the working kernel and the new (non working) one. Enrique -- 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