[beagleboard] Re: BBB USB0 change from client to host

2014-09-10 Thread Me
Hi Vince
Thanks for the suggestion. Issue was solved long ago but I didn't update the 
post. But you are right with the use of inductors and you also need to change 
the mode selection to out the port into host mode. 

Kind Regards
Marc

Sent from my iPhone

 On 9 Sep 2014, at 14:09, vincent.grenne...@gmail.com wrote:
 
 Thanks Marc, these few lines are very useful since I need 2 USB hosts and 
 don't want to add a USB hub. About the supply, maybe adding inductor filters 
 like on USB1 schematic would be better.
 
 Vince.
 
 Le jeudi 17 avril 2014 12:01:27 UTC+2, marc...@gmail.com a écrit :
 
 Hello
 I have finally managed to get my hands on an BBB and started to try and get 
 my system up and running the way I need by building a kernel (3.14.1).
  
 I am attempting to use the USB client port (USB0) in host mode and think I 
 have done all the things necessary to get this working:
  
 Kernel config has EHCI enabled and set to host only
 Hardware mod on the board to short pins 45 of micro socket to force USB-ID 
 low to indicate host mode.
 Changed the arch/arm/boot/dts/am335x-bone-common.dtsi file to put it into 
 host mode
 u...@47401000 {
 status = okay;
 dr_mode = host;
 };
 u...@47401800 {
 status = okay;
 dr_mode = host;
 };
  
 No matter what I plug in nothing gets identified ???
  
 Plugging into the USB1 host port is fine so the kernel is configured 
 correctly.
  
  
 Boot log shows ports being identified:
 [2.057294] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
 [2.063996] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned 
 bus number 1
 [2.072673] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
 [2.079868] usb usb1: New USB device strings: Mfr=3, Product=2, 
 SerialNumber=1
 [2.087467] usb usb1: Product: MUSB HDRC host driver
 [2.092722] usb usb1: Manufacturer: Linux 3.14.1 musb-hcd
 [2.098402] usb usb1: SerialNumber: musb-hdrc.0.auto
 [2.104856] hub 1-0:1.0: USB hub found
 [2.108880] hub 1-0:1.0: 1 port detected
 [2.117574] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
 [2.124275] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned 
 bus number 2
 [2.133045] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
 [2.140253] usb usb2: New USB device strings: Mfr=3, Product=2, 
 SerialNumber=1
 [2.147851] usb usb2: Product: MUSB HDRC host driver
 [2.153105] usb usb2: Manufacturer: Linux 3.14.1 musb-hcd
 [2.158786] usb usb2: SerialNumber: musb-hdrc.1.auto
 [2.165268] hub 2-0:1.0: USB hub found
 [2.169312] hub 2-0:1.0: 1 port detected
 
 Any ideas ???
  
 Thanks
 marc 
  

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: registering asynchronous events on kernel thread in user space

2014-09-10 Thread neo
Hi Brandon 

Thanks for the reply.
I will summarize here what i found about controlling a GPIO and about using 
interrupts.

   1. Using sysfs one can easily control the gpio and using threading can 
   re-create pseudo-interrupt from user space. Found a useful project called 
   libsoc https://github.com/jackmitch/libsoc. They use threading along with 
   polling using poll(2)
   2. Using mmap() one can import the memory space of the GPIO peripheral 
   and with a combination of threads can re-create pseudo-interrupt from user 
   space. Found useful project called BBBIOlib 
   https://github.com/VegetableAvenger/BBBIOlib.
   3. Using /dev/input/event for controlling GPIO from user space.
   4. Using an LKM from kernel space where one can use request_irq() or 
   request_threaded_irq() and using some kind of buffering to transfer the 
   data to userspace. Here one will be writing actual interrupts. Some bits 
   can be found here 
   
http://processors.wiki.ti.com/index.php/GPIO_Driver_Guide#Sysfs_entries_configuration

I have very good idea about 1 and 2. 

I am still working on 3- /dev/input and also on 4- about writing a real 
ISR.

Although the above methods enable GPIO control I am not sure which will 
give me the highest performance.

I read that using mmap() method gives faster switching on forums and the 
using sysfs gives the slowest switching rate. I am not sure about 
/dev/input method. The LKM method gives faster ISR and i am guessing that 
LKM in combination with mmap() will give faster response timings.

Any thoughts on the above...
On Wednesday, September 10, 2014 8:20:18 AM UTC+5:30, Brandon I wrote:

 Before you jump into the kernel hole, is there a reason that you're not 
 using the existing sysfs gpio interface (
 https://www.kernel.org/doc/Documentation/gpio/sysfs.txt) for the 
 interrupts?

 Using this, if you set the gpio up as an interrupt with the sysfs 
 interface, you poll() the value file and it will block until there's an 
 interrupt. When it unblocks, you can read the current value.

 Or, you can make the gpio look like an event/button: 
 http://bec-systems.com/site/281/how-to-implement-an-interrupt-driven-gpio-input-in-linux

 Any sane way you do it will be the same at the low level. You'll have a 
 read or ioctl function on the kernel device file that blocks in the kernel 
 using a completion/semaphore, putting your process/thread to sleep. When 
 the interrupt fires, the interrupt handler function is called to release 
 the completion/semaphore, unblocking your process/thread and allowing it to 
 continue executing. This unblocking is how the userspace program is 
 signaled.

 So, if you *want* to reinvent the wheel, for understanding, then that's 
 fine. But, there's an existing interface that exists, only a few lines of 
 code away.

 --Brandon

 On Tue, Sep 9, 2014 at 7:10 PM, neo star prag@gmail.com javascript:
  wrote:

 Hi Brandon 

 I read through the link, very informative thanks.I can create a thread to 
 do the polling and signal me when its ready.
 But how to really write an ISR in arm. I see a lot of guides but they say 
 that it will work in Intel processors but they are not sure about ARM.
 For sure from my readings i see that i need a kernel object to handle an 
 ISR, But how to really do that.
 One example about how to handle interrupts is in 
 http://stackoverflow.com/questions/15245626/simple-interrupt-handler-request-irq-returns-error-code-22
 The other one is request_threaded_irq() as mentioned by Kavita in the 
 above post.
 Is there any How to and guide to writing one. Any links.
 Thanks.


 On Wednesday, September 10, 2014 12:59:08 AM UTC+5:30, Brandon I wrote:

 See UIO: https://www.kernel.org/doc/htmldocs/uio-howto/

 The uio_pruss.c driver that comes with the pru package is a good example.

  I have written a kernel module that registers interrupts on the rising 
 edge on a GPIO pin and want to relay this message to user space. 

 The sysfs gpio interface already does this. Check out the code.

 On Thursday, August 28, 2014 2:44:12 AM UTC-7, sid...@gmail.com wrote:

 I have read online that we can't handle interrupts from user 
 space. Instead - 
 1) We can write a kernel thread and have that thread wait on an event. 
 2) Once the interrupt occurs, send one asynchronous event from the 
 kernel module/driver to user space where we will have one signal handler 
 with FASYNC to tackle this

 I have written a kernel module that registers interrupts on the rising 
 edge on a GPIO pin and want to relay this message to user space. How do I 
 go about implementing the above?

 Thanks!

  -- 
 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/eNX0CU7-noE/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 

[beagleboard] Re: Purchase original Beaglebone (white)

2014-09-10 Thread Edu Galvez
Just to not open a new post. 
Is the Beaglebone White discontinued?
It is really hard to find any unit in stock.

Thanks!

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Purchase original Beaglebone (white)

2014-09-10 Thread Jesse Cobra
Why you want one!? Black is a much better deal.

I'll tell you what, buy me 2 Blacks and I'll give you a white ;)

On Wed, Sep 10, 2014 at 5:27 AM, Edu Galvez edugalvez.eir...@gmail.com
wrote:

 Just to not open a new post.
 Is the Beaglebone White discontinued?
 It is really hard to find any unit in stock.

 Thanks!

 --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Beaglebone Black rev B - Embedded QT and X Sever - Deployment OS Ubuntu

2014-09-10 Thread Peter Gregory
I'm trying to get a good development system up and running for Beaglebone Black 
and Ubuntu.
The goal is to launch an embedded GUI application on a LCD cape on boot.
The application will control a hardware project and that is all it does.  So it 
will be a special purpose device, not a general server.
The hardware leverages the Linux OS for WiFi, Sound, Graphics.

I'm open to using several development environments, QT, Mono, Java Swing...
 I am on a Beaglebone Black rev B, so I'm limited to 2gb storage.
I'll need to have room for the application, so minimal size on the OS is needed.

I tried to get a minimal system working with Ubuntu Trusty (14.04) following 
the instructions to get the custom kernel running and SGX drivers.
I could get the SGX demos to work (evil morphing skull works great) but could 
not get the X server to work.
The desktop would load, and show the login screen.
Keyboard works, so I can log in.
However, if I move the mouse, the system would freeze up solid.  Reboot is the 
only option.
I used a cross compiler machine to build QT applications.  Console apps worked 
great.  GUI failed.  
I could get the pre-compiled examples to work with LinuxFB (Fingerpaint) but my 
custom compiled GUI would not work.

I dropped back to precise (12.04) and QT 4.8
X server works well for that version, but it is a bit slow.
Loading the entire desktop allows me to run QT GUI programs.
Now I'm trying to get a minimal X server QT build working.
I don't need the desktop, just enough of X server to run QT applications.
Has anyone been able to get a good minimal embedded QT environment to work?
If so, did you do it using linux packages or compiling and installing source 
code?
Did you end up installing the entire desktop or is there a minimum X server 
install that will run QT applications?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Linaro compiler tools for Angstrom

2014-09-10 Thread jware
I need to rebuild my compiler tools for a set of BBB running a year old 
version of Angstrom.  I have installed the latest version of the tools and 
discovered that there a number of changes that make it impossible to 
compile applications to run on the older Angstrom distribution including 
switching to hard floats and included libraries etc.  I have tried using 
git to clone the source from the correct time period but can not get it to 
build correctly.  

Is there any way to download a distribution from the July 2013 time period 
that includes the correct setup tools.

The Beaglebones are running:
Linux version 3.8.13 (koen@rrMBP) (gcc version 4.7.3 2030205 (prerelease) 
Linaro GCC 4.7.2013.02-01 )

The functioning compiler tools are gcc version 4.7.3 20130105 (prerelease) 
( Linaro GCC 4-7-4013.02-01)

The non-functioning compiler tools are gcc version 4.8.3 20131202 
(prerelease) (Linaro GCC 4.8-2013.12)

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Purchase original Beaglebone (white)

2014-09-10 Thread Special Computing
Special Computing still stocks BBW
https://specialcomp.com/Beagleboard/bone.htm
On Sep 10, 2014 5:27 AM, Edu Galvez edugalvez.eir...@gmail.com wrote:

 Just to not open a new post.
 Is the Beaglebone White discontinued?
 It is really hard to find any unit in stock.

 Thanks!

 --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] running Windows.Forms application on Mono runtime with Ubuntu OS

2014-09-10 Thread Peter Gregory
The problem is the mono runtime.
It is not supported in Ubuntu 14.04.
You might try Arch Arm Linux, it supports the mono runtime.  I couldn't get the 
desktop to work on my beaglebone black rev b.
I tried to get Debian Jessie to work.  It supports the mono runtime.  However, 
I couldn't get the desktop to work.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] QTE Creator and BBB

2014-09-10 Thread Peter Gregory
I had success getting QT creator to work using older versions.
Ubuntu 12.04 (precise) works.  You can load the console version, load the 
desktop (sudo apt-get install ubuntu-desktop).
Use the software center to install QT Creator.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Accessing BeagleBoard features through Mono runtime on Ubuntu for C# development

2014-09-10 Thread Peter Gregory
What version of Ubuntu are you running?
I believe 14.04 doesn't support mono.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Build a QT/11 application for beagleboard black by cross compiling from ubuntu

2014-09-10 Thread Peter Gregory
Hi Mirko,

How did you get rid of the X server dependencies?
I'm using QT Creator.  Building a new QT application seems to require X server.
On a headless version of Ubuntu 14.04 I can get the pre-compiled demos to work 
using -platform linuxfb
However, my custom compiled code bombs out trying to start X server.
Is there a special way to build the project to target linuxfb?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] u boot serial issue

2014-09-10 Thread Niraj Kumar
Dear Robert,
Is it possible to update eMMC in the same way as we do it for Nand.
Like : read the MLO in ram address 0x8200 then from RAM we can write
into eMMC.

Please suggest interface used to do this. Putting into SD card partition
and then flashing auto mode.

Please suggest if I can use

mmc erase blk count
mmc write addr #blk count.

Thanks
Niraj


On Sun, Aug 24, 2014 at 11:55 PM, Robert Nelson robertcnel...@gmail.com
wrote:

 On Sun, Aug 24, 2014 at 9:02 AM, Niraj Kumar jhanira...@googlemail.com
 wrote:
  Hi,
  I am able to boot uboot. I can see uboot report No NAND device but
 suppose
  to be 2GB NAND device the Rev B boards?

 NAND =/= eMMC.. The RevB boards are shipped with 2GB of eMMC..

 Regards,


 --
 Robert Nelson
 http://www.rcn-ee.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/QAzmdicMeo0/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 beagleboard+unsubscr...@googlegroups.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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] u boot serial issue

2014-09-10 Thread Robert Nelson
On Wed, Sep 10, 2014 at 9:33 AM, Niraj Kumar jhanira...@googlemail.com wrote:
 Dear Robert,
 Is it possible to update eMMC in the same way as we do it for Nand.
 Like : read the MLO in ram address 0x8200 then from RAM we can write
 into eMMC.

 Please suggest interface used to do this. Putting into SD card partition and
 then flashing auto mode.

 Please suggest if I can use

 mmc erase blk count
 mmc write addr #blk count.

Maybe...  Give it a shot and let us know.  I only use rsync as i
know it works and it's fast..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Java on BBB

2014-09-10 Thread Peter Gregory
Hi Conrad,

Did you get Java working on BBB?
I have a BBB rev B.  How big is your deployment image? Will it fit in the 2gb 
space?
I'm curious if I develop an swing java application in Windows using IntelliJ  
if it will run on the BBB.
Do you have to develop you applications on the BBB for it to work?
Does it require X Server or are there embedded options for GUI applications?

Just a few simple questions.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Build a QT/11 application for beagleboard black by cross compiling from ubuntu

2014-09-10 Thread Micka
That could be very cool if you could create a qt toolchain for debian ;)


Micka,



On Thu, Feb 6, 2014 at 9:16 PM, Louis McCarthy compeo...@gmail.com wrote:

 Not to plug my own site, but I give very detailed instructions on my blog
 post, which should guide you through what to download and what files to put
 where.


 http://armsdr.blogspot.com/2014/01/bare-metal-qt-52-on-beaglebone-black_10.html

 The Angstrom toolkit already included qmake, but because we need hf, you
 have to build qmake with a cross-compiler (I recommend Linaro). That is why
 you need to install the qt-everywhere source.

 I am exploring the creation of a toolchain, for Debian, much like Angstrom
 had.just too many other fires right now


 On Thu, Feb 6, 2014 at 1:34 PM, Micka mickamus...@gmail.com wrote:

 Thx,

 But are you working with the image from Robert nelson ( ubuntu ) .

 And what do you want me to do with the qt-everywhere opensource src
 folder ?

 micka,


 On Thu, Feb 6, 2014 at 7:53 PM, Tux Leonard tuxl...@gmail.com wrote:

 Hi Micka,

 I shared the toolchain I use and qt sources with you.
 This combination works on my BBB.

 Roy


 2014-02-06 Micka mickamus...@gmail.com:

 Thx I didn't see that  But It means also that I can't use the
 toolchains qt from angstrom  because it's compiled withOUT the hf  
 .

 does someone know how to cross compile qt ? I don't need a full
 explanation just a little explanation .


 Any idea ?


 On Thu, Feb 6, 2014 at 5:49 PM, Micka mickamus...@gmail.com wrote:

 Thx I didn't see that  But It means also that I can't use the
 toolchains qt from angstrom  because it's compiled with the hf  .

 does someone know how to cross compile qt ? I don't need a full
 explanation just a little explanation .


 Any idea ?


 On Thu, Feb 6, 2014 at 3:20 PM, Robert Nelson robertcnel...@gmail.com
  wrote:

  ubuntu@arm:~$ qmake -version
  QMake version 2.01a
  Using Qt version 4.8.4 in /usr/lib/arm-linux-gnueabihf

  the gcc that i'm using is here :
 
  /usr/bin/arm-linux-gnueabi-g++

 Your using ubuntu armhf yet building the appplication with a
 gnueabi based compiler..

 armhf uses this linker:
 /lib/ld-linux-armhf.so.3

 armel/gnueabi uses this linker:
 /lib/ld-linux.so.3

 Use the correct gnueabi*hf* toolchain..

 Regards,

 --
 Robert Nelson
 http://www.rcn-ee.com/

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.



  --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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/mb1R6NF5RH4/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




 --

 “If we can prevent the government from wasting the labors of the people,
 under the pretense of taking care of them, they must become happy. -
 Thomas Jefferson

 --
 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.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] CAN bus recovery

2014-09-10 Thread Brent
I have noticed that if I short CAN_H and CAN_L together, or if there is 
noise on the bus, the BeagleBone will stop sending and receiving CAN 
messages.  When this happens, if I execute ifconfig can0 down and 
ifconfig can0 up, things start working again.  Is there a way to detect 
this automatically and recover?  I'm using SocketCAN, but haven't found 
anything that would tell me when I get a bus off or bus heavy.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Purchase original Beaglebone (white)

2014-09-10 Thread Gerald Coley
If a distributor places and order we will ship them boards. We will not
make these boards and ship them without an order.

As you can see, Special Computing placed and order, we made them, and then
we shipped them.

Gerald

On Wed, Sep 10, 2014 at 8:29 AM, Special Computing specialc...@gmail.com
wrote:

 Special Computing still stocks BBW
 https://specialcomp.com/Beagleboard/bone.htm
 On Sep 10, 2014 5:27 AM, Edu Galvez edugalvez.eir...@gmail.com wrote:

 Just to not open a new post.
 Is the Beaglebone White discontinued?
 It is really hard to find any unit in stock.

 Thanks!

 --
 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.
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] how read I2C

2014-09-10 Thread keo . lcms

thanks for reply

I try this



*root@beaglebone:~# i2cset -y 1 0x49 0x01 0x60root@beaglebone:~# i2cget -y 
1 0x49 0x00 0xb016*

i thinks is correctly,
now i would like in node js

I try this







*var b=require('bonescript');var 
port='/dev/i2c-1';b.i2cOpen(port,0x49,{});b.i2cWriteBytes(port,0x01,0x60);r 
=b.i2cReadBytes(port,0x00,2);console.log(r);*

in the console show this result

Buffer 38 70

But now is not the same  
*0xb016*How i can do ?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] how convert command I2Cset and I2Cget to bonescript

2014-09-10 Thread keo . lcms
Hi all,
I read data I2C with this commande

*root@beaglebone:~# i2cset -y 1 0x49 0x01 0x60*
*root@beaglebone:~# i2cget -y 1 0x49 0x00 w   *
*0x2017*

How i can do for translate to bonescript ?

thank's for a lot for reply and help.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Cape battery charging

2014-09-10 Thread samthomasdigital
Thanks Gerald. I have found a couple of good tutorials also about 
compatible battery types. 

Sam.

On Wednesday, 10 September 2014 05:39:57 UTC+10, Gerald wrote:

 I suggest that you read the data sheet for the TPS65217 device before you 
 connect a battery to it. It is designed to charge certain types of 
 batteries, but you need to understand the limitations and requirements of 
 doing so before you do so.

 A peak at the schematic would also be advisable as well as reading the 
 System Reference Manual. http://www.elinux.org/Beagleboard:BeagleBoneBlack

 Gerald


 On Tue, Sep 9, 2014 at 2:07 PM, samthoma...@gmail.com javascript: 
 wrote:

 Hey Guys,

 I want to make up my own cape. I just need to know if I power the Bbb 
 through Vdd_5v if it will charge a lipo attached to the battery header on 
 the board.

 Cheers.

 --
 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...@googlegroups.com javascript:.
 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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Boards abilities

2014-09-10 Thread kevans
As I look at the Beaglebone, Raspberry Pi, etc, I see the possibility of using 
this small platform to carry curricula.  Would like input on the Beagleboard 
Black and the Beagleboard.

I have been developing Special Education curricula over the past decade, and 
have the idea of placing everything I've developed onto a board for a student 
to use independently. My thought was to have a Linux operating system preloaded 
with all the curricula, PDFs, html, videos, etc. The student would simply have 
a plug and play access to all the resources on the board. I would like some 
feedback from users if the platforms could support this idea. I have the very 
little knowledge in this area and looking to learn.

Any input on function, Pros and Cons of each board

If this is feasible I would prototype for beta within 1 month and demo in 
October.

Thanks, Ken

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] how read I2C

2014-09-10 Thread keo . lcms
thans's i try this

root@beaglebone:~# i2cset -y 1 0x49 0x01 0x60
root@beaglebone:~# i2cget -y 1 0x49 0x00 w   
0x3016
root@beaglebone:~# 

how use this the commande console same  with bonescript ?


Le lundi 8 septembre 2014 19:28:59 UTC+2, sbodd05 a écrit :

 The above command scans the i2c-1 bus and reports the device address 
 attached to it. In this case 0x54, 0x55, 0x56 and 0x57 are the device 
 addresses, which are EEPROMs. The UU indicates, the address is already 
 occupied by some driver.
 You can check the p9_20 (I2C2_SDA) for sent data and ack replied back by 
 devices in a oscilloscope, and p9_19 (I2C2_SCL) for i2c clock source.

 For better understanding regarding the i2c-tools follow the below 
 mentioned link -
 http://www.lm-sensors.org/wiki/i2cToolsDocumentation


 Thanks,
 S.B.

 On Sun, Sep 7, 2014 at 1:39 PM, keo@gmail.com javascript: wrote:

 Hi all,
 I would like use I2C, but l'm newbie
 i throw this 
 i2cdetect  -y -r 1

 this is response
  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
 00:  -- -- -- -- -- -- -- -- -- -- -- -- -- 
 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- 
 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 70: -- -- -- -- -- -- -- --  

 How read this response ?
 What we need for read the componement 
 if I mesure P9_19 and P9_20 i have a signal when i throw commande

 thianks for help :)

 -- 
 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...@googlegroups.com javascript:.
 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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Boards abilities

2014-09-10 Thread Michael M
There are more than a few comparison articles online. Some I've bookmarked 
in my journey are:

http://makezine.com/magazine/how-to-choose-the-right-platform-raspberry-pi-or-beaglebone-black/
http://www.doctormonk.com/2013/07/raspberry-pi-vs-beaglebone-black.html
http://lifehacker.com/how-to-pick-the-right-electronics-board-for-your-diy-pr-742869540

Based on your criteria, either board will work fine. Note that BBB is truly 
plug-and-play while the Raspberry Pi requires some (minimal) setup 
preparation.

On Wednesday, September 10, 2014 9:17:14 AM UTC-7, kev...@havenschools.com 
wrote:

 As I look at the Beaglebone, Raspberry Pi, etc, I see the possibility of 
 using this small platform to carry curricula.  Would like input on the 
 Beagleboard Black and the Beagleboard.

 I have been developing Special Education curricula over the past decade, 
 and have the idea of placing everything I've developed onto a board for a 
 student to use independently. My thought was to have a Linux operating 
 system preloaded with all the curricula, PDFs, html, videos, etc. The 
 student would simply have a plug and play access to all the resources on 
 the board. I would like some feedback from users if the platforms could 
 support this idea. I have the very little knowledge in this area and 
 looking to learn.

 Any input on function, Pros and Cons of each board

 If this is feasible I would prototype for beta within 1 month and demo in 
 October.

 Thanks, Ken



-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Needed BEAGLEBONE WL1835MOD W/ CHIP ANTENNA

2014-09-10 Thread Waxengecko
We have been looking for the BEAGLEBONE WL1835MOD W/ CHIP ANTENNA for 
sometime now without results. Does anyone have a few extra they would be 
willing to sell and ship to us?

Thanks

Coy 

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Needed BEAGLEBONE WL1835MOD W/ CHIP ANTENNA

2014-09-10 Thread Bill Traynor
On Wed, Sep 10, 2014 at 2:01 PM, Waxengecko coychrist...@gmail.com wrote:
 WL1835MOD W/ CHIP ANTEN

Is building some yourself out of the question?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Beaglebone Blacks that suddenly die.

2014-09-10 Thread ursus . marsden
I have four Beaglebone Blacks that have died. They all exhibit the same 
behavior. When the power is applied the Power LED flashes on then off. 
Each time power is applied this short sequence repeats. My first guess is 
that the power conditioning circuit is failing to produce/receive a power 
good signal.

My question is: Have others experience the same issue? Is there a path to 
resurrect these four boards?

Thanks.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: kernel source for bbb-exp-c

2014-09-10 Thread wesu
Can i build Yocto with this kernel?

Thanks
Wesu

Am Sonntag, 31. August 2014 16:56:29 UTC+2 schrieb Bradley Matusiak:

 i ordered the BBB-EXP-C and it came with the DVD of software.. i pulled 
 out the kernel and posted on github for a reference

 https://github.com/bmatusiak/bbb-exp-lcd7




-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Blacks that suddenly die.

2014-09-10 Thread Gerald Coley
http://www.elinux.org/Beagleboard:BeagleBoneBlack#Improper_Power_DownAll_Revisions

Gerald

On Wed, Sep 10, 2014 at 1:35 PM, ursus.mars...@gmail.com wrote:

 I have four Beaglebone Blacks that have died. They all exhibit the same
 behavior. When the power is applied the Power LED flashes on then off.
 Each time power is applied this short sequence repeats. My first guess is
 that the power conditioning circuit is failing to produce/receive a power
 good signal.

 My question is: Have others experience the same issue? Is there a path to
 resurrect these four boards?

 Thanks.

 --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: registering asynchronous events on kernel thread in user space

2014-09-10 Thread John Syn

From:  neo prag.in...@gmail.com
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Wednesday, September 10, 2014 at 5:13 AM
To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Subject:  Re: [beagleboard] Re: registering asynchronous events on kernel
thread in user space

 Hi Brandon 
 
 Thanks for the reply.
 I will summarize here what i found about controlling a GPIO and about using
 interrupts.
 1. Using sysfs one can easily control the gpio and using threading can
 re-create pseudo-interrupt from user space. Found a useful project called
 libsoc https://github.com/jackmitch/libsoc. They use threading along with
 polling using poll(2)
 2. Using mmap() one can import the memory space of the GPIO peripheral and
 with a combination of threads can re-create pseudo-interrupt from user space.
 Found useful project called BBBIOlib
 https://github.com/VegetableAvenger/BBBIOlib.
 3. Using /dev/input/event for controlling GPIO from user space.
 4. Using an LKM from kernel space where one can use request_irq() or
 request_threaded_irq() and using some kind of buffering to transfer the data
 to userspace. Here one will be writing actual interrupts. Some bits can be
 found here 
 http://processors.wiki.ti.com/index.php/GPIO_Driver_Guide#Sysfs_entries_config
 uration
 I have very good idea about 1 and 2.
 
 I am still working on 3- /dev/input and also on 4- about writing a real ISR.
 
 Although the above methods enable GPIO control I am not sure which will give
 me the highest performance.
 
 I read that using mmap() method gives faster switching on forums and the using
 sysfs gives the slowest switching rate. I am not sure about /dev/input method.
 The LKM method gives faster ISR and i am guessing that LKM in combination with
 mmap() will give faster response timings.
 
 Any thoughts on the above...

You are on the right path. One thing to remember, whenever you are doing any
I/O from user space, you are dealing with context switching and thread
scheduling, which means that your application won¹t respond to a GPIO event
for anywhere from a few ms to 100mS. This is true because of both the
interrupt latency in Linux and thread scheduler. In most cases, this is
fine, because the user doesn¹t know the difference. However, if you are
attempting to do some sort of control, then you may want to consider the
PRU. The PRU can still send events to your user space app. Another solution
might be Xenomai which reduces to interrupt latency to about 50uS on the
BBB, but you still have the context switch delay.

Regards,
John
 
 On Wednesday, September 10, 2014 8:20:18 AM UTC+5:30, Brandon I wrote:
 Before you jump into the kernel hole, is there a reason that you're not using
 the existing sysfs gpio interface
 (https://www.kernel.org/doc/Documentation/gpio/sysfs.txt) for the interrupts?
 
 Using this, if you set the gpio up as an interrupt with the sysfs interface,
 you poll() the value file and it will block until there's an interrupt. When
 it unblocks, you can read the current value.
 
 Or, you can make the gpio look like an event/button:
 http://bec-systems.com/site/281/how-to-implement-an-interrupt-driven-gpio-inp
 ut-in-linux
 
 Any sane way you do it will be the same at the low level. You'll have a read
 or ioctl function on the kernel device file that blocks in the kernel using a
 completion/semaphore, putting your process/thread to sleep. When the
 interrupt fires, the interrupt handler function is called to release the
 completion/semaphore, unblocking your process/thread and allowing it to
 continue executing. This unblocking is how the userspace program is signaled.
 
 So, if you *want* to reinvent the wheel, for understanding, then that's fine.
 But, there's an existing interface that exists, only a few lines of code
 away.
 
 --Brandon
 
 On Tue, Sep 9, 2014 at 7:10 PM, neo star prag@gmail.com javascript: 
 wrote:
 Hi Brandon 
 
 I read through the link, very informative thanks.I can create a thread to do
 the polling and signal me when its ready.
 But how to really write an ISR in arm. I see a lot of guides but they say
 that it will work in Intel processors but they are not sure about ARM.
 For sure from my readings i see that i need a kernel object to handle an
 ISR, But how to really do that.
 One example about how to handle interrupts is in
 http://stackoverflow.com/questions/15245626/simple-interrupt-handler-request
 -irq-returns-error-code-22
 The other one is request_threaded_irq() as mentioned by Kavita in the above
 post.
 Is there any How to and guide to writing one. Any links.
 Thanks.
 
 
 On Wednesday, September 10, 2014 12:59:08 AM UTC+5:30, Brandon I wrote:
 See UIO: https://www.kernel.org/doc/htmldocs/uio-howto/
 https://www.kernel.org/doc/htmldocs/uio-howto/
 
 The uio_pruss.c driver that comes with the pru package is a good example.
 
  I have written a kernel module that registers interrupts on the rising
 edge on a GPIO pin and want to relay this message 

Re: [beagleboard] Beaglebone Black rev B - Embedded QT and X Sever - Deployment OS Ubuntu

2014-09-10 Thread John Syn

On 9/10/14, 6:15 AM, Peter Gregory talkto...@gmail.com wrote:

I'm trying to get a good development system up and running for Beaglebone
Black and Ubuntu.
The goal is to launch an embedded GUI application on a LCD cape on boot.
The application will control a hardware project and that is all it does.
So it will be a special purpose device, not a general server.
The hardware leverages the Linux OS for WiFi, Sound, Graphics.

I'm open to using several development environments, QT, Mono, Java
Swing...
 I am on a Beaglebone Black rev B, so I'm limited to 2gb storage.
I'll need to have room for the application, so minimal size on the OS is
needed.

I tried to get a minimal system working with Ubuntu Trusty (14.04)
following the instructions to get the custom kernel running and SGX
drivers.
I could get the SGX demos to work (evil morphing skull works great) but
could not get the X server to work.
If you read the SGX release notes, Xorg is not supported.

http://processors.wiki.ti.com/index.php/RN_5_01_01_01#What_is_not_supported

TI are going to support wayland instead.

Regards,
John
The desktop would load, and show the login screen.
Keyboard works, so I can log in.
However, if I move the mouse, the system would freeze up solid.  Reboot
is the only option.
I used a cross compiler machine to build QT applications.  Console apps
worked great.  GUI failed.
I could get the pre-compiled examples to work with LinuxFB (Fingerpaint)
but my custom compiled GUI would not work.

I dropped back to precise (12.04) and QT 4.8
X server works well for that version, but it is a bit slow.
Loading the entire desktop allows me to run QT GUI programs.
Now I'm trying to get a minimal X server QT build working.
I don't need the desktop, just enough of X server to run QT applications.
Has anyone been able to get a good minimal embedded QT environment to
work?
If so, did you do it using linux packages or compiling and installing
source code?
Did you end up installing the entire desktop or is there a minimum X
server install that will run QT applications?

-- 
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.
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Blacks that suddenly die.

2014-09-10 Thread Chris Morgan
I would be interested in the outcome of this investigation. We are
using the bbb in a commercial setting, through CircuitCo, and I'm not
sure what the power down ramp will look like. It is possible (and
likely) that the voltage falloff will be slow compared to a quick
unplug, but our devices power up and down relatively frequently.

Any guidance on this would be appreciated.

Chris




On Wed, Sep 10, 2014 at 3:17 PM, Gerald Coley ger...@beagleboard.org wrote:
 http://www.elinux.org/Beagleboard:BeagleBoneBlack#Improper_Power_DownAll_Revisions

 Gerald

 On Wed, Sep 10, 2014 at 1:35 PM, ursus.mars...@gmail.com wrote:

 I have four Beaglebone Blacks that have died. They all exhibit the same
 behavior. When the power is applied the Power LED flashes on then off.
 Each time power is applied this short sequence repeats. My first guess is
 that the power conditioning circuit is failing to produce/receive a power
 good signal.

 My question is: Have others experience the same issue? Is there a path to
 resurrect these four boards?

 Thanks.

 --
 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.
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Blacks that suddenly die.

2014-09-10 Thread Gerald Coley
I am working on this in my spare time. Basic concept is that you need
enough power after you pull power to give the PMIC time to ramp the voltage
rails down in order so as not to violate the specification of the
processor..

Best idea so far is a super cap on the battery connections. That would
require SW to start the shutdown process once power was detected as being
removed. I am trying to find a way to do this that won't add too much cost
and that does not rely on the SW to start the shutdown process..

Gerald

On Wed, Sep 10, 2014 at 2:34 PM, Chris Morgan chmor...@gmail.com wrote:

 I would be interested in the outcome of this investigation. We are
 using the bbb in a commercial setting, through CircuitCo, and I'm not
 sure what the power down ramp will look like. It is possible (and
 likely) that the voltage falloff will be slow compared to a quick
 unplug, but our devices power up and down relatively frequently.

 Any guidance on this would be appreciated.

 Chris




 On Wed, Sep 10, 2014 at 3:17 PM, Gerald Coley ger...@beagleboard.org
 wrote:
 
 http://www.elinux.org/Beagleboard:BeagleBoneBlack#Improper_Power_DownAll_Revisions
 
  Gerald
 
  On Wed, Sep 10, 2014 at 1:35 PM, ursus.mars...@gmail.com wrote:
 
  I have four Beaglebone Blacks that have died. They all exhibit the
 same
  behavior. When the power is applied the Power LED flashes on then off.
  Each time power is applied this short sequence repeats. My first guess
 is
  that the power conditioning circuit is failing to produce/receive a
 power
  good signal.
 
  My question is: Have others experience the same issue? Is there a path
 to
  resurrect these four boards?
 
  Thanks.
 
  --
  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.
  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.
  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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Blacks that suddenly die.

2014-09-10 Thread William Hermans
Gerald, hey question: This design you're working on will not stand in the
way of us  users doing our own thing. Will it ? I'm assuming you'd be
implementing this into the next revision, or even board, but . . . Yeah
assumptions . . .

On Wed, Sep 10, 2014 at 12:45 PM, Gerald Coley ger...@beagleboard.org
wrote:

 I am working on this in my spare time. Basic concept is that you need
 enough power after you pull power to give the PMIC time to ramp the voltage
 rails down in order so as not to violate the specification of the
 processor..

 Best idea so far is a super cap on the battery connections. That would
 require SW to start the shutdown process once power was detected as being
 removed. I am trying to find a way to do this that won't add too much cost
 and that does not rely on the SW to start the shutdown process..

 Gerald

 On Wed, Sep 10, 2014 at 2:34 PM, Chris Morgan chmor...@gmail.com wrote:

 I would be interested in the outcome of this investigation. We are
 using the bbb in a commercial setting, through CircuitCo, and I'm not
 sure what the power down ramp will look like. It is possible (and
 likely) that the voltage falloff will be slow compared to a quick
 unplug, but our devices power up and down relatively frequently.

 Any guidance on this would be appreciated.

 Chris




 On Wed, Sep 10, 2014 at 3:17 PM, Gerald Coley ger...@beagleboard.org
 wrote:
 
 http://www.elinux.org/Beagleboard:BeagleBoneBlack#Improper_Power_DownAll_Revisions
 
  Gerald
 
  On Wed, Sep 10, 2014 at 1:35 PM, ursus.mars...@gmail.com wrote:
 
  I have four Beaglebone Blacks that have died. They all exhibit the
 same
  behavior. When the power is applied the Power LED flashes on then
 off.
  Each time power is applied this short sequence repeats. My first guess
 is
  that the power conditioning circuit is failing to produce/receive a
 power
  good signal.
 
  My question is: Have others experience the same issue? Is there a path
 to
  resurrect these four boards?
 
  Thanks.
 
  --
  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.
  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.
  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.
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Black rev B - Embedded QT and X Sever - Deployment OS Ubuntu

2014-09-10 Thread Peter Gregory
Wayland!  That's what I was missing.
I was installing ubuntu-desktop.
Looks like I'll be flashing a new image tonight and giving it a try.
Thanks!

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Boards abilities

2014-09-10 Thread William Hermans
Raspberry PI Pro's
Graphics.

Beagelbone Black Pro's
Everything else.

Technically, as what is in the reference material, the rPI is supposed to
use less power too. However, according to the documents I've read, this
does not include the power used by the graphics. Which can be quite
substantial. About the graphics, it is very good on paper, and in real
world usage. So if you intend to use video, graphics, maybe even play games
( does not sound like it ), the rPI is the way to go. I've also read that
the rPI is supposed to have a faster sd card implementation, but I can not
confirm that personally.

I'd say the major pro's for the Beaglebone Black would have to be processor
speed, and availability( at a reasonable cost ). That is for your use case.
Also, setup time is nearly non existent when compared to the rPI. Since the
OS comes pre-installed. I've read that you *can* buy pre-installed
whatever sd cards for the PI, but that's an added cost.

On Wed, Sep 10, 2014 at 11:25 AM, Michael M mmcdani...@gmail.com wrote:

 There are more than a few comparison articles online. Some I've bookmarked
 in my journey are:


 http://makezine.com/magazine/how-to-choose-the-right-platform-raspberry-pi-or-beaglebone-black/
 http://www.doctormonk.com/2013/07/raspberry-pi-vs-beaglebone-black.html

 http://lifehacker.com/how-to-pick-the-right-electronics-board-for-your-diy-pr-742869540

 Based on your criteria, either board will work fine. Note that BBB is
 truly plug-and-play while the Raspberry Pi requires some (minimal) setup
 preparation.


 On Wednesday, September 10, 2014 9:17:14 AM UTC-7, kev...@havenschools.com
 wrote:

 As I look at the Beaglebone, Raspberry Pi, etc, I see the possibility of
 using this small platform to carry curricula.  Would like input on the
 Beagleboard Black and the Beagleboard.

 I have been developing Special Education curricula over the past decade,
 and have the idea of placing everything I've developed onto a board for a
 student to use independently. My thought was to have a Linux operating
 system preloaded with all the curricula, PDFs, html, videos, etc. The
 student would simply have a plug and play access to all the resources on
 the board. I would like some feedback from users if the platforms could
 support this idea. I have the very little knowledge in this area and
 looking to learn.

 Any input on function, Pros and Cons of each board

 If this is feasible I would prototype for beta within 1 month and demo in
 October.

 Thanks, Ken

  --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Boards abilities

2014-09-10 Thread William Hermans
I should mention that the rPI's graphics are nearly or exactly impossible
to disable the graphics chip. SO that additional power that is not counted
in the power usage benchmarks will always be used.

On Wed, Sep 10, 2014 at 1:30 PM, William Hermans yyrk...@gmail.com wrote:

 Raspberry PI Pro's
 Graphics.

 Beagelbone Black Pro's
 Everything else.

 Technically, as what is in the reference material, the rPI is supposed
 to use less power too. However, according to the documents I've read, this
 does not include the power used by the graphics. Which can be quite
 substantial. About the graphics, it is very good on paper, and in real
 world usage. So if you intend to use video, graphics, maybe even play games
 ( does not sound like it ), the rPI is the way to go. I've also read that
 the rPI is supposed to have a faster sd card implementation, but I can not
 confirm that personally.

 I'd say the major pro's for the Beaglebone Black would have to be
 processor speed, and availability( at a reasonable cost ). That is for your
 use case. Also, setup time is nearly non existent when compared to the rPI.
 Since the OS comes pre-installed. I've read that you *can* buy
 pre-installed whatever sd cards for the PI, but that's an added cost.

 On Wed, Sep 10, 2014 at 11:25 AM, Michael M mmcdani...@gmail.com wrote:

 There are more than a few comparison articles online. Some I've
 bookmarked in my journey are:


 http://makezine.com/magazine/how-to-choose-the-right-platform-raspberry-pi-or-beaglebone-black/
 http://www.doctormonk.com/2013/07/raspberry-pi-vs-beaglebone-black.html

 http://lifehacker.com/how-to-pick-the-right-electronics-board-for-your-diy-pr-742869540

 Based on your criteria, either board will work fine. Note that BBB is
 truly plug-and-play while the Raspberry Pi requires some (minimal) setup
 preparation.


 On Wednesday, September 10, 2014 9:17:14 AM UTC-7,
 kev...@havenschools.com wrote:

 As I look at the Beaglebone, Raspberry Pi, etc, I see the possibility of
 using this small platform to carry curricula.  Would like input on the
 Beagleboard Black and the Beagleboard.

 I have been developing Special Education curricula over the past decade,
 and have the idea of placing everything I've developed onto a board for a
 student to use independently. My thought was to have a Linux operating
 system preloaded with all the curricula, PDFs, html, videos, etc. The
 student would simply have a plug and play access to all the resources on
 the board. I would like some feedback from users if the platforms could
 support this idea. I have the very little knowledge in this area and
 looking to learn.

 Any input on function, Pros and Cons of each board

 If this is feasible I would prototype for beta within 1 month and demo
 in October.

 Thanks, Ken

  --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Black rev B - Embedded QT and X Sever - Deployment OS Ubuntu

2014-09-10 Thread John Syn

On 9/10/14, 1:10 PM, Peter Gregory talkto...@gmail.com wrote:

Wayland!  That's what I was missing.
I was installing ubuntu-desktop.
Looks like I'll be flashing a new image tonight and giving it a try.
Thanks!
From QT, you need qtwayland.

Regards,
John

-- 
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.
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Fail over to USB power when disconnecting AC power supply

2014-09-10 Thread jsheridan
When disconnecting the AC power supply while also connected via USB the BBB 
is doing a soft shutdown. I used acpid_listen with acpid.service stopped to 
see the event it's generating and it is registering it as button/power 
PBTN 0080  which is the same event as the power button press. 
How can I make it register a different event so that I can fail over to USB 
or battery? I am getting the values correctly from the TPS65217C  to detect 
AC or USB power so detection is not the issue.


Using:
acpid-2.0.23
RCN's Debian Jessie-bone64

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: registering asynchronous events on kernel thread in user space

2014-09-10 Thread Brandon I
 pseudo-interrupt from user space

There's nothing pseudo about it. Again, any usual way to have a userspace
application respond to an interrupt will be the exact same. The kernel will
block the userspace process until the interrupt is seen. The only real
alternative is burning up the cpu with memory polling, which appears to be
what the BBIOlib method uses. So, your latency is limited to your poll
speed (which can be faster than interrupts). But, if you have a constant
poll for minimum latency, lets hope you're not trying to do something
important elsewhere since your cpu usage will be at 100%, and you'll be
maximizing process to process context switching!

For 4, The only difference between a userspace and kernel space interrupt
handler is where the code is that responds to the interrupt. You will only
benefit from writing your own interrupt handler if you put all of your code
that does something with that interrupt in the kernel. Otherwise, you're
back to process blocked by kernel, interrupt occurs, kernel unblocks
process, process does something after seeing the interruptback to the
sysfs/UIO method.

I would try some benchmarks. See if the regular UIO/sysfs interrupt method
gives you sufficient performance. And definitely keep in mind John's
statement. You're going to see a massive amount of jitter for anything in
userspace or kernel space (better jitter since you can disable interrupts
and whatnot, but if you don't finish quickly in kernel space, you'll crash
the kernel).

If something like a precise timestamp is needed for an async event, then
there are other ways to approach this. If you're looking for fixed low
latency, you're doomed.

On Wed, Sep 10, 2014 at 5:13 AM, neo prag.in...@gmail.com wrote:

 pseudo-interrupt from user space

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: registering asynchronous events on kernel thread in user space

2014-09-10 Thread John Syn

From:  Brandon I brandon.ir...@gmail.com
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Wednesday, September 10, 2014 at 1:55 PM
To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Subject:  Re: [beagleboard] Re: registering asynchronous events on kernel
thread in user space

  pseudo-interrupt from user space
 
 There's nothing pseudo about it. Again, any usual way to have a userspace
 application respond to an interrupt will be the exact same. The kernel will
 block the userspace process until the interrupt is seen. The only real
 alternative is burning up the cpu with memory polling, which appears to be
 what the BBIOlib method uses. So, your latency is limited to your poll speed
 (which can be faster than interrupts). But, if you have a constant poll for
 minimum latency, lets hope you're not trying to do something important
 elsewhere since your cpu usage will be at 100%, and you'll be maximizing
 process to process context switching!
 
 For 4, The only difference between a userspace and kernel space interrupt
 handler is where the code is that responds to the interrupt. You will only
 benefit from writing your own interrupt handler if you put all of your code
 that does something with that interrupt in the kernel. Otherwise, you're back
 to process blocked by kernel, interrupt occurs, kernel unblocks process,
 process does something after seeing the interruptback to the sysfs/UIO
 method.
 
 I would try some benchmarks. See if the regular UIO/sysfs interrupt method
 gives you sufficient performance. And definitely keep in mind John's
 statement. You're going to see a massive amount of jitter for anything in
 userspace or kernel space (better jitter since you can disable interrupts and
 whatnot, but if you don't finish quickly in kernel space, you'll crash the
 kernel).
 
 If something like a precise timestamp is needed for an async event, then there
 are other ways to approach this. If you're looking for fixed low latency,
 you're doomed.
I agree with everything Brandon just articulated.

Regards,
John
 
 On Wed, Sep 10, 2014 at 5:13 AM, neo prag.in...@gmail.com wrote:
 pseudo-interrupt from user space
 
 
 
 -- 
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Needed BEAGLEBONE WL1835MOD W/ CHIP ANTENNA

2014-09-10 Thread coychristmas
We can but we are on a pretty tight line. 



On Wednesday, September 10, 2014 2:14:21 PM UTC-5, Bill Traynor wrote:

 On Wed, Sep 10, 2014 at 2:01 PM, Waxengecko coychr...@gmail.com 
 javascript: wrote: 
  WL1835MOD W/ CHIP ANTEN 

 Is building some yourself out of the question? 


-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Kernel 3.15.10 bone 8 + 4D LCD7 cape failed on BBB

2014-09-10 Thread Cedric Malitte
Hi all,

First thanks to Robert and other contributors for having put dts files for the 
capes in the kernel tree.

I've been away from BBB those last weeks because of work, and back on it after 
having played a bit with Qt5, opengl, pruss and ldc4 cape...
I found out my fingers are way too big for the 4.3 screen, in fact I have too 
many buttons and text for my application.

So I bought a 4D LCD7 cape, pulled the new kernel 3.15 and built it.

I disabled HDMI, added the include for the cape, tried to boot and nothing on 
screen.
Backlight is on, screen initialize but on the console I have: 
tilcdc 4830e000.fb: timeout waiting for framedone.

LCD4 from circuitco is fine with kernel built the same way, and LCD7 is working 
fine under 3.8.13 base image on emmc.

I did not had time to investigate any further because it was almost time to get 
the kids at school, but I'll check more in depth tomorrow.

But if anyone went across this kind of trouble and fixed it, would be glad to 
hear what has been done.

Regards,

Cedric

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BeagleBone Black switching to 3.14 kernel

2014-09-10 Thread Cedric Malitte
Thanks for posting, 
I'll try that ;)

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Having trouble calibrating LCD7 with no XDM

2014-09-10 Thread Cedric Malitte
Ok, topic is a few weks old but if you're still stuck on this...

You should read this : 
http://embedded.von-kannen.net/2014/05/21/qt-4-8-6-on-beaglebone-black/

I use tslib for touchscreen under Qt4, and you can calibrate the screen with 
ts_calibrate and then use the touchscreen for qt apps.

I came across another problem, being the pressure needed on the screen, but 
that's something todo on my list.

Under qt5 there's evdevtouchscreen wich is also working.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Start QT Application on bootup on Beaglebone Black

2014-09-10 Thread Tim Cole
You've accomplished more than I've managed to do. Could you suggest some 
references I could check so I can figure out what silly mistakes I'm making?

Cheers, Tim


On Tuesday, September 9, 2014 3:57:58 AM UTC-4, Mickae1 wrote:

 you should switch to debian, you will have more help from the Debian 
 community . I've a BBB under debian which start QT at bootup !

 Micka,

 Le dimanche 7 septembre 2014 14:03:35 UTC+2, Mahendra Gunawardena a écrit :


 Below is picture of the display on bootup. Expected display output is 
 overwritten by Angstrom screen 


 https://lh6.googleusercontent.com/-0ZA2QPRpNi8/VAxGxNd11yI/ABs/lvJbktseYgY/s1600/IMG_3852.JPG
 Expected Display output


 https://lh4.googleusercontent.com/-6jEzdpYTOQ0/VAxG86ZQFzI/AB0/LcFlyIPkwfE/s1600/IMG_3853.JPG
 The expected display output briefly appears but is overwritten by the 
 Angstrom text based image. But occasionally the expected display 
 appears. Then the dynamic widgets update the screen but the static 
 information is not visible. The issues appears to be timing, and if the 
 BBB can be forced to start the QT application after complete bootup of BBB 
 that would suffices the current needs.
  
 Application is been started as a service. Below is the content of the 
 service file

 [Unit]
 Description=QTAccelerometer GUI
 After=systemd-user-sessions.service

 [Service]
 WorkingDirectory=/home/root/projects/qt-projects
 ExecStart=/home/root/projects/qt-projects/QTAccelerometer -qws
 SyslogIdentifier=QTAccelerometer
 Restart=on-failure
 RestartSec=5

 [Install]
 Alias=display-manager.service


 Below are the other options tried without success

 [Install]
 WantedBy=multi-user.target
 WantedBy=graphical.target


 *References*

- Creating Ångström System Services on BeagleBone Black 
http://mattrichardson.com/BeagleBone-System-Services/

 I have also posted this question on Stackoverflow 
 http://stackoverflow.com/questions/25701662/start-qt-application-on-bootup-on-an-embedded-linux-device-beaglebone-black
 .

 Thank you in advance

 Mahen



-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black switching to 3.14 kernel

2014-09-10 Thread William Hermans
So, at this point in time. What can we expect that is better with 3.14
versus 3.8 ? I do not personally have a problem using #include for various
capes if need be, but I am wondering if USB hotplug, and / or if USB
support is better. As was with 3.15.

On Wed, Sep 10, 2014 at 5:42 PM, Cedric Malitte cedric.mali...@gmail.com
wrote:

 Thanks for posting,
 I'll try that ;)

 --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.15.10 bone 8 + 4D LCD7 cape failed on BBB

2014-09-10 Thread Robert Nelson
On Wed, Sep 10, 2014 at 7:36 PM, Cedric Malitte
cedric.mali...@gmail.com wrote:
 Hi all,

 First thanks to Robert and other contributors for having put dts files for 
 the capes in the kernel tree.

 I've been away from BBB those last weeks because of work, and back on it 
 after having played a bit with Qt5, opengl, pruss and ldc4 cape...
 I found out my fingers are way too big for the 4.3 screen, in fact I have too 
 many buttons and text for my application.

 So I bought a 4D LCD7 cape, pulled the new kernel 3.15 and built it.

 I disabled HDMI, added the include for the cape, tried to boot and nothing on 
 screen.
 Backlight is on, screen initialize but on the console I have:
 tilcdc 4830e000.fb: timeout waiting for framedone.

 LCD4 from circuitco is fine with kernel built the same way, and LCD7 is 
 working fine under 3.8.13 base image on emmc.

 I did not had time to investigate any further because it was almost time to 
 get the kids at school, but I'll check more in depth tomorrow.

 But if anyone went across this kind of trouble and fixed it, would be glad to 
 hear what has been done.

Which version of the lcd7 is it?

on v3.8.x

dmesg | grep cape

will tell us everything. (revision etc..)

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black switching to 3.14 kernel

2014-09-10 Thread Robert Nelson
On Wed, Sep 10, 2014 at 8:02 PM, William Hermans yyrk...@gmail.com wrote:
 So, at this point in time. What can we expect that is better with 3.14
 versus 3.8 ? I do not personally have a problem using #include for various
 capes if need be, but I am wondering if USB hotplug, and / or if USB
 support is better. As was with 3.15.

usb/ethernet/pm is better.

Right now we are integrating Charles's universal pinmux, which will
allow you to 'mux' enabled peripherals on the fly.

Regards,
-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black switching to 3.14 kernel

2014-09-10 Thread William Hermans
Thanks Robert. pm == power management ? If so how is it better ?

On Wed, Sep 10, 2014 at 6:31 PM, Robert Nelson robertcnel...@gmail.com
wrote:

 On Wed, Sep 10, 2014 at 8:02 PM, William Hermans yyrk...@gmail.com
 wrote:
  So, at this point in time. What can we expect that is better with 3.14
  versus 3.8 ? I do not personally have a problem using #include for
 various
  capes if need be, but I am wondering if USB hotplug, and / or if USB
  support is better. As was with 3.15.

 usb/ethernet/pm is better.

 Right now we are integrating Charles's universal pinmux, which will
 allow you to 'mux' enabled peripherals on the fly.

 Regards,
 --
 Robert Nelson
 http://www.rcn-ee.com/

 --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black switching to 3.14 kernel

2014-09-10 Thread Robert Nelson
On Wed, Sep 10, 2014 at 8:41 PM, William Hermans yyrk...@gmail.com wrote:
 Thanks Robert. pm == power management ? If so how is it better ?

echo mem  /sys/power/state

actually works..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black switching to 3.14 kernel

2014-09-10 Thread William Hermans
Very nice. thanks Robert.

On Wed, Sep 10, 2014 at 6:46 PM, Robert Nelson robertcnel...@gmail.com
wrote:

 On Wed, Sep 10, 2014 at 8:41 PM, William Hermans yyrk...@gmail.com
 wrote:
  Thanks Robert. pm == power management ? If so how is it better ?

 echo mem  /sys/power/state

 actually works..

 Regards,

 --
 Robert Nelson
 http://www.rcn-ee.com/

 --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Bad data returned on UART2

2014-09-10 Thread Bob Mancarella
I am running the latest official bbb Debian from an sd card. I have a cape that 
accepts a string and returns a string. The problem is the returned string is 
correct accept that random characters are missing. For example if the expected 
return is this is a test it returns thsa tst. I am using minicom to test. 
All the configs are correct so it has to be something in the Debian setup.

Anybody have any idea what this could be?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Black rev B - Embedded QT and X Sever - Deployment OS Ubuntu

2014-09-10 Thread wingli...@163.com

于 2014-9-10 21:15, Peter Gregory 写道:

trying to get a minimal X server QT build working.
I am doing the same thing at TI 8148。 I had make a ubuntu 12.04 with 
x,jwm,and QT 4.8 for x11.
It take less than 500mb. A ubuntu without X is about 300mb in my 
experience. Adding a standalone QT
, it take about 400mb. So I decided to use the ubuntu with X and a small 
WM at last.



--
Vinge


--
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.
For more options, visit https://groups.google.com/d/optout.