Author Topic: Serial Connection Under Opie  (Read 2942 times)

petya

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Serial Connection Under Opie
« on: September 06, 2005, 12:14:26 pm »
Hi all!

I have switched to oz/opie from cacko, and I want to use my c760 as a serial terminal. Under cacko, it worked. I installed microcom, it probes devices /dev/ttyS0..2, but without success. When i try microcom -D/dev/ttySA0, it says cannot open device.

Is minicom available for opie? Or can I build a package from it?

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Serial Connection Under Opie
« Reply #1 on: September 06, 2005, 02:56:29 pm »
vi /etc/inittab and comment line which run getty on serial port
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

abject

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Serial Connection Under Opie
« Reply #2 on: September 13, 2005, 02:04:47 am »
Quote
vi /etc/inittab and comment line which run getty on serial port
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94727\"][{POST_SNAPBACK}][/a][/div]
Very timely! I was just getting ready to fire up my AIRCable and try it with my new BT GPS. Sorry to be so thick... I see two places in my (Hentges-Collie-3.5.3-Opie) /etc/inittab where getty is (might be) run:
Code: [Select]
...
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin
S:2345:respawn:/sbin/getty 115200 ttyS0
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  :::
#
1:2345:respawn:/sbin/getty 38400 tty1
# 2:23:respawn:/sbin/getty 38400 tty2
...
Do you mean comment out this line:
Code: [Select]
S:2345:respawn:/sbin/getty 115200 ttyS0
Thanks for your help!

Oh!... And reboot, after?
« Last Edit: September 13, 2005, 02:06:54 am by abject »

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Serial Connection Under Opie
« Reply #3 on: September 13, 2005, 11:06:40 am »
that line and reboot
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

abject

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Serial Connection Under Opie
« Reply #4 on: September 14, 2005, 01:13:34 am »
Worked like charm. Thanks again, hrw.

Dumped microcom - it has zero documentation beyond "-h". picocom is the (well-documented) bomb.

Now... what GPS application to fool with....

- Larry.
« Last Edit: September 14, 2005, 01:16:43 am by abject »