stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Wolfgang Wilhelm" <wilhelm@fastcomtec.com>
To: stable@vger.kernel.org,
	Austin S Hemmelgarn <ahferroin7@gmail.com>,
	Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: problem with "serial" driver in kernel 3.16.0
Date: Fri, 18 Sep 2015 11:24:05 +0200	[thread overview]
Message-ID: <55FBD835.18717.A6454E@wilhelm.fastcomtec.com> (raw)
In-Reply-To: <55FB1CA8.8020607@gmail.com>

Thankyou very much for your quick answers. I searched now
in the linux sources for the problem and I think I could find it
in the file linux-source-3.16/drivers/tty/serial/8250/8250_pci.c

There is a function serial_pci_guessboard and a blacklist
including the vendor- and device-ids of 3 softmodems and 
2 multi-io cards. I think if the vendor id 0x10e8 (standard AMCC)
and device id 0x8226 could be inserted into that blacklist
I could load our driver and get the software for our MPA-3 
multiparameter system working. It seems that these id's are 
not really used by any existing serial card, but this guessboard 
function anyway takes our card as a serial board.

Is this a matter of the Debian distribution or the general linux kernel?

Best regards,
Wolfgang Wilhelm



Betreff:	Re: problem with "serial" driver in kernel 3.16.0
An:	Wolfgang Wilhelm <wilhelm@fastcomtec.com>, stable@vger.kernel.org
Kopie an:	linux-kernel@vger.kernel.org
Von:	Austin S Hemmelgarn <ahferroin7@gmail.com>
Datum:	Thu, 17 Sep 2015 16:03:52 -0400

On 2015-09-17 09:24, Wolfgang Wilhelm wrote:
> We are a small company FAST ComTec GmbH
> (www.fastcomtec.com) and produce multichannel analyzers
> with Windows software. I am the software developer and
> would like to get our software working also under Linux
> with the help of WINE.
Before I go any further, I would like to thank you for even
considering 
this option.  If there were more vendors who tried this, Linux would
have much better support for quite a large number of hardware
devices.

> I was already successfull with our USB devices and most
> of our PCI cards, but with one of the PCI cards
> it does not work (in Debian v8, kernel 3.16.0).
>
> Our PCI cards have a AMCC controller S5933, we use the
> standard AMCC vendor id 0x10e8 and device id 0x8226,
> device class serial. Most of our cards use two I/O port ranges
> and an interrupt. I have written a linux driver for these cards
> and could get everything working, but the interface card
> for our MPA-3 multiparameter system uses only
> one I/O port range and an interrupt. This card is recognized
> by the "serial" driver in the kernel as a serial interface card
> and there is no way to load our own driver.
>
> My question is, could you remove in future kernel versions
> the support for this card in the kernel our make it possible
> to blacklist it in /etc/modprobe.d/fbdev-blacklist.conf
> like other drivers that are not directly included in the kernel?

Removal is probably not an option (if there is a kernel driver for the
chip already, there are almost certainly other drivers that use this
chip).  As far as blacklisting goes, that would be something to take
up with the distribution you are developing for (so Debian from what
you've said), although you may not get much help there either if the driver
isn't open source.  In general, it's better to either get your driver
in the kernel at the source code level (which in turn includes help with
ABI updates on the kernel side), or find some way to write it entirely
in userspace (I'd suggest lucking at either the VFIO subsystem or the
older userspace driver framework for this).



  reply	other threads:[~2015-09-18  9:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17 13:24 problem with "serial" driver in kernel 3.16.0 Wolfgang Wilhelm
2015-09-17 13:54 ` Greg KH
2015-09-17 20:03 ` Austin S Hemmelgarn
2015-09-18  9:24   ` Wolfgang Wilhelm [this message]
2015-09-18 16:23     ` Greg KH
2015-09-18 17:52       ` Dr. Wolfgang Wilhelm
2016-11-23 13:14       ` Problem with USB driver using two devices Wolfgang Wilhelm
2016-11-23 14:57         ` Greg KH

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=55FBD835.18717.A6454E@wilhelm.fastcomtec.com \
    --to=wilhelm@fastcomtec.com \
    --cc=ahferroin7@gmail.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /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).