[beagleboard] Writes to SDcards ... In search of the guilty task

2014-12-14 Thread meino . cramer
Hi, before I go crazy...one question: On my BBB the file /sys/fs/ext4/mmcblk0p2/session_write_kbytes reports a steadily increasing count to writes to mmcblk0p2 (root). Regardsless what I trying to identify the process...I cant find it. There seems no file be written and no task does any

[beagleboard] How to use GPIO on Ubuntu OS not Angstrom OS?

2014-12-14 Thread xuantruong1911
Hello everybody, I'm newbie in Beagleboard-xM, I had installed Ubuntu OS on bbxm, but I can't configure GPIO on it. On Angstrom, I can change mode at /sys/kernel/debug/omap_mux/ but on Ubuntu OS, omap_mux directory just have 1 empty board folder. I just want using GPIO on Ubuntu OS I also

Re: [beagleboard] gpio problem (bbxm with ubuntu)

2014-12-14 Thread xuantruong1911
Hi Robert Nelson, How I can update the *.dtb? That's exactly problem of my beagleboard with Ubuntu OS 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

[beagleboard] Process Dies after 5 mins

2014-12-14 Thread Kevin D'Souza
Hello Guys I am using a BEaglebone BLack with Debian. I added a service to startup using update-rc.d myprogram defaults. the program starts at startup but it is killed automatically after 5 mins. How can i keep it alive forever? I dont want it to die. Regards, Kevin -- For more options,

Re: [beagleboard] Process Dies after 5 mins

2014-12-14 Thread evilwulfie
Restart it upon death with e cron job ? what program and why is it exiting ? On 12/14/2014 9:38 AM, Kevin D'Souza wrote: Hello Guys I am using a BEaglebone BLack with Debian. I added a service to startup using update-rc.d myprogram defaults. the program starts at startup but it is

Re: [beagleboard] Process Dies after 5 mins

2014-12-14 Thread meino . cramer
Just a shot in the dark: Is it possible, that the process in question is writing a hidden temporary on a tmpfs-filesystem, which returns no space left on device after 5 mins of writing to it and the application does not handle that error very wel and dies. Due to the missing close the file

[beagleboard] html5 video

2014-12-14 Thread Vijairaj R
Hello, I am trying to setup BBB to play html5 videos in chromium and output through HDMI to a TV... The status so far is as follows (Thanks to the images from rcn-ee.net): * Booting Ubuntu 14.10 through a uSD. * Installed the pvr kernel drviers. * Installed the SGX userspace libraries and demos.

[beagleboard] Re: E: You don't have enough free space in /var/cache/apt/archives/

2014-12-14 Thread Graham
As an alternative to Robert's answer ... If you have access to a Linux computer, you can plug the microSD card into the Linux computer and use the application Gparted to expand the partition to the full size of the card. Since Gparted has a GUI, you get to see what is going on. --- Graham

Re: [beagleboard] Process Dies after 5 mins

2014-12-14 Thread Kevin D'Souza
nono the process just does UART work up and down (transferring data between UARTS). If i keep the process open in a terminal it runs indefinitley. if i run it under the init.d after 5mins it goes off. no blocking calls, no file io. is there a way to spawn the process via systemd and keep

Re: [beagleboard] Process Dies after 5 mins

2014-12-14 Thread meino . cramer
Hi, then the process is missing a controling terminal. Try to start it with nohup from the script to verify that. Kevin D'Souza kevin.dsouza3...@gmail.com [14-12-14 20:28]: nono the process just does UART work up and down (transferring data between UARTS). If i keep the process open in

Re: [beagleboard] Process Dies after 5 mins

2014-12-14 Thread Kevin D'Souza
nohup ./myprocess i put this in a .sh and ran it via init.d it doenst spawn the service. . On Monday, December 15, 2014 1:00:01 AM UTC+5:30, meino@gmx.de wrote: Hi, then the process is missing a controling terminal. Try to start it with nohup from the script to verify that.

Re: [beagleboard] Process Dies after 5 mins

2014-12-14 Thread Kevin D'Souza
ok so i updated rc.local inside /etc added nohup /pathtomyprogram/program exit 0 works well. the Plays an important role and also the /path has to be the custom path and not inside /etc i was trying that before. now i just moved it outside. THanks Guys!. CHeers! On Monday, December

Re: [beagleboard] Re: i2c read failed

2014-12-14 Thread Tux Leonard
Pin 17 and 18 belong to /dev/i2c-0 in my opinion. So try to change your code to fd = open(/dev/i2c-0, O_RDWR); or use pin 19 and 20. To find your device use the i2cdetect command. For i2c-0 use: sudo i2cdetect -r 0 and for i2c-1 use sudo i2cdetect -r 1 2014-12-11 20:59 GMT+01:00 Jesse Cobra

[beagleboard] clpru command preventing install of PRU library

2014-12-14 Thread Joshua Smith
Previously I followed this minimal tutorial http://mythopoeic.org/bbb-pru-minimal/ for doing a hello world for the PRU-ICSS, and was successful in verifying that I can compile assembly code to work with the PRUs. However, when I went out to try PRUSS-C https://github.com/BeaglePilot/PRUSS-C

Re: [beagleboard] clpru command preventing install of PRU library

2014-12-14 Thread Robert Nelson
On Sun, Dec 14, 2014 at 4:14 PM, Joshua Smith jrsmi...@ncsu.edu wrote: Previously I followed this minimal tutorial for doing a hello world for the PRU-ICSS, and was successful in verifying that I can compile assembly code to work with the PRUs. However, when I went out to try PRUSS-C on my

[beagleboard] Re: clpru command preventing install of PRU library

2014-12-14 Thread Joshua Smith
Thank you. Installing that bit of software did the trick. On Sunday, December 14, 2014 5:14:24 PM UTC-5, Joshua Smith wrote: Previously I followed this minimal tutorial http://mythopoeic.org/bbb-pru-minimal/ for doing a hello world for the PRU-ICSS, and was successful in verifying that I

[beagleboard] Include fbTFT in the mainline Linux kernel

2014-12-14 Thread Newton
Hello, I think it's a good idea to include fbTFT drivers into the mainline Linux kernel(the Beaglebone fork of course). This will permit the use of low-cost screens more easily. Because Actually except for official capes it is really hard to develop with screens, and generally with objects non

Re: [beagleboard] Include fbTFT in the mainline Linux kernel

2014-12-14 Thread Robert Nelson
On Sun, Dec 14, 2014 at 6:15 PM, Newton thom0...@gmail.com wrote: Hello, I think it's a good idea to include fbTFT drivers into the mainline Linux kernel(the Beaglebone fork of course). This will permit the use of low-cost screens more easily. Because Actually except for official capes it is

Re: [beagleboard] Include fbTFT in the mainline Linux kernel

2014-12-14 Thread Robert Nelson
On Sun, Dec 14, 2014 at 6:20 PM, Robert Nelson robertcnel...@gmail.com wrote: On Sun, Dec 14, 2014 at 6:15 PM, Newton thom0...@gmail.com wrote: Hello, I think it's a good idea to include fbTFT drivers into the mainline Linux kernel(the Beaglebone fork of course). This will permit the use of

[beagleboard] Re: Include fbTFT in the mainline Linux kernel

2014-12-14 Thread Newton
*unofficial sorry ^^ -- 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

Re: [beagleboard] Include fbTFT in the mainline Linux kernel

2014-12-14 Thread Newton
I have not tested it yet (I'll probably do it soon, but must I learn about kernel compilation etc), so I can not real advise you. Anyway thank you for responding so quickly and sorry for syntax errors in my first post I did not read me: p Le lundi 15 décembre 2014 01:20:39 UTC+1, RobertCNelson

Re: [beagleboard] Qt 5.4 on BBB OpenGL: Linux is dead after execute examples. Keyboard and mouse have no response.

2014-12-14 Thread liyaoshi
As I know , Ti's Graphic driver will not support 3.18 kernel for current now You should use 3.12 to match the ti graphic driver 2014-12-14 12:07 GMT+08:00 Yang Lei y34...@gmail.com: Thanks! I tried adding -platform eglfs but the result is still the same. Either mouse and keyboard doesn't

Re: [beagleboard] Qt 5.4 on BBB OpenGL: Linux is dead after execute examples. Keyboard and mouse have no response.

2014-12-14 Thread Yang Lei
Thank you for the respond. However, I've successfully run the Graphic's demo program on 3.18 kernel. Does that mean the Graphic driver has no problem? Thanks! On Sun, Dec 14, 2014 at 9:14 PM, liyaoshi liyao...@gmail.com wrote: As I know , Ti's Graphic driver will not support 3.18 kernel for

Re: [beagleboard] Qt 5.4 on BBB OpenGL: Linux is dead after execute examples. Keyboard and mouse have no response.

2014-12-14 Thread Don deJuan
On 12/14/2014 06:23 PM, Yang Lei wrote: Thank you for the respond. However, I've successfully run the Graphic's demo program on 3.18 kernel. Does that mean the Graphic driver has no problem? Thanks! On Sun, Dec 14, 2014 at 9:14 PM, liyaoshi liyao...@gmail.com mailto:liyao...@gmail.com wrote:

Re: [beagleboard] Qt 5.4 on BBB OpenGL: Linux is dead after execute examples. Keyboard and mouse have no response.

2014-12-14 Thread Robert Nelson
Why not just install Arch Linux ARM and pacman -S qt5 and be done with it? You should re-read the thread. You'll find even Arch Linux ARM can't solve this, as you'd still have to manually rebuild qt5 with the un-distributable sgx lib bits. Sorry Arch isn't always the answer.. Regards, --

[beagleboard] Re: i2c read failed

2014-12-14 Thread aryaksasidharan
Hi everyone, I tried i2c communication with p9_17 and p9_18 with /dev/i2c-0 and /dev/i2c-1. I got same error in both cases: Remote I/O error. But my ioctl() function is working and i got '0' return value(success). Now i am confused with pull up resistors. Is it necessary to pull up p9_17 and

[beagleboard] Re: heating problem

2014-12-14 Thread csumik
my power led is off On Friday, December 12, 2014 7:08:32 PM UTC+5:30, csu...@idapl.in wrote: hello everyone, from last few hours my beaglebone black is heating very fast problem when i am connecting to external 5v power supply, and when i want to supply the power through usb the boot is

[beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread Anubhav Goel
Hi Kenny, I have the same requirement, were you able to get any workaround to this ? I looked into bbb to find any default locations , like /boot/uEnv.txt .. but it doesnt work , if I delete the file from media , but the /boot/uenv.txt file is not picked up. I was unable to find any other

Re: [beagleboard] Process Dies after 5 mins

2014-12-14 Thread William Hermans
*nohup /pathtomyprogram/program * */pathtomyprogram/program *Probably would have worked without nohup. terminating a command will run the process in the background, e.g. a subshell. nohup is used for keeping processes from exiting after a terminal logout. e.g. it catches the hangup signal,

[beagleboard] power issue on beaglebone black

2014-12-14 Thread csumik
hello everyone i am facing a problem of on beaglebone black 1) when i am supplying the external 5v power supply, the power led is on and in 2 minutes of time the board becomes very hot and it is not been able to access. 2) when i am supplying power using usb ,the power led on a board blink

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread William Hermans
*My users may accidentally delete the mlo/uboot/uenv files, if presented over their desktop.* There are a few ways to deal with this*. *Just do not mount the boot loader partition. Would probably be the easiest for you. If you want to do what I would consider the right way, then put a modern

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread Anubhav Goel
Hi William, Thanks for your quick response. I cannot really move to the debian, as it has taken me a lot of effort :) , to understand my way around angstrom.. it will be very steep curve for me as of now. I was thinking, is there no way to create a new vfat partition on bbb, and expose that on

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread meino . cramer
Hi Anubhav, do not move uEnv.txt, the U-Boot image and the kernel images around. Due to the limited technical possibilities of the very early boot stages, these files are exspected to be at certain physical place on the flash memory. Instead edit /etc/fstab and remove the mount command of /boot.

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread Anubhav Goel
Hi ! On Mon, Dec 15, 2014 at 12:27 PM, meino.cra...@gmx.de wrote: Hi Anubhav, do not move uEnv.txt, the U-Boot image and the kernel images around. Due to the limited technical possibilities of the very early boot stages, these files are exspected to be at certain physical place on the

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread meino . cramer
Hi Anubhav, one thing I did not know about your system is: Are you using an SDcard to boot from or do you boot from the internal flash memory? Critical files are more than only those under /boot. Delete /sbin/init and your system will hang shortly after the kernel is running... ;) I dont know

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread William Hermans
Ok, so I do not know where the module g_multi is loaded from on angstrom, but g_multi is a USB to Serial, ethernet, and mass storage device. You should search the web on g_mass_storage to understand how the parameters work with g_multi . . So anyway, g_multi is caled similar to this: modprobe

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread Anubhav Goel
Sorry about not putting more details :) , here they are : On Mon, Dec 15, 2014 at 12:45 PM, meino.cra...@gmx.de wrote: Hi Anubhav, one thing I did not know about your system is: Are you using an SDcard to boot from or do you boot from the internal flash memory? I boot from internal flash.

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread William Hermans
Anubhav, By the way, Linux is Linux, is Linux. Angstrom is in round about way even based on Debian. Through Open Zaurus . . .Anyway, you're going to find it more, and more difficult moving on with Angstrom I think . . . On Mon, Dec 15, 2014 at 12:20 AM, Anubhav Goel anubh...@resonant-sys.com

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread Anubhav Goel
that sounds good!.. i shall try it and report back. One point , how do I disable the default mechanism of loading the thumbdrive ? i.e. , there must be some place/sh where these commands are getting executed ? can you point me to them ? On Mon, Dec 15, 2014 at 12:49 PM, William Hermans

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread William Hermans
No idea, I got rid of Angstrom the first week after receiving my Beaglebone blacks. Angstrom was too much of a pain in my backside to even want to bother with it. On Mon, Dec 15, 2014 at 12:23 AM, Anubhav Goel anubh...@resonant-sys.com wrote: that sounds good!.. i shall try it and report back.

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread Anubhav Goel
:D .. I will take this advice , and soon move over to deb. On Mon, Dec 15, 2014 at 12:56 PM, William Hermans yyrk...@gmail.com wrote: No idea, I got rid of Angstrom the first week after receiving my Beaglebone blacks. Angstrom was too much of a pain in my backside to even want to bother with

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread William Hermans
I just looked it up on the web and what I found seemed to indicate that the modules file is the same as debian in: /etc/modules If it is not loaded from in there then i could not say. Could be a service file run at boot time, or . ..yeah see I would not even know where to look on Angstrom . . .

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread William Hermans
Ok, so lets backup some. If you're only connected through the USB cable via USBnet, then you would have a problem with this. However if you can connect to your BBB via ethernet, then you could remove the module, and reload it with new parameters to make sure you changes work, before you apply

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread meino . cramer
Hi, I throw away Angstrom and moved to Gentoo after a few updates complete scrambled Angstrom... Consider to boot from SDcard, because it can be edited via an USB cardreader on the PC and can be replaced if weared out (flash has a limited count of write cycles). If the internal flash is

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread Anubhav Goel
I can see that angstrom has really got to you :) , but it gave me support with qt when i needed it , and deb (i dont know bout now) was not having support (like a few months back). So its like a old friend with a lot of problems (audio - but i figured it out)... I am almost done with the project

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread Anubhav Goel
On Mon, Dec 15, 2014 at 1:06 PM, William Hermans yyrk...@gmail.com wrote: Ok, so lets backup some. If you're only connected through the USB cable via USBnet, then you would have a problem with this. However if you can connect to your BBB via ethernet, then you could remove the module, and

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread William Hermans
My experiences with Angstrom were very bad. I've been using Debian since the mid 90's off and on, and I did not know where anything was on Angstrom. Couple that with the the fact that stuff like dropbear would get a corrupted file related to ssh and not let you in . . .yeah I just got rid of it so

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread William Hermans
*I dont connect to bbb via ether net port, I connect using mini USB , the serial and ethernet(rndis) functions are not important to me - over the miniusb.* Then you're dead in the water as you can not unload the module while you're using it. Then even if you did manage to do so, you would

Re: [beagleboard] Re: Remove all files from /media/BEAGLEBONE

2014-12-14 Thread William Hermans
Well, there is one more option I can think of. You would need a sdcard with some form of Linux on it, so you could reverse your changes back to the way they were. I would be very careful if you go this route, and make absolutely positive you document each step as you do it. So you know how to fix