Re: [comedi] Re: USB-DUX hardware now open source

Thomas Schmidt <[email protected]> Sun, 7 May 2023 07:27:58 -0700 (PDT)
Newsgroups gmane.linux.comedi
Message-ID <[email protected]>
------=_Part_4348_703070554.1683469678494
Content-Type: multipart/alternative; 
	boundary="----=_Part_4349_1691518321.1683469678494"

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

Hi all,

tryed the procedure Bernd proposed on a rockpi4c+ with armbian and ended up=
=20
with

usb 4-1: new high-speed USB device number 2 using ehci-platform
[  301.651818] usb 4-1: New USB device found, idVendor=3D13d8,=20
idProduct=3D0020, bcdDevice=3D 0.00
[  301.651863] usb 4-1: New USB device strings: Mfr=3D0, Product=3D0,=20
SerialNumber=3D0
[  301.712173] comedi: loading out-of-tree module taints kernel.
[  301.712890] comedi: module verification failed: signature and/or=20
required key missing - tainting kernel
[  301.715097] comedi: version 0.7.76 - http://www.comedi.org
[  301.726392] usb 4-1: Direct firmware load for usbduxsigma_firmware.bin=
=20
failed with error -2
[  301.726425] usbduxsigma 4-1:1.0: driver 'usbduxsigma' failed to=20
auto-configure device.
[  301.726916] usbduxsigma: probe of 4-1:1.0 failed with error -2
[  301.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=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/9e1c5d60-4252-4914-9726-e5b7ef98093bn%40googlegroups.com.

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

<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>us=
b 4-1: new high-speed USB device number 2 using ehci-platform<br />[ =C2=A0=
301.651818] usb 4-1: New USB device found, idVendor=3D13d8, idProduct=3D002=
0, bcdDevice=3D 0.00<br />[ =C2=A0301.651863] usb 4-1: New USB device strin=
gs: Mfr=3D0, Product=3D0, SerialNumber=3D0<br />[ =C2=A0301.712173] comedi:=
 loading out-of-tree module taints kernel.<br />[ =C2=A0301.712890] comedi:=
 module verification failed: signature and/or required key missing - tainti=
ng kernel<br />[ =C2=A0301.715097] comedi: version 0.7.76 - http://www.come=
di.org<br />[ =C2=A0301.726392] usb 4-1: Direct firmware load for usbduxsig=
ma_firmware.bin failed with error -2<br />[ =C2=A0301.726425] usbduxsigma 4=
-1:1.0: driver 'usbduxsigma' failed to auto-configure device.<br />[ =C2=A0=
301.726916] usbduxsigma: probe of 4-1:1.0 failed with error -2<br />[ =C2=
=A0301.727011] usbcore: registered new interface driver usbduxsigma<br /><b=
r />any suggestion what I did wrong?</div><div><br /></div><div>Thanks,#</d=
iv><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"margi=
n: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1e=
x;">Hi all,
<br>
<br>I&#39;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&amp;q=3Dhttp://kernel.=
org&amp;source=3Dgmail&amp;ust=3D1683555927762000&amp;usg=3DAOvVaw0JsJ-exj6=
QW4oI4yj0Y9j6">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&amp;q=3Dhttps://github.com/glasgowneuro/comedi_raspber=
ry_pi_bullseye&amp;source=3Dgmail&amp;ust=3D1683555927762000&amp;usg=3DAOvV=
aw1KfmzZ2Fs2jUKFdNNEwoyw">https://github.com/glasgowneuro/comedi_raspberry_=
pi_bullseye</a>
<br>
<br>It compiles the USB drivers and installs them as modules.
<br>
<br>I&#39;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>&gt; Hi Thomas,
<br>&gt;
<br>&gt; the PRI team has been working very hard to remove COMEDI from thei=
r=20
<br>&gt; custom Kernel. They even removed the config file. I have no idea w=
hy=20
<br>&gt; there is such hostility:
<br>&gt; <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&amp;q=3Dhttps://github.com/raspberrypi/linux/issues/534&amp;so=
urce=3Dgmail&amp;ust=3D1683555927762000&amp;usg=3DAOvVaw1slLTknOQlNam0iCB8M=
ofQ">https://github.com/raspberrypi/linux/issues/534</a>
<br>&gt; of course you could simply copy comedi back into the kernel and th=
at=20
<br>&gt; should work.
<br>&gt;
<br>&gt; My students tried to re-enable it recently and gave up but they ar=
e no=20
<br>&gt; kernel programmers.
<br>&gt;
<br>&gt; If there is interest I can write a generic &quot;how to&quot; how =
to patch=20
<br>&gt; comedi back into the RPI kernel.
<br>&gt;
<br>&gt; The USB-DUX-sigma is no longer on sale but I have a few (without b=
ox)=20
<br>&gt; still about. You can buy them for =C2=A3100+shipping. Please DM vi=
a bernd@=20
<br>&gt; &gt;&gt; Bernd Porr &lt;<a href data-email-masked rel=3D"nofollow"=
>[email protected]</a>&gt;.
<br>&gt;
<br>&gt; /Bernd
<br>&gt;
<br>&gt; On 07/03/2023 10:30, Thomas Schmidt wrote:
<br>&gt;&gt; Hi,
<br>&gt;&gt;
<br>&gt;&gt; is it possible to run usbdux on a raspberry pi? If so, then I&=
#39;d like=20
<br>&gt;&gt; to buy at least one of the USB-DUX-sigma boards.
<br>&gt;&gt;
<br>&gt;&gt; Best,
<br>&gt;&gt; Thomas
<br>&gt;&gt;
<br>&gt;&gt; Bernd Porr schrieb am Sonntag, 8. August 2021 um 19:03:21 UTC+=
2:
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 Hi all,
<br>&gt;&gt;
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 as most of you know here on the list I emba=
rked on making dedicated
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 Linux DAQ boards 15 years ago and they have=
 been part of COEMDI /
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 Linux. After 15 years now we are no longer =
manufacturing them but
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 we&#39;ve made the PCB designs open source:
<br>&gt;&gt;
<br>&gt;&gt; =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&amp;q=3Dhttps://github.com/glasgowneuro/usbdux&a=
mp;source=3Dgmail&amp;ust=3D1683555927762000&amp;usg=3DAOvVaw0BxtnWOeYnswEp=
ks12eMGc">https://github.com/glasgowneuro/usbdux</a>
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 &lt;<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&amp;q=3Dhttps://github.com/glasgowneuro/usbd=
ux&amp;source=3Dgmail&amp;ust=3D1683555927762000&amp;usg=3DAOvVaw0BxtnWOeYn=
swEpks12eMGc">https://github.com/glasgowneuro/usbdux</a>&gt;
<br>&gt;&gt;
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 I have still a few USB-DUX-sigma boards wit=
hout enclosure here.
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 That&#39;s the most recent one. Anybody int=
erested in these please get
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 in touch.
<br>&gt;&gt;
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 Best,
<br>&gt;&gt; =C2=A0=C2=A0=C2=A0 /Bernd
<br>&gt;&gt;
<br>&gt;&gt; --=20
<br>&gt;&gt; You received this message because you are subscribed to the Go=
ogle=20
<br>&gt;&gt; Groups &quot;Comedi: Linux Control and Measurement Device Inte=
rface&quot; group.
<br>&gt;&gt; To unsubscribe from this group and stop receiving emails from =
it,=20
<br>&gt;&gt; send an email to <a href data-email-masked rel=3D"nofollow">co=
[email protected]</a>=20
<br>&gt;&gt; &lt;mailto:<a href data-email-masked rel=3D"nofollow">comedi_l=
[email protected]</a>&gt;.
<br>&gt;&gt; To view this discussion on the web visit=20
<br>&gt;&gt; <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&amp;source=3Dgmail&amp;ust=3D1683555927=
762000&amp;usg=3DAOvVaw2Cn1gP4yuTWfawPc7aKXtI">https://groups.google.com/d/=
msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a3n%40googlegroups.com<=
/a>=20
<br>&gt;&gt; &lt;<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&amp;q=3Dhttps://groups.google.c=
om/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a3n%2540googlegrou=
ps.com?utm_medium%3Demail%26utm_source%3Dfooter&amp;source=3Dgmail&amp;ust=
=3D1683555927762000&amp;usg=3DAOvVaw3pwbbccqfZ_jvh6p8yHZ2l">https://groups.=
google.com/d/msgid/comedi_list/eb9b15d9-bd05-4e54-8810-369cce3cf6a3n%40goog=
legroups.com?utm_medium=3Demail&amp;utm_source=3Dfooter</a>&gt;.=20
<br>&gt;&gt;
<br>&gt;
<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&amp;q=
=3Dhttp://www.berndporr.me.uk&amp;source=3Dgmail&amp;ust=3D1683555927762000=
&amp;usg=3DAOvVaw3e2rmObfZgUw1cMviXXLzX">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&amp;source=3Dgmail&amp;ust=3D1683555=
927762000&amp;usg=3DAOvVaw1hjWN89hIft7ZA-BFfcN__">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&amp;q=3Dh=
ttp://www.attys.tech&amp;source=3Dgmail&amp;ust=3D1683555927762000&amp;usg=
=3DAOvVaw07FrorBgDyJ--erLqir8Qn">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&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 on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/comedi_list/9e1c5d60-4252-4914-9726-e5b7ef98093bn%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/comedi_list/9e1c5d60-4252-4914-9726-e5b7ef98093bn%40googlegroups.com</a=
>.<br />

------=_Part_4349_1691518321.1683469678494--

------=_Part_4348_703070554.1683469678494--