Open rootkgh opened 1 month ago
/dev/bus/usb/001/004 is wrong, real serial device should be found in printer.cfg => Devices (on top of the editor) Auto connection attempts to connect to the first USB device is available at start time, please check that Settings => List USB Devices shows your device at start time
i check many case of serial set
i test in android 9 and android 13
auto detect -> it is work [Beam] Note: ignoring serial setting /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0, using 'auto' instead [Beam] Configured 'auto' to '/data/user/0/ru.ytkab0bp.beamklipper/files/serial/_dev_bus_usb_001_003'
reboot, auto detect -> it is work [Beam] Note: ignoring serial setting /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0, using 'auto' instead [Beam] Configured 'auto' to '/data/user/0/ru.ytkab0bp.beamklipper/files/serial/_dev_bus_usb_001_003'
so i set print.cfg and klipper restart, no reboot -> it is work serial : /data/user/0/ru.ytkab0bp.beamklipper/files/serial/_dev_bus_usb_001_003
set serial and reboot
-> in android 9 -> it is work
in android 13 -> it is not work
app check usb driver, it show above serial exist, but klipper not found it
error message : mcu 'mcu': Unable to open port: [Errno 2] No such file or directory: '/data/user/0/ru.ytkab0bp.beamklipper/files/serial/_dev_bus_usb_001_003'
i think, app need something in android 13
auto detect, find serial and set serial file something can do something to config's serial
andorid 13 need do something serial file ex. when first time connect usb, do not ask permission
if only a printer, i set autodetect it is work but i use mmu, so use 2 serial port connect , so i can't set auto detect
do you know, why app can't find serial in android 13?
can you test in android13?
it work great, thank you
if you have cfg files, easily setup in no-root phone, only one printer serial auto detect work fine
but i still has serial problem in my case
now, i use print and mmu so before boot, only one print connect and autodetect after boot cfg set serial and mmu usb connect and restart klipper then it work print with mmu
every boot, i have to do until I find solver of serial problem
thanks you
You can try VID/PID serial naming in settings if your devices have different VID/PID
so sorry previosly, i did set only serial don't know how i find it and set
can you explain?
It's in app's settings, "Device naming" => "VID/PID"
thanks your reply
i do set print.cfg "serial : xxxx:yyyy" and i select by VID/PID in apps setting
app is close but app rerun check setting it is by path, not changed and klipper error did not found port
i dont know why app setting is not changed and what i do set vid/pid ex print.cfg
check app can be set by vis/pid plz and what I do set others exclude apps settings
I success by vid/pid print.cfg is set include path and vid_pid
klipper use serial same my case klipper print.cfg's device search in usb tab but no device in serial tab when smart phone reboot with usb hub
so I use above usb one more attached
i think usb hub and multi usb when boot usb serial driver is incorrect maybe
thanks for your help
i install ver 1.0 and config set serial but it is not work
do you know how do i permission to your app ?
1.0 error message :
mcu 'mcu': Unable to open port: [Errno 13] Permission denied: '/dev/bus/usb/001/004'
and ver. 1.0.1 is not work auto set serial so i install ver. 1.0
1.0.1 error message :
[Beam] Note: ignoring serial setting /dev/ttyACM0, using '' instead
[Beam] Error: failed to configure , no devices found
MCU error during connect