From: Greg KH <gregkh@linuxfoundation.org>
To: peter.sheeren@axiris.be
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, linux-serial@vger.kernel.org
Subject: Re: Bug in USB FTDI SIO driver
Date: Sat, 8 Sep 2012 11:19:17 -0700 [thread overview]
Message-ID: <20120908181917.GA7038@kroah.com> (raw)
In-Reply-To: <20120908193516.11911xl64w1z7lxw@webmail.axiris.be>
On Sat, Sep 08, 2012 at 07:35:16PM +0200, peter.sheeren@axiris.be wrote:
>
> I'm sorry, I've no experience with compiling a driver for Linux.
>
> Q: When I plug in the USB device without even using it, should
> ftdi_sio and usbserial remain loaded after I unplug the USB device?
Yes, no one unloads modules after devices are removed, as you really
don't know if the driver is still needed or not.
But, this shouldn't be an issue for you, when you replug the device in,
it should be reset, with no internal, or kernel, state as to what it is
in. You have to always explicitly set the line settings up again,
otherwise you have no idea what it is running at.
greg k-h
next prev parent reply other threads:[~2012-09-08 18:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-08 10:14 Fwd: Bug in USB FTDI SIO driver peter.sheeren
2012-09-08 15:45 ` Greg KH
2012-09-08 17:16 ` Alan Cox
2012-09-08 17:20 ` peter.sheeren
2012-09-08 17:30 ` Alan Cox
2012-09-08 17:35 ` peter.sheeren
2012-09-08 17:54 ` Alan Cox
2012-09-08 18:19 ` Greg KH [this message]
2012-09-08 22:09 ` peter.sheeren
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=20120908181917.GA7038@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-serial@vger.kernel.org \
--cc=peter.sheeren@axiris.be \
/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;
as well as URLs for NNTP newsgroup(s).