Re: [beagleboard] I2C programming in Accelerometer

2013-11-16 Thread Zain Dar
Thanks for the advice and the links! So, I noticed that the ADXL345 is made
in the node-i2c github as a project. There are a number of files in it, so
the one that has the code for the working of the accelerometer is the one
that is labeled "index.js"? also since I haven't made a code in the .js
format, is this done from the terminal or from the cloud9ide? thanks again!


On Sun, Nov 17, 2013 at 2:46 AM, Pedro A. Melendez wrote:

>
> http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/i2c
> https://github.com/kelly/node-i2c
>
>
> On Sun, Nov 17, 2013 at 3:39 AM, Pedro A. Melendez 
> wrote:
>
>> you can use for i2c with python the adafruit library fro the beaglebone
>> or if you like to use nodejs there is node-i2c. I used node-i2c to make a
>> custom driver for the ds1337 rtc and it worked pretty nice.
>>
>> -Pedro
>>
>>
>> On Sun, Nov 17, 2013 at 12:25 AM, Zain Dar  wrote:
>>
>>> Hi, I'm working on two accelerometers, both of them are digital (ADXL345
>>> by sparkfun) and I'm having trouble programming them to display the X, Y
>>> and Z axis. I'm trying the code in python first because its alot easier to
>>> work with and much faster to learn than C++ but I haven't had much luck in
>>> finding tutorials that make sense. Derek Molloys tutorial of the same topic
>>> is good but it comes with some problems that I'm unable to solve. He
>>> requires to install a number of other packages that are temporarily
>>> unavailable online for downloading into my BBB so I have to result to
>>> alternate ideas and code examples. Can someone please kindly direct me to a
>>> sample code that I can try out?
>>> 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/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/YctTkwyFc8g/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.
>

-- 
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.


Re: [beagleboard] I2C programming in Accelerometer

2013-11-16 Thread Pedro A. Melendez
http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/i2c
https://github.com/kelly/node-i2c


On Sun, Nov 17, 2013 at 3:39 AM, Pedro A. Melendez wrote:

> you can use for i2c with python the adafruit library fro the beaglebone or
> if you like to use nodejs there is node-i2c. I used node-i2c to make a
> custom driver for the ds1337 rtc and it worked pretty nice.
>
> -Pedro
>
>
> On Sun, Nov 17, 2013 at 12:25 AM, Zain Dar  wrote:
>
>> Hi, I'm working on two accelerometers, both of them are digital (ADXL345
>> by sparkfun) and I'm having trouble programming them to display the X, Y
>> and Z axis. I'm trying the code in python first because its alot easier to
>> work with and much faster to learn than C++ but I haven't had much luck in
>> finding tutorials that make sense. Derek Molloys tutorial of the same topic
>> is good but it comes with some problems that I'm unable to solve. He
>> requires to install a number of other packages that are temporarily
>> unavailable online for downloading into my BBB so I have to result to
>> alternate ideas and code examples. Can someone please kindly direct me to a
>> sample code that I can try out?
>> 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/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.


Re: [beagleboard] I2C programming in Accelerometer

2013-11-16 Thread Pedro A. Melendez
you can use for i2c with python the adafruit library fro the beaglebone or
if you like to use nodejs there is node-i2c. I used node-i2c to make a
custom driver for the ds1337 rtc and it worked pretty nice.

-Pedro


On Sun, Nov 17, 2013 at 12:25 AM, Zain Dar  wrote:

> Hi, I'm working on two accelerometers, both of them are digital (ADXL345
> by sparkfun) and I'm having trouble programming them to display the X, Y
> and Z axis. I'm trying the code in python first because its alot easier to
> work with and much faster to learn than C++ but I haven't had much luck in
> finding tutorials that make sense. Derek Molloys tutorial of the same topic
> is good but it comes with some problems that I'm unable to solve. He
> requires to install a number of other packages that are temporarily
> unavailable online for downloading into my BBB so I have to result to
> alternate ideas and code examples. Can someone please kindly direct me to a
> sample code that I can try out?
> 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/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.


[beagleboard] I2C programming in Accelerometer

2013-11-16 Thread Zain Dar
Hi, I'm working on two accelerometers, both of them are digital (ADXL345 by 
sparkfun) and I'm having trouble programming them to display the X, Y and Z 
axis. I'm trying the code in python first because its alot easier to work 
with and much faster to learn than C++ but I haven't had much luck in 
finding tutorials that make sense. Derek Molloys tutorial of the same topic 
is good but it comes with some problems that I'm unable to solve. He 
requires to install a number of other packages that are temporarily 
unavailable online for downloading into my BBB so I have to result to 
alternate ideas and code examples. Can someone please kindly direct me to a 
sample code that I can try out?
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/groups/opt_out.


[beagleboard] Partitions/blocks of 2GB emmc at BBB Board

2013-11-16 Thread jay0710 . wang
1. I want to know the Partitions/blocks of 2GB emmc at BBB Board
ex,
Spl Start AddressEnd Address
Uboot
Kernel
rootfs

2.how can i update these blocks use uboot??
ex,

U-Boot# loadb 0x8200
Download MLO/Uboot to SDRAM
U-Boot# nand erase 0x0 0x2
U-Boot# nand write 0x8200 0x0 0x2

-- 
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.


[beagleboard] favorite BBB and BB-xM accessories

2013-11-16 Thread Philip Polstra
I'm writing a book on doing penetration testing with the BBB and BB-xM and
want to include links to vendors who provide accessories for the Beagles.
 Enclosures and other items related to pentesting are particularly
interesting.

What are your favorite accessories and where do you get them?

-- 
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.


[beagleboard] beaglebon black Emmc partitions & update

2013-11-16 Thread jay0710 . wang
Dear Sir

1. I want to know the Beaglebone black's 2GB EMMC partition ,EX: 

SPL Start Address - End Address
UBOOT ...
KERNEL...
ROOTFS...

2.How do I update these partitions one by one using uboot? EX:
U-Boot# loadb 0x8200
.download bin/img to SDRAM
U-Boot# nand erase 0x0 0x2
U-Boot# nand write 0x8200 0x0 0x2 

thanks a lot...!!

-- 
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.


[beagleboard] Re: bonescript.socket error

2013-11-16 Thread hammerli22
Had the same problem bonescript socket error after running opkg install 
bonescript
To solve that just do what they say.

1. kill node.js
2. start bonescript.socket again and your good to go.


root@beaglebone:~# opkg install bonescript
Package bonescript (1.0-r21.5) installed in root is up to date.
Configuring bonescript.
Job for bonescript.socket failed. See 'systemctl status bonescript.socket' 
and 'journalctl -xn' for details.
Collected errors:
 * pkg_run_script: package "bonescript" postinst script returned status 1.
 * opkg_configure: bonescript.postinst returned 1.
root@beaglebone:~# ps -ef | grep -i js$
root   125 1  0 Nov16 ?00:00:01 /usr/bin/node autorun.js
root   679 1  1 Nov16 ?00:00:13 /usr/bin/node server.js
root@beaglebone:~# kill -9 679
root@beaglebone:~# systemctl start bonescript.socket
root@beaglebone:~# systemctl status bonescript.socket
bonescript.socket
 Loaded: loaded (/lib/systemd/system/bonescript.socket; enabled)
 Active: active (running) since Sun 2013-11-17 00:06:58 UTC; 23s ago
 CGroup: name=systemd:/system/bonescript.socket


-- 
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.


[beagleboard] Angstrom not responding to anything

2013-11-16 Thread frankietankie

I cannot get angstrom to do anything. I attempted to update the chip with a 
micro scan disk card and the led's bounced around for hours instead of the 
30-45 minutes the tutorial claimed.  I cannot login to 

   1. http://beaglebone.local Below is my attempt at to install python on 
   the board. Nothing. any hints this thing just does not work with anything. 

Thanks

   1. 
   
login as: root
root@192.168.7.2's password:
root@beaglebone:~# cd ~
root@beaglebone:~# su
root@beaglebone:~# opkg update
Downloading 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/machine/beaglebone/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/debug/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/gstreamer/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/all/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/perl/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Collected errors:
 * opkg_download: Failed to download 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/Packages.gz,
 
wget returned 1.
 * opkg_download: Failed to download 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/machine/beaglebone/Packages.gz,
 
wget returned 1.
 * opkg_download: Failed to download 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/debug/Packages.gz,
 
wget returned 1.
 * opkg_download: Failed to download 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/gstreamer/Packages.gz,
 
wget returned 1.
 * opkg_download: Failed to download 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/all/Packages.gz,
 
wget returned 1.
 * opkg_download: Failed to download 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/perl/Packages.gz,
 
wget returned 1.
 * opkg_download: Failed to download 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/Packages.gz,
 
wget returned 1.
root@beaglebone:~# okpg install python python-modules python-pyserial 
python-numpy python-setuptools python-misc python-pip git exit
sh: okpg: command not found
root@beaglebone:~# opkg install python python-modules python-pyserial 
python-numpy python-setuptools python-misc python-pip git exit
Package python-core (2.7.3-r0.3.6) installed in root is up to date.
Unknown package 'python-modules'.
Unknown package 'python-pyserial'.
Package python-numpy (1.4.1-r4.8) installed in root is up to date.
Unknown package 'python-setuptools'.
Package python-misc (2.7.3-r0.3.6) installed in root is up to date.
Unknown package 'python-pip'.
Package git (1.7.7-r2.8) installed in root is up to date.
Unknown package 'exit'.
Collected errors:
 * opkg_install_cmd: Cannot install package python-modules.
 * opkg_install_cmd: Cannot install package python-pyserial.
 * opkg_install_cmd: Cannot install package python-setuptools.
 * opkg_install_cmd: Cannot install package python-pip.
 * opkg_install_cmd: Cannot install package exit.
root@beaglebone:~# su
root@beaglebone:~# ntpdate -b -s -u pool.ntp.org
Error resolving pool.ntp.org: Name or service not known (-2)
root@beaglebone:~#




-- 
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.


Re: [beagleboard] Re: GPIO Programming c++ library digita I/O + ADC + PWM

2013-11-16 Thread francescocencioni
Hi, 
thank you very much for your reply.
Next week i'll study your code, it looks like well done. 
I would initially try to implement ADC using file system and leave to the 
future the implementation with I/O memory mapping.
I wish you a nice day, Francesco

Il giorno martedì 12 novembre 2013 11:07:07 UTC+1, Jack Mitchell ha scritto:
>
> Francesco, Bram 
>
> I am currently in the process of developing a C library which provides 
> some of the features you require, feel free to take a look. 
>
> https://github.com/jackmitch/libsoc 
>
> I hope to implement ADC and PWM in the future, but I am currently 
> working on I2C support so it may be a little while yet! 
>
> Cheers, 
> Jack. 
>
> On 10/11/13 09:41, br...@brammail.nl  wrote: 
> > 
> > Ho Francesco, 
> > 
> > I'm a beginner on the Beaglebone and tried to look for the same 
> > information you are looking for. 
> > I found the information in the lectures of Derek Molloy. Those lectures 
> > are excellent, but are not accompanied by a, simple to use, c++ library 
> > (the examples are basic), and we have tot extend it to the adc inputs. 
> > The 'Bad to the Bone' by Barrett and Krindner  is another useful guide. 
> > It covers also  the adc-input. But: no useful, simple to use libraries. 
> > I also found the bonelib libraries, but they are unfinished, and I doubt 
> > whether they are for the old Beaglebone (white) or for the Beaglebone 
> > Black. I compiled the bonelib libraries and I am able to control he leds 
> > on the board, but the combination with the info of Molloy is unclear to 
> > me. My goal is, making the Bonelib library functional on my BB and  to 
> > extend the Bonelib library to (simple) Adc-reading functions (as digital 
> > io). 
> > 
> > My platform is Eclipse 3.7.2 together with gcc. I used the info of Derek 
> > Molloy to install Eclipse Indigo(on Ubuntu) 
> > I'm trying to combine the information now. Iḿ a hobbyist and can spend 
> > much time on the BB. I hope I can get some help from others to speed up 
> > the case. Until now my progress is slow. 
> > Maybe reactions on this forum can speed up things a little bit. 
> > Are there other students or hobbyists interested? Or did I miss 
> > something and is there somewhere a library I can use? reactions are 
> welcome 
> > 
> > Bram van Leeuwen 
> > 
> > 
> > 
> > Op zaterdag 9 november 2013 16:49:18 UTC+1 schreef 
> francesc...@cencio.info: 
> > 
> > Hi all, and sorry for bad english... 
> > 
> > I'm an engeneering student. 
> > 
> > I've found some C++ library about controlling digital I/O, but 
> > nothing about ADC read and PWM. 
> > 
> > I think that are a lot of people that prefer programming in C++, so 
> > I wondered if it is possible to develop a library for Digital I/O , 
> > ADC read and PWM. 
> > I can contribute in this jobs, but i don't have bought the BBB yet, 
> > because i need to know if that library will be available in future 
> > 
> > Have a nice day, 
> > Francesco 
> > 
> > -- 
> > 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 . 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>
>
> -- 
>   Jack Mitchell (ja...@embed.me.uk ) 
>   Embedded Systems Engineer 
>   Cambridgeshire, UK 
>   http://www.embed.me.uk 
> -- 
>

-- 
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.


[beagleboard] My first BBB

2013-11-16 Thread mandredt80
Hi,
I bought my first BBB and I don't have any experience with linux. I don´t 
have any overview of the angstrom packages. I have a problem with "opkg" 
command, it is sometimes OK, but I often receive error " opkg_conf_load: 
Could not lock /var/lib/opkg/lock: Resource temporarily unavailable." 

Next problem: I want try comunication with my computer. I installed pl2303 
package and I connected USB-to RS232 convertor, but I don´t see any ttyUSB 
device.

And finally I need find some GUI package manager, GUI media player.

Do you have idea?
Thank you for your response,  Lukas

-- 
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.


[beagleboard] Re: cant connect to gateone ssh client

2013-11-16 Thread Jon Tabor
Depending on the error message you get, you might have luck with the script 
from this thread:

https://groups.google.com/d/msg/beagleboard/Ya2qE4repSY/q8_WkLcH5TwJ

I had this issue with mine, and running that script in the Cloud9 IDE 
worked like a charm.  Essentially the file 
/etc/dropbear/dropbear_rsa_host_key is corrupt on some default 
installations.

Jon

On Friday, November 15, 2013 5:46:07 PM UTC-8, reyesjo...@gmail.com wrote:
>
> how to get rid on this...i cant connect to gateone ssh client.please 
> 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/groups/opt_out.


Re: [beagleboard] I/O board

2013-11-16 Thread bram . seys . so
Thanks Alan, I am sure this will help me

Op zaterdag 9 november 2013 00:45:22 UTC+1 schreef amg...@gmail.com:
>
> See 
> http://alanprojects.blogspot.com.au/2013/11/beagle-bone-black-general-io-board.html

-- 
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.


[beagleboard] BBB usb joystick problem. I cant see /dev/input/js0 help

2013-11-16 Thread abdurrahman uslu
I pluged 5v adaptor and lsusb ı cant see my joystick but cant see 
dev/input/jsx  
I use BBB kernel 3.8.13 angstarom
pleasa thanlks

-- 
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.


Re: [beagleboard] Cortex-A8 version supported on the AM3358?

2013-11-16 Thread robjsstewart
Thanks.

Bob

-- 
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.


[beagleboard] about dto exclusive-use

2013-11-16 Thread Alexander Hiam
Hello all,

Is it OK to leave a resource used by a cape out of its overlay's 
exclusive-use array and still configure it? For example, two capes 
shouldn't be incompatible if they both use the I2C1 bus. The other 
alternative would be to leave out the configuration for any resource that 
could be shared between capes, but that creates a lot more complication for 
the user if they have to manually apply more overlays just to use the cape. 
I guess what I'm really asking is if the exclusive-use array is just for 
our own book-keeping purposes, or if it has more meaning to the Kernel.

Thanks,
-Alex

-- 
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.


Re: [beagleboard] How to create a Debian eMMC flasher image?

2013-11-16 Thread pablocarranza
Hi Robert,

I'm thinking of using your script to copy what I have in the eMMC back to 
an SD card, to then flash another beagle with the same setup.
Do you think this will work? Looking into the script, it looks like it 
could work in both ways (the /dev/mmcblX files are inverted when booting 
from each device, aren't they?), but maybe I'm missing something dangerous. 
Should I give it a go?

Thanks,
Pablo

On Friday, October 25, 2013 12:43:36 PM UTC-3, RobertCNelson wrote:
>
> On Fri, Oct 25, 2013 at 10:32 AM, Joshua Datko 
> > 
> wrote: 
> > Ah, missed that, thanks. 
> > 
> > Ok, running with the --uboot option alone works (for me), running with 
> the 
> > --dtb option alone produces a error here: 
> > 
> > Downloading Device's Bootloader 
> > - 
> > /: Scheme missing. 
>
> opps, should finish that file, untested.. 
>
>
> https://github.com/RobertCNelson/omap-image-builder/commit/9649b451c35e71567c8cfe040e49ec0bd796a370
>  
>
> for "bones" --uboot bone is still what i recommend.. 
>
> 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.


[beagleboard] BBB js0 problem Help me!!

2013-11-16 Thread abdurrahman uslu
Hii everybody
İ plug logitech joystick( ı tried snoopy, goldmaster joystick ), can ı see 
device  , lsusb
Bus 001 Device 005: ID 046d:c21f Logitech, Inc. F710 Wireless Gamepad [
XInput Mode]

  but cant creadeted  /dev/input/js0   .What can İ do help me pls

-- 
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.


[beagleboard] BBB joystick problem. Cant created js0. HELP

2013-11-16 Thread abdurrahman uslu
İ plug joystick before plug 5v adapter. İ write lsusb ı cant see USB 
Joystick but cant see /dev/input/js0. I use angstrom kernel 3.8.13.  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/groups/opt_out.


[beagleboard] Re: BBB USB Host issue

2013-11-16 Thread rnolec
Ulf Samuelsson, I use Angstrom. Even if I plug the FTDI module into the USB 
port prior to boot time the problem persists. 

El sábado, 16 de noviembre de 2013 00:13:36 UTC-5, Ulf Samuelsson escribió:
>
> Den fredagen den 15:e november 2013 kl. 23:07:25 UTC+1 skrev 
> rno...@gmail.com: 
> > Hi, 
> > 
> > I working on a project where I need to use the USB host interface to 
> connect a FTDI module. The problem is that I can't see the  ttyUSB0. If I 
> do lsusb this is what I get: 
> > 
> > Bus 001 Device 002: ID 0403:6001 Future Technology Devices 
> International, Ltd FT232 USB-Serial (UART) IC 
> > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
> > 
> > So the FTDI module is loaded, but still can't see the ttyUSB0. The 
> kernel version is 3.8.13. Does anyone have any advice on how to make this 
> work? Do I need to add a bone_cape or something else? 
> > 
>
> The current kernel is buggy, so USB hotplugging does not work. You need to 
> have the stuff inserted at boot time for it to be detected.If you need 
> hotplugging, then a hub inbetween 
> (which is never unplugged) is a workaround. 
>
>  If the adapter is unplugged, then it wont be detected again, but since 
> your adapter is detected, I do not think this is Your problem. 
> Offered TI to fix this, but they say that a fix is in the works, but have 
> no clue when. 
>
> I use Angstrom which will provide /dev/ttyUSB0 when inserted at boot time. 
>
> Which linux are you using? 
>
> /ulf 
> > Richard 
>

-- 
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.


[beagleboard] Re: BBB USB Host issue

2013-11-16 Thread abdurrahman uslu


16 Kasım 2013 Cumartesi 00:07:25 UTC+2 tarihinde rno...@gmail.com yazdı:
>
> Hi,
>
> I working on a project where I need to use the USB host interface to 
> connect a FTDI module. The problem is that I can't see the  ttyUSB0. If I 
> do lsusb this is what I get:
>
> Bus 001 Device 002: ID 0403:6001 Future Technology Devices International, 
> Ltd FT232 USB-Serial (UART) IC
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> So the FTDI module is loaded, but still can't see the ttyUSB0. The kernel 
> version is 3.8.13. Does anyone have any advice on how to make this work? Do 
> I need to add a bone_cape or something else?
>
> Richard
>

I have like this problem. I plug usb joystick . I can lsusb   
Bus 001 Device 005: ID 046d:c21f Logitech, Inc. F710 Wireless Gamepad [
XInput Mode]

but cant created js0  
 

-- 
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.


[beagleboard] Re: Beaglebone Black USB Host turns off

2013-11-16 Thread kfreezen
Hi,

Thanks for the suggestion.  I cannot try your suggestion at the moment as I 
do not have the beaglebone black here with me at the moment.  If the 
problem turns out to be the hotplugging bug, is there any sort of patch to 
fix the bug?  I'm planning to use the beagleboard in a production 
environment, so I would really prefer not to add an extra piece of hardware 
to the equation.

Maybe I should approach the problem from a different angle.  Are there any 
Xbee capes out there for the beaglebone black?  That would work out much 
better than having a cable and a Xbee USB adapter, and would reduce the 
probability of failure somewhat.

Regards,

Kent Friesen

On Friday, November 15, 2013 4:46:23 PM UTC-8, kfre...@gmail.com wrote:
>
> Hello,
>
> First a little bit of a background:
>
> I have a beaglebone black connected to the mains with a 5V, 1A DC power 
> supply.
> I'm running an Xbee USB adapter board (http://goo.gl/ygIboV), and an XBee 
> 900HP 
> (http://goo.gl/0ZhtM6)
>  
> on the USB port.
> It's running stock Angstrom Linux.
>
> The problem is this:
>
> About every 24 hours, the lights on my Xbee adapter board turn off and the 
> device is nowhere to be seen on my lsusb output.  Usually I can still ssh 
> into the board after this happens.  After a reboot, the board is fine for 
> another 24 hours before the same thing happens again.
>
> I have a hunch that the problem is the power supply, but is there anything 
> else I could try before I go out and buy a new, more powerful supply?
>
> My other question is why would the Xbee work at all if the problem is in 
> fact a power supply that isn't strong enough?
>
> Thanks,
>
> Kent Friesen
>

-- 
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.


[beagleboard] Re: BBB Starterware running very slowly

2013-11-16 Thread nbpardhe
hi 

  i am new with bbb. 
 i have problem is that how to use StaterWare for bbb.
what changes should i do with bb lib which is in the StarterWare?

please help me out..
 
i am using bbb (A5C).


Thanks 
nilesh  

-- 
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.


[beagleboard] Power off a "headless" BBB with Power Button?

2013-11-16 Thread Ralf Folkerts
Hi all,

just a short update in this: I installed Debian in my BBB and found, by a post 
a pal found for a Cubieboard, that installing the 'acpid' package (and of 
course running the acpid) made THW power button work a+ in my headless BBB. I 
thought ACPI was x86 only - but as it works nicely i won't complain.

Just wanted to post here for completeness.

Cheers,
_ralf_

-- 
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.


[beagleboard] Re: Network interface usb0 lost with recompiled kernel, what is needed to get it back?

2013-11-16 Thread Jesper We
Further investigation reveals a lot of differences between the os on the 
distribution image at http://beagleboard.org/latest-images and what you get 
if you follow the instructions at http://beagleboard.org/linux.

As a second try I went for the "How to Reproduce" instructions at the 
bottom of the http://downloads.angstrom-distribution.org/demo/beaglebone/ 
page, linked as the "Primary" source for the Angstrom distro at 
http://beagleboard.org/Support/Software%20Support. This page appears to be 
out of date, and the build does not run to completion but fails with an 
error.

So the next question is: Where can I find the secret recepie on how to 
produce the same OS installer as is distributed with the board???

-- 
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.


[beagleboard] Qnx neurino on BBB

2013-11-16 Thread Giuseppe Iellamo
Hi all,

I've seen that there exists a BSP for using QNX neutrino on BBB... 
(http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/TiAm335Beaglebone)

Has anyone tried it??

Giuseppe

-- 
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.


Re: [beagleboard] Adafruit_BBIO.GPIO not working, command line does

2013-11-16 Thread William Hermans
This question has no place on this group. Period.


On Sat, Nov 16, 2013 at 8:41 AM, Charles Hamilton wrote:

> Matt's question seems like a perfectly legit and useful question to ask on
> this and the AdaFruit forum. After all, there are more experts on BBB...on
> the BBB Google Group; fewer BBB experts...on a non-BBB forum like AdaFruit.
>
> Wish I had an answer, Matt. It's exactly a use case (Ubuntu + BBB + GPIO
> tests)  that I'll be exploring myself shortly. I'll let you know if I
> figure out something soon.
>
> Charles
>
>
> On Friday, November 15, 2013 10:14:55 PM UTC-5, William Hermans wrote:
>>
>> Silly question. Why would you ask this question on the beagelboard google
>> groups instead of the adafruit support forums ?
>>
>>
>> On Fri, Nov 15, 2013 at 7:01 PM, Sika  wrote:
>>
>>> Hi All
>>>
>>> I'm running a BBB with ubuntu.
>>>
>>> I've got pin 14 on header 8 running as a GPIo output
>>> sudo -s
>>> echo 26 > /sys/class/gpio/export
>>> echo high > /sys/class/gpio/gpio26/direction
>>>
>>> This works great.
>>>
>>> However, when I try to do the equivalent with the Adafruit lib, it fails:
>>> import Adafruit_BBIO.GPIO as GPIO
>>> GPIO.setup("GPIO0_26", GPIO.OUT)
>>> GPIO.output("GPIO0_26", GPIO.HIGH)
>>> GPIO.output("GPIO0_26", GPIO.LOW)
>>>
>>> it does nothing -- it does not even give an error.
>>> The adafruit lib is working well for ADC.
>>>
>>> Any ideas?
>>> Is there soemthing missing from these instructions:
>>> http://learn.adafruit.com/setting-up-io-python-library-
>>> on-beaglebone-black/using-the-bbio-library
>>>
>>> Thanks for your help.
>>>
>>> Matt
>>>
>>>
>>>
>>>
>>>
>>>
>>>  --
>>> 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.
>>> 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.


Re: [beagleboard] Adafruit_BBIO.GPIO not working, command line does

2013-11-16 Thread Charles Hamilton
Matt's question seems like a perfectly legit and useful question to ask on 
this and the AdaFruit forum. After all, there are more experts on BBB...on 
the BBB Google Group; fewer BBB experts...on a non-BBB forum like AdaFruit.

Wish I had an answer, Matt. It's exactly a use case (Ubuntu + BBB + GPIO 
tests)  that I'll be exploring myself shortly. I'll let you know if I 
figure out something soon.

Charles


On Friday, November 15, 2013 10:14:55 PM UTC-5, William Hermans wrote:
>
> Silly question. Why would you ask this question on the beagelboard google 
> groups instead of the adafruit support forums ?
>
>
> On Fri, Nov 15, 2013 at 7:01 PM, Sika  >wrote:
>
>> Hi All
>>
>> I'm running a BBB with ubuntu.
>>
>> I've got pin 14 on header 8 running as a GPIo output 
>> sudo -s
>> echo 26 > /sys/class/gpio/export
>> echo high > /sys/class/gpio/gpio26/direction
>>
>> This works great.
>>
>> However, when I try to do the equivalent with the Adafruit lib, it fails:
>> import Adafruit_BBIO.GPIO as GPIO
>> GPIO.setup("GPIO0_26", GPIO.OUT)
>> GPIO.output("GPIO0_26", GPIO.HIGH)
>> GPIO.output("GPIO0_26", GPIO.LOW)
>>
>> it does nothing -- it does not even give an error. 
>> The adafruit lib is working well for ADC.
>>
>> Any ideas? 
>> Is there soemthing missing from these instructions:
>>
>> http://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/using-the-bbio-library
>>
>> Thanks for your help.
>>
>> Matt
>>
>>
>>
>>
>>
>>
>>  -- 
>> 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 .
>> 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.


[beagleboard] __attribute__((optimize("O0"))) --> 'optimize' attribute directive ignored??????

2013-11-16 Thread JP
Hello there~
 
I have some problem with using __attribute__((optimize("O0"))) 
 
I wanna run some code with gcc compiler and I don't wanna optimize code 
particulary, so i'm trying to use attribute.
 
I'm using angstrom linux and gcc version is 4.3.3.
 
I already knew that i can't use #pragma beacause of the gcc version.
 
But when i run code,  warning pops up. it's like
 
'optimize' attribute directive ignored
 
I used attribue like 
 
 
void *ptime(void* ptime) __attribute__((optimize("O0")));   //prototyping 
ptime function.
 
Please let me know what am I wrong or solution for this. 
 
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/groups/opt_out.


[beagleboard] LCD4 and Audio cape conflict

2013-11-16 Thread Seth

How do I use both the LCD4 AND Audio cape at the same time? Here is my 
*uEnv.txt*:

*optargs=quiet drm.debug=7 
capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN 
capemgr.enable_partno=BB-BONE-AUDI-01,BB-BONE-LCD4-01*

When I try booting, This is what I see:

[0.410040] bone-capemgr bone_capemgr.8: slot #8: BB-BONE-LCD4-01 
conflict P9.16 (#7:BB-BONE-AUDI-01)
[0.419745] bone-capemgr bone_capemgr.8: slot #8: Failed verification
[0.452567] bone-capemgr bone_capemgr.8: loader: failed to load slot-8 
BB-BONE-LCD4-01:00A0 (prio 0)

I am using *Production Image 2013.09.04* as found on 
http://elinux.org/Beagleboard:Updating_The_Software.

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/groups/opt_out.


[beagleboard] Network interface usb0 lost with recompiled kernel, what is needed to get it back?

2013-11-16 Thread Jesper We
To resolve some other problems I needed to build a custom kernel.

I followed the procedure for 3.8.X kernels on http://beagleboard.org/linux, 
and then did:

scp arch/arm/boot/uImage root@192.168.7.2:/boot/uImage-3.8.13
scp arch/arm/boot/dts/am335x-boneblack.dtb root@192.168.7.2:/boot/
scp -r rootfs/lib/modules/3.8/ root@192.168.7.2:/boot/


...and while I was able to solve my other problem, I lost the usb0 network 
interface in the process.

Before overwriting uImage, the dtb and the modules my board had the latest 
Angstrom image from beaglebone.org.

Now ifconfig sees only eth0 and lo, no usb0, and I get errors when booting:

Nov 15 20:48:19 beaglebone g-ether-load.sh[124]: udhcpd: is interface usb0 
up and configured?: No such device

The sum of things needed to get usb0 ethernet up seem a bit complex, I 
haven't been able to figure how to get it back. Any tips?

/j

-- 
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.


Re: [beagleboard] Re: Cape Device Tree Overlay fails to load during boot?

2013-11-16 Thread Jesper We
Really :-) ? This is all it takes to make it work as advertised? Makes me 
wonder why that is not in the default distribution...

On Friday, November 15, 2013 8:56:01 PM UTC, RobertCNelson wrote:
>
>
> You can also just disable the kernel config switch for building 
> firmware inside the kernel.  Then the files in /lib/firmware/ will be 
> used directly.. 
>

-- 
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.