Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1298667

Re: [PATCH v5] USB: serial: add Moxa UPORT 11x0 driver

From One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH v5] USB: serial: add Moxa UPORT 11x0 driver
Date 2015-12-28 15:50 +0100
Message-ID <qKHhv-3pQ-17@gated-at.bofh.it> (permalink)
References <qCFPA-6lv-1@gated-at.bofh.it> <qKGEN-38h-7@gated-at.bofh.it>
Organization Intel Corporation

Show all headers | View raw


> 	https://lkml.kernel.org/r/201102171210.03474.frode@tennebo.com
> 
> However, the TIOCSRS485-ioctl might not even be the right interface for
> changing transceiver modes, and instead a sysfs-based
> usb-serial-specific interface could be more appropriate for example.

sysfs works out very badly if modes can be configured routinely at
runtime. In particular the sysfs interface is completely disconnected
from the vhangup() and security model of the tty interface.

If its the kind if thing just administratively configured at boot then
it's a great interface, just be careful about who has access to it.


Otherwise the traditional interface for that level of configuration has
probably been termiox, which we do have hooks for but don't really make
much use of.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5] USB: serial: add Moxa UPORT 11x0 driver Johan Hovold <johan@kernel.org> - 2015-12-28 15:10 +0100
  Re: [PATCH v5] USB: serial: add Moxa UPORT 11x0 driver One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2015-12-28 15:50 +0100
    Re: [PATCH v5] USB: serial: add Moxa UPORT 11x0 driver Johan Hovold <johan@kernel.org> - 2015-12-28 16:40 +0100
      [PATCH v6] USB: serial: add Moxa UPORT 11x0 driver Mathieu OTHACEHE <m.othacehe@gmail.com> - 2015-12-28 21:30 +0100
        Re: [PATCH v6] USB: serial: add Moxa UPORT 11x0 driver Johan Hovold <johan@kernel.org> - 2015-12-29 13:30 +0100

csiph-web