On Thu, Nov 11, 2010 at 02:08:42PM -0000, ricardogabriel5 wrote:
> I have a TS-7260 running with TS-Linux Busy Box.
>
> The command "setserial -G /dev/ttyAM0" shows me:
>
> /dev/ttyAM0 uart undefined port 0x0000 irq 52 baud_base 921600 spd_normal
>
> I need to connect the TS-7260 board through the serial port (ttyAM0)
> with another board that contains a PIC microcontroller, at the speed
> of 38400 bps.
> ...
>
> The program that runs in the TS-7260 board "configure" the serial
> port at the speed of 38400 bps, but if I execute at the same time the
> setserial command, it doesn't show me this speed, and it shows me:
>
> /dev/ttyAM0 uart undefined port 0x0000 irq 52 baud_base 921600 spd_normal
I see the same output from setserial regardless of the actual baud
rate in use, so I don't think that's a problem.
> I modified the inittab file, as follows:
>
> # Start console logins on both COM Ports
> #
> #lgn0:12345:respawn:/sbin/getty -L 115200 ttyAM0
> lgn1:12345:respawn:/sbin/getty -L 38400 ttyAM1
> #lgn2:12345:respawn:/sbin/getty -L 115200 ttyAM2
> #
>
> Am I doing something wrong?
That's correct; you've commented-out getty on the port you want to use.
You also need to tell init to reread that file, e.g., by using 'kill -HUP 1'
or by rebooting.
Ken
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|