Re: [comedi] Comedi Driver with LPCIe-7250 problem
Gus Cerda <[email protected]> Mon, 2 Jun 2025 02:19:37 -0700 (PDT)
| Newsgroups | gmane.linux.comedi |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_283376_111676446.1748855977215
Content-Type: multipart/alternative;
boundary="----=_Part_283377_2133905106.1748855977215"
------=_Part_283377_2133905106.1748855977215
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi Ian,
I tested all the inputs and now are working as expected.
Thank you very much for making this card work as well as the old version of=
=20
the card.
I sincerely appreciate your help.
El viernes, 30 de mayo de 2025 a las 19:36:26 UTC+2, Ian Abbott escribi=C3=
=B3:
> On 28/05/2025 13:03, Der Alte wrote:
> > Hi Folks, in my 6.4.0 openSuse kernel tree there is a file named=20
> > adl_pci_7x3x.c but no adl_pci7230.c, adl_pci7432.c and no adl_pci7250.c=
=20
> > like in the github Linux-CoMeDI repo.
>
> The adl_pci7x3x.c in the kernel sources supports the cards that were=20
> previously supported by adl_pci7230.c and adl_pci7432.c, but not=20
> adl_pci7250.c. Support for the {L}PCI{e}-7250 cards is currently=20
> missing from the kernel sources, but I plan to port the adl_pci7250=20
> driver over from the Linux-CoMeDI repo. (It's only taken me 10 years to=
=20
> get around to it, so far!) There are some recently discovered=20
> incompatibilities with the latest hardware revisions of the LPCIe-7250=20
> that need to be resolved first.
>
> > I remember addint Interupt functionality "once" in adl_pci_7x3x.c and=
=20
> > adv_pci_dio.c but can't remember the year in the moment.
>
> You added interrupt handling into those files for the ADLINK PCI-7230=20
> and the Advantech PCI-1730 back in early 2021 (kernel version 5.12).
>
> > Was the splitting done after that or before the IRQ add-on?
> > Seems like I missed someting.
>
> Hartley Sweeten replaced adl_pci7230.c and adl_pci7432.c with=20
> adl_pci7x3x.c in mid 2012 (kernel version 3.7).
>
> > Which concept is the more modern one? One driver for each card type or=
=20
> > the collecting driver for a family of cards?
>
> In general, it depends how similar the cards are at the register level.=
=20
> There is no hard and fast rule. It's a bit of a judgement call.
>
> --=20
> -=3D( Ian Abbott <[email protected]> || MEV Ltd. is a company )=3D-
> -=3D( registered in England & Wales. Regd. number: 02862268. )=3D-
> -=3D( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=3D-
> -=3D( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=3D-
>
--=20
You received this message because you are subscribed to the Google Groups "=
Comedi: Linux Control and Measurement Device Interface" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/comedi_list=
/838dfecd-d663-48f1-8998-1a7450b82b04n%40googlegroups.com.
------=_Part_283377_2133905106.1748855977215
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi Ian,<div>I tested all the inputs and now are working as expected.</div><=
div>Thank you very much for making this card work as well as the old versio=
n of the card.</div><div><span style=3D"color: rgb(31, 31, 31); font-family=
: "Google Sans", Arial, sans-serif;"><br /></span></div><div><spa=
n style=3D"color: rgb(31, 31, 31); font-family: "Google Sans", Ar=
ial, sans-serif;">I sincerely appreciate your help.</span></div><div><font =
color=3D"#1f1f1f" face=3D"Google Sans, Arial, sans-serif"><br /></font><br =
/></div><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">E=
l viernes, 30 de mayo de 2025 a las 19:36:26 UTC+2, Ian Abbott escribi=C3=
=B3:<br/></div><blockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 0.8=
ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">On 28/05=
/2025 13:03, Der Alte wrote:
<br>> Hi Folks, in my 6.4.0 openSuse kernel tree there is a file named=
=20
<br>> adl_pci_7x3x.c but no adl_pci7230.c, adl_pci7432.c and no adl_pci7=
250.c=20
<br>> like in the github=C2=A0 Linux-CoMeDI repo.
<br>
<br>The adl_pci7x3x.c in the kernel sources supports the cards that were=20
<br>previously supported by adl_pci7230.c and adl_pci7432.c, but not=20
<br>adl_pci7250.c. Support for the {L}PCI{e}-7250 cards is currently=20
<br>missing from the kernel sources, but I plan to port the adl_pci7250=20
<br>driver over from the Linux-CoMeDI repo. (It's only taken me 10 year=
s to=20
<br>get around to it, so far!) There are some recently discovered=20
<br>incompatibilities with the latest hardware revisions of the LPCIe-7250=
=20
<br>that need to be resolved first.
<br>
<br>> I remember addint Interupt functionality "once" in adl_p=
ci_7x3x.c and=20
<br>> adv_pci_dio.c but can't remember the year in the moment.
<br>
<br>You added interrupt handling into those files for the ADLINK PCI-7230=
=20
<br>and the Advantech PCI-1730 back in early 2021 (kernel version 5.12).
<br>
<br>> Was the splitting done after that or before the IRQ add-on?
<br>> Seems like I missed someting.
<br>
<br>Hartley Sweeten replaced adl_pci7230.c and adl_pci7432.c with=20
<br>adl_pci7x3x.c in mid 2012 (kernel version 3.7).
<br>
<br>> Which concept is the more modern one? One driver for each card typ=
e or=20
<br>> the collecting driver for a family of cards?
<br>
<br>In general, it depends how similar the cards are at the register level.=
=20
<br>There is no hard and fast rule. It's a bit of a judgement call.
<br>
<br>--=20
<br>-=3D( Ian Abbott <<a href data-email-masked rel=3D"nofollow">abb...@=
mev.co.uk</a>> || MEV Ltd. is a company )=3D-
<br>-=3D( registered in England & Wales. Regd. number: 02862268. )=3D=
-
<br>-=3D( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=3D=
-
<br>-=3D( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || <a href=3D"http://www.=
mev.co.uk" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https=
://www.google.com/url?hl=3Des&q=3Dhttp://www.mev.co.uk&source=3Dgma=
il&ust=3D1748939328080000&usg=3DAOvVaw1LIqNGOVFXRQZ4N4io8nhs">www.m=
ev.co.uk</a> )=3D-
<br></blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Comedi: Linux Control and Measurement Device Interface" group.<br=
/>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">comedi_=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
comedi_list/838dfecd-d663-48f1-8998-1a7450b82b04n%40googlegroups.com?utm_me=
dium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/comedi_=
list/838dfecd-d663-48f1-8998-1a7450b82b04n%40googlegroups.com</a>.<br />
------=_Part_283377_2133905106.1748855977215--
------=_Part_283376_111676446.1748855977215--