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

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

 



Solved!

Udev was loading both uhci an ohci even if the system was not using ohci at all.

 "rmmoding" both on them as well as "pl2303" and "modprobing" uchi and
pl2303 (in that order), the blocking dissapeared.

ohci was also beeing loaded by the old 2.6.30 kernel. Still it didn't
affect the normal behaviour. That makes me suspect there could be
another bug somewhere else.

Enrique



On Fri, Dec 10, 2010 at 2:42 PM, Johan Hovold <jhovold@xxxxxxxxx> 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.
>
> Which 2.6.35 are you using? A stable 2.6.35.x release?

I'm using 2.6.35.9 downloaded from ww.kernel.org.
>
>> 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.
>>
>> Any ideas,
>
> Can you reproduce this with 2.6.36 and supply a log from when running
> with debugging enabled?
>
> Â Â Â Âmodprobe usbserial debug=1
> Â Â Â Âmodprobe pl2303 debug=1
>
> Thanks,
> Johan
>
--
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