[beagleboard] Re: Beagle Bone Black 4D Systems 4th Gen LCD, could not request pin 40

2019-12-14 Thread John Baker
I used a 4DSystems 4Dcapes for the BBB ( https://4dsystems.com.au/products/primary-display-modules-capes-shields/4dcape-70t) and added a real-ttime clock board and an analog I-O board that I designed and had fabbed at OSH Park. I used Debian Linux OS and programmed it in Python along with

[beagleboard] Re: How to separate boards?

2017-04-12 Thread John Baker
that worked well. It would be nice to have such a tool for the BBBs. On Wednesday, April 12, 2017 at 11:57:03 AM UTC-7, John Baker wrote: > > Anyone have a good and simple way to separate the BBB boards without > bending the pins? > -- For more options, visit http://beagleboard.org/disc

[beagleboard] How to separate boards?

2017-04-12 Thread John Baker
Anyone have a good and simple way to separate the BBB boards without bending the pins? -- 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

Re: [beagleboard] Which service is getting time & date on Debian Wheezy? I want to disable it.

2016-05-30 Thread John Baker
.service which is Loaded but inactive (dead). John On Monday, May 30, 2016 at 5:06:50 PM UTC-7, Mike Bell wrote: > > On 05/30/2016 07:27 PM, John Baker wrote: > > I'm trying to disable the service that gets the time and date over the > > Internet. I want to do that in

[beagleboard] Which service is getting time & date on Debian Wheezy? I want to disable it.

2016-05-30 Thread John Baker
I'm trying to disable the service that gets the time and date over the Internet. I want to do that in hopes that the BBB will instead get the time and date from my Adafruit DS3231 and I suspect the BBB is trying for a minute to get the time and date over the Internet. with the result that the

Re: [beagleboard] Getting Bootchart setup on Debian 8.3

2016-05-19 Thread John Baker
> Le jeu. 19 mai 2016 13:27, John Baker <john...@ieee.org > a > écrit : > >> Thanks Micka. >> >> I just now tried that and putty.exe said that ntp isn't installed, so not >> removed, but I'll bet it's gotta be something like that. Maybe something >>

Re: [beagleboard] Getting Bootchart setup on Debian 8.3

2016-05-19 Thread John Baker
Thanks Micka. I just now tried that and putty.exe said that ntp isn't installed, so not removed, but I'll bet it's gotta be something like that. Maybe something for the Internet connection. John On 5/18/2016 8:33 PM, Micka wrote: sudo apt-get remove ntp Le mer. 18 mai 2016 23:53, John

Re: [beagleboard] Getting Bootchart setup on Debian 8.3

2016-05-18 Thread John Baker
Robert: What script is trying to read the clock data from ntp? I have an Adafruit DS3231 for the Real Time Clock and the BBB is taking a minute before it gets the clock from the DS3231 so I suspect some script is trying to read the ntp clock data and holding up the read of my DS3231 clock. Es

[beagleboard] Help with Adafruit RTC, please

2016-05-12 Thread John Baker
I mounted the Adafruit DS3231 RTC module on a breadboard and using the Adafruit instructions got it to work. It works fine but it takes one minute after booting the BBB before it reads the clock date and time and updates to Debian. I would like it to update right away when the BBB boots up. I

Re: [beagleboard] Re: How to make a python program start on boot? May need to use sudo.

2016-04-20 Thread John Baker
and systemd's. Thanks for all the help and suggestions. You-all kept me going. John On Wednesday, April 20, 2016 at 11:46:57 AM UTC-7, John Baker wrote: > > Thanks for your help and your patience with me. > Unfortunately, still no joy and no error message but then I'm illiterate > with

Re: [beagleboard] How to use Exim4 to Send Email from Beaglebone Black Debian

2016-04-20 Thread John Baker
Dieter, I'm trying to get mutt running to get error messages from crontab. I installed mutt with aptitude and it may be working but I don't know how to set it up to get the messages :-[ Apr 20 23:49:01 beaglebone /USR/SBIN/CRON[8657]: (root) CMD (export DISPLAY=:0 && /usr/bin/python

[beagleboard] Re: How to make a python program start on boot? May need to use sudo.

2016-04-19 Thread John Baker
com/-xlAZ4lTfpEQ/VxcI6uzi-ZI/BO8/mKaxRI5Fk7ASwto46EaSSevQlzCGjEN4gCLcB/s1600/crontab_test.png> On Sunday, April 17, 2016 at 5:55:29 PM UTC-7, Dennis Lee Bieber wrote: > > On Sat, 16 Apr 2016 20:35:44 -0700, John Baker > <john...@ieee.org > declaimed the following: > > &

Re: [beagleboard] Re: How to make a python program start on boot? May need to use sudo.

2016-04-17 Thread John Baker
a permission denied error related to the capemgr.9 if I don't run my code as root. IOError: [Errno 13] Permission denied: '/sys/devices/bone_capmgr.9/slots' John On 4/17/2016 9:39 AM, Dennis Lee Bieber wrote: On Sat, 16 Apr 2016 16:53:16 -0700 (PDT), John Baker <bakerengineerin...@gmail.com> dec

Re: [beagleboard] Re: How to make a python program start on boot? May need to use sudo.

2016-04-17 Thread John Baker
r program. On 4/16/2016 6:16 PM, John Baker wrote: Hi Wulf Man, My GUI is part of a simulation program. There's a lot of calculation and the GUI to allow me to enter some parameters and display the results on a graph. You're saying that I have to start up my calculation part of t

Re: [beagleboard] Re: How to make a python program start on boot? May need to use sudo.

2016-04-16 Thread John Baker
error. Any ideas? Thanks, John On Saturday, April 16, 2016 at 1:04:21 AM UTC-7, Dieter Wirz wrote: > > On Sat, Apr 16, 2016 at 5:57 AM, John Baker <bakerengi...@gmail.com > > wrote: > >> John Minton, >> I gave crontab a try and of course it didn't work. It seems

Re: [beagleboard] Re: How to make a python program start on boot? May need to use sudo.

2016-04-15 Thread John Baker
e running"; fi The only down side is that if your program crashes, you have to wait up to a minute for the crontab to run the check_processes.bash, but otherwise is pretty solid. Now I am also looking for how to run my script as a system service. On Thursday, April 7, 2016 at 9:18:43 PM

Re: [beagleboard] Re: How to write a data file to Beaglebone from Python

2016-04-15 Thread John Baker
the try catch block incorrectly ;) On Thu, Apr 14, 2016 at 4:40 PM, John Baker <bakerengineerin...@gmail.com <mailto:bakerengineerin...@gmail.com>> wrote: Yes indeed. Python 2.7 in the Debian 3.8.13 bone50 on my BBB does flag the error, telling me that *w* is not corre

Re: [beagleboard] Re: How to write a data file to Beaglebone from Python

2016-04-14 Thread John Baker
is very popular of >>> late. Does it say something about Python itself that it did not throw up a >>> big error in your face when the quotes were omitted? Or is the problem >>> elsewhere? >>> >>> On Wednesday, April 6, 2016 at 11:24:18 AM UTC

Re: [beagleboard] Re: How to make a python program start on boot? May need to use sudo.

2016-04-10 Thread John Baker
suggestions? I couldn't make any sense of the Debian bone79, just seeing the blank screen like you said. Very strange, the bone79. Thanks, John On 4/9/2016 11:25 AM, Dennis Lee Bieber wrote: On Fri, 8 Apr 2016 21:11:22 -0700, John Baker <johnba...@ieee.org> declaimed the following:

Re: [beagleboard] Re: How to make a python program start on boot? May need to use sudo.

2016-04-09 Thread John Baker
, Dennis Lee Bieber wrote: On Thu, 7 Apr 2016 21:18:43 -0700 (PDT), John Baker <bakerengineerin...@gmail.com> declaimed the following: ExecStart=/home/debian/Desktop/python SimB.py The way I read that line says to run a Python interpreter located in /home/debian/Desktop, passing it

Re: [beagleboard] Re: How to write a data file to Beaglebone from Python

2016-04-08 Thread John Baker
to the eMMC, fearing that I'll cause some hiccup with the writes./ /John/ Eh ? What do you mean ? You do realize that you can create a tmpfs directory, that is located in memory, where you could then create files that are also placed in memory ? On Thu, Apr 7, 2016 at 4:59 PM, John Baker

[beagleboard] How to make a python program start on boot? May need to use sudo.

2016-04-07 Thread John Baker
My program runs fine but requires that I use putty.exe and type sudo python myprog.py to run it. I have been reading about systemctl and have written a service file and put it in /lib/systemd/system. It's called paint-flow.service, listing below. I have.. enabled it with systemctl enable

Re: [beagleboard] Re: How to write a data file to Beaglebone from Python

2016-04-07 Thread John Baker
Now after all that I've decided not to write anything to the eMMC, fearing that I'll cause some hiccup with the writes. John johnbakeree.blogspot.com On Wednesday, April 6, 2016 at 11:24:18 AM UTC-7, John Baker wrote: > > Gosh, how did I miss that, that the mode is a string. Well

Re: [beagleboard] Re: How to write a data file to Beaglebone from Python

2016-04-06 Thread John Baker
Gosh, how did I miss that, that the mode is a string. Well it had to be something simple like that. Quoting the w and r fixed the problem. Very embarrassing. :-[ Thanks, John On 4/5/2016 7:21 PM, Dennis Lee Bieber wrote: On Tue, 5 Apr 2016 13:43:47 -0700 (PDT), John Baker <bakerenginee

[beagleboard] Re: How to write a data file to Beaglebone from Python

2016-04-06 Thread John Baker
Thanks All for your help. It is much appreciated and shows how helpful the BB Forum users are and how valuable the Forum is. John On Wednesday, April 6, 2016 at 5:54:47 AM UTC-7, Dennis Lee Bieber wrote: > > On Tue, 5 Apr 2016 19:11:32 -0700, John Baker > <bakerengi...@gmail.com

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
try to write a simple C app to do the same and see what happens ? On Tue, Apr 5, 2016 at 5:20 PM, John Baker <bakerengineerin...@gmail.com <mailto:bakerengineerin...@gmail.com>> wrote: I made a new folder /home/baker and then changed my write open() command to f = open(

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
2016 at 4:46:17 PM UTC-7, John Baker wrote: > > Thanks Paul. > getcwd() tells me that my cwd is /home/debian/Desktop when I use f = > open('MyFile.txt', w). I am using Try/Except and not getting an exception > with the open() statement. Perhaps I can't write a text file to the >

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
more correctly, I'm getting old, and set in my ways, and python just is not in my future plans. *ever* . . . On Tue, Apr 5, 2016 at 3:05 PM, John Baker <bakerengineerin...@gmail.com <mailto:bakerengineerin...@gmail.com>> wrote: That's what I figured William. As far a

Re: [beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
tell you this with certainty. This is done no different than it is > done on any Linux system. > > The point here is that you should go out and find any good python > tutorial, that covers writing to a file, and follow it. > > On Tue, Apr 5, 2016 at 1:43 PM, John Baker <bakerengi..

[beagleboard] How to write a data file to Beaglebone from Python

2016-04-05 Thread John Baker
I want to store a little data on the eMMC from my Python code. My program is not getting errors when I try to write a very short data file but it doesn't actually seem to write it as I cannot read it back. I am using f = open('MyFile.txt', w) or f = open('/home/debian/Desktop/MyFile.txt', w)

[beagleboard] Re: BBB, Debian, Chipsee display: Tkinter gives error

2016-03-26 Thread John Baker
Harke: Another in the Learned Group, I think it was Steve Plant but I can't find the post, suggested connecting a keyboard and mouse to the BBB and running the Python program with 'sudo python your_python_program'. That worked great for me. I never would have thought of it. My code is a GUI