10 copies of this request in my mailbox - with different subjects.
This is spamming!!!
As a result I've just deleted them all with out bothering to even look and
try to find out what your problem is, and so you won't get any help from
me.
Please show some respect to others on the list and STOP SPAMMING!
Jim
----------------------------------------------------------------------------
HomePage: http://www.comp.leeds.ac.uk/jj
TS7200 Page: http://www.comp.leeds.ac.uk/jj/linux/arm-sbc.html
On Tue, 1 Sep 2009, al l wrote:
> Dear all,
> I'm trying to connect a PC shell serial emulator (putty) to the COM2
> connector of the TS 7880 board and I don't success. I have checked all the
> configuration parameters and the mailing list mesages, tried all I have
> thought and it is like COM2 doesn't exist!!! I copy some chekings I have done:
> ls -l /dev
> -rw-r--r-- 1 root root 5 Sep 1 02:26 ttAM1
> -rw-r--r-- 1 root root 5 Sep 1 02:26 ttAm1
> crw-rw-rw- 1 root tty 5, 0 Feb 18 2009 tty
> crw------- 1 root tty 4, 0 Aug 31 03:43 tty0
> crw------- 1 root root 4, 1 Sep 1 01:07 tty1
> crw------- 1 root root 4, 2 Sep 1 01:07 tty2
> crw------- 1 root root 4, 3 Sep 1 01:07 tty3
> crw------- 1 root root 4, 4 Sep 1 01:07 tty4
> crw------- 1 root root 4, 5 Sep 1 01:07 tty5
> crw------- 1 root root 4, 6 Sep 1 01:07 tty6
> crw------- 1 root tty 4, 7 Feb 18 2009 tty7
> crw------- 1 root tty 4, 8 Sep 1 02:58 tty8
> crw------- 1 root tty 4, 9 Feb 18 2009 tty9
> crwxr-xr-x 1 root root 204, 16 Mar 16 2006 ttyAM0
> -rw-r--r-- 1 root root 5 Sep 1 02:35 ttyAM1
> -rw-r--r-- 1 root root 5 Sep 1 02:35 ttyAS1
> crw------- 1 root tty 4, 64 Sep 1 03:17 ttyS0
> -rwxrwxrwx 1 root root 34 Sep 1 02:58 ttyS1
> So it seems ttyS1 ie COM2 exists....
> ps aux
> root 715 0.0 0.9 2948 1208 ttyS0 Ss 03:08 0:00 /bin/login --
> root 716 0.0 1.2 2956 1544 ttyS0 S 03:08 0:00 -bash
> www-data 720 0.0 1.6 14228 2064 ? S 03:08 0:00
> /usr/sbin/apach
> www-data 721 0.0 1.9 235648 2528 ? Sl 03:08 0:00
> /usr/sbin/apach
> www-data 723 0.0 1.9 235648 2536 ? Sl 03:08 0:00
> /usr/sbin/apach
> root 786 0.0 0.7 2476 936 ttyS0 R+ 03:19 0:00 ps aux
>
> So it seems that console is in ttyS0 ie COM1
>
> nano /etc/inittab
> #1:2345:respawn:/sbin/getty 38400 tty1
> #2:23:respawn:/sbin/getty 38400 tty2
> #3:23:respawn:/sbin/getty 38400 tty3
> #4:23:respawn:/sbin/getty 38400 tty4
> #5:23:respawn:/sbin/getty 38400 tty5
> #6:23:respawn:/sbin/getty 38400 tty6
> T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100
> #T1:23:respawn:/sbin/getty -L ttyS1 115200 vt100
> So it seems that console is in ttyS0 and ttyS1 is free!!
> If I do: ts7800:~# echo hola > /dev/ttyS0 It prints hola in ttyS0 (just where
> I am ie my shell serial emulator) so it seems that ttyS0 is console.
> If I do:
> ts7800:~# echo hola > /dev/ttyS1
> ts7800:~# echo hola > /dev/ttyAM1
> ts7800:~# echo hola > /dev/ttyAS1
> nothing!!!!
> ts7800:~# echo hola > /dev/ttyAM0
> -bash: /dev/ttyAM0: No such device or address It doesn't exist...
> As you can see it is like COM2 doesn't exist!!!!
> I have checked serial bus cable and it is ok.... (red line just on the board
> dot) I am using TS manufactured cable.... so....
> I am lost..... I have no more ideas....
>
> Would you be so gratefull to help me with this???
> thanks!!
>
>
>
>
> ________________________________
> De: ramos.carlos76 <>
> Para:
> Enviado: miércoles, 22 de julio, 2009 17:01:30
> Asunto: [ts-7000] Re: RXTX receive problem
>
>
>
> Because I can determine the avaialable bytes to read, I think the serial
> port ttyAM0 is correct...
>
> How you create a symbolic link from /dev/ttyAM0 to /dev/ttyS0?
>
> I can read 4 lines with readline(), however the program show the
> exception and stop reading the serial port.
>
> --- In .com, "tedapt" <> wrote:
>>
>> Are you certain of the serial ports names? I run rxtx on TS7260 and
> TS7250s, and found I had to create a symbolic link from /dev/ttyAM0 to
> /dev/ttyS0. As I recall, rxtx relied on a hardcoded reference to
> /dev/ttyS0, and my attempts to use the TS boards' /dev/ttyAM0 was being
> ignored by rxtx. I had to create the /dev/ttyS0 sym link as an alias to
> the TS serial device and used it instead.
>>
>> --- In .com, "ramos.carlos76" ramos.carlos76@
> wrote:
>>>
>>>
>>> Hey everyone,
>>>
>>> I'm using rxtx with the java. The program in my pc (windows
>>> xp) works without problems, but in ts7390 have errors.
>>>
>>> When start the
>>> program (jamvm -Dgnu.io.rxtx. SerialPorts= /dev/ttyAM0: /dev/ttyAM1
> -jar
>>> program.jar) show this warning:RXTX Warning:Removing stale lock
> file.
>>> /var/lock/LCK. .ttyAM0
>>>
>>> I can send files and ask the available bytes to
>>> receive, but if read the inputStream appears the
>>> exception:java. io.IOException: Input/output error in nativeavailable
>>>
>>> It is
>>> the size of inputStream the ts is very small? have any idea?
>>>
>>> Thanks for
>>> any help pointing me in the right direction!
>>>
>>> Carlos
>>>
>>>
>>>
>>>
>>>
>>> --- In .com, "ramos.carlos76" <ramos.carlos76@ >
>>> wrote:
>>>>
>>>> Hey everyone,I'm using rxtx with the java. The program in my pc
>>> (windows
>>>> xp) works without problems, but in ts7390 have errors.When start
> the
>>>> program (jamvm -Dgnu.io.rxtx. SerialPorts= /dev/ttyAM0: /dev/ttyAM1
> -jar
>>>> program.jar) show this warning:RXTX Warning: Removing stale lock
> file.
>>>> /var/lock/LCK. .ttyAM0I can send files and ask the available bytes
> to
>>>> receive, but if read the inputStream appears the
>>>> exception:java. io.IOException: Input/output error in
> nativeavailableIt
>>> is
>>>> the size of inputStream the ts is very small? have any idea?Thanks
> for
>>>> any help pointing me in the right direction!Carlos
>>>>
>>>
>>
>
>
>
>
>
>
------------------------------------
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/
|