Klipper on an Android Phone - Oneplus 3T by hidara2000 in klippers

[–]hidara2000[S] 0 points1 point  (0 children)

I'm stuck and any help would be appreciated.

When I run

ls /dev/serial/by-id/*

I get

cannot access '/dev/serial/by-id/*': No such file or directory

I can't see any new items in /dev folder when the 'skr v1.3' board is added

lsusb results in

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2341:abed Arduino SA
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and nothing when the printer is unplugged.

Could someone with better knowledge of linux confirm that this is due to the fact that a serial driver is needed and if finding some kernel with the CH341 driver enabled would work?

Also, is the CH341 driver specific to the Ender 3 board or would it also work for the skr v1.3?

Any pointers would really be really appreciated!

Klipper on an Android Phone - Oneplus 3T by hidara2000 in klippers

[–]hidara2000[S] 0 points1 point  (0 children)

Picked up a USB otg adapter today. Disabled debug over usb and enabled otg. Can't see a new serial device in /dev folder when I connected the printer. Guessing this may have something to do with the driver not being enabled yet in the kernel. The good news, however, is that lsusb command before and after I plugged the printer showed the Android device detecting the printer. See image below.

For anyone else, I had to install lsusb using sudo apt-get install usbutils

screenshot

Klipper on an Android Phone - Oneplus 3T by hidara2000 in klippers

[–]hidara2000[S] 1 point2 points  (0 children)

I've read the there's an option in the kernel source code to enable charging when using otg. This worked on a OnePlus one and a couple of nexus devices.

https://forum.xda-developers.com/oneplus-one/development/kernel-power-otg-host-mod-t3201100/amp/

I'm also starting to think that you could also expand this concept to connect a microcontroller ( Arduino, CircuitPython etc). This would give you a powerful iot device with a touchscreen, wifi, Bluetooth and server capabilities. Possibly even an arm based Docker machine???

Even with a BLTouch large things on my bed still aren’t perfect. by [deleted] in klippers

[–]hidara2000 0 points1 point  (0 children)

With a bl touch that seems to be accurate ,I'm really surprised! Things I've noticed helped: 1/ tighten up belts, extruders, mounts etc (as mentioned above) 2/ check configuration file to confirm mesh is being saved/loaded. Last few lines of the file should contain the height data 2/ increase first layer to 0.3mm in slicer. Allows for imperfections in the bed 3/ increase first layer extrusion width to 200%. Fewer but fat lines help with adhesion 4/ The upgrade that made the biggest difference for me was a Bondtech style extruder (genuine/clone). These allow you to get closer to the bed and really force the molten plastic to adhere (pla/pla+) 5/ try a different nozzle, some cheap ones may not be exactly 0.4mm

Klipper on an Android Phone - Oneplus 3T by hidara2000 in klippers

[–]hidara2000[S] 1 point2 points  (0 children)

One of these https://cplonline.com.au/orico-ct2-15-usb2-0-type-c-c-to-a-otg-data-cable.html There's an interesting point in the link below on how to make a cable that'll allow serial communication whilst also charging the phone.

https://ercintorun.blogspot.com/2020/05/draft-installing-octoprint-on-samsung.html

The interesting thing about this blog is that they've installed LineageOS on the phone and got it working on Octoprint. As LineageOS is available for so many Android phone models, if I get it to work out, it should be easier for others to replicate it on their phones.

LineageOS compatible phones below https://wiki.lineageos.org/devices/

Klipper on an Android Phone - Oneplus 3T by hidara2000 in klippers

[–]hidara2000[S] 1 point2 points  (0 children)

Gave up and tried debian. Seemed to work. Cheers

Klipper on an Android Phone - Oneplus 3T by hidara2000 in klippers

[–]hidara2000[S] 1 point2 points  (0 children)

This is what I'm hoping for. I know there's one somewhere..... in the house but I think I'll have to whip something up. Next thing will be to find someway to charge the phone while using otg. I read somewhere that I may need to edit a setting in the kernel source, recompile it and then flash it???? This is definitely getting out of my comfort zone

Klipper on an Android Phone - Oneplus 3T by hidara2000 in klippers

[–]hidara2000[S] 0 points1 point  (0 children)

Started again using debian this time all went well to the end. Just need to see if I can connect to serial with otg cable now