Jump to content

poltawer

Members
  • Posts

    3
  • Joined

  • Last visited

  1. You are not reporting whether dmesg specified that the kernel created the /dev/tyUSB0 interface, or whether Octoprint uses the interface specified in its configuration. I can only guess that the kernel created the necessary interface. If so, then this question should rather be asked on the forums of Oktoprint. I assume this works with 'myst' user privileges, then you add 'myst' user to tty and dialout groups using: % sudo usermod -a -G dialout myst % sudo usermod -a -G tty myst Best regard Serhiy! Enjoj
  2. The printer controllers use TTL logic 0-0.8 V, USB has 0-5.0 V. The USB2TTL or USB2UART adapter is used for coordination. It can be built into the printer controller board or USB cable. This cable cannot be replaced with the оrdinary USB cable. An example of such a cable from Samsung: 2. If the new xxxx: yyyy ID is listed and the dmesg message says that the kernel cannot select a working module for it, try selecting it manually from: % find lib/modules/ -type f -name \*serial\*.ko lib/modules/4.9.255-sun50iw9/kernel/drivers/usb/gadget/legacy/g_serial.ko lib/modules/4.9.255-sun50iw9/kernel/drivers/usb/serial/symbolserial.ko lib/modules/4.9.255-sun50iw9/kernel/drivers/usb/serial/usbserial.ko ^^^^^^^^^^^^^ lib/modules/4.9.255-sun50iw9/kernel/drivers/usb/serial/wishbone-serial.ko lib/modules/4.9.255-sun50iw9/kernel/drivers/usb/serial/safe_serial.ko lib/modules/4.9.255-sun50iw9/kernel/drivers/usb/serial/usb-serial-simple.ko lib/modules/4.9.255-sun50iw9/kernel/drivers/usb/serial/qcserial.ko % find lib/modules/ -type f -name \*acm\*.ko lib/modules/4.9.255-sun50iw9/kernel/drivers/usb/gadget/legacy/g_acm_ms.ko lib/modules/4.9.255-sun50iw9/kernel/drivers/usb/class/cdc-acm.ko ^^^^^^^^^^^ For example: % sudo modprobe cdc-acm If dmesg reports that the kernel has created an interface for your printer, such as /dev/ttyACM0, it will need to be write in the Octoprint configuration. https://docs.octoprint.org/en/master/configuration/config_yaml.html#serial Add new udev rules to automatically load the module /etc/udev/rules.d/50-My3DPrinter.rules # # Add USB VID/PID for Your 3D printer # ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="xxxx", ATTR{idProduct}=="yyyy", RUN+="/usr/bin/modprobe usb-acm", RUN+="/bin/sh -c 'echo $attr{idVendor} $attr{idProduct} > /sys/bus/usb-serial/drivers/generic/new_id'" # # Construct a symlink to the TTY generated for the printer. # SUBSYSTEM=="tty", ATTRS{idVendor}=="xxxx", ATTRS{idProduct}=="yyyy", SYMLINK+="my_3d_printer"
  3. The log says that no external USB devices were connected to the Orange Pi at all. For example: % sudo dmesg |tail -n20 8<------8<------8<------8<------8<------8<------ [72814.174773] usb 2-1.2: new full-speed USB device number 34 using ehci-pci [72814.273199] usb 2-1.2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [72814.273218] usb 2-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [72814.273224] usb 2-1.2: Product: USB2.0-Serial [72814.274295] ch341 2-1.2:1.0: ch341-uart converter detected [72814.279461] usb 2-1.2: ch341-uart converter now attached to ttyUSB0 ---------------------^^^^^^^^ 8<------8<------8<------8<------8<------8<------ % lsusb 8<------8<------8<------8<------8<------8<------ Bus 002 Device 034: ID 1a86:7523 QinHeng Electronics CH340 serial converter ^^^^^^^^^ 8<------8<------8<------8<------8<------8<------ % ls /dev/ttyUSB0 /dev/ttyUSB0
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines