It sort of works if you set the port correctly using setserial
after reset
setserial /dev/ttyAM1 shows
/dev/ttyAM1, UART: undefined, Port: 0x0000, IRQ: 54
after you set it, you see the following, (yes I know this is showing
ttyAM0, I only set AM0, not AM1)
/dev/ttyAM0, UART: undefined, Port: 0x808c0000, IRQ: 52, Flags: spd_vhi
if you set the port correctly then it allows you to input data using
echo, however cat will terminate before you get a chance to do anything
On 11-Jan-06, at 10:45 AM, Curtis Monroe wrote:
> do you have the proper file permissions for /dev/ttyS0 ?
> Can you do it as root?
>
>
> -Curtis.
>
>
> On January 11, 2006 08:42 am, Dave Cramer wrote:
>> Ok, I'm starting to see the problems with this.
>>
>> on a normal linux you can do
>>
>>
>> echo foo > /dev/ttyS0
>>
>> and that will write to the serial port
>>
>> you can also do
>>
>> cat < /dev/ttyS0
>>
>> and it will sit there and wait for input from the serial port and
>> display it
>>
>>
>> on the 7250
>>
>> neither of the above work
>>
>> Dave
>> On 2-Jan-06, at 9:39 AM, m g wrote:
>>
>>> On Sun, Jan 01, 2006 at 03:48:40PM -0500, Dave Cramer wrote:
>>>> Where do you see that ttyAM1 does not have flow control ?
>>>
>>> In the TS manual online (TS-7250_Rev1.2.pdf). Look at the top of
>>> page 7.
>>>
>>>>
>>>> Also I presume you disabled the login for ttyAM0 in /etc/inittab
>>>>
>>>
>>> Yes. Thank you, I forgot to mention this in the original post.
>>>
>>> Mike
>>>
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|