Re: (pl2303): open("/dev/ttyUSB0", ....) blocks forever after kernel update (custom compilation)

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

 



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

-- 
Matthew Dharm                              Home: mdharm-usb@xxxxxxxxxxxxxxxxxx 
Maintainer, Linux USB Mass Storage Driver

M:  No, Windows doesn't have any nag screens.
C:  Then what are those blue and white screens I get every day?
					-- Mike and Cobb
User Friendly, 1/4/1999

Attachment: pgpDedQPuJXXE.pgp
Description: PGP signature


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

  Powered by Linux