[comedi] Re: USBDUX SIGMA on Raspberry Pi 4

Thomas Schmidt <[email protected]> Thu, 20 Apr 2023 02:33:57 -0700 (PDT)
Newsgroups gmane.linux.comedi
Message-ID <[email protected]>
------=_Part_858_881579775.1681983237353
Content-Type: multipart/alternative; 
	boundary="----=_Part_859_643953809.1681983237353"

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

Hi Matthijs,
could you please tell me which RPI image does work with by pi2 b and=20
usbdux? I have some pi2b and would like to get them running with usbdux
Thanks in advance,
Thomas

[email protected] schrieb am Montag, 21. September 2020 um 11:18:11=20
UTC+2:

> I'm trying to upgrade a few dozen Pi 2's to the Raspberry Pi 4, they all=
=20
> have a USBDUX Sigma device connected to it, but I can't seem to get it to=
=20
> work. I might be missing a step somewhere. I hope someone here can help m=
e=20
> out?
>
> *Steps I took:*
>
>    - Installed Raspyberry Pi OS on a Pi 4 (4GB)=20
>    - Compiled a kernel using these=20
>    <https://www.raspberrypi.org/documentation/linux/kernel/building.md>=
=20
>    steps
>       - Added the comedi features (.config entries below)=20
>    - Plugging in the device would lead to an -2 error because the=20
>    firmware isn=E2=80=99t found=20
>    - Downloaded the firmware into /lib/firmware from the git repository=
=20
>    <https://github.com/Linux-Comedi/comedilib/blob/master/etc/hotplug/usb=
/usbduxsigma/usbduxsigma_firmware.bin>=20
>
>  This results in the following error being logged when I run dmesg after=
=20
> plugging in the USB-DUX Sigma:=20
> [ 8903.291951] usb 1-1.3: new high-speed USB device number 5 using=20
> xhci_hcd [ 8903.422279] usb 1-1.3: New USB device found, idVendor=3D13d8,=
=20
> idProduct=3D0020, bcdDevice=3D 0.00=20
> [ 8903.422300] usb 1-1.3: New USB device strings: Mfr=3D0, Product=3D0,=
=20
> SerialNumber=3D0=20
> [ 8904.492269] comedi comedi0: Communication to USBDUXSIGMA failed! Check=
=20
> firmware and cabling.=20
> [ 8904.492299] usbduxsigma 1-1.3:1.0: driver 'usbduxsigma' failed to=20
> auto-configure device.=20
> [ 8904.492729] usbduxsigma: probe of 1-1.3:1.0 failed with error -110=20
> Kernel configuration (.config):=20
> CONFIG_COMEDI=3Dm=20
> CONFIG_COMEDI_DEBUG=3Dy=20
> CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB=3D2048=20
> CONFIG_COMEDI_DEFAULT_BUF_MAXSIZE_KB=3D20480=20
> CONFIG_COMEDI_MISC_DRIVERS=3Dy=20
> CONFIG_COMEDI_BOND=3Dm=20
> CONFIG_COMEDI_TEST=3Dm=20
> CONFIG_COMEDI_PARPORT=3Dm=20
> # CONFIG_COMEDI_ISA_DRIVERS is not set=20
> # CONFIG_COMEDI_PCI_DRIVERS is not set=20
> CONFIG_COMEDI_USB_DRIVERS=3Dm=20
> CONFIG_COMEDI_DT9812=3Dm=20
> CONFIG_COMEDI_NI_USB6501=3Dm=20
> CONFIG_COMEDI_USBDUX=3Dm=20
> CONFIG_COMEDI_USBDUXFAST=3Dm=20
> CONFIG_COMEDI_USBDUXSIGMA=3Dm=20
> CONFIG_COMEDI_VMK80XX=3Dm=20
> CONFIG_COMEDI_8255=3Dm=20
> CONFIG_COMEDI_8255_SA=3Dm=20
> CONFIG_COMEDI_KCOMEDILIB=3Dm
>
> Regards,
> Matthijs van der Veer
>

--=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/6e22c240-6edc-4455-b271-43665ac9078dn%40googlegroups.com.

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

<div>Hi Matthijs,</div><div>could you please tell me which RPI image does w=
ork with by pi2 b and usbdux? I have some pi2b and would like to get them r=
unning with usbdux</div><div>Thanks in advance,</div><div>Thomas<br /></div=
><br /><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">m.=
[email protected] schrieb am Montag, 21. September 2020 um 11:18:11 UTC+=
2:<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;"><p>I&#39;m=
 trying to upgrade a few dozen Pi 2&#39;s to the Raspberry Pi 4, they all h=
ave a USBDUX Sigma device connected to it, but I can&#39;t seem to get it t=
o work. I might be missing a step somewhere. I hope someone here can help m=
e out?</p><p><b>Steps I
took:</b></p>

<ul>
 <li>Installed Raspyberry Pi OS on a Pi 4 (4GB)</li>
 <li>Compiled a kernel using <a href=3D"https://www.raspberrypi.org/documen=
tation/linux/kernel/building.md" target=3D"_blank" rel=3D"nofollow" data-sa=
feredirecturl=3D"https://www.google.com/url?hl=3Dde&amp;q=3Dhttps://www.ras=
pberrypi.org/documentation/linux/kernel/building.md&amp;source=3Dgmail&amp;=
ust=3D1682069505600000&amp;usg=3DAOvVaw1HTUyrExgpL1fkaWOZKrQb">these</a>
     steps<ul>
  <li>Added the comedi features (.config entries below)</li>
 </ul></li>
=20
 <li>Plugging in the device would lead to an -2 error because the
     firmware isn=E2=80=99t found</li>
 <li>Downloaded the firmware into /lib/firmware from the <a href=3D"https:/=
/github.com/Linux-Comedi/comedilib/blob/master/etc/hotplug/usb/usbduxsigma/=
usbduxsigma_firmware.bin" target=3D"_blank" rel=3D"nofollow" data-saferedir=
ecturl=3D"https://www.google.com/url?hl=3Dde&amp;q=3Dhttps://github.com/Lin=
ux-Comedi/comedilib/blob/master/etc/hotplug/usb/usbduxsigma/usbduxsigma_fir=
mware.bin&amp;source=3Dgmail&amp;ust=3D1682069505600000&amp;usg=3DAOvVaw02B=
-QR09EnZTxK4ROOGOmI">git
     repository</a></li>
</ul>

<p>=C2=A0This results in the following error being logged when I run dmesg =
after plugging in the USB-DUX Sigma:=C2=A0</p>[ 8903.291951] usb 1-1.3: new=
 high-speed USB device number 5 using xhci_hcd [ 8903.422279] usb 1-1.3: Ne=
w USB device found, idVendor=3D13d8, idProduct=3D0020, bcdDevice=3D 0.00 <b=
r>[ 8903.422300] usb 1-1.3: New USB device strings: Mfr=3D0, Product=3D0, S=
erialNumber=3D0 <br>[ 8904.492269] comedi comedi0: Communication to USBDUXS=
IGMA failed! Check firmware and cabling. <br>[ 8904.492299] usbduxsigma 1-1=
.3:1.0: driver &#39;usbduxsigma&#39; failed to auto-configure device. <br>[=
 8904.492729] usbduxsigma: probe of 1-1.3:1.0 failed with error -110 <br>Ke=
rnel configuration (.config): <br>CONFIG_COMEDI=3Dm <br>CONFIG_COMEDI_DEBUG=
=3Dy <br>CONFIG_COMEDI_DEFAULT_BUF_SIZE_KB=3D2048 <br>CONFIG_COMEDI_DEFAULT=
_BUF_MAXSIZE_KB=3D20480 <br>CONFIG_COMEDI_MISC_DRIVERS=3Dy <br>CONFIG_COMED=
I_BOND=3Dm <br>CONFIG_COMEDI_TEST=3Dm <br>CONFIG_COMEDI_PARPORT=3Dm <br># C=
ONFIG_COMEDI_ISA_DRIVERS is not set <br># CONFIG_COMEDI_PCI_DRIVERS is not =
set <br>CONFIG_COMEDI_USB_DRIVERS=3Dm <br>CONFIG_COMEDI_DT9812=3Dm <br>CONF=
IG_COMEDI_NI_USB6501=3Dm <br>CONFIG_COMEDI_USBDUX=3Dm <br>CONFIG_COMEDI_USB=
DUXFAST=3Dm <br>CONFIG_COMEDI_USBDUXSIGMA=3Dm <br>CONFIG_COMEDI_VMK80XX=3Dm=
 <br>CONFIG_COMEDI_8255=3Dm <br>CONFIG_COMEDI_8255_SA=3Dm <br>CONFIG_COMEDI=
_KCOMEDILIB=3Dm<div><br></div><div>Regards,</div><div>Matthijs van der Veer=
</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 on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/comedi_list/6e22c240-6edc-4455-b271-43665ac9078dn%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/comedi_list/6e22c240-6edc-4455-b271-43665ac9078dn%40googlegroups.com</a=
>.<br />

------=_Part_859_643953809.1681983237353--

------=_Part_858_881579775.1681983237353--