[SOLVED] octoprint... help? no serial no ttyUSB

So i have my 3D printer for quite some time but i always printed with my laptop attached to it (via usb).
That could be quite inconvenient from time to time so i decided to sacrifice my RPI 2 B for the job.

Now i've installed octoprint onto it, and set up the WiFi, passwords and all that but the serial dropdown only shows auto.
When connecting with ssh there is nothing useful in /dev (TTYAMA0 is there ofcourse but that's useless)
When i do dmesg and re-connect the printer i do get:

[ 462.646368] usb 1-1.5: USB disconnect, device number 6
[ 471.844768] usb 1-1.2: new full-speed USB device number 7 using dwc_otg
[ 471.976758] usb 1-1.2: New USB device found, idVendor=0403, idProduct=8a8a
[ 471.976990] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 471.977010] usb 1-1.2: Product: FT232R USB UART OPAS_UNIV
[ 471.977026] usb 1-1.2: Manufacturer: FTDI
[ 471.977041] usb 1-1.2: SerialNumber: FTYMYCBS
and that's all

But it's not making any type of connection (ttyUSB0 or something)
Can anyone help me?
i-am about to give up.
(the printer works with my laptop, already switched power supply for the RPI)

anyone?

what does this give you?

ls -l /dev
long text

pi@octopi:~ $ ls -l /dev
total 0
crw------- 1 root root 10, 235 Dec 9 17:47 autofs
drwxr-xr-x 2 root root 580 Dec 9 17:47 block
crw------- 1 root root 10, 234 Dec 9 17:47 btrfs-control
drwxr-xr-x 3 root root 60 Jan 1 1970 bus
crw------- 1 root root 10, 63 Dec 9 17:47 cachefiles
drwxr-xr-x 2 root root 2460 Dec 9 18:07 char
crw------- 1 root root 5, 1 Dec 9 17:48 console
crw------- 1 root root 10, 62 Dec 9 17:47 cpu_dma_latency
crw------- 1 root root 10, 203 Dec 9 17:47 cuse
drwxr-xr-x 6 root root 120 Dec 9 17:47 disk
crw-rw---- 1 root video 29, 0 Dec 9 17:47 fb0
lrwxrwxrwx 1 root root 13 Jan 1 1970 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Dec 9 17:47 full
crw-rw-rw- 1 root root 10, 229 Dec 9 17:47 fuse
crw-rw---- 1 root gpio 243, 0 Dec 9 17:47 gpiomem
crw------- 1 root root 10, 183 Dec 9 17:47 hwrng
lrwxrwxrwx 1 root root 25 Jan 1 1970 initctl -> /run/systemd/initctl/fi fo
drwxr-xr-x 2 root root 60 Jan 1 1970 input
crw-r--r-- 1 root root 1, 11 Dec 9 17:47 kmsg
lrwxrwxrwx 1 root root 28 Jan 1 1970 log -> /run/systemd/journal/dev-lo g
brw-rw---- 1 root disk 7, 0 Dec 9 17:47 loop0
brw-rw---- 1 root disk 7, 1 Dec 9 17:47 loop1
brw-rw---- 1 root disk 7, 2 Dec 9 17:47 loop2
brw-rw---- 1 root disk 7, 3 Dec 9 17:47 loop3
brw-rw---- 1 root disk 7, 4 Dec 9 17:47 loop4
brw-rw---- 1 root disk 7, 5 Dec 9 17:47 loop5
brw-rw---- 1 root disk 7, 6 Dec 9 17:47 loop6
brw-rw---- 1 root disk 7, 7 Dec 9 17:47 loop7
crw-rw---- 1 root disk 10, 237 Dec 9 17:47 loop-control
drwxr-xr-x 2 root root 60 Dec 9 17:47 mapper
crw-r----- 1 root kmem 1, 1 Dec 9 17:47 mem
crw------- 1 root root 10, 59 Dec 9 17:47 memory_bandwidth
brw-rw---- 1 root disk 179, 0 Dec 9 17:47 mmcblk0
brw-rw---- 1 root disk 179, 1 Dec 9 17:47 mmcblk0p1
brw-rw---- 1 root disk 179, 2 Dec 9 17:47 mmcblk0p2
drwxrwxrwt 2 root root 40 Jan 1 1970 mqueue
drwxr-xr-x 2 root root 60 Dec 9 17:47 net
crw------- 1 root root 10, 61 Dec 9 17:47 network_latency
crw------- 1 root root 10, 60 Dec 9 17:47 network_throughput
crw-rw-rw- 1 root root 1, 3 Dec 9 17:47 null
crw------- 1 root root 108, 0 Dec 9 17:47 ppp
crw-rw-rw- 1 root tty 5, 2 Dec 10 00:04 ptmx
drwxr-xr-x 2 root root 0 Jan 1 1970 pts
brw-rw---- 1 root disk 1, 0 Dec 9 17:47 ram0
brw-rw---- 1 root disk 1, 1 Dec 9 17:47 ram1
brw-rw---- 1 root disk 1, 10 Dec 9 17:47 ram10
brw-rw---- 1 root disk 1, 11 Dec 9 17:47 ram11
brw-rw---- 1 root disk 1, 12 Dec 9 17:47 ram12
brw-rw---- 1 root disk 1, 13 Dec 9 17:47 ram13
brw-rw---- 1 root disk 1, 14 Dec 9 17:47 ram14
brw-rw---- 1 root disk 1, 15 Dec 9 17:47 ram15
brw-rw---- 1 root disk 1, 2 Dec 9 17:47 ram2
brw-rw---- 1 root disk 1, 3 Dec 9 17:47 ram3
brw-rw---- 1 root disk 1, 4 Dec 9 17:47 ram4
brw-rw---- 1 root disk 1, 5 Dec 9 17:47 ram5
brw-rw---- 1 root disk 1, 6 Dec 9 17:47 ram6
brw-rw---- 1 root disk 1, 7 Dec 9 17:47 ram7
brw-rw---- 1 root disk 1, 8 Dec 9 17:47 ram8
brw-rw---- 1 root disk 1, 9 Dec 9 17:47 ram9
crw-rw-rw- 1 root root 1, 8 Dec 9 17:47 random
drwxr-xr-x 2 root root 60 Jan 1 1970 raw
crw-rw-r-- 1 root root 10, 58 Dec 9 17:47 rfkill
drwxrwxrwt 2 root root 40 Jan 1 1970 shm
drwxr-xr-x 4 root root 220 Dec 9 17:47 snd
lrwxrwxrwx 1 root root 15 Jan 1 1970 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jan 1 1970 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jan 1 1970 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty 5, 0 Dec 9 17:47 tty
crw--w---- 1 root tty 4, 0 Dec 9 17:47 tty0
crw--w---- 1 root tty 4, 1 Dec 9 17:48 tty1
crw--w---- 1 root tty 4, 10 Dec 9 17:47 tty10
crw--w---- 1 root tty 4, 11 Dec 9 17:47 tty11
crw--w---- 1 root tty 4, 12 Dec 9 17:47 tty12
crw--w---- 1 root tty 4, 13 Dec 9 17:47 tty13
crw--w---- 1 root tty 4, 14 Dec 9 17:47 tty14
crw--w---- 1 root tty 4, 15 Dec 9 17:47 tty15
crw--w---- 1 root tty 4, 16 Dec 9 17:47 tty16
crw--w---- 1 root tty 4, 17 Dec 9 17:47 tty17
crw--w---- 1 root tty 4, 18 Dec 9 17:47 tty18
crw--w---- 1 root tty 4, 19 Dec 9 17:47 tty19
crw--w---- 1 root tty 4, 2 Dec 9 17:47 tty2
crw--w---- 1 root tty 4, 20 Dec 9 17:47 tty20
crw--w---- 1 root tty 4, 21 Dec 9 17:47 tty21
crw--w---- 1 root tty 4, 22 Dec 9 17:47 tty22
crw--w---- 1 root tty 4, 23 Dec 9 17:47 tty23
crw--w---- 1 root tty 4, 24 Dec 9 17:47 tty24
crw--w---- 1 root tty 4, 25 Dec 9 17:47 tty25
crw--w---- 1 root tty 4, 26 Dec 9 17:47 tty26
crw--w---- 1 root tty 4, 27 Dec 9 17:47 tty27
crw--w---- 1 root tty 4, 28 Dec 9 17:47 tty28
crw--w---- 1 root tty 4, 29 Dec 9 17:47 tty29
crw--w---- 1 root tty 4, 3 Dec 9 17:47 tty3
crw--w---- 1 root tty 4, 30 Dec 9 17:47 tty30
crw--w---- 1 root tty 4, 31 Dec 9 17:47 tty31
crw--w---- 1 root tty 4, 32 Dec 9 17:47 tty32
crw--w---- 1 root tty 4, 33 Dec 9 17:47 tty33
crw--w---- 1 root tty 4, 34 Dec 9 17:47 tty34
crw--w---- 1 root tty 4, 35 Dec 9 17:47 tty35
crw--w---- 1 root tty 4, 36 Dec 9 17:47 tty36
crw--w---- 1 root tty 4, 37 Dec 9 17:47 tty37
crw--w---- 1 root tty 4, 38 Dec 9 17:47 tty38
crw--w---- 1 root tty 4, 39 Dec 9 17:47 tty39
crw--w---- 1 root tty 4, 4 Dec 9 17:47 tty4
crw--w---- 1 root tty 4, 40 Dec 9 17:47 tty40
crw--w---- 1 root tty 4, 41 Dec 9 17:47 tty41
crw--w---- 1 root tty 4, 42 Dec 9 17:47 tty42
crw--w---- 1 root tty 4, 43 Dec 9 17:47 tty43
crw--w---- 1 root tty 4, 44 Dec 9 17:47 tty44
crw--w---- 1 root tty 4, 45 Dec 9 17:47 tty45
crw--w---- 1 root tty 4, 46 Dec 9 17:47 tty46
crw--w---- 1 root tty 4, 47 Dec 9 17:47 tty47
crw--w---- 1 root tty 4, 48 Dec 9 17:47 tty48
crw--w---- 1 root tty 4, 49 Dec 9 17:47 tty49
crw--w---- 1 root tty 4, 5 Dec 9 17:47 tty5
crw--w---- 1 root tty 4, 50 Dec 9 17:47 tty50
crw--w---- 1 root tty 4, 51 Dec 9 17:47 tty51
crw--w---- 1 root tty 4, 52 Dec 9 17:47 tty52
crw--w---- 1 root tty 4, 53 Dec 9 17:47 tty53
crw--w---- 1 root tty 4, 54 Dec 9 17:47 tty54
crw--w---- 1 root tty 4, 55 Dec 9 17:47 tty55
crw--w---- 1 root tty 4, 56 Dec 9 17:47 tty56
crw--w---- 1 root tty 4, 57 Dec 9 17:47 tty57
crw--w---- 1 root tty 4, 58 Dec 9 17:47 tty58
crw--w---- 1 root tty 4, 59 Dec 9 17:47 tty59
crw--w---- 1 root tty 4, 6 Dec 9 17:47 tty6
crw--w---- 1 root tty 4, 60 Dec 9 17:47 tty60
crw--w---- 1 root tty 4, 61 Dec 9 17:47 tty61
crw--w---- 1 root tty 4, 62 Dec 9 17:47 tty62
crw--w---- 1 root tty 4, 63 Dec 9 17:47 tty63
crw--w---- 1 root tty 4, 7 Dec 9 17:47 tty7
crw--w---- 1 root tty 4, 8 Dec 9 17:47 tty8
crw--w---- 1 root tty 4, 9 Dec 9 17:47 tty9
crw--w---- 1 root tty 204, 64 Dec 9 17:48 ttyAMA0
crw------- 1 root root 5, 3 Dec 9 17:47 ttyprintk
crw------- 1 root root 10, 239 Dec 9 17:47 uhid
crw------- 1 root root 10, 223 Dec 9 17:47 uinput
crw-rw-rw- 1 root root 1, 9 Dec 9 17:47 urandom
drwxr-xr-x 4 root root 80 Dec 9 17:47 v4l
crw------- 1 root root 251, 0 Dec 9 17:47 vc-cma
crw-rw---- 1 root video 248, 0 Dec 9 17:47 vchiq
crw-rw---- 1 root video 249, 0 Dec 9 17:47 vcio
crw------- 1 root root 250, 0 Dec 9 17:47 vc-mem
crw-rw---- 1 root tty 7, 0 Dec 9 17:47 vcs
crw-rw---- 1 root tty 7, 1 Dec 9 17:47 vcs1
crw-rw---- 1 root tty 7, 2 Dec 9 17:47 vcs2
crw-rw---- 1 root tty 7, 3 Dec 9 17:47 vcs3
crw-rw---- 1 root tty 7, 4 Dec 9 17:47 vcs4
crw-rw---- 1 root tty 7, 5 Dec 9 17:47 vcs5
crw-rw---- 1 root tty 7, 6 Dec 9 17:47 vcs6
crw-rw---- 1 root tty 7, 128 Dec 9 17:47 vcsa
crw-rw---- 1 root tty 7, 129 Dec 9 17:47 vcsa1
crw-rw---- 1 root tty 7, 130 Dec 9 17:47 vcsa2
crw-rw---- 1 root tty 7, 131 Dec 9 17:47 vcsa3
crw-rw---- 1 root tty 7, 132 Dec 9 17:47 vcsa4
crw-rw---- 1 root tty 7, 133 Dec 9 17:47 vcsa5
crw-rw---- 1 root tty 7, 134 Dec 9 17:47 vcsa6
crw-rw---- 1 root video 246, 0 Dec 9 17:47 vcsm
crw------- 1 root root 10, 137 Dec 9 17:47 vhci
crw-rw---- 1 root video 81, 0 Dec 9 17:47 video0
prw-r----- 1 root adm 0 Dec 10 00:04 xconsole
crw-rw-rw- 1 root root 1, 5 Dec 9 17:47 zero

this

Are you in root or a user account?

Root i suppose, the default pi user account.
and when issuing a Sudo command i don't need to enter a password.

1 Like

what happens if you try to connect to /dev/tty7

The same, no connection

Unhandled communication error
The was an unhandled error while talking to the printer. Due to that OctoPrint disconnected. Error: Connection error, see Terminal tab

terminal:

Connecting to: /dev/tty7

Changing monitoring state from 'Offline' to 'Error: Connection error, see Terminal tab'
Unexpected error while connecting to serial port: /dev/tty7 OSError: '[Errno 13] Permission denied: '/dev/tty7'' @ comm.py:_openSerial:1694 (hook default)
Connecting to: /dev/tty7
Changing monitoring state from 'Offline' to 'Error: Connection error, see Terminal tab'
Unexpected error while connecting to serial port: /dev/tty7 OSError: '[Errno 13] Permission denied: '/dev/tty7'' @ comm.py:_openSerial:1694 (hook default)

Maybe keep trying some of the others?

I'm looking at this text...

[ 462.646368] usb 1-1.5: USB disconnect, device number 6
[ 471.844768] usb 1-1.2: new full-speed USB device number 7 using dwc_otg
[ 471.976758] usb 1-1.2: New USB device found, idVendor=0403, idProduct=8a8a
[ 471.976990] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 471.977010] usb 1-1.2: Product: FT232R USB UART OPAS_UNIV
[ 471.977026] usb 1-1.2: Manufacturer: FTDI
[ 471.977041] usb 1-1.2: SerialNumber: FTYMYCBS

tty6
tty7
tty3
ttyprintk

...etc

sadly no reveal, same error also with tty8,9,10

welp, if none of them work then you might have to google around a bit for some clues.

just fyi...

"ttyUSB0" is just a link that the OS was kind enough to give you. It's not the real map to the device.

I really couldn't find anything on the internet that helped me out :(
i'll try all the other tty's in the meantime.
Hopefully someone might know the answer

don't forget the occasional reboot.

Also just for kicks check the user groups to make sure you even have access to serial.

Yep rebooted the shit out of the RPI but again no reveal.
also tested every tty from tty to tty42, no reveal

1 Like

tried until tty63 now but nothing

Also changed the Type A usb cabel, no change.

Could anyone tell me how to properly install FTDI drivers? maybe that'll help?

I have been using OctoPrint for a while, i have a usb cable going from my raspberry pi 2 to the printers usb port.
OctoPrint connects to /dev/ttyUSB0 typically.
I didn't see any usb devices in the list you had above.

If i have the printer off, and connect to OctoPrint , the connection Serial Port usually shows the above usb port. However sometimes it just shows auto, and nothing will connect, so I usually restart OctoPrint and it comes up.

I usually leave OctoPrint running all the time, and switch off the printer when its done. And back on again if I want to print something else.

I didn't need to do anything fancy to get it to connect from a fresh install. I only had to tweak some config files for the old playstation camera I use as a webcam.

This may or may not help. Are you sure you are using a real usb cable, not a power only one for charging devices etc?

thank you,
I also have a PS Eye connected (not working) but i wan't to connect to the printer first ofcourse.
I'll try restarting the printer several times to see what that does.
The usb cable i used has always been used for printing with my laptop, and the cabel that's in there now has always been used for an external HDD so sadly, the cables are right.

If that doesn't work, and you haven't tried this already, leave the printer on and click restart from in the octoprint interface.
Hopefully it autodetects the printer. Also check the settings page under serial connection, see if you can pick the USB port there.
Failing that, what 3d printer do you have?

sadly both options don't work,
i keep getting stuck, it just won't assign the printer to a ttyUSB*
my printer is a tronxy prusa i3 p802m
link

EDIT: baud rate on the printer is 115200 (the default) should be good right?