Re: Break not functioning on pl2303 serial adaptor

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

 



On Thu, Nov 03, 2011 at 10:47:16AM -0400, Nick Bowler wrote:
> Hi folks,
> 
> I'm using a PL2303-based USB ⇔ RS-232 adaptor (lsusb output appended).
> However, when I try to send a break (using alt+F in minicom), it appears
> that nothing at all happens.
> 
> If I enable the debug printing in the driver, I see the following:
> 
>   pl2303_break_ctl - port 0
>   pl2303_break_ctl - turning break on
>   pl2303_break_ctl - error sending break = -32
>   pl2303_break_ctl - port 0
>   pl2303_break_ctl - turning break off
>   pl2303_break_ctl - error sending break = -32
> 
> -32 would appear to be EPIPE.  With the debugging disabled these errors
> get dropped on the floor, hence everything seems normal except that
> nothing happens when I send a break.  The adaptor seems to work
> fine otherwise.

That means your device does not support the "set break" command, sorry.

I suggest you use a "real" usb to serial device, and not this one, if
you need to send a break with it.  The pl2303 device is barely a
workable serial device, in my opinion of working with it for years.
There are many other better devices out there (like the ftdi_sio
devices for one.)

sorry,

greg k-h
--
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