Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:loefeeg:eegtaskpc [2025/10/29 15:59] – [Button Box] will | tools:loefeeg:eegtaskpc [2026/01/20 08:59] (current) – will | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Loeffler EEG Task PC ====== | ====== Loeffler EEG Task PC ====== | ||
| - | Linux PC for running [[: | + | Linux PC for running [[: |
| + | |||
| + | ===== Audio ===== | ||
| + | |||
| + | Psychopy 2025 has mutli-audio issues? | ||
| + | < | ||
| + | pip show psychopy|grep Version # Version: 2025.2.1 | ||
| + | python3 ~/ | ||
| + | # | ||
| + | Expression ' | ||
| + | Expression ' | ||
| + | Exception ignored in: < | ||
| + | Traceback (most recent call last): | ||
| + | File "/ | ||
| + | self.close() | ||
| + | File "/ | ||
| + | raise err | ||
| + | File "/ | ||
| + | PsychPortAudio(' | ||
| + | AttributeError: | ||
| + | </ | ||
| + | |||
| + | https:// | ||
| + | |||
| + | https:// | ||
| ===== Video Card ===== | ===== Video Card ===== | ||
| - | '' | + | '' |
| < | < | ||
| - | apt install nvidia-tesla-535-kernel-dkms nvidia-tesla-535-driver firmware-misc-nonfree | + | #apt install nvidia-tesla-535-kernel-dkms nvidia-tesla-535-driver firmware-misc-nonfree |
| + | apt install nvidia-tesla-390-kernel-dkms nvidia-tesla-390-driver firmware-misc-nonfree | ||
| </ | </ | ||
| + | ===== Parallel Port (LPT) ===== | ||
| + | |||
| + | ==== Linux ==== | ||
| + | Is ''/ | ||
| + | |||
| + | < | ||
| + | echo " | ||
| + | dpkg-reconfigure linux-image-$(uname -r) | ||
| + | </ | ||
| + | |||
| + | ==== Windows ==== | ||
| + | Must install startech' | ||
| + | |||
| + | https:// | ||
| + | |||
| + | {{.: | ||
| ===== Button Box ===== | ===== Button Box ===== | ||
| Line 21: | Line 62: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | < | ||
| + | import ftd2xx; devs = ftd2xx.listDevices() # DeviceError: | ||
| + | import pyxid2; pyxid2.get_xid_devices() | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | dmesg -w | ||
| + | |||
| + | [ 5742.201934] usb 1-8.1: new full-speed USB device number 9 using xhci_hcd | ||
| + | [ 5742.295968] usb 1-8.1: New USB device found, idVendor=0403, | ||
| + | [ 5742.295983] usb 1-8.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 | ||
| + | [ 5742.295988] usb 1-8.1: Product: FT232R USB UART | ||
| + | [ 5742.295992] usb 1-8.1: Manufacturer: | ||
| + | [ 5742.303576] ftdi_sio 1-8.1:1.0: FTDI USB Serial Device converter detected | ||
| + | [ 5742.303629] usb 1-8.1: Detected FT232R | ||
| + | [ 5742.304366] usb 1-8.1: FTDI USB Serial Device converter now attached to ttyUSB0 | ||
| + | |||
| + | |||
| + | ls -l / | ||
| + | crw-rw---- 1 root dialout 188, 0 Oct 29 16:02 / | ||
| + | |||
| + | gpasswd -a lncd dialout | ||
| + | Adding user lncd to group dialout | ||
| + | |||
| + | # ------- | ||
| + | |||
| + | sudo apt install python3-ftdi # brings in python3-usb | ||
| + | cat / | ||
| + | # SUBSYSTEM==" | ||
| + | |||
| + | udevadm control --reload-rules; | ||
| + | |||
| + | |||
| + | python3 -c 'from pyftdi.ftdi import Ftdi; print(Ftdi.show_devices())' | ||
| + | # Available interfaces: | ||
| + | # ftdi:// | ||
| + | |||
| + | python3 -c ' | ||
| + | # [b'' | ||
| + | |||
| + | python3 -c ' | ||
| + | # [] | ||
| + | |||
| + | #### remove conflicting module! | ||
| + | /sbin/rmmod ftdi_sio | ||
| + | |||
| + | python3 -c ' | ||
| + | # [< | ||
| + | |||
| + | ## try to make permanent again | ||
| + | echo -e ' | ||
| + | echo -e ' | ||
| + | / | ||
| + | </ | ||