ol@fson schrieb:wäre es vielleicht möglich, ein LC Display an der seriellen Schnittstelle ans Laufen zu kriegen ?
stty -F /dev/ttyS0 speed 9600 parenb parodd cs8
echo -n -e "\033[1;1H`date "+%d.%m.%Y %H:%M:%S"`" > /dev/ttyS0
echo -n -e "\033[1;1HHello World!" > /dev/ttyS0
sk.87 schrieb:I'm trying to build a serial cable from an original Siemens ME45 phone for my Fritz Box Ata
sk.87 schrieb:my connections are exactly the same as in the picture, but serielle console does not work in Hyperterminal (or in minicom)
sk.87 schrieb:i read that for original Siemens cable I have to plug also 3.3V from UBAT plus a sort of resistance...but it's quite hard for me to translate
i've tried to connect pin 4 of my phone cable (VBAT) with 3.3V on the fritz, but nothin happens!
kreideholer schrieb:Hallo sk.78 and welcome to this forum
kreideholer schrieb:I think you found the tutorial on how to build in a serial console HERE
kreideholer schrieb:Settings for the terminal are: 38400,N,8,1
kreideholer schrieb:You don't need to use an extra resitor or the V3.3 connector on the box.
You just have to connect your serial cable with the terminal settings above an plug in the power cord to your box. Then it should work.
Greets, Kreideholer
heini66 schrieb:it's depending, what kind of serial converter cable you use.
i use a pl2303 and have to solder a 4,7k resistor from 3,3v to rx. as pull-up.
some versions need also a connection to ubat from the 3,3v.
http://www.kessler-design.com/speedport-w700v/hardware.html only german, bt the pic's are may helpfull
hard and software flow controll off...
iwow schrieb:ich habe mittlerweile meine kleine Applikation für die Fritz!Box übersetzt bekommen (Danke an enrik für die schöne buildroot Umgebung).
__ _ __ __ ___ __
|__ |_) |__ |__ | /
| |\ |__ |__ | /_
The fun has just begun...
BusyBox v1.12.4 (2009-02-14 01:54:05 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben nicht umgelenkt
/var/mod/root # stty -F /dev/ttyS0 9600
/var/mod/root # digitemp -i -w -s/dev/ttyS0
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
.
Devices on the Main LAN
10A0B47B01080016 : DS1820/DS18S20/DS1920 Temperature Sensor
/var/mod/root #
Hallo xxlxx,Wenn ich ca 10-15 CP befehle hintereinander auf /dev/ttyS0 mache geht alles gut. mache ich dann ein " stty 9600 < /dev/ttyS0 " und dann wieder einen CP nach TTYS0 springt die box ins Grab.
Mem: 15908K used, 14336K free, 0K shrd, 2372K buff, 7976K cached
CPU: 0% usr 0% sys 0% nice 98% idle 0% io 0% irq 0% softirq
Load average: 0.00 0.03 0.02
PID PPID USER STAT VSZ %MEM %CPU COMMAND
624 513 root R 1164 4% 1% top
512 1 root S 1184 4% 0% -/bin/sh
513 502 root S 1188 4% 0% -sh
1 0 root S 1168 4% 0% init
502 1 root S 1160 4% 0% telnetd -l /sbin/ar7login
71 1 root SW 0 0% 0% [mtdblockd]
309 5 root SW< 0 0% 0% [capi_oslib]
3 1 root SW< 0 0% 0% [events/0]
4 1 root SW< 0 0% 0% [khelper]
26 5 root SW< 0 0% 0% [aio/0]
25 1 root SW 0 0% 0% [kswapd0]
62 1 root SW 0 0% 0% [pm_info]
97 1 root SW 0 0% 0% [tffsd_mtd_0]
308 5 root SW< 0 0% 0% [capi_oslib]
2 1 root SWN 0 0% 0% [ksoftirqd/0]
310 1 root SW 0 0% 0% [ubik2_tx[8]]
311 1 root SW 0 0% 0% [capitransp]
5 1 root SW< 0 0% 0% [kthread]
6 5 root SW< 0 0% 0% [kblockd/0]
23 5 root SW< 0 0% 0% [pdflush]
24 5 root SW< 0 0% 0% [pdflush]
"askfirst" shell on the console (whatever that may be)
ttyS0::askfirst:-/bin/sh