Re: Support for TIOCSSERIAL in cdc-acm?

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

 



On Mon, Feb 27, 2012 at 03:48:31PM +0100, Frank Danapfel wrote:
> 
> Thank you. But it looks like the patch only implements the function to
> read the serial port parameters. After applying it it is still not
> possible to set a parameter:
> 
>  # setserial /dev/ttyACM0 spd_hi
> Cannot set serial info: Invalid argument

That option makes no sense for an acm device.

> An strace shows that the TIOCSSERIAL ioctl isn't available:
> 
> # strace setserial /dev/ttyACM0 spd_hi
> ...
> ioctl(3, TIOCGSERIAL, 0x7fff692984e0)   = 0
> ioctl(3, TIOCSSERIAL, 0x7fff69298530)   = -1 EINVAL (Invalid argument)
> ...
> 
> Any chance to get this added in cdc-acm?

Why do you need this, as again, it makes no sense to try to set these
options when they mean nothing to the device?

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