Re: [comedi] Re: USB-DUX hardware now open source
Thomas Schmidt <[email protected]> Tue, 4 Apr 2023 05:13:00 -0700 (PDT)
| Newsgroups | gmane.linux.comedi |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1700_1798784599.1680610380146 Content-Type: multipart/alternative; boundary="----=_Part_1701_1022515200.1680610380146" ------=_Part_1701_1022515200.1680610380146 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable this is what I get on my pi4 when compiling and installing the drivers and= =20 modules pi4ts@pi4ts01:~/src/usb-dux/comedi_raspberry_pi_bullseye $ make -C=20 /usr/src/linux-headers-6.1.19-v8+/ M=3D$PWD make: Verzeichnis =E2=80=9E/usr/src/linux-headers-6.1.19-v8+=E2=80=9C wird = betreten warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Debian 10.2.1-6) 10.2.1 20210110 You are using: gcc (Debian 12.2.0-13) 12.2.0 make: Verzeichnis =E2=80=9E/usr/src/linux-headers-6.1.19-v8+=E2=80=9C wird = verlassen pi4ts@pi4ts01:~/src/usb-dux/comedi_raspberry_pi_bullseye $ sudo make -C=20 /usr/src/linux-headers-6.1.19-v8+/ M=3D$PWD modules_install make: Verzeichnis =E2=80=9E/usr/src/linux-headers-6.1.19-v8+=E2=80=9C wird = betreten INSTALL /lib/modules/6.1.19-v8+/extra/comedi.ko XZ /lib/modules/6.1.19-v8+/extra/comedi.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/comedi_usb.ko XZ /lib/modules/6.1.19-v8+/extra/comedi_usb.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/comedi_8254.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/comedi_8254.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/comedi_bond.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/comedi_bond.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/comedi_parport.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/comedi_parport.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/comedi_test.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/comedi_test.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/dt9812.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/dt9812.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/ni_usb6501.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/ni_usb6501.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/usbdux.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/usbdux.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/usbduxfast.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/usbduxfast.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/usbduxsigma.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/usbduxsigma.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/drivers/vmk80xx.ko XZ /lib/modules/6.1.19-v8+/extra/drivers/vmk80xx.ko.xz INSTALL /lib/modules/6.1.19-v8+/extra/kcomedilib/kcomedilib.ko XZ /lib/modules/6.1.19-v8+/extra/kcomedilib/kcomedilib.ko.xz DEPMOD /lib/modules/6.1.19-v8+ Warning: modules_install: missing 'System.map' file. Skipping depmod. make: Verzeichnis =E2=80=9E/usr/src/linux-headers-6.1.19-v8+=E2=80=9C wird = verlassen Bernd Porr schrieb am Freitag, 10. M=C3=A4rz 2023 um 11:30:39 UTC+1: > Hi all, > > I've extracted the comedi drivers from the vanilla LTS kernel from=20 > kernel.org and hacked the makefiles so that it can be compiled outwidth= =20 > the kernel and then installed: > > https://github.com/glasgowneuro/comedi_raspberry_pi_bullseye > > It compiles the USB drivers and installs them as modules. > > I've done only a quick check so far but seem to work. Anybody out there= =20 > with an RPI can try as well. > > /Bernd > > On 07/03/2023 10:52, Bernd Porr wrote: > > Hi Thomas, > > > > the PRI team has been working very hard to remove COMEDI from their=20 > > custom Kernel. They even removed the config file. I have no idea why=20 > > there is such hostility: > > https://github.com/raspberrypi/linux/issues/534 > > of course you could simply copy comedi back into the kernel and that=20 > > should work. > > > > My students tried to re-enable it recently and gave up but they are no= =20 > > kernel programmers. > > > > If there is interest I can write a generic "how to" how to patch=20 > > comedi back into the RPI kernel. > > > > The USB-DUX-sigma is no longer on sale but I have a few (without box)= =20 > > still about. You can buy them for =C2=A3100+shipping. Please DM via ber= nd@=20 > > >> Bernd Porr <[email protected]>. > > > > /Bernd > > > > On 07/03/2023 10:30, Thomas Schmidt wrote: > >> Hi, > >> > >> is it possible to run usbdux on a raspberry pi? If so, then I'd like= =20 > >> to buy at least one of the USB-DUX-sigma boards. > >> > >> Best, > >> Thomas > >> > >> Bernd Porr schrieb am Sonntag, 8. August 2021 um 19:03:21 UTC+2: > >> > >> > >> Hi all, > >> > >> as most of you know here on the list I embarked on making dedicate= d > >> Linux DAQ boards 15 years ago and they have been part of COEMDI / > >> Linux. After 15 years now we are no longer manufacturing them but > >> we've made the PCB designs open source: > >> > >> https://github.com/glasgowneuro/usbdux > >> <https://github.com/glasgowneuro/usbdux> > >> > >> I have still a few USB-DUX-sigma boards without enclosure here. > >> That's the most recent one. Anybody interested in these please get > >> in touch. > >> > >> Best, > >> /Bernd > >> > >> --=20 > >> You received this message because you are subscribed to the Google=20 > >> Groups "Comedi: Linux Control and Measurement Device Interface" group. > >> To unsubscribe from this group and stop receiving emails from it,=20 > >> send an email to [email protected]=20 > >> <mailto:[email protected]>. > >> To view this discussion on the web visit=20 > >>=20 > https://groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369= cce3cf6a3n%40googlegroups.com=20 > >> < > https://groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369= cce3cf6a3n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>.=20 > > >> > > > --=20 > www: http://www.berndporr.me.uk > http://www.tinnitustailor.tech > http://www.attys.tech > Mobile: +44 (0)7840 340069 <+44%207840%20340069> > Work: +44 (0)141 330 5237 <+44%20141%20330%205237> > University of Glasgow > School of Engineering > Rankine Building, Oakfield Avenue, > Glasgow, G12 8LT > > --=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 on the web visit https://groups.google.com/d/msgid/= comedi_list/2a7a6128-0711-47ef-b405-0b1215453597n%40googlegroups.com. ------=_Part_1701_1022515200.1680610380146 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div>this is what I get on my pi4 when compiling and installing the drivers= and modules</div><div><br /></div>pi4ts@pi4ts01:~/src/usb-dux/comedi_raspb= erry_pi_bullseye $ make -C /usr/src/linux-headers-6.1.19-v8+/ M=3D$PWD<br /= >make: Verzeichnis =E2=80=9E/usr/src/linux-headers-6.1.19-v8+=E2=80=9C wird= betreten<br />warning: the compiler differs from the one used to build the= kernel<br />=C2=A0 The kernel was built by: gcc (Debian 10.2.1-6) 10.2.1 2= 0210110<br />=C2=A0 You are using: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gcc (= Debian 12.2.0-13) 12.2.0<br />make: Verzeichnis =E2=80=9E/usr/src/linux-hea= ders-6.1.19-v8+=E2=80=9C wird verlassen<br />pi4ts@pi4ts01:~/src/usb-dux/co= medi_raspberry_pi_bullseye $ sudo make -C /usr/src/linux-headers-6.1.19-v8+= / M=3D$PWD modules_install<br />make: Verzeichnis =E2=80=9E/usr/src/linux-h= eaders-6.1.19-v8+=E2=80=9C wird betreten<br />=C2=A0 INSTALL /lib/modules/6= .1.19-v8+/extra/comedi.ko<br />=C2=A0 XZ =C2=A0 =C2=A0 =C2=A0/lib/modules/6= .1.19-v8+/extra/comedi.ko.xz<br />=C2=A0 INSTALL /lib/modules/6.1.19-v8+/ex= tra/comedi_usb.ko<br />=C2=A0 XZ =C2=A0 =C2=A0 =C2=A0/lib/modules/6.1.19-v8= +/extra/comedi_usb.ko.xz<br />=C2=A0 INSTALL /lib/modules/6.1.19-v8+/extra/= drivers/comedi_8254.ko<br />=C2=A0 XZ =C2=A0 =C2=A0 =C2=A0/lib/modules/6.1.= 19-v8+/extra/drivers/comedi_8254.ko.xz<br />=C2=A0 INSTALL /lib/modules/6.1= .19-v8+/extra/drivers/comedi_bond.ko<br />=C2=A0 XZ =C2=A0 =C2=A0 =C2=A0/li= b/modules/6.1.19-v8+/extra/drivers/comedi_bond.ko.xz<br />=C2=A0 INSTALL /l= ib/modules/6.1.19-v8+/extra/drivers/comedi_parport.ko<br />=C2=A0 XZ =C2=A0= =C2=A0 =C2=A0/lib/modules/6.1.19-v8+/extra/drivers/comedi_parport.ko.xz<br= />=C2=A0 INSTALL /lib/modules/6.1.19-v8+/extra/drivers/comedi_test.ko<br /= >=C2=A0 XZ =C2=A0 =C2=A0 =C2=A0/lib/modules/6.1.19-v8+/extra/drivers/comedi= _test.ko.xz<br />=C2=A0 INSTALL /lib/modules/6.1.19-v8+/extra/drivers/dt981= 2.ko<br />=C2=A0 XZ =C2=A0 =C2=A0 =C2=A0/lib/modules/6.1.19-v8+/extra/drive= rs/dt9812.ko.xz<br />=C2=A0 INSTALL /lib/modules/6.1.19-v8+/extra/drivers/n= i_usb6501.ko<br />=C2=A0 XZ =C2=A0 =C2=A0 =C2=A0/lib/modules/6.1.19-v8+/ext= ra/drivers/ni_usb6501.ko.xz<br />=C2=A0 INSTALL /lib/modules/6.1.19-v8+/ext= ra/drivers/usbdux.ko<br />=C2=A0 XZ =C2=A0 =C2=A0 =C2=A0/lib/modules/6.1.19= -v8+/extra/drivers/usbdux.ko.xz<br />=C2=A0 INSTALL /lib/modules/6.1.19-v8+= /extra/drivers/usbduxfast.ko<br />=C2=A0 XZ =C2=A0 =C2=A0 =C2=A0/lib/module= s/6.1.19-v8+/extra/drivers/usbduxfast.ko.xz<br />=C2=A0 INSTALL /lib/module= s/6.1.19-v8+/extra/drivers/usbduxsigma.ko<br />=C2=A0 XZ =C2=A0 =C2=A0 =C2= =A0/lib/modules/6.1.19-v8+/extra/drivers/usbduxsigma.ko.xz<br />=C2=A0 INST= ALL /lib/modules/6.1.19-v8+/extra/drivers/vmk80xx.ko<br />=C2=A0 XZ =C2=A0 = =C2=A0 =C2=A0/lib/modules/6.1.19-v8+/extra/drivers/vmk80xx.ko.xz<br />=C2= =A0 INSTALL /lib/modules/6.1.19-v8+/extra/kcomedilib/kcomedilib.ko<br />=C2= =A0 XZ =C2=A0 =C2=A0 =C2=A0/lib/modules/6.1.19-v8+/extra/kcomedilib/kcomedi= lib.ko.xz<br />=C2=A0 DEPMOD =C2=A0/lib/modules/6.1.19-v8+<br />Warning: mo= dules_install: missing 'System.map' file. Skipping depmod.<br />make: Verze= ichnis =E2=80=9E/usr/src/linux-headers-6.1.19-v8+=E2=80=9C wird verlassen<b= r /><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">Bernd= Porr schrieb am Freitag, 10. M=C3=A4rz 2023 um 11:30:39 UTC+1:<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;">Hi all, <br> <br>I've extracted the comedi drivers from the vanilla LTS kernel from= =20 <br><a href=3D"http://kernel.org" target=3D"_blank" rel=3D"nofollow" data-s= aferedirecturl=3D"https://www.google.com/url?hl=3Dde&q=3Dhttp://kernel.= org&source=3Dgmail&ust=3D1680685683248000&usg=3DAOvVaw1x7JTqdqD= Oom04rdm_6Klv">kernel.org</a> and hacked the makefiles so that it can be co= mpiled outwidth=20 <br>the kernel and then installed: <br> <br><a href=3D"https://github.com/glasgowneuro/comedi_raspberry_pi_bullseye= " target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.go= ogle.com/url?hl=3Dde&q=3Dhttps://github.com/glasgowneuro/comedi_raspber= ry_pi_bullseye&source=3Dgmail&ust=3D1680685683248000&usg=3DAOvV= aw3JaCaZu_lb1D-2jTN1pBjn">https://github.com/glasgowneuro/comedi_raspberry_= pi_bullseye</a> <br> <br>It compiles the USB drivers and installs them as modules. <br> <br>I've done only a quick check so far but seem to work. Anybody out t= here=20 <br>with an RPI can try as well. <br> <br>/Bernd <br> <br>On 07/03/2023 10:52, Bernd Porr wrote: <br>> Hi Thomas, <br>> <br>> the PRI team has been working very hard to remove COMEDI from thei= r=20 <br>> custom Kernel. They even removed the config file. I have no idea w= hy=20 <br>> there is such hostility: <br>> <a href=3D"https://github.com/raspberrypi/linux/issues/534" target= =3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.com= /url?hl=3Dde&q=3Dhttps://github.com/raspberrypi/linux/issues/534&so= urce=3Dgmail&ust=3D1680685683248000&usg=3DAOvVaw0XmvP0Yv7-CIPdbhxwL= dS0">https://github.com/raspberrypi/linux/issues/534</a> <br>> of course you could simply copy comedi back into the kernel and th= at=20 <br>> should work. <br>> <br>> My students tried to re-enable it recently and gave up but they ar= e no=20 <br>> kernel programmers. <br>> <br>> If there is interest I can write a generic "how to" how = to patch=20 <br>> comedi back into the RPI kernel. <br>> <br>> The USB-DUX-sigma is no longer on sale but I have a few (without b= ox)=20 <br>> still about. You can buy them for =C2=A3100+shipping. Please DM vi= a bernd@=20 <br>> >> Bernd Porr <<a href data-email-masked rel=3D"nofollow"= >[email protected]</a>>. <br>> <br>> /Bernd <br>> <br>> On 07/03/2023 10:30, Thomas Schmidt wrote: <br>>> Hi, <br>>> <br>>> is it possible to run usbdux on a raspberry pi? If so, then I&= #39;d like=20 <br>>> to buy at least one of the USB-DUX-sigma boards. <br>>> <br>>> Best, <br>>> Thomas <br>>> <br>>> Bernd Porr schrieb am Sonntag, 8. August 2021 um 19:03:21 UTC+= 2: <br>>> <br>>> <br>>> =C2=A0=C2=A0=C2=A0 Hi all, <br>>> <br>>> =C2=A0=C2=A0=C2=A0 as most of you know here on the list I emba= rked on making dedicated <br>>> =C2=A0=C2=A0=C2=A0 Linux DAQ boards 15 years ago and they have= been part of COEMDI / <br>>> =C2=A0=C2=A0=C2=A0 Linux. After 15 years now we are no longer = manufacturing them but <br>>> =C2=A0=C2=A0=C2=A0 we've made the PCB designs open source: <br>>> <br>>> =C2=A0=C2=A0=C2=A0 <a href=3D"https://github.com/glasgowneuro/= usbdux" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://= www.google.com/url?hl=3Dde&q=3Dhttps://github.com/glasgowneuro/usbdux&a= mp;source=3Dgmail&ust=3D1680685683248000&usg=3DAOvVaw0VCVP2wE7AOAU8= KvhqpnSd">https://github.com/glasgowneuro/usbdux</a> <br>>> =C2=A0=C2=A0=C2=A0 <<a href=3D"https://github.com/glasgowne= uro/usbdux" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"http= s://www.google.com/url?hl=3Dde&q=3Dhttps://github.com/glasgowneuro/usbd= ux&source=3Dgmail&ust=3D1680685683248000&usg=3DAOvVaw0VCVP2wE7A= OAU8KvhqpnSd">https://github.com/glasgowneuro/usbdux</a>> <br>>> <br>>> =C2=A0=C2=A0=C2=A0 I have still a few USB-DUX-sigma boards wit= hout enclosure here. <br>>> =C2=A0=C2=A0=C2=A0 That's the most recent one. Anybody int= erested in these please get <br>>> =C2=A0=C2=A0=C2=A0 in touch. <br>>> <br>>> =C2=A0=C2=A0=C2=A0 Best, <br>>> =C2=A0=C2=A0=C2=A0 /Bernd <br>>> <br>>> --=20 <br>>> You received this message because you are subscribed to the Go= ogle=20 <br>>> Groups "Comedi: Linux Control and Measurement Device Inte= rface" group. <br>>> To unsubscribe from this group and stop receiving emails from = it,=20 <br>>> send an email to <a href data-email-masked rel=3D"nofollow">co= [email protected]</a>=20 <br>>> <mailto:<a href data-email-masked rel=3D"nofollow">comedi_l= [email protected]</a>>. <br>>> To view this discussion on the web visit=20 <br>>> <a href=3D"https://groups.google.com/d/msgid/comedi_list/eb9b1= 5d9-bd05-4e54-8810-369cce3cf6a3n%40googlegroups.com" target=3D"_blank" rel= =3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&am= p;q=3Dhttps://groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810= -369cce3cf6a3n%2540googlegroups.com&source=3Dgmail&ust=3D1680685683= 249000&usg=3DAOvVaw04n0NOq5G8ALdTKXqkLtmf">https://groups.google.com/d/= msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a3n%40googlegroups.com<= /a>=20 <br>>> <<a href=3D"https://groups.google.com/d/msgid/comedi_list/e= b9b15d9-bd05-4e54-8810-369cce3cf6a3n%40googlegroups.com?utm_medium=3Demail&= amp;utm_source=3Dfooter" target=3D"_blank" rel=3D"nofollow" data-saferedire= cturl=3D"https://www.google.com/url?hl=3Dde&q=3Dhttps://groups.google.c= om/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a3n%2540googlegrou= ps.com?utm_medium%3Demail%26utm_source%3Dfooter&source=3Dgmail&ust= =3D1680685683249000&usg=3DAOvVaw2QZttRkSQY7D3_Y4a12k72">https://groups.= google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a3n%40goog= legroups.com?utm_medium=3Demail&utm_source=3Dfooter</a>>.=20 <br>>> <br>> <br>--=20 <br>www: <a href=3D"http://www.berndporr.me.uk" target=3D"_blank" rel=3D= "nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&q= =3Dhttp://www.berndporr.me.uk&source=3Dgmail&ust=3D1680685683249000= &usg=3DAOvVaw0pO4VKb2uzfEmStqEbAsMb">http://www.berndporr.me.uk</a> <br> <a href=3D"http://www.tinnitustailor.tech" target=3D"_blank" r= el=3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&= amp;q=3Dhttp://www.tinnitustailor.tech&source=3Dgmail&ust=3D1680685= 683249000&usg=3DAOvVaw3UApXoKmqktoVrlSuXgFuE">http://www.tinnitustailor= .tech</a> <br> <a href=3D"http://www.attys.tech" target=3D"_blank" rel=3D"nof= ollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&q=3Dh= ttp://www.attys.tech&source=3Dgmail&ust=3D1680685683249000&usg= =3DAOvVaw0xhGPvYSGH6UjEU3m_sJNd">http://www.attys.tech</a> <br>Mobile: <a href=3D"tel:+44%207840%20340069" value=3D"+447840340069" tar= get=3D"_blank" rel=3D"nofollow">+44 (0)7840 340069</a> <br>Work: <a href=3D"tel:+44%20141%20330%205237" value=3D"+441413305237" = target=3D"_blank" rel=3D"nofollow">+44 (0)141 330 5237</a> <br> University of Glasgow <br> School of Engineering <br> Rankine Building, Oakfield Avenue, <br> Glasgow, G12 8LT <br> <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 on the web visit <a href=3D"https://groups.google.c= om/d/msgid/comedi_list/2a7a6128-0711-47ef-b405-0b1215453597n%40googlegroups= .com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms= gid/comedi_list/2a7a6128-0711-47ef-b405-0b1215453597n%40googlegroups.com</a= >.<br /> ------=_Part_1701_1022515200.1680610380146-- ------=_Part_1700_1798784599.1680610380146--