From: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
To: Johan Hovold <johan@kernel.org>
Cc: Mathieu OTHACEHE <m.othacehe@gmail.com>,
gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org
Subject: Re: [PATCH v5] USB: serial: add Moxa UPORT 11x0 driver
Date: Mon, 28 Dec 2015 14:39:44 +0000 [thread overview]
Message-ID: <20151228143944.111a6c7f@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <20151228140630.GA18146@localhost>
> 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
next prev parent reply other threads:[~2015-12-28 14:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-06 11:29 Mathieu OTHACEHE
2015-12-28 14:06 ` Johan Hovold
2015-12-28 14:39 ` One Thousand Gnomes [this message]
2015-12-28 15:32 ` Johan Hovold
2015-12-28 20:21 ` [PATCH v6] " Mathieu OTHACEHE
2015-12-29 12:29 ` Johan Hovold
2016-01-03 14:22 ` Mathieu OTHACEHE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151228143944.111a6c7f@lxorguk.ukuu.org.uk \
--to=gnomes@lxorguk.ukuu.org.uk \
--cc=gregkh@linuxfoundation.org \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=m.othacehe@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®