linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Ryan Lovelett <ryan@lovelett.me>
Cc: linux-serial@vger.kernel.org
Subject: Re: FT232H user space GPIO device
Date: Mon, 23 Mar 2020 07:52:11 +0100	[thread overview]
Message-ID: <20200323065211.GD129571@kroah.com> (raw)
In-Reply-To: <6267385dcb44b73f3b5b38070da602bbdb56d545.camel@lovelett.me>

On Sun, Mar 22, 2020 at 03:40:33PM -0400, Ryan Lovelett wrote:
> I have been trying to find a way to get my Adafruit FT232H breakout
> board [1] to appear as a user space GPIO device so I can use it with
> libgpiod. As far as I can tell from reading table 3.5 from the
> datasheet [2] ACBUS5, ACBUS6, ACBUS8 and ACBUS9 should all be usable
> for this.
> 
> I found a patch that was submitted by Karoly Pados in 2018 [3] that
> seemes to add support for that (though maybe only for a specific chip).
> 
> Through a little bit of ftrace and printk I realized that the switch
> statement in ftdi_gpio_init was falling through to the default case for
> the FT232H [4].

So it sounds like you have the wrong device type.  Can you make sure you
use the latest kernel release (5.5) and if you have problems with this,
email the linux-usb mailing list as the driver maintainers for that
driver are there.

thanks,

greg k-h

  reply	other threads:[~2020-03-23  6:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-22 19:40 FT232H user space GPIO device Ryan Lovelett
2020-03-23  6:52 ` Greg KH [this message]
2020-03-23 13:00   ` Ryan Lovelett
2020-03-24  9:28   ` Johan Hovold
2020-03-24 12:38     ` Ryan Lovelett

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=20200323065211.GD129571@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=ryan@lovelett.me \
    /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).