Hello Dennis,

That is a very relevant reaction! Thanks a lot! Now I have to find out what
port is connected with UART 2 (and others I need....). I found ttyO0 and
ttyO3 working, i.e. no errors reported. But also no idea to what UART they
are connected. Definitely not UART2, I am using.
Apart from the fact that I cannot believe that someone deliberately messed
up with the serial ports..... Compatibility with earlier scripts is
completely gone!
Can anyone supply me with the altest UART mapping? Or better yet:
re-install the old mapping?
Cheers!
Harke

On 29 January 2017 at 17:04, Dennis Lee Bieber <wlfr...@ix.netcom.com>
wrote:

> On Sun, 29 Jan 2017 03:17:51 -0800 (PST), Harke Smits
> <yrra...@gmail.com> declaimed the following:
>
>
> >pyserial, if necessary. Now my old script does not work anymore. It leaves
> >me with error; Errno 2: could not open port /dev/ttyO2. No such file or
> >directory. Do I miss something here? What else do I need to do?
>
>         Well, first thing: do you HAVE a ttyO2 in /dev? I don't -- using a
> "Wheezy" image from last summer, I'll dig up the SD card with "Jessie" in a
> moment... (apologies for the bad wrapping)
>
> debian@beaglebone:~$ uname -a
> Linux beaglebone 3.8.13-bone80 #1 SMP Wed Jun 15 17:03:55 UTC 2016 armv7l
> GNU/Linux
> debian@beaglebone:~$ ls /dev/tty*
> /dev/tty    /dev/tty16  /dev/tty24  /dev/tty32  /dev/tty40  /dev/tty49
> /dev/tty57  /dev/tty8
> /dev/tty0   /dev/tty17  /dev/tty25  /dev/tty33  /dev/tty41  /dev/tty5
> /dev/tty58  /dev/tty9
> /dev/tty1   /dev/tty18  /dev/tty26  /dev/tty34  /dev/tty42  /dev/tty50
> /dev/tty59  /dev/ttyGS0
> /dev/tty10  /dev/tty19  /dev/tty27  /dev/tty35  /dev/tty43  /dev/tty51
> /dev/tty6   /dev/ttyO0
> /dev/tty11  /dev/tty2   /dev/tty28  /dev/tty36  /dev/tty44  /dev/tty52
> /dev/tty60  /dev/ttyS0
> /dev/tty12  /dev/tty20  /dev/tty29  /dev/tty37  /dev/tty45  /dev/tty53
> /dev/tty61  /dev/ttyS1
> /dev/tty13  /dev/tty21  /dev/tty3   /dev/tty38  /dev/tty46  /dev/tty54
> /dev/tty62  /dev/ttyS2
> /dev/tty14  /dev/tty22  /dev/tty30  /dev/tty39  /dev/tty47  /dev/tty55
> /dev/tty63  /dev/ttyS3
> /dev/tty15  /dev/tty23  /dev/tty31  /dev/tty4   /dev/tty48  /dev/tty56
> /dev/tty7
> debian@beaglebone:~$
>
>         I show ttyS0 .. ttyS3
>
> debian@beaglebone:~$ uname -a
> Linux beaglebone 4.4.30-ti-r64 #1 SMP Fri Nov 4 21:23:33 UTC 2016 armv7l
> GNU/Linux
> debian@beaglebone:~$ ls /dev/tty*
> /dev/tty    /dev/tty17  /dev/tty26  /dev/tty35  /dev/tty44  /dev/tty53
> /dev/tty62   /dev/ttyS0
> /dev/tty0   /dev/tty18  /dev/tty27  /dev/tty36  /dev/tty45  /dev/tty54
> /dev/tty63   /dev/ttyS1
> /dev/tty1   /dev/tty19  /dev/tty28  /dev/tty37  /dev/tty46  /dev/tty55
> /dev/tty7    /dev/ttyS2
> /dev/tty10  /dev/tty2   /dev/tty29  /dev/tty38  /dev/tty47  /dev/tty56
> /dev/tty8    /dev/ttyS3
> /dev/tty11  /dev/tty20  /dev/tty3   /dev/tty39  /dev/tty48  /dev/tty57
> /dev/tty9    /dev/ttyS4
> /dev/tty12  /dev/tty21  /dev/tty30  /dev/tty4   /dev/tty49  /dev/tty58
> /dev/ttyGS0  /dev/ttyS5
> /dev/tty13  /dev/tty22  /dev/tty31  /dev/tty40  /dev/tty5   /dev/tty59
> /dev/ttyO0
> /dev/tty14  /dev/tty23  /dev/tty32  /dev/tty41  /dev/tty50  /dev/tty6
> /dev/ttyO1
> /dev/tty15  /dev/tty24  /dev/tty33  /dev/tty42  /dev/tty51  /dev/tty60
> /dev/ttyO2
> /dev/tty16  /dev/tty25  /dev/tty34  /dev/tty43  /dev/tty52  /dev/tty61
> /dev/ttyO4
> debian@beaglebone:~$
>
>
>         Interesting -- Jessie (from last fall) shows both ttyO0/1/2/4 AND
> ttyS0/1/2/3/4/5
>
> debian@beaglebone:~$ ls -l /dev/ttyO*
> lrwxrwxrwx 1 root root 5 Dec 10 12:31 /dev/ttyO0 -> ttyS0
> lrwxrwxrwx 1 root root 5 Jan 29 10:57 /dev/ttyO1 -> ttyS1
> lrwxrwxrwx 1 root root 5 Jan 29 10:57 /dev/ttyO2 -> ttyS2
> lrwxrwxrwx 1 root root 5 Jan 29 10:57 /dev/ttyO4 -> ttyS4
> debian@beaglebone:~$ ls -l /dev/ttyS*
> crw--w---- 1 root tty     4, 64 Dec 10 12:32 /dev/ttyS0
> crw-rw---- 1 root dialout 4, 65 Jan 29 10:57 /dev/ttyS1
> crw-rw---- 1 root dialout 4, 66 Jan 29 10:57 /dev/ttyS2
> crw-rw---- 1 root dialout 4, 67 Dec 10 12:32 /dev/ttyS3
> crw-rw---- 1 root dialout 4, 68 Jan 29 10:57 /dev/ttyS4
> crw-rw---- 1 root dialout 4, 69 Dec 10 12:32 /dev/ttyS5
>
> Though the ttyO* are just links to the ttyS*
>
>         Maybe in a month or so I'll have time to flash the eMMC up to
> Jessie,
> and set the SD cards to newer releases. (I prefer to keep the eMMC on an
> older working config)
>
> --
>         Wulfraed                 Dennis Lee Bieber         AF6VN
>     wlfr...@ix.netcom.com    HTTP://wlfraed.home.netcom.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/beagleboard/b4CG9YdoZK4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/g23s8cd87pfgojfaho0f8mb68ssu7cnls1%404ax.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAHmciabODo_rz1NUxYyFv_M-0eVYuoBFyms1OLr0C%3DffKukUbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to