Re: [beagleboard] Re: Web control for BBB based device

2016-07-26 Thread William Hermans
On Tue, Jul 26, 2016 at 10:47 PM, TJF wrote: > > > Am Mittwoch, 27. Juli 2016 07:11:24 UTC+2 schrieb William Hermans: >> >> Additionally you may wish to start reading about, and understanding what >> a "web appliance" *is*. >> > > Didn't you read the initial post? This

Re: [beagleboard] Re: Web control for BBB based device

2016-07-26 Thread TJF
Am Mittwoch, 27. Juli 2016 07:11:24 UTC+2 schrieb William Hermans: > > Additionally you may wish to start reading about, and understanding what a > "web appliance" *is*. > Didn't you read the initial post? This isn't the issue here. The Question is Device should be controlled via Web

Re: [beagleboard] cape-universal & 4.1.x = default.. ;)

2016-07-26 Thread William Hermans
On Wed, Jul 20, 2016 at 6:01 PM, Charles Steinkuehler < char...@steinkuehler.net> wrote: > On 7/20/2016 5:43 PM, John Syne wrote: > >> Now I see why I didn’t see this before. On the Pinmux spreadsheet, they >> are >> labelled as P9_42A and P9_42B. I don’t know where you get P9_92 since >> there

Re: [beagleboard] Web control for BBB based device

2016-07-26 Thread William Hermans
ivbsd1, You need to go read, and read, and read. This subject is vast, and the only real way you're going to understand is by reading and doing. Also, do not get locked into one way of doing this, as what you're talking about here may not work for you. The good news is that there are probably

Re: [beagleboard] Re: cape-universal & 4.1.x = default.. ;)

2016-07-26 Thread William Hermans
Oh, right so just two ways of configure-ring, and using the same pin ? Yeah, no big deal to me, I'd just never use P9_92, and haven't to date. On Tue, Jul 26, 2016 at 10:33 PM, William Hermans wrote: > Charles, > > Is there a way through modifying your overlay files to put an

Re: [beagleboard] Re: cape-universal & 4.1.x = default.. ;)

2016-07-26 Thread William Hermans
Charles, Is there a way through modifying your overlay files to put an output pin in a specific state as the overlay file is loaded ? I noticed one can change input to output as needed in fragment@2. But do not see a way to change pin state. unless if it'll work if i replace "input" with hi, or

Re: [beagleboard] Re: Web control for BBB based device

2016-07-26 Thread William Hermans
It sounds as though the OP has a lot more than frameworks to understand . . . But additional to what's already been mentioned. There are libraries for every language known to man( think reasonable . . .) that can be used to do this. Nodejs(javascript ) Python, C, C++, golang . . . the list goes

Re: [beagleboard] PWM Problems with BeagleBone Black Debian 8.4 Kernel 4.4

2016-07-26 Thread William Hermans
Also seeing your code would help. On Tue, Jul 26, 2016 at 10:05 PM, William Hermans wrote: > You have not mentioned which kernel you're using. > > On Tue, Jul 26, 2016 at 9:34 AM, wrote: > >> Hello Guys, >> >> I am trying to control the PWM Output over a C++

Re: [beagleboard] PWM Problems with BeagleBone Black Debian 8.4 Kernel 4.4

2016-07-26 Thread William Hermans
You have not mentioned which kernel you're using. On Tue, Jul 26, 2016 at 9:34 AM, wrote: > Hello Guys, > > I am trying to control the PWM Output over a C++ program. However I cannot > get it to work. It seems like I am unable to activate the PWM output. > > Here is what I

Re: [beagleboard] BBB + debian-8.4-iot-4gb + battery = SHUTDOWN

2016-07-26 Thread William Hermans
$ sudo apt-get remove acpid should do the trick. On Tue, Jul 26, 2016 at 7:40 AM, peppeiron wrote: > Hello everybody, > > root@beaglebone:/# uname -a > Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l > GNU/Linux > > My board is powered by 5V

Re: [beagleboard] Re: UART4 read in pthread not working

2016-07-26 Thread William Hermans
Are you sure everything you're using code wise is thread safe ? There are a lot of library functions that are not thread safe. On Mon, Jul 25, 2016 at 8:31 PM, Regina Choi wrote: > Thanks for reply. > > I'm not sure why, but I don't get timeout error messages from the

Re: [beagleboard] Using Beagle for remote data collection; Keep in deep sleep mode and waking up to collect data

2016-07-26 Thread William Hermans
Mark, Have you considered using an external embedded MCU for this task ? e.g. . . . Board boots, does its thing, notifies and external MCU it's about to shutdown, then shuts down. The MCU then breaks the connection from battery to beaglebone, reconnects after 5 minutes, and toggles RESETn. As

Re: [beagleboard] Confused between Device Tree and Device Tree Overlay.What to use for the new Driver?

2016-07-26 Thread William Hermans
Note the structure here form this modified file( Modified from Charles S' Universal IO overlay 'univ-all' ) This is for a single pin instead of all pins. https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/univ-all-00A0.dts IN short here is what is required: - /dts-v1/; -

Re: [beagleboard] init-eMMC-flasher mmcqd allocation failures

2016-07-26 Thread William Hermans
No idea what the problem might be, but I'd probably try dd instead. On Mon, Jul 25, 2016 at 10:43 AM, pabigot wrote: > Using a script derived from init-eMMC-flasher-v3.sh to rsync from a > loopback-mounted file system to a newly created ext4 file system on the > eMMC I

Re: [beagleboard] GPIO over Python on Linux kernel >4

2016-07-26 Thread Drew Fustini
Please post the code you are using and any error messages in a new topic on the Adafruit Beaglebone forum: https://forums.adafruit.com/viewforum.php?f=49 I'll followup on there. thanks, drew On Tue, Jul 26, 2016 at 1:56 PM, wrote: > > Hi everyone, > > I have some problems

[beagleboard] GPIO over Python on Linux kernel >4

2016-07-26 Thread deshaning
Hi everyone, I have some problems with peripherals when using Debian 8 or Ubuntu 16 - both have kernels with bigger version than 4. For example my UARTs don't get any data when checking via minicom. I had no problems with older version of the kernel (ver 3.8). This situation is present on

Re: [beagleboard] Web control for BBB based device

2016-07-26 Thread John Syne
> On Jul 26, 2016, at 1:05 PM, ivbsd1 wrote: > > Guys, thank for inputs. > > john3909, I don't need 100 sessions . > Application is device control. One session is enough :-) You say that now, but always remember, you invest time learning tools, but those tools may not serve

Re: [beagleboard] Web control for BBB based device

2016-07-26 Thread ivbsd1
Still, I do not fully understand. And sorry for stupid questions :-( Can I develop on Windows or Linux host, or it must be on BBB? But BBB does not have graphical device... On Tuesday, July 26, 2016 at 11:20:29 PM UTC+3, TJF wrote: > > > > Am Dienstag, 26. Juli 2016 22:05:35 UTC+2 schrieb

Re: [beagleboard] Web control for BBB based device

2016-07-26 Thread TJF
Am Dienstag, 26. Juli 2016 21:58:59 UTC+2 schrieb john3909: > > The downside to this solution is that it doesn’t scale very well. Using > Nodejs and Angularjs, you can support 100s of simultaneous sessions on the > BBB. > "100s of simultaneous sessions" are not required here (yet). The

Re: [beagleboard] Web control for BBB based device

2016-07-26 Thread ivbsd1
Guys, thank for inputs. john3909, I don't need 100 sessions . Application is device control. One session is enough :-) TJF, sounds promising. I have to check if GDK and Broadway already exists for BeagleBone. Does it behave "natural" ? Not "biased" by browser ? On Tuesday, July 26, 2016 at

Re: [beagleboard] Web control for BBB based device

2016-07-26 Thread John Syne
The downside to this solution is that it doesn’t scale very well. Using Nodejs and Angularjs, you can support 100s of simultaneous sessions on the BBB. Regards, John > On Jul 26, 2016, at 12:49 PM, TJF wrote: > > > > Am Dienstag, 26. Juli 2016 19:05:53 UTC+2

[beagleboard] Re: Web control for BBB based device

2016-07-26 Thread TJF
Am Dienstag, 26. Juli 2016 19:05:53 UTC+2 schrieb ivbsd1: > > Hi TJF, > > Thanks a lot for suggestions. But, if possible, can you make it more clear > ? > If possible, can you give me a reference to project of such type ? > Broadway is a GDK (= sub-layer of GTK) backend, which directs the

Re: [beagleboard] Web control for BBB based device

2016-07-26 Thread John Syne
http://ionicframework.com This uses Nodejs and Angularjs. I would recommend using Angularjs V2 which is much easier to learn Regards, John > On Jul 26, 2016, at 10:21 AM, ivbsd1 wrote: > > Hi TJK, > > Maybe I did not clarify that but I'm talking about embedded device

[beagleboard] Re: Web control for BBB based device

2016-07-26 Thread ivbsd1
Hi TJK, Maybe I did not clarify that but I'm talking about embedded device with Linux, which* does not contain gnome* or any other windows manager. Regards, On Tuesday, July 26, 2016 at 8:05:53 PM UTC+3, ivbsd1 wrote: > > Hi TJF, > > Thanks a lot for suggestions. But, if possible, can you make

[beagleboard] PWM Problems with BeagleBone Black Debian 8.4 Kernel 4.4

2016-07-26 Thread ppetit
Hello Guys, I am trying to control the PWM Output over a C++ program. However I cannot get it to work. It seems like I am unable to activate the PWM output. Here is what I already tried: I loaded the following capes: 0: PF -1 1: PF -1 2: PF -1 3: PF -1 4: P-O-L- 0

[beagleboard] Re: Web control for BBB based device

2016-07-26 Thread ivbsd1
Hi TJF, Thanks a lot for suggestions. But, if possible, can you make it more clear ? If possible, can you give me a reference to project of such type ? Best regards On Tuesday, July 26, 2016 at 5:59:58 PM UTC+3, TJF wrote: > > Hi! > > You don't need any web framework. Write a simple GTK

Re: [beagleboard] Web control for BBB based device

2016-07-26 Thread ivbsd1
Hi Chad, Thanks a lot for input. I read carefully this book and I don't find answer to my questions. It talks about very basic things. My question was about tools for professional application. Best regards On Tuesday, July 26, 2016 at 7:17:55 PM UTC+3, cmbaker3 wrote: > > Check out the

[beagleboard] Re: Web control for BBB based device

2016-07-26 Thread ivbsd1
Hi TJF, Thanks a lot for suggestions. But, if possible, can you make it more clear ? If possible, can you give me a reference to project of such type ? Best regards On Monday, July 25, 2016 at 11:00:41 PM UTC+3, ivbsd1 wrote: > > Hi, > > I'm working on some embedded device which uses BBB with

Re: [beagleboard] BBB without ethernet

2016-07-26 Thread lockhart . roger . w
What about a manufacturer who purchases BBs in quantity? On Thursday, July 16, 2015 at 9:56:26 AM UTC-4, Gerald wrote: > > If you need it removed, you can take the open source material and build it > yourself. We are not in a position to build 1 off boards. > > Gerald > > On Thu, Jul 16, 2015 at

[beagleboard] Re: pasm to clpru porting guide for PRU

2016-07-26 Thread Mark A. Yoder
I found a porting guide here: http://processors.wiki.ti.com/index.php/PRU_Assembly_Instructions#pasm_vs._clpru --Mark On Saturday, July 23, 2016 at 1:05:19 PM UTC-4, Greg wrote: > > There is in fact difference notes published by TI. Perhaps difficult to > locate! > > Look in the README.txt

[beagleboard] clpru: QBBS Invalid instruction

2016-07-26 Thread Mark A. Yoder
I'm use clpru to assemble some code[1] for the PRU. Unfortunately I'm getting the following error: QBBS A_CHANGED, r0.t0 "pru0-encoder.asm", ERROR! at line 103: [E0003] Invalid instruction QBBS A_CHANGED, r0.t0 I can't figure out what is invalid about QBBS? I'm running on a BeagleBone

Re: [beagleboard] Web control for BBB based device

2016-07-26 Thread Chad Baker
Check out the cookbook recipes @ http://beagleboard.org/cookbook The cookbook is available @ http://shop.oreilly.com/product/0636920033899.do " Chapter 6: Internet of Things" addresses your questions. Chad On 7/25/16 3:00 PM, ivbsd1 wrote: Hi, I'm working on some embedded device which uses

Re: [beagleboard] BBB without ethernet

2016-07-26 Thread Gerald Coley
I am sure that could be arranged if the quantities are enough. Gerald On Tue, Jul 26, 2016 at 10:41 AM, wrote: > What about a manufacturer who purchases BBs in quantity? > > On Thursday, July 16, 2015 at 9:56:26 AM UTC-4, Gerald wrote: >> >> If you need it removed,

[beagleboard] Re: Web control for BBB based device

2016-07-26 Thread TJF
Hi! You don't need any web framework. Write a simple GTK application and use the Broadway backend to run the GUI in any HTML-5 browser window. BR -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups

[beagleboard] BBB + debian-8.4-iot-4gb + battery = SHUTDOWN

2016-07-26 Thread peppeiron
Hello everybody, root@beaglebone:/# uname -a Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l GNU/Linux My board is powered by 5V and is connected to a battery for use by backup /ups/safe_shutdown. When I take off the power supply, the board goes off in a few seconds,

[beagleboard] Bluetooth is not discoverable - Beagleboard Green Wireless

2016-07-26 Thread Sachith Wanniarachchi
Hi, I am using a BBGW as a Bluetooth server. I make the device discoverable on using bluetoothctl command. then registered sp service using "sdptool add sp" command. But after few minutes device is not discoverable and sp service is not registered. Why this happens? Is there a way to solve