Re: [beagleboard] Re: How to enable all i2c

2015-02-25 Thread Tux Leonard
I had the same problem (missing cape-manager ) in the newer kernel versions a few weeks ago. Needed to switch back to kernel 3.8.13 to get the cape-manager working. I haven't had time to investigate more. If you want to give it a try: sudo apt-get update sudo apt-get install linux-image-3.8.13-bo

Re: [beagleboard] Re: How to enable all i2c

2015-02-19 Thread Tux Leonard
Hi der.depp (lustiger Name), is /sys/devices/bone_capemgr.9/ present in your file system? 2015-02-19 10:12 GMT+01:00 : > I have the exact same problem and adding Richards recommended line to > rc.local does nothing :( > I need the i2c2 bus in order to use the i2c-bus that is connected to the >

Re: [beagleboard] Re: Beaglebone & Mac OSX = NIGHTMARE

2015-02-19 Thread Tux Leonard
:11 PM, the.mr.se...@gmail.com wrote: > > Can you get it to share the macs internet connection though? i can get in > via SSH but if i try and share the internet to it then it immediately locks > the machine up. > > On Friday, 6 February 2015 18:20:11 UTC, Tux Leonard wrote: >>

Re: [beagleboard] c++ send hex over uart, leading zero's are dropped on receiving side

2015-02-10 Thread Tux Leonard
I just saw that your tx buffer is different from your expected string char tx_buf[9] = {0xC5,0xC3,0x01,0x00,0x00,0x00,0x00,0x00,0x76}; string C5C3010076 0x00 doesn't mean two times 0. If you want to see 18 characters so you need to send 18 characters. 2015-02-11 8:32 GMT+01:0

Re: [beagleboard] c++ send hex over uart, leading zero's are dropped on receiving side

2015-02-10 Thread Tux Leonard
Could you show us the code on the receiving side? How many characters do you receive? Do you convert the receive bytes to strings before printing them? 2015-02-11 6:21 GMT+01:00 liyaoshi : > I only get a case with insert several zero on special platform a few years > ago > > Finally , I can only

Re: [beagleboard] I2c not detecting

2015-02-10 Thread Tux Leonard
Do you see any i2c device in the /dev folder? 2015-02-09 5:11 GMT+01:00 : > i2c is not detecting when i give command i2cdetect -r 1 its shows error > only it shows i2cdetect -r 0 kindly help me to detect i2c > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this

Re: [beagleboard] I2C component not detecting

2015-02-10 Thread Tux Leonard
In the datasheet I see that the BH1750 has a 1.8V logic. So you could try a level shifter to adapt the i2c voltage to 3.3v. Do you have a other i2c device or an oszi to check your i2c bus? 2015-02-10 0:51 GMT+01:00 Pack43 : > Hello, > I am having a problem with my Beaglebone black interfacing wit

Re: [beagleboard] Re: Beaglebone & Mac OSX = NIGHTMARE

2015-02-06 Thread Tux Leonard
Hi, I got a Macbook Pro (2000€) and it worked out of the box. So the problem shouldn't bee related to OSX or BBB. ssh works fine assumed you know the ip address of your BBB. For file transfer google for OSXFUSE and SSHFS. 2015-02-06 18:02 GMT+01:00 Sherman Boyd : > Set up static IP addresses or

Re: [beagleboard] Re: Gpio Relay

2015-01-01 Thread Tux Leonard
ou > > Carlos > > Em quinta-feira, 1 de janeiro de 2015 18h44min57s UTC-2, Tux Leonard > escreveu: >> >> I am sorry but this is nonsense. >> >> 2015-01-01 21:12 GMT+01:00 William Pretty Security > >: >> >>> Why don’t you just use a 3 volt rela

Re: [beagleboard] Re: Gpio Relay

2015-01-01 Thread Tux Leonard
gt; > Bill > > *From:* beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] > *On Behalf Of *Carlos Cesario > *Sent:* Thursday, January 01, 2015 3:03 PM > *To:* beagleboard@googlegroups.com > *Subject:* Re: [beagleboard] Re: Gpio Relay > > > > Hello Tux

Re: [beagleboard] Re: i2c read failed

2014-12-15 Thread Tux Leonard
What device are you using? Is it 3.3V kompatible? Check the following: -Do you use the right pins? Pin 1 is located near the 5V jack and not on the USB side. (see my photo for i2c-1) -Don't mess up with SCL and SDA -Is your device 3.3V compatible? If not you need a level shifter. -Put two pull up

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

Re: [beagleboard] ADC?

2014-12-11 Thread Tux Leonard
I would be very interested in your post or some information how this all works for newer kernels. 2014-12-10 23:07 GMT+01:00 Rick Mann : > > > > On Dec 10, 2014, at 12:56 , William Hermans wrote: > > > > Maybe I'll do this on one of our elemental14 board, document it, and put > up a new post on m

Re: [beagleboard] Re: ADC?

2014-12-10 Thread Tux Leonard
But there is no /sys/devices/bone_capemgr.*/slots because there's no capemanager. How to load it in this case? 2014-12-10 21:14 GMT+01:00 TJF : > > Am Mittwoch, 10. Dezember 2014 19:54:41 UTC+1 schrieb Tux Leonard: >> >> I tried the libpruio solution with kernel

Re: [beagleboard] Re: ADC?

2014-12-10 Thread Tux Leonard
Hi, I tried the libpruio solution with kernel 3.14.xx but there is no capemanager. So I couldn't install libpruio. The only way getting the adc to work was to go back to kernel 3.8.xx with the help of Robert Nelson sudo apt-get update sudo apt-get install linux-image-3.8.13-bone67 sudo reboot No

Re: [beagleboard] beaglebone-universal-io and analog input

2014-11-15 Thread Tux Leonard
Ok the examples work now. I was missing the pruss driver kit. At the moment I don't need the am335x-pru-package package. 2014-11-15 10:20 GMT+01:00 Tux Leonard : > Thanks for the hint. I am now using root so that I don't need this work > around anymore. > > I think now

Re: [beagleboard] beaglebone-universal-io and analog input

2014-11-15 Thread Tux Leonard
passwd > > On Fri, Nov 14, 2014 at 4:35 PM, Tux Leonard wrote: > >> Thanks. >> Now I got the capemgr but no permission to write to the slots >> >> sudo echo BB-BONE-PRU-01 > /sys/devices/bone_capemgr.9/slots >> >> -bash: /sys/devices/bone_capemgr.9/slo

Re: [beagleboard] beaglebone-universal-io and analog input

2014-11-14 Thread Tux Leonard
Thanks. Now I got the capemgr but no permission to write to the slots sudo echo BB-BONE-PRU-01 > /sys/devices/bone_capemgr.9/slots -bash: /sys/devices/bone_capemgr.9/slots: Permission denied 2014-11-14 22:32 GMT+01:00 Robert Nelson : > > On Nov 14, 2014 3:24 PM, "Tux L

Re: [beagleboard] beaglebone-universal-io and analog input

2014-11-14 Thread Tux Leonard
This libpruio looks good. The problem is that I can't get it running. I think this is related tu the kernel (3.14.x or 3.17.x) version I am using. There is no capemgr any more. Could you suggest me a linux image or kernel version I should use? 2014-11-08 19:12 GMT+01:00 TJF : > > Hello Roy, > > t

Re: [beagleboard] beaglebone-universal-io and analog input

2014-11-07 Thread Tux Leonard
root root0 Nov 7 12:28 subsystem -> > ../../../bus/platform > 0 -rw-r--r-- 1 root root 4096 Nov 7 12:28 uevent > cat /sys/devices/ocp.*/helper.*/AIN1 > 1554 > > Chad > > Chad Baker > Professor Emeritus > Christian Brothers University > Elect

[beagleboard] beaglebone-universal-io and analog input

2014-11-07 Thread Tux Leonard
Hi, I am using kernel 3.17.1-armv7-x3 on my BBB and I want to read the analog inputs available. I found this website https://github.com/cdsteinkuehler/beaglebone-universal-io for hadling gpio but I don't understand how to read analog inputs: P9 31-40 Analog Signals, no pinmux Could someone expla

Re: [beagleboard] PWM, Servos, and the BBB

2014-10-16 Thread Tux Leonard
Hi, you need to ground your servo to both grounds. To the BBC ground and your power supply. You need a common ground to make everything work. Roy 2014-10-15 2:29 GMT+02:00 : > I believe you have misunderstood me :) > The servo is powered by an external power supply at 5VDC. The signal is > from

Re: [beagleboard] Debugging Remote C/C++ application with Eclipse and Beaglebone black

2014-03-09 Thread Tux Leonard
To get started with BBB and Eclipse have a look at the blog of Derek Molloy. There you can find some video tutorials like this one. http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone -for-c-development/ 2014-03-09 17:59 GMT+01:00 Jack Mitchell : > > > On 09/03/2014 15:41, Gib

Re: [beagleboard] QT Application weird problem on beagleboard

2014-02-17 Thread Tux Leonard
I used this setup for my QT applikation http://treyweaver.blogspot.com.ar/2010/10/setting-up-qt-development-environment.html Just needed to adapt for my compiler. I don't need the -qws option to run it in an X-Server. Are you running an X-Server? Is a Framebuffer device available? 2014-02-17 21:

Re: [beagleboard] Beaglebone black control using Matlab

2014-02-17 Thread Tux Leonard
Look for this post "MATLAB / Simulink on BeagleBone Black" in this mailing list. 2014-02-16 16:17 GMT+01:00 : > I am trying to establish a link to BBB using Matlab command prompt. The > goal is to use existing scripts but have the ability to control the GPIO > using Matlab. > > Does anyone kno

Re: [beagleboard] Re: Cross Compile Qt on BBB issue

2014-02-17 Thread Tux Leonard
Can you try this setup. http://www.cloud-rocket.com/2013/07/building-qt-for-beaglebone/ I used this one http://treyweaver.blogspot.com.ar /2010/10/setting-up-qt-development-environment.html but I needed some adaptations. 2014-02-17 16:49 GMT+01:00 Franck freedev : > Thanks for the link ^^ > >

Re: [beagleboard] QT Application weird problem on beagleboard

2014-02-17 Thread Tux Leonard
Hi Allain, what happens when you start your application without the -qws option? In my opinions you only need this option when you are using a framebuffer device on the command line. But in your video you are already running an x-server. 2014-02-16 21:52 GMT+01:00 Allain : > Hello guys, > > I'

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

2014-02-06 Thread Tux Leonard
Hi Micka, I shared the toolchain I use and qt sources with you. This combination works on my BBB. Roy 2014-02-06 Micka : > 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

Re: [beagleboard] Running DC motor using GPIO pins

2014-01-15 Thread Tux Leonard
You need a Motor Driver like this one https://www.sparkfun.com/products/9457 to do so. If you are able to generate a PWM signal with Python it should be no problem. 2014/1/15 Gerald Coley > Output current of a GPIO pin is around 6mA at 3.3V. > > Gerald > > > > On Wed, Jan 15, 2014 at 11:56 AM,

Re: [beagleboard] MATLAB / Simulink on BeagleBone Black

2013-12-31 Thread Tux Leonard
Thank you for this great post. I am also interested in using Matlab/Simulinkor Scilab/Sicos on BBB. Perhaps you could give me some additional information. -What tool boxes do I need beside Matlab/Simulink? Some code generation tools? -Are there some simulink blocks for GPIO, PWM, analog input, I2

Re: [beagleboard] How do I get an ARM C++ compiler for Eclipse on Windows (Derek Malloy Video)?

2013-12-26 Thread Tux Leonard
Does a compiled program run on the target? With some compilers I had problems with dynamic libraries on the BBB. I suppose this was related to hard/soft floating point. Am 26.12.2013 01:21 schrieb "BeagleNoob" : > Hi Tux Leonard, > > I think I want to try the Cygwin way becaus

Re: [beagleboard] How do I get an ARM C++ compiler for Eclipse on Windows (Derek Malloy Video)?

2013-12-25 Thread Tux Leonard
Perhaps you could try to install Cygwin with an ARM cross compiler. Or try ARM DS http://ds.arm.com/ds-5/build/?gclid=CKzwzrLmy7sCFchY3godTUwACw Or search the TI website for a cross compiler Am 25.12.2013 02:43 schrieb "BeagleNoob" : > I was following along with Derek Malloy's Beaglebone video

Re: [beagleboard] Re: Does anyone have Angstrom qt toolchain for 32 bit Linux?

2013-12-16 Thread Tux Leonard
Hi Tommaso, I shared the with you over google drive. I hope it's the right one. Roy 2013/12/14 Benjamin Sternlieb > I'm using stuff from the Yocto project > > http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/toolchain/i686/ > > > http://downloads.yoctoproject.org/releases/yocto/yoct

Re: [beagleboard] Cannot access BBB via wifi

2013-12-16 Thread Tux Leonard
Did you start ping and ssh servers on BBB? Are they running? 2013/12/15 fabrguer > Hi, I'm using BBB with Angstrom 3.8.13 and the Edimax EW-7811Un USB > adapter. > > I believe I got wifi to work as this is what I get with ifconfig: > > # ifconfig wlan0 > wlan0 Link encap:Ethernet HWaddr 80

Re: [beagleboard] Qt cross-compilation issue

2013-12-07 Thread Tux Leonard
I shared my compiler, qt-Source and conf file. Perhaps this will help. 2013/12/5 > And now something new about arm-linux-gnueabi*hf* toolchain - when I'm > using it, I get some extra errors: > > /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/lib > /../lib/crt1.o: In functi

Re: [beagleboard] Qt cross-compilation issue

2013-12-02 Thread Tux Leonard
Can you try to do a "make clean" and then a "make" again? 2013/12/1 jerzu > I made 'configure' report too, so here is 'configure' output: > > http://shrib.com/q28bxrfb > > ...and 'make' output: > > http://shrib.com/NN6TUZKR > > I have some warnings in 'configure', but I suppose that it's not a

Re: [beagleboard] Qt cross-compilation issue

2013-12-01 Thread Tux Leonard
Can you post the whole output of the make command? 2013/12/1 jerzu > Thanks for the answer! > > Yes, I have edited 'qmake.conf' file just like Trey described in his > tutorial. Everything looks correct for me, but maybe you will find some > mistake... Here is my current version of 'qmake.conf':

Re: [beagleboard] Qt cross-compilation issue

2013-11-30 Thread Tux Leonard
Did you adapt the qmake.conf to the location of your compiler and linker? In the output you posted I can't find any linker command. 2013/11/29 jerzu > Hi everyone, > > I have a big problem with Qt libraries cross-compilation. My objective is > to develop some Qt-apps for my BeagleBoard-xM on m

Re: [beagleboard] Toolchain for Qt embedded development on BBB

2013-11-30 Thread Tux Leonard
I followed this installation http://treyweaver.blogspot.com.ar/2010/10/setting-up-qt-development-environment.html 2013/11/30 Tux Leonard > You may use the same cross compiler as in your eclipse installation. > You just need to specify the path to this compiler in QtCreator and

Re: [beagleboard] Toolchain for Qt embedded development on BBB

2013-11-30 Thread Tux Leonard
You may use the same cross compiler as in your eclipse installation. You just need to specify the path to this compiler in QtCreator and in the configuration file you use to build the qt-libs. In my case the path is /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-g++ 2013/11/30 Artie Le

Re: [beagleboard] How to run 2 sripts at the same time?

2013-11-25 Thread Tux Leonard
Just run the script in background adding the & in command line. http://www.thegeekstuff.com/2010/05/unix-background-job/ 2013/11/25 Dieter Wirz > Take time.time modulo 1 and not sleep.time, and paste it into one program > eg: > >>> "LED off" if time.time()%1 > .5 else "LED on" > > > > On Mon,

Re: [beagleboard] Where can I start with BBB and openCV

2013-11-06 Thread Tux Leonard
Did you have a look at Derek Molloy's video? http://www.youtube.com/watch?v=8QouvYMfmQo&feature=share&list=UUf _sAmhBw7Tj7-2ujmLFoQg 2013/11/6 > Hi everyone, > > I am very new to BBB and embedded systems. My capstone project in College > is about BBB. Now, I want to build system with BBB and op

Re: [beagleboard] Powering over DC jack won't boot

2013-10-22 Thread Tux Leonard
one of the rails. > > Gerald > > > > On Tue, Oct 22, 2013 at 12:58 PM, Tux Leonard wrote: > >> Hi, >> >> I got the same problem. When I plug in a 5V power supply one LED ligthsup >> and goes off again. After that nothing happens. >> When I plug in the US

Re: [beagleboard] Powering over DC jack won't boot

2013-10-22 Thread Tux Leonard
Hi, I got the same problem. When I plug in a 5V power supply one LED ligths up and goes off again. After that nothing happens. When I plug in the USB cable (in addition to the 5V) the BBB starts booting. Is this behavior normal? @Gerald Coley What is the part number of the power supply? unknown.

Re: [beagleboard] Re: Wifi on BBB 3.8.x - Are there drivers for any USB wifi adapters?

2013-10-07 Thread Tux Leonard
In my case a Ausus N10 dongle was easy to install on a BeagleBone Black with the newest Angstrom distribution. http://www.amazon.de/USB-N10-Ultra-802-11n-Konfiguration-Schwarz/dp/B002VGQQAE/ref=sr_1_2?ie=UTF8&qid=1381180217&sr=8-2&keywords=asus+wifi+usb+dongle+n10 Needed just to add the followin

Re: [beagleboard] Cross Compile from Ubuntu on PC

2013-10-07 Thread Tux Leonard
I had the same problem. In my opinion it's related to the cross compiler tool chain and the floating point unit on the target. I changed my to tool chain according to the following http://www.lvr .com/eclipse1.htm and everything works fine. This installs the following cross compiler: arm-linux-gn

Re: [beagleboard] elapsed time microseconds c++

2013-10-07 Thread Tux Leonard
Did you use a crosscompiler? You can also compile your code on your beaglebone. 2013/10/5 > hi, > > Looks like there is something wrong in eclipse. I compiled the code > gettimeofday directly from ubuntu terminal and it works properly. Also the > code works in my beaglebone :-) > > BUT... :-S.

Re: [beagleboard] Re: freaking out with EDIMAX EW-7811UN on BBB with Angstrom

2013-10-07 Thread Tux Leonard
How do you power your board? USB or +5V? 2013/10/7 Grigory > My solution was finally to disable HDMI. Now it works with built-in driver. > > Other steps *without success* was: > - update to current angstrom image > - compile rtl8192cu from source > - attach usb dongle with extend. cable > - di

Re: [beagleboard] Re: Undefined reference to `clock_gettime'

2013-10-04 Thread Tux Leonard
Consider the configuration. You need to do it for Release and Debug configuration. Perhaps you set it in Debug configuration but you are building a Release version. 2013/10/4 > In "Tool Settings" > "GCC C++ Linker" in "All option:" I have: > > -L/usr/arm-linux-gnueabihf/lib -lrt > > All right?

Re: [beagleboard] elapsed time microseconds c++

2013-10-04 Thread Tux Leonard
Could you provide us your source, the compiler/linker output and your compile command? 2013/10/4 > My aim is program in ansi c my beaglebone black. I am using an ubuntu vm > under mac os. > > I am new in ubuntu and eclipse and this is the main problem, i guess :-S > > I have a model that i wou

Re: [beagleboard] Cross compiler from intel to arm's BBB

2013-10-04 Thread Tux Leonard
Hi, I also had trouble to find a working toolchain on Suse 12.3. Finaly I followed the following instructions to get it work with the Angstom distribution on a BeagleBone Black target. http://www.lvr.com/eclipse1.htm 2013/10/4 sydre > Hello, > > I have run into small issue that I need your he

Re: [beagleboard] elapsed time microseconds c++

2013-10-02 Thread Tux Leonard
The code works fine. Even with Eclipse. How is it posible that you get errors about cout, endl and std. Those commands are not in the posted code. 2013/10/2 Dieter Wirz > On Tue, Oct 1, 2013 at 11:14 PM, wrote: > >>> hi, Sorry for disturbing you. How can I compile "gcc -Wall > >>> gettimeof

Re: [beagleboard] How can I control Servo motor by angle information?

2013-10-02 Thread Tux Leonard
subsystem uevent > > /sys/devices/ocp.2/pwm_test_P9_14.32: > modalias power subsystem uevent > > /sys/devices/ocp.2/pwm_test_P9_16.33: > modalias power subsystem uevent > > > > > > > > 2013/10/2 Tux Leonard > >> You can use a PWM output to drive your se

Re: [beagleboard] How can I control Servo motor by angle information?

2013-10-02 Thread Tux Leonard
You can use a PWM output to drive your servo. Set the PWM cycle frequency to 50hz and the duty cycle to 1.5 ms (~7% = center position). Varying the duty cycle +/- 0.5ms should drive your servo to left and right. Power the servo by an external power source not the GPIOs of the board. Am 02.10.2013 1

Re: [beagleboard] Re: Still working to remote debug.......

2013-10-01 Thread Tux Leonard
The solution from Fernando Rocha worked for me. It seems that on the target is no support for the hardware floating point unit because of missing runtime libraries. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google G

Re: [beagleboard] Cross compiled binary won't run

2013-09-30 Thread Tux Leonard
) > > > On Monday, September 30, 2013 8:56:49 AM UTC+2, Tux Leonard wrote: >> >> It works for me now. >> Instead of using the gcc tools from ARM.com I followed now the following >> instructions and it works also without the static options. >> >> http

Re: [beagleboard] Cross compiled binary won't run

2013-09-29 Thread Tux Leonard
It works for me now. Instead of using the gcc tools from ARM.com I followed now the following instructions and it works also without the static options. http://www.lvr.com/eclipse1.htm 2013/9/30 Tux Leonard > You only need to find the missing library and install them on the target. >

Re: [beagleboard] Cross compiled binary won't run

2013-09-29 Thread Tux Leonard
strom distribution? 2013/9/30 Jesper We > > On Monday, September 30, 2013 1:47:05 AM UTC+2, Tux Leonard wrote: >> >> Can you try to compile your file/projcet with the option -static >> > > Theoretically yes, of course, but this is not a feasible option for me as > my app

Re: [beagleboard] Cross compiled binary won't run

2013-09-29 Thread Tux Leonard
Can you try to compile your file/projcet with the option -static. I got the same problem and in my case this works as first workaround. I think the libraries on my computer (compile time) and on the BBB (runtime) are not at the same version. I'm installing the latest Angstrom distribution to veri