Re: [comedi] Re: USB-DUX hardware now open source
Bernd Porr <[email protected]> Sun, 7 May 2023 19:26:18 +0100
| Newsgroups | gmane.linux.comedi |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------c8n4DPhwYFc0fQXuW5Ydhu7A Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Hi, looks like the firmware file couldn't be found. Should be in /lib/firmware. On an original RPI4 actually the whole usb driver hangs and then even=20 the keyboard won't work any longer. Hopefully it works better on the=20 rockpi4c. Def works on a RPI3 but that has a different USB controller (=3D= =20 2.0). Best, /Bernd On 07/05/2023 15:27, Thomas Schmidt wrote: > Hi all, > > tryed the procedure Bernd proposed on a rockpi4c+ with armbian and=20 > ended up with > > usb 4-1: new high-speed USB device number 2 using ehci-platform > [ =C2=A0301.651818] usb 4-1: New USB device found, idVendor=3D13d8,=20 > idProduct=3D0020, bcdDevice=3D 0.00 > [ =C2=A0301.651863] usb 4-1: New USB device strings: Mfr=3D0, Product=3D0= ,=20 > SerialNumber=3D0 > [ =C2=A0301.712173] comedi: loading out-of-tree module taints kernel. > [ =C2=A0301.712890] comedi: module verification failed: signature and/or= =20 > required key missing - tainting kernel > [ =C2=A0301.715097] comedi: version 0.7.76 - http://www.comedi.org > [ =C2=A0301.726392] usb 4-1: Direct firmware load for=20 > usbduxsigma_firmware.bin failed with error -2 > [ =C2=A0301.726425] usbduxsigma 4-1:1.0: driver 'usbduxsigma' failed to= =20 > auto-configure device. > [ =C2=A0301.726916] usbduxsigma: probe of 4-1:1.0 failed with error -2 > [ =C2=A0301.727011] usbcore: registered new interface driver usbduxsigma > > any suggestion what I did wrong? > > Thanks,# > Thomas > > 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 > kernel.org <http://kernel.org> and hacked the makefiles so that it > can be compiled outwidth > 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 > 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 > > custom Kernel. They even removed the config file. I have no idea > why > > there is such hostility: > > https://github.com/raspberrypi/linux/issues/534 > > of course you could simply copy comedi back into the kernel and > that > > should work. > > > > My students tried to re-enable it recently and gave up but they > are no > > kernel programmers. > > > > If there is interest I can write a generic "how to" how to patch > > comedi back into the RPI kernel. > > > > The USB-DUX-sigma is no longer on sale but I have a few (without > box) > > still about. You can buy them for =C2=A3100+shipping. Please DM via > bernd@ > > >> 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 > >> 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: > >> > >> > >> =C2=A0=C2=A0=C2=A0 Hi all, > >> > >> =C2=A0=C2=A0=C2=A0 as most of you know here on the list I embarked= on making > dedicated > >> =C2=A0=C2=A0=C2=A0 Linux DAQ boards 15 years ago and they have bee= n part of > COEMDI / > >> =C2=A0=C2=A0=C2=A0 Linux. After 15 years now we are no longer manu= facturing > them but > >> =C2=A0=C2=A0=C2=A0 we've made the PCB designs open source: > >> > >> https://github.com/glasgowneuro/usbdux > >> =C2=A0=C2=A0=C2=A0 <https://github.com/glasgowneuro/usbdux> > >> > >> =C2=A0=C2=A0=C2=A0 I have still a few USB-DUX-sigma boards without= enclosure > here. > >> =C2=A0=C2=A0=C2=A0 That's the most recent one. Anybody interested = in these > please get > >> =C2=A0=C2=A0=C2=A0 in touch. > >> > >> =C2=A0=C2=A0=C2=A0 Best, > >> =C2=A0=C2=A0=C2=A0 /Bernd > >> > >> -- > >> 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 email to [email protected] > >> <mailto:[email protected]>. > >> To view this discussion on the web visit > >> > https://groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810= -369cce3cf6a3n%40googlegroups.com > > >> > <https://groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-881= 0-369cce3cf6a3n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > <https://groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-881= 0-369cce3cf6a3n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>>= . > > >> > > > --=20 > www: http://www.berndporr.me.uk > http://www.tinnitustailor.tech > http://www.attys.tech > Mobile: +44 (0)7840 340069 <tel:+44%207840%20340069> > Work: +44 (0)141 330 5237 <tel:+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 a topic in the=20 > Google Groups "Comedi: Linux Control and Measurement Device Interface"=20 > group. > To unsubscribe from this topic, visit=20 > https://groups.google.com/d/topic/comedi_list/tBYH4iQeL14/unsubscribe. > To unsubscribe from this group and all its topics, send an email to=20 > [email protected]. > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/comedi_list/9e1c5d60-4252-4914-9726-e5b= 7ef98093bn%40googlegroups.com=20 > <https://groups.google.com/d/msgid/comedi_list/9e1c5d60-4252-4914-9726-e5= b7ef98093bn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>. --=20 www:http://www.berndporr.me.uk http://www.tinnitustailor.tech http://www.attys.tech Mobile: +44 (0)7840 340069 Work: +44 (0)141 330 5237 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/ed8419f6-dff3-1db9-307f-c554a78ade89%40berndporr.me.uk. --------------c8n4DPhwYFc0fQXuW5Ydhu7A Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8= "> </head> <body> <p>Hi,</p> <p>looks like the firmware file couldn't be found. Should be in /lib/firmware.</p> <p>On an original RPI4 actually the whole usb driver hangs and then even the keyboard won't work any longer. Hopefully it works better on the rockpi4c. Def works on a RPI3 but that has a different USB controller (=3D 2.0).<br> </p> <p>Best,</p> <p>/Bernd<br> </p> <div class=3D"moz-cite-prefix">On 07/05/2023 15:27, Thomas Schmidt wrote:<br> </div> <blockquote type=3D"cite" cite=3D"mid:[email protected]"> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF= -8"> <div>Hi all,</div> <div><br> </div> <div>tryed the procedure Bernd proposed on a rockpi4c+ with armbian and ended up with</div> <div><br> </div> <div>usb 4-1: new high-speed USB device number 2 using ehci-platform<br> [ =C2=A0301.651818] usb 4-1: New USB device found, idVendor=3D13d8, idProduct=3D0020, bcdDevice=3D 0.00<br> [ =C2=A0301.651863] usb 4-1: New USB device strings: Mfr=3D0, Product=3D0, SerialNumber=3D0<br> [ =C2=A0301.712173] comedi: loading out-of-tree module taints kerne= l.<br> [ =C2=A0301.712890] comedi: module verification failed: signature and/or required key missing - tainting kernel<br> [ =C2=A0301.715097] comedi: version 0.7.76 - <a class=3D"moz-txt-li= nk-freetext" href=3D"http://www.comedi.org">http://www.comedi.org</a><br> [ =C2=A0301.726392] usb 4-1: Direct firmware load for usbduxsigma_firmware.bin failed with error -2<br> [ =C2=A0301.726425] usbduxsigma 4-1:1.0: driver 'usbduxsigma' faile= d to auto-configure device.<br> [ =C2=A0301.726916] usbduxsigma: probe of 4-1:1.0 failed with error -2<br> [ =C2=A0301.727011] usbcore: registered new interface driver usbduxsigma<br> <br> any suggestion what I did wrong?</div> <div><br> </div> <div>Thanks,#</div> <div>Thomas<br> </div> <br> <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 <br> <a href=3D"http://kernel.org" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&q=3Dhttp://k= ernel.org&source=3Dgmail&ust=3D1683555927762000&usg=3DAOvVaw0Js= J-exj6QW4oI4yj0Y9j6" moz-do-not-send=3D"true">kernel.org</a> and hacked the makefiles so that it can be compiled outwidth <br> the kernel and then installed: <br> <br> <a href=3D"https://github.com/glasgowneuro/comedi_raspberry_pi_bul= lseye" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&q=3Dhttps://= github.com/glasgowneuro/comedi_raspberry_pi_bullseye&source=3Dgmail&= ;ust=3D1683555927762000&usg=3DAOvVaw1KfmzZ2Fs2jUKFdNNEwoyw" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">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 there <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 their <br> > custom Kernel. They even removed the config file. I have no idea why <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&source=3Dgmail&ust=3D168355= 5927762000&usg=3DAOvVaw1slLTknOQlNam0iCB8MofQ" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">https:= //github.com/raspberrypi/linux/issues/534</a> <br> > of course you could simply copy comedi back into the kernel and that <br> > should work. <br> > <br> > My students tried to re-enable it recently and gave up but they are no <br> > kernel programmers. <br> > <br> > If there is interest I can write a generic "how to" how to patch <br> > comedi back into the RPI kernel. <br> > <br> > The USB-DUX-sigma is no longer on sale but I have a few (without box) <br> > still about. You can buy them for =C2=A3100+shipping. Please DM via bernd@ <br> > >> Bernd Porr <<a href=3D"" data-email-masked=3D"" rel=3D"nofollow" moz-do-not-send=3D"true">[email protected]= m</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'd like <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 embarked on making dedicated <br> >> =C2=A0=C2=A0=C2=A0 Linux DAQ boards 15 years ago and the= y have been part of COEMDI / <br> >> =C2=A0=C2=A0=C2=A0 Linux. After 15 years now we are no l= onger manufacturing them but <br> >> =C2=A0=C2=A0=C2=A0 we've made the PCB designs open sourc= e: <br> >> <br> >> =C2=A0=C2=A0=C2=A0 <a href=3D"https://github.com/glasgow= neuro/usbdux" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&q=3Dhttps://= github.com/glasgowneuro/usbdux&source=3Dgmail&ust=3D168355592776200= 0&usg=3DAOvVaw0BxtnWOeYnswEpks12eMGc" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">https:= //github.com/glasgowneuro/usbdux</a> <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&source=3Dgmail&ust=3D168355592776200= 0&usg=3DAOvVaw0BxtnWOeYnswEpks12eMGc" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">https:= //github.com/glasgowneuro/usbdux</a>> <br> >> <br> >> =C2=A0=C2=A0=C2=A0 I have still a few USB-DUX-sigma boar= ds without enclosure here. <br> >> =C2=A0=C2=A0=C2=A0 That's the most recent one. Anybody i= nterested 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> >> -- <br> >> You received this message because you are subscribed to the Google <br> >> Groups "Comedi: Linux Control and Measurement Device Interface" group. <br> >> To unsubscribe from this group and stop receiving emails from it, <br> >> send an email to <a href=3D"" data-email-masked=3D"" rel=3D"nofollow" moz-do-not-send=3D"true">comedi_list...@google= groups.com</a> <br> >> <mailto:<a href=3D"" data-email-masked=3D"" rel=3D"nofollow" moz-do-not-send=3D"true">comedi_list...@google= groups.com</a>>. <br> >> To view this discussion on the web visit <br> >> <a href=3D"https://groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-88= 10-369cce3cf6a3n%40googlegroups.com" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&q=3Dhttps://= groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a3n= %2540googlegroups.com&source=3Dgmail&ust=3D1683555927762000&usg= =3DAOvVaw2Cn1gP4yuTWfawPc7aKXtI" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">https:= //groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a= 3n%40googlegroups.com</a> <br> >> <<a href=3D"https://groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-88= 10-369cce3cf6a3n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoo= ter" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&q=3Dhttps://= groups.google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a3n= %2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source= =3Dgmail&ust=3D1683555927762000&usg=3DAOvVaw3pwbbccqfZ_jvh6p8yHZ2l" moz-do-not-send=3D"true">https://groups.google.com/d/msgid/come= di_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a3n%40googlegroups.com?utm_medium= =3Demail&utm_source=3Dfooter</a>>. <br> >> <br> > <br> -- <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://w= ww.berndporr.me.uk&source=3Dgmail&ust=3D1683555927762000&usg=3D= AOvVaw3e2rmObfZgUw1cMviXXLzX" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">http:/= /www.berndporr.me.uk</a> <br> <a href=3D"http://www.tinnitustailor.tech" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&q=3Dhttp://w= ww.tinnitustailor.tech&source=3Dgmail&ust=3D1683555927762000&us= g=3DAOvVaw1hjWN89hIft7ZA-BFfcN__" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">http:/= /www.tinnitustailor.tech</a> <br> <a href=3D"http://www.attys.tech" target=3D"_blank" rel=3D"nofoll= ow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dde&q=3Dhttp://w= ww.attys.tech&source=3Dgmail&ust=3D1683555927762000&usg=3DAOvVa= w07FrorBgDyJ--erLqir8Qn" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">http:/= /www.attys.tech</a> <br> Mobile: <a href=3D"tel:+44%207840%20340069" value=3D"+447840340069" target=3D"_blank" rel=3D"nofollow" moz-do-not-send=3D"true">+44 (0)7840 340069</a> <br> Work: <a href=3D"tel:+44%20141%20330%205237" value=3D"+441413305237" target=3D"_blank" rel=3D"nofollow" moz-do-not-send=3D"true">+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> -- <br> You received this message because you are subscribed to a topic in the Google Groups "Comedi: Linux Control and Measurement Device Interface" group.<br> To unsubscribe from this topic, visit <a href=3D"https://groups.google.com/d/topic/comedi_list/tBYH4iQeL14/unsubscri= be" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">https://gr= oups.google.com/d/topic/comedi_list/tBYH4iQeL14/unsubscribe</a>.<br> To unsubscribe from this group and all its topics, send an email to <a href=3D"mailto:[email protected]" moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext">comedi_lis= [email protected]</a>.<br> To view this discussion on the web visit <a href=3D"https://groups.google.com/d/msgid/comedi_list/9e1c5d60-4252-4914-97= 26-e5b7ef98093bn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoo= ter" moz-do-not-send=3D"true">https://groups.google.com/d/msgid/comedi_l= ist/9e1c5d60-4252-4914-9726-e5b7ef98093bn%40googlegroups.com</a>.<br> </blockquote> <pre class=3D"moz-signature" cols=3D"72">--=20 www: <a class=3D"moz-txt-link-freetext" href=3D"http://www.berndporr.me.= uk">http://www.berndporr.me.uk</a> <a class=3D"moz-txt-link-freetext" href=3D"http://www.tinnitustailo= r.tech">http://www.tinnitustailor.tech</a> <a class=3D"moz-txt-link-freetext" href=3D"http://www.attys.tech">h= ttp://www.attys.tech</a> Mobile: +44 (0)7840 340069 Work: +44 (0)141 330 5237 University of Glasgow School of Engineering Rankine Building, Oakfield Avenue, Glasgow, G12 8LT </pre> </body> </html> <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/ed8419f6-dff3-1db9-307f-c554a78ade89%40berndporr.me.= uk?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgi= d/comedi_list/ed8419f6-dff3-1db9-307f-c554a78ade89%40berndporr.me.uk</a>.<b= r /> --------------c8n4DPhwYFc0fQXuW5Ydhu7A--