ts-7000
[Top] [All Lists]

Re: [ts-7000] Exclusive access to serial port PMPP<>PPP

To: <>
Subject: Re: [ts-7000] Exclusive access to serial port PMPP<>PPP
From: "Michael Schmidt" <>
Date: Wed, 6 Dec 2006 14:57:01 -0700
> Hello group!
>
> I made a program that uses the TS-7400's ttyAM0 (COM1) in raw mode
> to write PMPP requests and get responses from a "custom device".
>
> But i have a problem, another program seems to use that same port
> to listen to incoming PPP requests. I dont know which program it is
> and i would like to kill/disable it.
>
> [...]
>
> Louis-Pierre Beaumont
> Software Developer
> VER-MAC Signalisation inc.

Are you using fast boot or full boot?

The TS-7400 uses /dev/ttyAM0 for the (TS-9441) console.  To disable this in 
fast boot you will need to edit the /linuxrc file and change the line that 
says "CONSOLE=/dev/ttyAM0" to point somewhere else.  Note that if you point 
it to /dev/null the fastboot shell will exit immediately and you will wind 
up with a full boot; the easiest way to avoid this might be to point the 
console to another serial port you aren't using, e.g. /dev/ttyAM1.

If you are booting from SD you will want to edit linuxrc from your PC (e.g. 
mount /dev/${SD_DEVNAME}2 /mnt;vi /mnt/linuxrc;umount /mnt), otherwise you 
can edit it directly from the fastboot prompt, but be sure to use the 'save' 
command afterwards -- this saves the current initrd back to the on-board 
flash.

If you are using a full boot you would do something like edit /etc/inittab, 
comment out the line(s) mentioning /dev/ttyAM0, then kill -HUP 1, or else 
reboot.

Regards,

Michael



 
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU