The officially official Devuan Forum!

You are not logged in.

#1 2023-02-14 14:33:57

nenesse
Member
From: Paris
Registered: 2020-01-10
Posts: 10  

[SOLVED] tio /dev/ttyUSB0 not working ( RPi2 )

Good morning,

I am trying to install chimaera on an Rpi2.
I prepared an sdcard via chroot from my PC.
the RPi boots correctly, starts the ssh server and a working Xorg session.

But from my PC tio /dev/ttyUSB0 not working.
the PC can connect and disconnect, but no input is received by the RPi.

I prepared another sdcard by copying the image downloads.raspberrypi.org/.../2022-09-22-raspios-buster-armhf-lite.img.xz
it uses systemd as init.
tio /dev/ttyUSB0 works perfectly.

I added
T0:23:respawn:/sbin/agetty -o -p -- \u --keep-baud 115200,57600,38400,9600 ttyAMA0 vt220
in /etc/inittab.
no change, not working.

thanks

Last edited by nenesse (2023-02-14 15:26:27)

Offline

#2 2023-02-14 15:22:31

nenesse
Member
From: Paris
Registered: 2020-01-10
Posts: 10  

Re: [SOLVED] tio /dev/ttyUSB0 not working ( RPi2 )

I added
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
in /etc/inittab, and WORKING !!!

cmdline.txt

root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes console=tty1 elevator=noop raid=noautodetect net.ifnames=0 biosdevname=0 noswap

config.txt

disable_overscan=1
hdmi_drive=2
config_hdmi_boost=4
dtparam=audio=on

[pi2]
max_usb_current=1
#pour branchement sur HDMI3 / ARC
hdmi_group=1
hdmi_mode=31

[pi4]
dtoverlay=vc4-fkms-v3d
dtoverlay=disable-bt
#dtoverlay=disable-wifi
max_framebuffers=2
gpu_mem=320

[all]

/etc/inittab

#1:2345:respawn:/sbin/getty --noclear --noclear 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
...
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

Last edited by nenesse (2023-02-14 17:08:00)

Offline

Board footer