Search found 1105 matches

by Dinosaur
Feb 17, 2019 20:41
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 228
Views: 47318

Re: libpruio (BB D/A - I/O fast and easy)

Hi TJF I know this is not the forum to discuss BBB in detail, but I was hoping you could point me to an ubuntu .img that has installation steps with it. Once I get to deep into problems I will get onto the BBB forum. I have a 32GB uSD formatted. As per instructions I boot with "bone-ubuntu-18.0...
by Dinosaur
Feb 14, 2019 13:50
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 228
Views: 47318

Re: libpruio (BB D/A - I/O fast and easy)

Hi TJF Never tried Poseidon. (Is there a reason why I should?) It has probably more features then Geany ,BUT what I like is the ability to use 4 colours in the code. I use this to: Use 1 colour for Basic statements & numbers 1 colour for Routine names & Functions 1 Colour for UDT names 1 col...
by Dinosaur
Feb 13, 2019 20:21
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 228
Views: 47318

Re: libpruio (BB D/A - I/O fast and easy)

Hi TJF Usually when I do something new, I write down every step I take in the installation. So, I want to make sure I only use legit steps in the setup of BBB and the library. I "read" skimmed over every post in this thread, and hopefully none of those difficulties prop up for me. The firs...
by Dinosaur
Feb 12, 2019 2:26
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 228
Views: 47318

Re: libpruio (BB D/A - I/O fast and easy)

Hi All

TJF, thanks for your reply.
I have bought a unit and will play with it and see.

Regards
by Dinosaur
Feb 11, 2019 17:58
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 228
Views: 47318

Re: libpruio (BB D/A - I/O fast and easy)

Hi All TJF, many thanks for the detailed reply. Before I commit myself and start buying a full test kit, a couple of further questions. I bought the 2019 edition of "Exploring Beaglebone" book by Derek Molloy and am reading it to familiarize myself. Equally you have a lot of information on...
by Dinosaur
Feb 10, 2019 21:35
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 228
Views: 47318

Re: libpruio (BB D/A - I/O fast and easy)

Hi All Investigating the suitability of the BBB in some of my projects. Certainly the spec indicates that it will be suitable. The availability of this library has taken away the complexity of GPIO which previously was my biggest obstacle. My compliments to TJF for the enormous amount of work that m...
by Dinosaur
Nov 18, 2018 14:51
Forum: Linux
Topic: Best Distro for FB
Replies: 38
Views: 2635

Re: Best Distro for FB

Hi All Using Mint 18.3 I have never had to do a Re-Install. I have 7 industrial machines running on it now and one test rig at home. The updates are always installed (everyone of them) and never had an issue. I do keep images of the system that I can fall back on, on a 32 Gb mSata disk in case my ex...
by Dinosaur
Oct 20, 2018 18:22
Forum: Linux
Topic: Changing to Root & Back within FB
Replies: 15
Views: 766

Re: Changing to Root & Back within FB

Hi All

I am a boring Dinosaur, never play ANY games, remove all games from Computer & iPhone.
BUT, I appreciate that Game development is responsible for the progress that FB has made.

Once again, many thanks.

Regards
by Dinosaur
Oct 20, 2018 17:17
Forum: Linux
Topic: Changing to Root & Back within FB
Replies: 15
Views: 766

Re: Changing to Root & Back within FB

Hi All You have done well badidea. Took me a while to get the method right, but got it in the end. There is no need to edit the sudoers.d file with the NOPASSWD line, so I deleted it. FYI: To write and test the program, I simply open the editor (Poseidon in my case) as root. After compiling I can ru...
by Dinosaur
Oct 20, 2018 3:38
Forum: Linux
Topic: Changing to Root & Back within FB
Replies: 15
Views: 766

Re: Changing to Root & Back within FB

Hi All Another way advocated for running a program as superuser without a password: Create or edit the file in sudoers.d which in my case is "mintupdate" I added the line: ALL ALL = NOPASSWD:/Projects/ThreadTest/Test rebooted, yet no luck. Then I changed the ownership and group to root, an...
by Dinosaur
Oct 20, 2018 1:52
Forum: Linux
Topic: Changing to Root & Back within FB
Replies: 15
Views: 766

Re: Changing to Root & Back within FB

Hi All Yes it does, it is a very difficult syntax to get right. I have a Test program that I want to run as superuser. At the moment I am breaking it up into two to avoid that error, but now I get new errors. userswap #!/bin/bash expect -f swapcmnds.txt no error swapcmnds.txt spawn sudo su ./Test ex...
by Dinosaur
Oct 19, 2018 21:24
Forum: Linux
Topic: Changing to Root & Back within FB
Replies: 15
Views: 766

Re: Changing to Root & Back within FB

Hi All Many thanks for your help, I am trying a few things and when done will post here. Some things I am trying are: Using the "Expect" scripting tool with the following. #!/expect set timeout 60 spawn sudo ./Test expect "[sudo] password for barfresh:" send "Blahblah";...
by Dinosaur
Oct 19, 2018 20:21
Forum: Linux
Topic: Changing to Root & Back within FB
Replies: 15
Views: 766

Re: Changing to Root & Back within FB

Hi All Sorry, full code: 'https://manpages.courier-mta.org/htmlman3/pthread_setname_np.3.html #include "crt/pthread.bi" Declare sub mythread1(params as any ptr) Declare sub mythread2(params as any ptr) Declare sub print_dots(ByRef char as string) Dim Shared As Sched_param Params Dim Shared...
by Dinosaur
Oct 19, 2018 19:11
Forum: Linux
Topic: Changing to Root & Back within FB
Replies: 15
Views: 766

Re: Changing to Root & Back within FB

Hi All badidea I am trying to login as root to be able to do the following command Print "7;";pthread_setschedparam(*pThread1, SCHED_FIFO, @params) But using the following: shell "echo " & myPassword & " | sudo su " the program appears to jump over this instruct...
by Dinosaur
Oct 19, 2018 18:52
Forum: Linux
Topic: Changing to Root & Back within FB
Replies: 15
Views: 766

Re: Changing to Root & Back within FB

Hi All badidea , thanks for that. I am running Mint 18.3 which is ubuntu based, however I have not figured out how to easily do that. Using your suggestion I did: Dim as String myPassword = "blahblah" shell "echo " & myPassword & " | sudo -S ls" But I got what l...

Go to advanced search