Re: [comedi] Comedi Driver with LPCIe-7250 problem

Gus Cerda <[email protected]> Thu, 29 May 2025 04:11:00 -0700 (PDT)
Newsgroups gmane.linux.comedi
Message-ID <[email protected]>
------=_Part_16774_1359133009.1748517060484
Content-Type: multipart/alternative; 
	boundary="----=_Part_16775_220994159.1748517060484"

------=_Part_16775_220994159.1748517060484
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Sorry, the same command as root:

41:00.0 1100: 144a:7250 (rev 01)
        Subsystem: 144a:7000
        Flags: fast devsel, IRQ 242, IOMMU group 56
        Memory at 92002000 (32-bit, non-prefetchable) [size=3D256]
        Memory at 92001000 (32-bit, non-prefetchable) [size=3D256]
        Memory at 92000000 (32-bit, non-prefetchable) [size=3D256]
        Capabilities: [50] Power Management version 3
        Capabilities: [70] MSI: Enable- Count=3D1/1 Maskable- 64bit+
        Capabilities: [90] Express Endpoint, MSI 00
        Capabilities: [100] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: adl_pci7250
        Kernel modules: adl_pci7250

El jueves, 29 de mayo de 2025 a las 13:08:50 UTC+2, Gus Cerda escribi=C3=B3=
:

> This is the information requested:
>
>
>
>
>
>
>
>
>
> *41:00.0 1100: 144a:7250 (rev 01)        Subsystem: 144a:7000       =20
> Flags: fast devsel, IRQ 242, IOMMU group 56        Memory at 92002000=20
> (32-bit, non-prefetchable) [size=3D256]        Memory at 92001000 (32-bit=
,=20
> non-prefetchable) [size=3D256]        Memory at 92000000 (32-bit,=20
> non-prefetchable) [size=3D256]        Capabilities: <access denied>      =
 =20
> Kernel driver in use: adl_pci7250        Kernel modules: adl_pci7250*
>
> El jueves, 29 de mayo de 2025 a las 12:10:36 UTC+2, Ian Abbott escribi=C3=
=B3:
>
>> On 2025-05-29 10:49, Ian Abbott wrote:
>>
>> On 2025-05-29 08:03, Gus Cerda wrote:
>>
>> It seems something has changed.
>>
>> It looks like they have replaced the two PLX PCIe/PCI/local bus chips an=
d=20
>> the internal card logic with a Lattice FPGA doing everything.
>>
>> They might have changed the register layout. If they have changed the=20
>> register layout but kept the same PCI vendor and PCI device ID, they sho=
uld=20
>> at least have changed the PCI subvendor ID or PCI subdevice ID, or possi=
bly=20
>> the PCI revision code, or PCI class code, or possibly changed the PCI BA=
R=20
>> regions. In other words, they would need some way for their driver to=20
>> differentiate it from the original board so can account for any changes =
to=20
>> the register layout.
>>
>>
>> Speaking of which, it would be useful to dump the PCI config for this=20
>> device:
>>
>> *$* lspci -v -n -d 0x144a:7250
>>
>>
>> I don't currently have an older device to compare it to though!
>>
>> --=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=
/084d0171-1e36-40c2-a261-f4be220a804bn%40googlegroups.com.

------=_Part_16775_220994159.1748517060484
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Sorry, the same command as root:<div><br /></div><div>41:00.0 1100: 144a:72=
50 (rev 01)<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 Subsystem: 144a:7000<br />=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 Flags: fast devsel, IRQ 242, IOMMU group 56<br />=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Memory at 92002000 (32-bit, non-prefetchable) [=
size=3D256]<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 Memory at 92001000 (32-bit, no=
n-prefetchable) [size=3D256]<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 Memory at 920=
00000 (32-bit, non-prefetchable) [size=3D256]<br />=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 Capabilities: [50] Power Management version 3<br />=C2=A0 =C2=A0 =C2=A0=
 =C2=A0 Capabilities: [70] MSI: Enable- Count=3D1/1 Maskable- 64bit+<br />=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Capabilities: [90] Express Endpoint, MSI 00<br =
/>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Capabilities: [100] Device Serial Number 00-0=
0-00-00-00-00-00-00<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 Kernel driver in use: =
adl_pci7250<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 Kernel modules: adl_pci7250<br=
 /><br /></div><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_=
attr">El jueves, 29 de mayo de 2025 a las 13:08:50 UTC+2, Gus Cerda escribi=
=C3=B3:<br/></div><blockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 =
0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">This =
is the information requested:<div><br></div><div><b><i>41:00.0 1100: 144a:7=
250 (rev 01)<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Subsystem: 144a:7000<br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 Flags: fast devsel, IRQ 242, IOMMU group 56<br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 Memory at 92002000 (32-bit, non-prefetchable) [size=3D=
256]<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Memory at 92001000 (32-bit, non-prefetc=
hable) [size=3D256]<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Memory at 92000000 (32-b=
it, non-prefetchable) [size=3D256]<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Capabilit=
ies: &lt;access denied&gt;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Kernel driver in =
use: adl_pci7250<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Kernel modules: adl_pci7250=
</i></b><br><br></div><div class=3D"gmail_quote"><div dir=3D"auto" class=3D=
"gmail_attr">El jueves, 29 de mayo de 2025 a las 12:10:36 UTC+2, Ian Abbott=
 escribi=C3=B3:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <div>On 2025-05-29 10:49, Ian Abbott wrote:<br>
    </div>
    </div><div><blockquote type=3D"cite">
     =20
      <div>On 2025-05-29 08:03, Gus Cerda wrote:<br>
      </div>
      <blockquote type=3D"cite">
       =20
        It seems something has changed.<br>
        <div><br>
        </div>
      </blockquote></blockquote></div><div><blockquote type=3D"cite">
      It looks like they have replaced the two PLX PCIe/PCI/local bus
      chips and the internal card logic with a Lattice FPGA doing
      everything.<br>
      <br>
      They might have changed the register layout. If they have changed
      the register layout but kept the same PCI vendor and PCI device
      ID, they should at least have changed the PCI subvendor ID or PCI
      subdevice ID, or possibly the PCI revision code, or PCI class
      code, or possibly changed the PCI BAR regions. In other words,
      they would need some way for their driver to differentiate it from
      the original board so can account for any changes to the register
      layout.<br>
    </blockquote></div><div><blockquote type=3D"cite"></blockquote>
    <br>
    Speaking of which, it would be useful to dump the PCI config for
    this device:<br>
    <br>
    <pre><b>$</b> lspci -v -n -d 0x144a:7250</pre>
    <br>
    I don&#39;t currently have an older device to compare it to though!</di=
v><div><br>
    <pre cols=3D"72">--=20
-=3D( Ian Abbott <a rel=3D"nofollow">&lt;[email protected]&gt;</a> || MEV Lt=
d. is a company  )=3D-
-=3D( registered in England &amp; Wales.  Regd. number: 02862268.  )=3D-
-=3D( Regd. addr.: S11 &amp; 12 Building 67, Europa Business Park, )=3D-
-=3D( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || <a href=3D"http://www.mev.=
co.uk" rel=3D"nofollow" target=3D"_blank" data-saferedirecturl=3D"https://w=
ww.google.com/url?hl=3Des&amp;q=3Dhttp://www.mev.co.uk&amp;source=3Dgmail&a=
mp;ust=3D1748603331301000&amp;usg=3DAOvVaw2zVuK2OCBIA8WElHtxv9SG">www.mev.c=
o.uk</a> )=3D-</pre>
  </div></blockquote></div></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&quot; 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/084d0171-1e36-40c2-a261-f4be220a804bn%40googlegroups.com?utm_me=
dium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/comedi_=
list/084d0171-1e36-40c2-a261-f4be220a804bn%40googlegroups.com</a>.<br />

------=_Part_16775_220994159.1748517060484--

------=_Part_16774_1359133009.1748517060484--