• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alchitry in Linux
#2
The Alchitry Loader uses libd2xx (the proprietary driver) for the interface which requires the default driver to be unbound.

However, you can modify the rules file to only unbind the first interface (JTAG/SPI) and not the second (serial port). This really should've been in the udev rules before but I just spend about an hour figuring out how to get it to work.

Here's the updated file.

Code:
SUBSYSTEM!="usb|usb_device", GOTO="ft2232_rules_end"
ACTION!="add", GOTO="ft2232_rules_end"

KERNEL=="*.0", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", RUN+="/bin/sh -c 'echo $kernel > /sys/bus/usb/drivers/ftdi_sio/unbind'"
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6010", MODE="0666", GROUP="dialout", ENV{ID_MM_DEVICE_IGNORE}="1"

LABEL="ft2232_rules_end"

Let me know if this works for you and I'll include it as the default.
  Reply


Messages In This Thread
Alchitry in Linux - by sabquat - 05-11-2020, 11:08 PM
RE: Alchitry in Linux - by alchitry - 05-12-2020, 04:32 PM
RE: Alchitry in Linux - by sabquat - 05-12-2020, 04:57 PM
RE: Alchitry in Linux - by alchitry - 05-12-2020, 05:01 PM
RE: Alchitry in Linux - by sabquat - 05-16-2020, 03:43 AM
RE: Alchitry in Linux - by alchitry - 06-15-2020, 07:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)