1

I am following this tutorial to setup login using UART serial console.

When I run screen /dev/ttyACM0 115200 from my Ubuntu desktop, the serial port opens and if I restart Pi, I am able to see the entire boot message.

After booting up, the login command is shown, but I am not able to type anything. I double checked my connection and restart Pi a couple of times, but I am still facing the same problem.

I was doing a web search and found this thread in the Raspberry Pi forum.

The solution is to start the getty@ttyUSBx.service, but the command given there is only for Arch Linux.

Now my question is what is the equivalent of the following command in Raspbian

systemctl start getty@ttyUSBx.service

  • 1) Did you uncomment the "T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100" line in /etc/inittab file? 2) Did you plugged Ground wire of usb serial device? – gurcanozturk Oct 16 '13 at 8:03
  • @gurcanozturk Yes to both your questions – Sudar Oct 16 '13 at 8:23
  • can you update your question with contents of cmdline.txt file ? Also please output of "dmesg |grep tty" command. – gurcanozturk Oct 17 '13 at 10:55
0

Apparently it seems that there was some problem in the USB to Serial convertor that I was using.

Things have started to work again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.