[beagleboard] Re: Missing packages in Ubuntu 13.04 on BeagleBone Black

2013-11-11 Thread Nishant Sood
Rick,

I myself have tried many versions of Ubuntu image over BBBlack and I 
suggest not to use Ubuntu but use Debian since it already consists of it, 
there are some problems out of which the most prominent problem seems to be 
of X display , no matter what all is tweaked it still shows a blank screen 
for many! 
If destined to use Ubuntu anyway then I would suggest using Ubuntu 12 
image, I got the Desktop with it and was perfectly able to use the VNC 
server and client to access it remotely!

-- 
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: BBBlack hangs in some hours!

2013-11-11 Thread Nishant Sood
Running Ubuntu raring from Robert C Nelson 13.04 version!

-- 
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] BeagleBone driver issues with OSX Mavericks?

2013-11-11 Thread caseyscallan
Does anybody know if there are any compatibility issues with the VCP 
drivers and the latest version of OSX?
I recently upgraded and reinstalled the drivers, but now I'm unable to 
connect to the BeagleBone, and in fact the memory is not showing up as a 
drive when plugged in.
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] Kernel/distribution advice for running BB XM with Camera, OpenCV, and networking

2013-11-11 Thread Tumbleweed
Hello,

After months of working with the BeagleBone Black and OpenCV + v4l2, I'm 
trying to move our OpenCV work over to the BeagleBoard xM platform and take 
advantage of the direct camera interface port with a Leopard Imaging 
LI-5M03 camera (instead of the USB cameras we've been using with the BBB) 
to hopefully improve the video capture rate and OpenCV processing rate. 

However, I find a confusing mixture of outdated system images and build 
instructions for the BB xM. Compared to the excitement around the BBB, the 
BB xM feels somewhat like a ghost town. Now that I'm comfortable running 
Angstrom and systemd on BBB, I find that the Narcissus build server will 
apparently only successfully build images for an outdated Linux kernel 
without systemd. 

For those of you who are successfully using the BB xM with OpenCV and v4l2, 
what recipe are you following? I've been trying to follow somewhat older 
examples (such as 
this: http://blog.galemin.com/2011/04/li-5m03-camera-on-beagleboard-xm/) 
without much success. The images either don't build, don't boot or are 
really crippled compared with the BBB environment. 

I'd like to start with a known good image with support for things like 
v4l2, opencv, and wlan...doesn't need to run X11 even, just so long as I 
can ssh to the box and run our video capture and processing code. I'd also 
like to run the simplest linux possible since I have no need to do anything 
else on the video processing box. Can anyone point me to such a thing?

Thanks for any 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.


[beagleboard] Beagleboard C4 pin muxing

2013-11-11 Thread Divya K T
hello.. Iam working on Beagle board rev c4. I have a preinstalled raw image 
of ubuntu 12.04 running on my board. I wish to access uart2_rx pin which is 
already multiplexed as gpio(mode 4). I have to make it mode 1. Can anyone 
please give a detailed steps on how to pin configure the multiplexed pin. I 
couldnt get much idea from elinux,org pinmuxing .


regards
Divya

-- 
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] Missing packages in Ubuntu 13.04 on BeagleBone Black

2013-11-11 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/11/2013 03:20 AM, Rick M wrote:
 I've been trying to install ROS robot from source onto Ubuntu 13.04. I've 

Hi,

would be sufficient with the deb package installation?

http://wiki.ros.org/hydro/Installation/UbuntuARM

I have a BBB running ubuntu 13.04 with ROS Hydro.

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSgNKcAAoJEPIY6fuKMkz5DtIP/1JY/htSkLkMiKPc99kNvuTf
uerTEwLgEqAVks/31olYXf1lB0zQEFd1dolxw5XMTcuh8xUBRNjsodzzyUHlOz+s
AswupJHQBcISSOD1Uu/YXcdgaKqJD1VoA2/AC39d1+OZHpdvxVo8n+ahG6CenzXd
wvMAxp0e1Esj6WBDQjB/OJlI8UlLr5wgOfVmWnrqQD64LdrD5IuuDUVe4kLzEtOq
nAwFlQH7894hcdC7lTfYNHLUnx/TbdPNqiTS1ho7vGsQj5/lEzkGAnC5waM+Ujc9
gPE8jFqD792wZlGPW/13uuo0pZlBn3Ya9NX9iOPG9T7e7NX8ownj7ybSboR4hqQN
IDeiLxHHeuh5IH8jtMNwgmBYGXYpK9UKjh0bA/n2Bb4PC+PuGj0u1kZwTGSf9pzj
QlJvfkBqo5g9DClJiKDp0akYyQpjkI/wHetfyU6nrHYMCKiPK5QowYG79lQf8bUc
3AviJaO+hb4Uhqpm5aInYi3jvQYwo7JPNxiyRC13s8RGJI6whnkbw8AXZvWNXtYl
Jz8j8wUrkmYY60B8Min0MWgP0NU0ONvlSt3SVuNIF8Z/yIfHdT+JWyW7W5KVVR3e
UbKYMIAyHYDFV7E7BVkYxdBW0qA215BP9DoTqi0jPwqH6fqvnxyT+zB4TbxBx7Xq
5vzRyAs2P4XFYiVd3iat
=O61Y
-END PGP SIGNATURE-

-- 
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] debian jessie w. small-lxde-desktop.sh: Xorg - no screens found ?

2013-11-11 Thread Winfried Ritsch

Hello,

I installed debian jessie from eelinux on BBB on SDcard:

 debian-jessie-console-armhf-2013-09-26.tar.xz 
https://rcn-ee.net/deb/rootfs/jessie/debian-jessie-console-armhf-2013-09-26.tar.xz
and run the /boot/uboot/tools/debian/small-lxde-desktop.sh too install a lxde, 
but Xorg doesnt start:

X.Org X Server 1.14.3 says in Xorg.0.log (long version see Attachment): 

 [   162.887] (II) modesetting(G0): using drv /dev/dri/card0
 [   162.888] (WW) Falling back to old probe method for modesetting
 [   162.888] (EE) No devices detected.
 [   162.888] (EE) 
 Fatal server error:
 [   162.888] (EE) no screens found(EE) 

On angstroem with X.Org X Server 1.11.2 it works and EDID lines are listed.

Even configuring the xorg.conf with proper Modeline:

 Modeline 1280x1024  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync 
+vsync # (80.0 kHz)

doesnt change anything, since I think its es server error in general.

Any hints how to proceed debugging ?

does I have to compile a other driver, GL module ?

mfG
 winfried

-- 
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.
Section Module   
Loadextmod
Loaddbe   
Loadglx   
Loadfreetype 
Loadtype1
Loadrecord
Loaddri   
EndSection

Section Monitor   
 
Identifier  Builtin Default Monitor
EndSection   

Section Device  
Identifier  Builtin Default fbdev Device 0
Driver  modesetting
EndSection

Section Screen
Identifier  Builtin Default fbdev Screen 0 
Device  Builtin Default fbdev Device 0
Monitor Builtin Default Monitor   
DefaultDepth16
EndSection  

Section ServerLayout 
Identifier  Builtin Default Layout
 
Screen  Builtin Default fbdev Screen 0
EndSection  


Xorg.0.log.debian
Description: Binary data


[beagleboard] Re: Program C++ through putty using VI (Library installations needed?)

2013-11-11 Thread tee . eff95
hello siddharth,

Personally I prefers nano than vi to write code, but this doesn't change a 
lot and it's possible to write code this way.

Perhaps you could show us your error messages, this could help.

Le lundi 11 novembre 2013 08:12:59 UTC+1, siddharth...@gmail.com a écrit :

 I was wondering if it is possible to write a c/c++ code in vi through SSH 
 on Putty and then generate an output file and run directly on the 
 beaglebone?
 I tried the simple helloworld.c program and it worked.
 But I tried to write LED blink program and I'm getting error messages.

 I used the code by Derek Molley on his website: That uses FILE, fopen, 
 fclose, sleep, NULL,  etc. I'm getting errors about these. 
 Am I supposed to install some kind of libraries or a arm-gnueabi compiler 
 before I try to run programs that access the GPIOs and the LEDs ? 

 Please also let me know the commands for installing the needed packages or 
 an example LED code that would work this way. 

 Also is there a better OS than Angstrom for beginners on BBB? How is the 
 Ti SDK? 

 Thank you



-- 
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] BBBlack hangs in some hours!

2013-11-11 Thread Nishant Sood
This very same code is turned into a executable using chmod +x and then
provided full 777 privileges and made a start up script using Upstart.
I think this is fine here, whats say?

Thanks  Regards,
Nishant
---
Sent from My Android (humongous NOTE-II)
On 11 Nov 2013 18:34, Philip Polstra ppols...@gmail.com wrote:

 I would recommend you setup the tty port in startup scripts or at least
 delay after setup.
 On Nov 11, 2013 2:21 AM, Nishant Sood nish...@winacro.com wrote:

 I have a python script running on a raring BBBLack ubuntu image that has
 wiFi working flawlessly, but while using the python script as follows I'm
 see that the script runs but the Request Log on the xively dashboard isn't
 receiving anything?!

 Is there a frequency limit for which I can update the feeds?

 Or is it my App? Which I think is running and not going down.

 here's the code:


 #!/usr/bin/env python

 import os
 import xively
 import subprocess
 import time
 import datetime
 import requests
 import serial
 import re
 import string
 from select import select

 #OS variables and other settings for UART transfer
 os.system(sudo chmod 777 -R  /sys/devices/bone_capemgr.8/slots)

 os.system(sudo echo ttyO1_armhf.com  /sys/devices/bone_capemgr.8/slots)

 serial = serial.Serial(/dev/ttyO1, baudrate=9600)

 resp = 
 inData = ['']*14

 started = False
 ended = False

 check_point = 0
 check_point_listener = 0

 # extract feed_id and api_key from environment variables
 FEED_ID = 34534

 API_KEY = blahhblahh
 DEBUG =   DEBUG or false

 DEBUG_listener = DEBUG or false

 # initialize api client
 api = xively.XivelyAPIClient(API_KEY)

 # function to return a datastream object. This either creates a new 
 datastream,
 # or returns an existing one
 def get_datastream(feed):
   try:

 datastream = feed.datastreams.get(Lock_Controller)

 if DEBUG:
   print Found existing datastream

 return datastream
   except:
 if DEBUG:

   print Creating new datastream
 datastream = feed.datastreams.create(Lock_Controller, tags=ON/OFF)

 return datastream

 # function to return a datastream object. This either creates a new 
 datastream,
 # or returns an existing one
 def get_datastream_listener(feed):
   try:

 datastream_listener = feed.datastreams.get(load_avg)

 if DEBUG:
   print Found existing datastream

 return datastream_listener
   except:
 if DEBUG:

   print Creating new datastream
 datastream_listener = feed.datastreams.create(load_avg, tags=load_01)

 return datastream_listener


 # main program entry point - runs continuously updating our datastream with 
 the
 def run():
   print Script initiation

   #Initializing one channel
   feed = api.feeds.get(FEED_ID)

   datastream = get_datastream(feed)
   datastream.max_value = None

   datastream.min_value = None
   #Initializing one channel

   feed_listener = api.feeds.get(FEED_ID)

   datastream_listener = get_datastream_listener(feed_listener)
   datastream_listener.max_value = None

   datastream_listener.min_value = None

   while True:

  while serial.inWaiting()  0:

inChar = serial.read() # Read a character

if inChar =='': # not sure what to put in if statement to run 
 until end

   global started
   started = True
   global ended

   ended = False
   index = 0

elif inChar =='':
   global ended

   ended = True
if started == True:

   inData[index] = inChar # Store it

   index = index + 1  # Increment where to write next

   #inData[index] = '\0'   # Null terminate the string
if ended == True:

   global ended
   ended = False
   index = 0

   Data = inData #values of acclerometer like 545X etc enter 
 and stored in Data

   print (Data)
   values = .join(str(v) for v in Data)

   print (values)
   strData = string.replace(values, , )

   strData = string.replace(strData, , )

   strData = string.replace(strData,  , )

   strData = string.replace(strData, \0, )

   print (strData)
   if strData[0] == 's' and strData[1] == 't':

  print Nishant Here
  strData = string.replace(strData, st, )

  strData = string.replace(strData, \0, )

  strData = string.replace(strData,  , )

  print strData
  if strData == '1':

 print This is arrived at 1
 global check_point_listener

 datastream_listener.current_value = 
 str(check_point_listener) + h

 datastream_listener.update()
 #serial.write(v0 + str(check_point) + ) #serial 
 write value

 time.sleep(1)
   

Re: [beagleboard] BBBlack hangs in some hours!

2013-11-11 Thread Philip Polstra
You need to give cape manager time to setup tty after echo command before
talking to device.  Shouldn't need sudo either if done right.  This is
working great in my pentesting devices using xbee modems on ttyo2.
On Nov 11, 2013 7:06 AM, Nishant Sood nish...@winacro.com wrote:

 This very same code is turned into a executable using chmod +x and then
 provided full 777 privileges and made a start up script using Upstart.
 I think this is fine here, whats say?

 Thanks  Regards,
 Nishant
 ---
 Sent from My Android (humongous NOTE-II)
 On 11 Nov 2013 18:34, Philip Polstra ppols...@gmail.com wrote:

 I would recommend you setup the tty port in startup scripts or at least
 delay after setup.
 On Nov 11, 2013 2:21 AM, Nishant Sood nish...@winacro.com wrote:

 I have a python script running on a raring BBBLack ubuntu image that has
 wiFi working flawlessly, but while using the python script as follows I'm
 see that the script runs but the Request Log on the xively dashboard isn't
 receiving anything?!

 Is there a frequency limit for which I can update the feeds?

 Or is it my App? Which I think is running and not going down.

 here's the code:



 #!/usr/bin/env python


 import os
 import xively
 import subprocess
 import time

 import datetime
 import requests
 import serial
 import re

 import string
 from select import select


 #OS variables and other settings for UART transfer
 os.system(sudo chmod 777 -R  /sys/devices/bone_capemgr.8/slots)


 os.system(sudo echo ttyO1_armhf.com  /sys/devices/bone_capemgr.8/slots)


 serial = serial.Serial(/dev/ttyO1, baudrate=9600)


 resp = 
 inData = ['']*14


 started = False
 ended = False

 check_point = 0
 check_point_listener = 0


 # extract feed_id and api_key from environment variables
 FEED_ID = 34534


 API_KEY = blahhblahh
 DEBUG =   DEBUG or false


 DEBUG_listener = DEBUG or false


 # initialize api client
 api = xively.XivelyAPIClient(API_KEY)


 # function to return a datastream object. This either creates a new 
 datastream,
 # or returns an existing one
 def get_datastream(feed):
   try:


 datastream = feed.datastreams.get(Lock_Controller)


 if DEBUG:
   print Found existing datastream


 return datastream
   except:
 if DEBUG:


   print Creating new datastream
 datastream = feed.datastreams.create(Lock_Controller, tags=ON/OFF)


 return datastream

 # function to return a datastream object. This either creates a new 
 datastream,
 # or returns an existing one

 def get_datastream_listener(feed):
   try:


 datastream_listener = feed.datastreams.get(load_avg)


 if DEBUG:
   print Found existing datastream


 return datastream_listener
   except:
 if DEBUG:


   print Creating new datastream
 datastream_listener = feed.datastreams.create(load_avg, 
 tags=load_01)


 return datastream_listener


 # main program entry point - runs continuously updating our datastream with 
 the
 def run():
   print Script initiation


   #Initializing one channel
   feed = api.feeds.get(FEED_ID)


   datastream = get_datastream(feed)
   datastream.max_value = None


   datastream.min_value = None
   #Initializing one channel


   feed_listener = api.feeds.get(FEED_ID)


   datastream_listener = get_datastream_listener(feed_listener)
   datastream_listener.max_value = None


   datastream_listener.min_value = None

   while True:


  while serial.inWaiting()  0:


inChar = serial.read() # Read a character


if inChar =='': # not sure what to put in if statement to run 
 until end


   global started
   started = True
   global ended


   ended = False
   index = 0


elif inChar =='':
   global ended


   ended = True
if started == True:


   inData[index] = inChar # Store it


   index = index + 1  # Increment where to write next


   #inData[index] = '\0'   # Null terminate the string
if ended == True:


   global ended
   ended = False
   index = 0


   Data = inData #values of acclerometer like 545X etc enter 
 and stored in Data


   print (Data)
   values = .join(str(v) for v in Data)


   print (values)
   strData = string.replace(values, , )


   strData = string.replace(strData, , )


   strData = string.replace(strData,  , )


   strData = string.replace(strData, \0, )


   print (strData)
   if strData[0] == 's' and strData[1] == 't':


  print Nishant Here
  strData = string.replace(strData, st, )


  strData = string.replace(strData, \0, )


  strData = string.replace(strData,  , )


  print strData
  if strData == '1':


 

Re: [beagleboard] BBBlack hangs in some hours!

2013-11-11 Thread Nishant Sood
Ok I understand your point But if TTy isn't configured correctly from the
very beginning how could it then function at all? I mean in my case all the
UART hardware function goes perfectly well but after sometime like an hour
or so the script goes down.



On Mon, Nov 11, 2013 at 6:53 PM, Philip Polstra ppols...@gmail.com wrote:

 You need to give cape manager time to setup tty after echo command before
 talking to device.  Shouldn't need sudo either if done right.  This is
 working great in my pentesting devices using xbee modems on ttyo2.
 On Nov 11, 2013 7:06 AM, Nishant Sood nish...@winacro.com wrote:

 This very same code is turned into a executable using chmod +x and then
 provided full 777 privileges and made a start up script using Upstart.
 I think this is fine here, whats say?

 Thanks  Regards,
 Nishant
 ---
 Sent from My Android (humongous NOTE-II)
 On 11 Nov 2013 18:34, Philip Polstra ppols...@gmail.com wrote:

 I would recommend you setup the tty port in startup scripts or at least
 delay after setup.
 On Nov 11, 2013 2:21 AM, Nishant Sood nish...@winacro.com wrote:

 I have a python script running on a raring BBBLack ubuntu image that
 has wiFi working flawlessly, but while using the python script as follows
 I'm see that the script runs but the Request Log on the xively dashboard
 isn't receiving anything?!

 Is there a frequency limit for which I can update the feeds?

 Or is it my App? Which I think is running and not going down.

 here's the code:



 #!/usr/bin/env python



 import os
 import xively
 import subprocess
 import time


 import datetime
 import requests
 import serial
 import re


 import string
 from select import select



 #OS variables and other settings for UART transfer
 os.system(sudo chmod 777 -R  /sys/devices/bone_capemgr.8/slots)



 os.system(sudo echo ttyO1_armhf.com  /sys/devices/bone_capemgr.8/slots)



 serial = serial.Serial(/dev/ttyO1, baudrate=9600)



 resp = 
 inData = ['']*14



 started = False
 ended = False

 check_point = 0
 check_point_listener = 0



 # extract feed_id and api_key from environment variables
 FEED_ID = 34534



 API_KEY = blahhblahh
 DEBUG =   DEBUG or false



 DEBUG_listener = DEBUG or false



 # initialize api client
 api = xively.XivelyAPIClient(API_KEY)



 # function to return a datastream object. This either creates a new 
 datastream,
 # or returns an existing one
 def get_datastream(feed):
   try:



 datastream = feed.datastreams.get(Lock_Controller)



 if DEBUG:
   print Found existing datastream



 return datastream
   except:
 if DEBUG:



   print Creating new datastream
 datastream = feed.datastreams.create(Lock_Controller, tags=ON/OFF)



 return datastream

 # function to return a datastream object. This either creates a new 
 datastream,
 # or returns an existing one


 def get_datastream_listener(feed):
   try:



 datastream_listener = feed.datastreams.get(load_avg)



 if DEBUG:
   print Found existing datastream



 return datastream_listener
   except:
 if DEBUG:



   print Creating new datastream
 datastream_listener = feed.datastreams.create(load_avg, 
 tags=load_01)



 return datastream_listener


 # main program entry point - runs continuously updating our datastream 
 with the
 def run():
   print Script initiation



   #Initializing one channel
   feed = api.feeds.get(FEED_ID)



   datastream = get_datastream(feed)
   datastream.max_value = None



   datastream.min_value = None
   #Initializing one channel



   feed_listener = api.feeds.get(FEED_ID)



   datastream_listener = get_datastream_listener(feed_listener)
   datastream_listener.max_value = None



   datastream_listener.min_value = None

   while True:



  while serial.inWaiting()  0:



inChar = serial.read() # Read a character



if inChar =='': # not sure what to put in if statement to run 
 until end



   global started
   started = True
   global ended



   ended = False
   index = 0



elif inChar =='':
   global ended



   ended = True
if started == True:



   inData[index] = inChar # Store it



   index = index + 1  # Increment where to write next



   #inData[index] = '\0'   # Null terminate the string
if ended == True:



   global ended
   ended = False
   index = 0



   Data = inData #values of acclerometer like 545X etc enter 
 and stored in Data



   print (Data)
   values = .join(str(v) for v in Data)



   print (values)
   strData = string.replace(values, , )



   strData = string.replace(strData, , )



   strData = string.replace(strData,  , )



   strData = string.replace(strData, \0, )



   print 

Re: [beagleboard] BBBlack hangs in some hours!

2013-11-11 Thread Philip Polstra
Either your script or device.  I run my stuff for days w/o problems.
On Nov 11, 2013 7:28 AM, Nishant Sood nish...@winacro.com wrote:

 Ok I understand your point But if TTy isn't configured correctly from the
 very beginning how could it then function at all? I mean in my case all the
 UART hardware function goes perfectly well but after sometime like an hour
 or so the script goes down.



 On Mon, Nov 11, 2013 at 6:53 PM, Philip Polstra ppols...@gmail.comwrote:

 You need to give cape manager time to setup tty after echo command before
 talking to device.  Shouldn't need sudo either if done right.  This is
 working great in my pentesting devices using xbee modems on ttyo2.
  On Nov 11, 2013 7:06 AM, Nishant Sood nish...@winacro.com wrote:

 This very same code is turned into a executable using chmod +x and then
 provided full 777 privileges and made a start up script using Upstart.
 I think this is fine here, whats say?

 Thanks  Regards,
 Nishant
 ---
 Sent from My Android (humongous NOTE-II)
 On 11 Nov 2013 18:34, Philip Polstra ppols...@gmail.com wrote:

 I would recommend you setup the tty port in startup scripts or at least
 delay after setup.
 On Nov 11, 2013 2:21 AM, Nishant Sood nish...@winacro.com wrote:

 I have a python script running on a raring BBBLack ubuntu image that
 has wiFi working flawlessly, but while using the python script as follows
 I'm see that the script runs but the Request Log on the xively dashboard
 isn't receiving anything?!

 Is there a frequency limit for which I can update the feeds?

 Or is it my App? Which I think is running and not going down.

 here's the code:




 #!/usr/bin/env python




 import os
 import xively
 import subprocess
 import time



 import datetime
 import requests
 import serial
 import re



 import string
 from select import select




 #OS variables and other settings for UART transfer
 os.system(sudo chmod 777 -R  /sys/devices/bone_capemgr.8/slots)




 os.system(sudo echo ttyO1_armhf.com  /sys/devices/bone_capemgr.8/slots)




 serial = serial.Serial(/dev/ttyO1, baudrate=9600)




 resp = 
 inData = ['']*14




 started = False
 ended = False

 check_point = 0
 check_point_listener = 0




 # extract feed_id and api_key from environment variables
 FEED_ID = 34534




 API_KEY = blahhblahh
 DEBUG =   DEBUG or false




 DEBUG_listener = DEBUG or false




 # initialize api client
 api = xively.XivelyAPIClient(API_KEY)




 # function to return a datastream object. This either creates a new 
 datastream,
 # or returns an existing one
 def get_datastream(feed):
   try:




 datastream = feed.datastreams.get(Lock_Controller)




 if DEBUG:
   print Found existing datastream




 return datastream
   except:
 if DEBUG:




   print Creating new datastream
 datastream = feed.datastreams.create(Lock_Controller, tags=ON/OFF)




 return datastream

 # function to return a datastream object. This either creates a new 
 datastream,
 # or returns an existing one



 def get_datastream_listener(feed):
   try:




 datastream_listener = feed.datastreams.get(load_avg)




 if DEBUG:
   print Found existing datastream




 return datastream_listener
   except:
 if DEBUG:




   print Creating new datastream
 datastream_listener = feed.datastreams.create(load_avg, 
 tags=load_01)




 return datastream_listener


 # main program entry point - runs continuously updating our datastream 
 with the
 def run():
   print Script initiation




   #Initializing one channel
   feed = api.feeds.get(FEED_ID)




   datastream = get_datastream(feed)
   datastream.max_value = None




   datastream.min_value = None
   #Initializing one channel




   feed_listener = api.feeds.get(FEED_ID)




   datastream_listener = get_datastream_listener(feed_listener)
   datastream_listener.max_value = None




   datastream_listener.min_value = None

   while True:




  while serial.inWaiting()  0:




inChar = serial.read() # Read a character




if inChar =='': # not sure what to put in if statement to run 
 until end




   global started
   started = True
   global ended




   ended = False
   index = 0




elif inChar =='':
   global ended




   ended = True
if started == True:




   inData[index] = inChar # Store it




   index = index + 1  # Increment where to write next




   #inData[index] = '\0'   # Null terminate the string
if ended == True:




   global ended
   ended = False
   index = 0




   Data = inData #values of acclerometer like 545X etc enter 
 and stored in Data




   print (Data)
   values = .join(str(v) for v in Data)




   print (values)
   strData = string.replace(values, , )




   

Re: [beagleboard] debian jessie w. small-lxde-desktop.sh: Xorg - no screens found ?

2013-11-11 Thread Robert Nelson
On Mon, Nov 11, 2013 at 6:48 AM, Winfried Ritsch
winfried.rit...@gmail.com wrote:

 Hello,

 I installed debian jessie from eelinux on BBB on SDcard:

  debian-jessie-console-armhf-2013-09-26.tar.xz

 and run the /boot/uboot/tools/debian/small-lxde-desktop.sh too install a
 lxde, but Xorg doesnt start:

 X.Org X Server 1.14.3 says in Xorg.0.log (long version see Attachment):

  [   162.887] (II) modesetting(G0): using drv /dev/dri/card0
  [   162.888] (WW) Falling back to old probe method for modesetting
  [   162.888] (EE) No devices detected.
  [   162.888] (EE)
  Fatal server error:
  [   162.888] (EE) no screens found(EE)

 On angstroem with X.Org X Server 1.11.2 it works and EDID lines are
 listed.

 Even configuring the xorg.conf with proper Modeline:

  Modeline 1280x1024  135.00  1280 1296 1440 1688  1024 1025 1028 1066
 +hsync +vsync # (80.0 kHz)

 doesnt change anything, since I think its es server error in general.

 Any hints how to proceed debugging ?

 does I have to compile a other driver, GL module ?


Since Jessie isn't schedule for freeze till next year, I've only been
pushing them out for purely testing/development purposes.  I've not
tried running any desktop on them at this point.

Right now, you should really be using Debian Wheezy for production purposes's..

Otherwise patches welcome, your the first to try Jessie desktop, so
you get the honor of figuring out how to make the xorg/modesetting
driver work...

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.


Re: [beagleboard] BBBlack hangs in some hours!

2013-11-11 Thread Robert Nelson
On Mon, Nov 11, 2013 at 8:01 AM, Nishant Sood nish...@winacro.com wrote:

 Or atleast detailed way that how you are doing it?



If your not using any capes, give the v3.12.x branch a try. .(specially for
usb related lockups..)

wget http://rcn-ee.net/deb/raring-armhf/v3.12.0-bone8/install-me.sh
sudo /bin/bash install-me.sh

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.


Re: [beagleboard] BBBlack hangs in some hours!

2013-11-11 Thread Robert Nelson
On Mon, Nov 11, 2013 at 8:08 AM, Nishant Sood nish...@winacro.com wrote:

 Hello Mr.Robert

 Glad to see the image maker here
 I'm not using any capes!
 also wgetting that branch will make drastic changes? You see my concern is
 that I already spent a lot of time installing individual needy items from
 the very big pool so I don't want to install them again, will this change
 things drastically?


It just installs the 3.12.x based kernel..

You can see the details of the install-me.sh script here:

https://github.com/rcn-ee/farm/blob/master/install-me-template.sh

Including where it backs up your existing kernel files..

https://github.com/rcn-ee/farm/blob/master/install-me-template.sh#L136

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.


Re: [beagleboard] BBBlack hangs in some hours!

2013-11-11 Thread Nishant Sood
Ok so installing that kernel lets all other things remain the same?  Like
the python framework.  Eclipse ide all those don't get effected?

Thanks!

Thanks  Regards,
Nishant
---
Sent from My Android (humongous NOTE-II)
On 11 Nov 2013 19:40, Robert Nelson robertcnel...@gmail.com wrote:




 On Mon, Nov 11, 2013 at 8:08 AM, Nishant Sood nish...@winacro.com wrote:

 Hello Mr.Robert

 Glad to see the image maker here
 I'm not using any capes!
 also wgetting that branch will make drastic changes? You see my concern
 is that I already spent a lot of time installing individual needy items
 from the very big pool so I don't want to install them again, will this
 change things drastically?


 It just installs the 3.12.x based kernel..

 You can see the details of the install-me.sh script here:

 https://github.com/rcn-ee/farm/blob/master/install-me-template.sh

 Including where it backs up your existing kernel files..

 https://github.com/rcn-ee/farm/blob/master/install-me-template.sh#L136

 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/PiNkUTjnV3M/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] Re: Windows 7 doesn't mount BBB as usb drive after update

2013-11-11 Thread james . lee . 20
did you ever get it fix?
I'm having the same problem

On Monday, June 24, 2013 9:14:34 AM UTC-4, Gerald wrote:

 Richardson,tx

 Gerald


 On Mon, Jun 24, 2013 at 8:13 AM, Richard Pesce 
 pe...@pescetech.comjavascript:
  wrote:

 Sweet!  Thank you! 

 Where is the depot? 
 On Jun 24, 2013 5:07 AM, Gerald Coley 
 ger...@beagleboard.orgjavascript: 
 wrote:

 You pay shipping to the depot. They pay shipping back. Repairs are free 
 as long as there is no obvious abuse.

 Depending on where you live, another board may end up being cheaper, but 
 it is hard to say.

 Gerald.


 On Sun, Jun 23, 2013 at 10:50 PM, Richard Pesce 
 pe...@pescetech.comjavascript:
  wrote:

 Just curious,  if the usb is damaged. (which I don't suspect) 

 What is the cost for repairs,  shipping etc? 

 I might just buy another board since this one is still usable sans the 
 usb connection.  

 What is the cost for shipping etc if it isn't damaged? 

 Thanks! 
 On Jun 23, 2013 8:20 PM, Richard Pesce 
 pe...@pescetech.comjavascript: 
 wrote:

 Eesh!  Ok,  but I don't know how I could have damaged it when all I 
 did was flash the update!

 Either way, I'm very excited to get it working again! 
 On Jun 23, 2013 8:15 PM, Gerald Coley 
 ger...@beagleboard.orgjavascript: 
 wrote:

 Sounds like you may have damaged the USB connection then. Might as 
 well do an RMA and get it sent in to be checked. If it tests good, well 
 we 
 can take it from there and see what we can figure out.

  http://beagleboard.org/Support/RMA

 Gerald


 On Sun, Jun 23, 2013 at 10:12 PM, Richard Pesce 
 pe...@pescetech.comjavascript:
  wrote:

 Hey Gerald,

 Attached are the screenshots  There were 3 devices connected 
 before attaching the BBB and 3 afterwards...

 I'm not sure what to do next!


 On Sun, Jun 23, 2013 at 8:01 PM, Gerald Coley 
 ger...@beagleboard.org javascript: wrote:

 Ahh, OK. That makes a difference. Try the utility and see if it 
 shows up an d it may be missing the driver or there is something it 
 does 
 not like.

 Gerald


 On Sun, Jun 23, 2013 at 9:57 PM, Richard Pesce 
 pe...@pescetech.comjavascript:
  wrote:

 Thanks,  I will try that now! 

 I should clarify, I'm able to ssh in via the network (cat5) but 
 not via usb. 
  On Jun 23, 2013 7:53 PM, Gerald Coley 
 ger...@beagleboard.orgjavascript: 
 wrote:

 What I can't figure out is why it worked once and not after the 
 updates. And the fact that you can SSH in says the USB is working 
 fine as 
 it uses the USB connection for that. I have windows 7 myself.

 There is utility that FTDI has that lets you look at all of the 
 USB ports. Try this and see if the USB port shows up. when plugged 
 in and 
 goes away if you remove it.

 http://www.ftdichip.com/Support/Utilities/usbview.zip


 Gerald


 On Sun, Jun 23, 2013 at 9:46 PM, Richard Pesce 
 pe...@pescetech.com javascript: wrote:

 Sure thing!  The device doesn't show up on either of my windows 
 7 machines.

 No new devices appear in my device list,  no new drives in 
 computer management and no tell tale hot plug sound of the usb 
 connection 
 either. 

 I'll try again soon on a few more windows machines. 

 Are there any logs or further troubleshooting I can do? 

 Thanks again for the assistance!  I appreciate it! 
 On Jun 23, 2013 7:39 PM, Gerald Coley 
 ger...@beagleboard.orgjavascript: 
 wrote:

 OK. Those instructions are fine. I wrote them. If you can SSH 
 in, then the HW is working fine.

 So I think the issue is on the Windows 7 side. Can you look in 
 Explorer and see if the BeagleBone device shows up at all?

 Gerald


 On Sun, Jun 23, 2013 at 9:35 PM, Richard Pesce 
 pe...@pescetech.com javascript: wrote:

 Hey Gerald! 

 No,  I followed the instructions on:


 http://circuitco.com/support/index.php?title=Updating_The_Software

 Which said:
 To force a boot from the microSD card, delete the MLO file in 
 the FAT partition of the eMMC.

 I removed the file while ssh'd in,  and verified that it 
 booted the different version.  

 Still no joy! 
 On Jun 23, 2013 7:30 PM, Gerald Coley 
 ger...@beagleboard.org javascript: wrote:

 Did you hold the boot button down when you powered on the 
 board?

 Gerald



 On Sun, Jun 23, 2013 at 9:23 PM, Richard Pesce 
 richar...@gmail.com javascript: wrote:

 I flashed this SD boot 
 imagehttps://s3.amazonaws.com/angstrom/demo/beaglebone/Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.06.06.img.xz
  and 
 still the BBB will not mount as a usb drive as it did when I 
 received it.


 Any suggestions?




 On Thursday, June 20, 2013 9:31:44 PM UTC-7, Richard Pesce 
 wrote:

 Hello all!

 I recently received my Beaglebone Black.  I followed the 
 getting started guide 
 HEREhttp://beagleboard.org/Getting%20Started, 
 installed the drivers.  Afterwards I was able to connect to 
 http://192.168.7.2 and use cloud9 etc.

 I got to the Update board with latest software portion 
 and downloaded 
 

Re: [beagleboard] Re: Program C++ through putty using VI (Library installations needed?)

2013-11-11 Thread Toan Pham
 I was wondering if it is possible to write a c/c++ code in vi through SSH on 
 Putty and then generate an output file and run directly on the beaglebone?

Yes, if your program is simple (small), this is the easiest approach
since you dont have to setup a cross development environment.

I used the code by Derek Molley on his website: That uses FILE,
fopen, fclose, sleep, NULL,  etc. I'm getting errors about these.
Am I supposed to install some kind of libraries or a arm-gnueabi
compiler before I try to run programs that access the GPIOs and the
LEDs ?

make sure you use glibc stdio library.  AFAIK, everything on the
beagleboard is memory mapped; but if you ever need to io access, make
sure you use ioperm to request io access permission, and outb or inb
to write and read from io address.  Do, if you compile on the board,
you do not to install a cross compiler.


 Also is there a better OS than Angstrom for beginners on BBB? How is the Ti 
 SDK?

Angstrom distro comes with a package manager already, use opkg command
to install and search for packages.  I, however, have a custom
distribution that i geared for embedded, industrial application, it is
harder to develop on it because it does not come with a package
manager.





On Mon, Nov 11, 2013 at 8:05 AM,  tee.ef...@gmail.com wrote:
 hello siddharth,

 Personally I prefers nano than vi to write code, but this doesn't change a
 lot and it's possible to write code this way.

 Perhaps you could show us your error messages, this could help.

 Le lundi 11 novembre 2013 08:12:59 UTC+1, siddharth...@gmail.com a écrit :

 I was wondering if it is possible to write a c/c++ code in vi through SSH
 on Putty and then generate an output file and run directly on the
 beaglebone?
 I tried the simple helloworld.c program and it worked.
 But I tried to write LED blink program and I'm getting error messages.

 I used the code by Derek Molley on his website: That uses FILE, fopen,
 fclose, sleep, NULL,  etc. I'm getting errors about these.
 Am I supposed to install some kind of libraries or a arm-gnueabi compiler
 before I try to run programs that access the GPIOs and the LEDs ?

 Please also let me know the commands for installing the needed packages or
 an example LED code that would work this way.

 Also is there a better OS than Angstrom for beginners on BBB? How is the
 Ti SDK?

 Thank you

 --
 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] Re: Windows 7 doesn't mount BBB as usb drive after update

2013-11-11 Thread Richard Pesce
Nope,  I gave up on the whole project.  Someday I'll try for a replacement.
On Nov 11, 2013 6:49 AM, james.lee...@gmail.com wrote:

 did you ever get it fix?
 I'm having the same problem

 On Monday, June 24, 2013 9:14:34 AM UTC-4, Gerald wrote:

 Richardson,tx

 Gerald


 On Mon, Jun 24, 2013 at 8:13 AM, Richard Pesce pe...@pescetech.comwrote:

 Sweet!  Thank you!

 Where is the depot?
 On Jun 24, 2013 5:07 AM, Gerald Coley ger...@beagleboard.org wrote:

 You pay shipping to the depot. They pay shipping back. Repairs are free
 as long as there is no obvious abuse.

 Depending on where you live, another board may end up being cheaper,
 but it is hard to say.

 Gerald.


 On Sun, Jun 23, 2013 at 10:50 PM, Richard Pesce pe...@pescetech.comwrote:

 Just curious,  if the usb is damaged. (which I don't suspect)

 What is the cost for repairs,  shipping etc?

 I might just buy another board since this one is still usable sans the
 usb connection.

 What is the cost for shipping etc if it isn't damaged?

 Thanks!
 On Jun 23, 2013 8:20 PM, Richard Pesce pe...@pescetech.com wrote:

 Eesh!  Ok,  but I don't know how I could have damaged it when all I
 did was flash the update!

 Either way, I'm very excited to get it working again!
 On Jun 23, 2013 8:15 PM, Gerald Coley ger...@beagleboard.org
 wrote:

 Sounds like you may have damaged the USB connection then. Might as
 well do an RMA and get it sent in to be checked. If it tests good, well 
 we
 can take it from there and see what we can figure out.

  http://beagleboard.org/Support/RMA

 Gerald


 On Sun, Jun 23, 2013 at 10:12 PM, Richard Pesce pe...@pescetech.com
  wrote:

 Hey Gerald,

 Attached are the screenshots  There were 3 devices connected
 before attaching the BBB and 3 afterwards...

 I'm not sure what to do next!


 On Sun, Jun 23, 2013 at 8:01 PM, Gerald Coley 
 ger...@beagleboard.org wrote:

 Ahh, OK. That makes a difference. Try the utility and see if it
 shows up an d it may be missing the driver or there is something it 
 does
 not like.

 Gerald


 On Sun, Jun 23, 2013 at 9:57 PM, Richard Pesce 
 pe...@pescetech.com wrote:

 Thanks,  I will try that now!

 I should clarify, I'm able to ssh in via the network (cat5) but
 not via usb.
  On Jun 23, 2013 7:53 PM, Gerald Coley ger...@beagleboard.org
 wrote:

 What I can't figure out is why it worked once and not after the
 updates. And the fact that you can SSH in says the USB is working 
 fine as
 it uses the USB connection for that. I have windows 7 myself.

 There is utility that FTDI has that lets you look at all of the
 USB ports. Try this and see if the USB port shows up. when plugged 
 in and
 goes away if you remove it.

 http://www.ftdichip.com/Support/Utilities/usbview.zip


 Gerald


 On Sun, Jun 23, 2013 at 9:46 PM, Richard Pesce 
 pe...@pescetech.com wrote:

 Sure thing!  The device doesn't show up on either of my windows
 7 machines.

 No new devices appear in my device list,  no new drives in
 computer management and no tell tale hot plug sound of the usb 
 connection
 either.

 I'll try again soon on a few more windows machines.

 Are there any logs or further troubleshooting I can do?

 Thanks again for the assistance!  I appreciate it!
 On Jun 23, 2013 7:39 PM, Gerald Coley ger...@beagleboard.org
 wrote:

 OK. Those instructions are fine. I wrote them. If you can SSH
 in, then the HW is working fine.

 So I think the issue is on the Windows 7 side. Can you look in
 Explorer and see if the BeagleBone device shows up at all?

 Gerald


 On Sun, Jun 23, 2013 at 9:35 PM, Richard Pesce 
 pe...@pescetech.com wrote:

 Hey Gerald!

 No,  I followed the instructions on:

 http://circuitco.com/support/index.php?title=Updating_The_
 Software

 Which said:
 To force a boot from the microSD card, delete the MLO file in
 the FAT partition of the eMMC.

 I removed the file while ssh'd in,  and verified that it
 booted the different version.

 Still no joy!
 On Jun 23, 2013 7:30 PM, Gerald Coley 
 ger...@beagleboard.org wrote:

 Did you hold the boot button down when you powered on the
 board?

 Gerald



 On Sun, Jun 23, 2013 at 9:23 PM, Richard Pesce 
 richar...@gmail.com wrote:

 I flashed this SD boot 
 imagehttps://s3.amazonaws.com/angstrom/demo/beaglebone/Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.06.06.img.xz
  and
 still the BBB will not mount as a usb drive as it did when I 
 received it.


 Any suggestions?




 On Thursday, June 20, 2013 9:31:44 PM UTC-7, Richard Pesce
 wrote:

 Hello all!

 I recently received my Beaglebone Black.  I followed the
 getting started guide 
 HEREhttp://beagleboard.org/Getting%20Started,
 installed the drivers.  Afterwards I was able to connect to
 http://192.168.7.2 and use cloud9 etc.

 I got to the Update board with latest software portion
 and downloaded 
 BBB-eMMC-flasher-2013.06.06.img.xzhttps://s3.amazonaws.com/angstrom/demo/beaglebone/BBB-eMMC-flasher-2013.06.06.img.xz
  and
 flashed the eMMC successfully.  I removed the power, 

[beagleboard] Re: BBB Latest angstrom image and copy paste in terminal putty connection

2013-11-11 Thread Carl-Fredrik Sundström

I solved this by changing terminal type setting in putty from vt100 to linux

On Sunday, November 10, 2013 10:40:07 AM UTC-6, Carl-Fredrik Sundström 
wrote:


 I have a problem that I cant paste into a putty terminal connection when 
 running vi. If I am in the shell prompt I can copy paste without problem.
 This is odd to me because it just normally works towards every single *nix 
 platform I have encountered.

 It has to be something with the vim that comes with angstrom since copy 
 paste works in the shell in putty. As soon as I start vi and I do 
 have insert mode active I still cant paste text.

 Any help would be much appriciated


-- 
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: Is it possible to run BBB off cheap rechargeable batteries?

2013-11-11 Thread Ron B
I do a lot of BBB work with 1S, 2S, and 3S LiPo packs.  Remember, the lower 
the voltage the higher the current requirements are going to be on the 
batteries.  Pretty sure that I've run from a 2xAA alkaline pack but I know 
that the LiPos can easily supply the current.  During boot I've seen spikes 
up to 1A at 3V - which is typically where you'll see the brown outs.  I'm 
using a buck/boost regulator that allows for a large input voltage range 
(3-14V).

-Ron

On Saturday, November 9, 2013 8:09:56 PM UTC-6, rowland@gmail.com wrote:

 I have been trying to figure out a way to run the BBB off cheap 
 rechargeable batteries, either 9V or 6 to 8 AAs. I have been successful in 
 running the BBB off a 3-cell Lipo with a 7805 5V regulator circuit. 
 However, when I use the same design with cheaper batteries the board 
 continuously reset. My suspicion is that the batteries can not provide the 
 necessary current. 

 Does anybody know of the BBB working with cheap rechargeable batteries? 
 And if so, what is the power supply circuit design that is used?


-- 
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: What limits Beagle Board Black HDMI resolution

2013-11-11 Thread don
Great, now how does one specify a particular resolution and audio option 
upon startup?

On Saturday, November 2, 2013 4:32:32 PM UTC-4, Gerald wrote:

 1920x1080@24HZ is the best it can do.

 Gerald



 On Sat, Nov 2, 2013 at 1:19 PM, sri...@gmail.com javascript: wrote:

 Per above, it seemed that 1920x1080 was possible in the 50-60Hz range 
 without audio.  Has the community been able to figure out a way to get that 
 to work?
 Thanks!


 On Friday, November 1, 2013 3:24:35 AM UTC-4, draw...@gmail.com wrote:

 People, read your docs… According to the latest System Reference Manual, 
 BBB added support for 1920x1080@24Hz resolution: https://github.
 com/CircuitCo/BeagleBone-Black/tree/master/BBB_SRM.pdfhttps://www.google.ca/url?sa=trct=jq=esrc=ssource=webcd=4cad=rjaved=0CFwQFjADurl=https%3A%2F%2Fgithub.com%2FCircuitCo%2FBeagleBone-Black%2Fblob%2Fmaster%2FBBB_SRM.pdf%3Fraw%3Dtrueei=NVVzUrLINaO62AWi9oCgBAusg=AFQjCNGHgKSW6eN6wCnTOUguqfvWLjtP8Qsig2=b12eANaFMCe-U0hiVGZLpwbvm=bv.55819444,d.b2I


   6.10 HDMI Interface 

 The BeagleBone Black has an onboard HDMI framer that converts the LCD 
 signals and audio signals to drive a HDMI monitor. The design uses an NXP 
 TDA19988 
 HDMI Framer. 

 The following sections provide more detail into the design of this 
 interface. 

 6.10.1 Supported Resolutions 

 The maximum resolution supported by the BeagleBone Black is 1280x1024 @ 
 60Hz. Table 9 below shows the supported resolutions. Not all 
 resolutions may work on all monitors, but these have been tested and shown 
 to work on at least one monitor. EDID is supported on the BeagleBone Black. 
 Based on the EDID reading from the connected monitor, the highest 
 compatible resolution is selected. 

 Table 9. HDMI Supported Monitor Resolutions 
  [image: page71image9400] [image: page71image9824] [image: 
 page71image10248]  [image: page71image11640]  
  
 RESOLUTION 
   [image: page71image12800]  [image: page71image13416] [image: 
 page71image13576]  
  
 AUDIO 
   [image: page71image14600] [image: page71image14760]  [image: 
 page71image15352]   [image: page71image15920] [image: page71image16344]   
  
 800 x 600 @60Hz 
   
 800 x 600 @56Hz 
   [image: page71image20208]
  
 640 x 480 @75Hz 
   [image: page71image23392] [image: page71image24296]
  
 640 x 480 @60Hz 

 YES 
  
 720 x 400 @70Hz 
   [image: page71image29160]
  
 1280 x 1024 @75Hz 
   [image: page71image32416]  [image: page71image33184]   
  
 1024 x 768 @75Hz 
   [image: page71image35248]  [image: page71image36016]   
  
 1024 x 768 @70Hz 
   [image: page71image38080]  [image: page71image38848]   
  
 1024 x 768 @60Hz 
   [image: page71image41264] [image: page71image41744]  [image: 
 page71image42632]   
  
 800 x 600 @75Hz 
   [image: page71image44912]
  
 800 x 600 @72Hz 
   
 720 x 480 @60Hz

 YES 
  
 1280 x 720 @60Hz

 YES 
   [image: page71image53920]   
  
 1920x1080@24Hz
  
 YES 
  [image: page71image57840]  [image: page71image58304] [image: 
 page71image58784]  
  
 *NOTE: The updated software image used on the Rev A5B board added 
 support for 1920x1080@24HZ.* 
  



 On Wednesday, 8 May 2013 03:05:24 UTC-7, ric...@aardvark.com.au wrote:

 The Beagle Board Black system reference manual rev  A5.2 says (in the 
 HDMI section):

 Currently the following resolutions are supported via the software:
  1280 x 1024
  1440 x 900
  1024 x 768
  1280 x 720

 This is a bit disappointing because we don't have 1920 x 1080... 
 arguable full HD. I believe the current Raspberry Pie has more than 1920 
 x 1080.
 Is this limit imposed by the hardware of the software? Are we expecting 
 higher 
 resolutions in future software releases?

 Thnaks

 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...@googlegroups.com javascript:.
 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] Hardware info on USB A port

2013-11-11 Thread hvn052
Hi,

I connected a mechanical device to 1 of the USB A ports and this device has 
a PID update rate of 1 kHz. Instead of make a nice movement as it did on a 
pc, it started to oscillate. I searched for update rate info in the board 
manual, but found nothing. Can anyone tell me what the USB A update rate of 
the board is ? Or the turn around time ?

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.


Re: [beagleboard] Re: Is it possible to run BBB off cheap rechargeable batteries?

2013-11-11 Thread Dieter Wirz
Ron is perfectly right!
And where do you get cheap rechargeable batteries?
LIPO prices are going down
alcaline prices are going up

Do you really want to invest time and money in last millennium
alcaline technology?

7805? If you connect 9v to an 7805 about 40% of the power is converted
to heat. There are much better solutions available.

BTW @Ron: What buck/boost regulators are you using. Maybe you can
provide some hints to the community... I have the ADP sitting on
my Desktop, but I did not find the time to solder something
together.

-- 
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: Program C++ through putty using VI (Library installations needed?)

2013-11-11 Thread siddharth . rajguru87
Could give me a link with specific commands for this process? 
I tried installing G++ with opkg install g++ I get 3-4 error messages and 
there is no installation.
Do I need to be in some kind of an administrator mode? 
I'm very new  to Linux and to beaglebone. I have no clue how to do the 
things you guys told me in the previous replies.

I'm familiar with FPGA programming but its my first time in Embedded

On Monday, November 11, 2013 1:12:59 AM UTC-6, siddharth...@gmail.com wrote:

 I was wondering if it is possible to write a c/c++ code in vi through SSH 
 on Putty and then generate an output file and run directly on the 
 beaglebone?
 I tried the simple helloworld.c program and it worked.
 But I tried to write LED blink program and I'm getting error messages.

 I used the code by Derek Molley on his website: That uses FILE, fopen, 
 fclose, sleep, NULL,  etc. I'm getting errors about these. 
 Am I supposed to install some kind of libraries or a arm-gnueabi compiler 
 before I try to run programs that access the GPIOs and the LEDs ? 

 Please also let me know the commands for installing the needed packages or 
 an example LED code that would work this way. 

 Also is there a better OS than Angstrom for beginners on BBB? How is the 
 Ti SDK? 

 Thank you



-- 
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: Jack on Beaglebone: jackd crashes with bus error!?

2013-11-11 Thread ariel . ruiz . yitdesign
Hello,

I'm only a beginner and I see that you have your Jack up and running now. 
Unfortunately for me I have not been able to get Jack server running, so 
far I have a beaglebone A5 as well, with Ubuntu raring and I have installed 
ALSA and Jackd packages with apt-get.

Starting the server will give me two errors:
1) *Failed to connect to session bus for device reservation Unable to 
autolaunch a dbus-daemon without a $DISPLAY for X11*
If I do an SSH with -CX I manage to get rid of this issue but I still have 
the following one:

2) 
*Cannot lock down 82278944 byte memory area (Cannot allocate memory)Bus 
error*

I know this is to much to ask but could you describe the steps you followed 
for getting your system to work with Jack?

Thanks a lot

Ariel


On Monday, November 5, 2012 8:36:58 AM UTC-5, ChrisSchuku wrote:

 Hi,

 I'm running ubuntu on the Beaglebone A5. I'm using jack to capture sound 
 from a custom-made soundcard connected to the beaglebone. Until very 
 recently jack was running just fine, however, suddenly I can't start the 
 jack server anymore as it crashes with a 'Bus error'.

 Only a few hours ago I was able to start a jack server with: 

 jackd -d alsa -p 256 -n 4 -C hw:0 -r 48000 -i 8

 Then I just installed g++ and libjack-dev packages in order to compile a 
 simple jack client. Since then starting a jack server gives me:

 ubuntu@arm:~$ jackd -v -d alsa -p 256 -n 4 -C hw:0 -r 48000 -i 8
 jackd 0.121.0
 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn 
 and others.
 jackd comes with ABSOLUTELY NO WARRANTY
 This is free software, and you are welcome to redistribute it
 under certain conditions; see the file COPYING for details

 getting driver descriptor from /usr/lib/arm-linux-gnueabi/jack/jack_oss.so
 getting driver descriptor from /usr/lib/arm-linux-gnueabi/jack/jack_net.so
 getting driver descriptor from /usr/lib/arm-linux-gnueabi/jack/jack_alsa.so
 getting driver descriptor from 
 /usr/lib/arm-linux-gnueabi/jack/jack_dummy.so
 JACK compiled with System V SHM support.
 server `default' registered
 loading driver ..
 registered builtin port type 32 bit float mono audio
 registered builtin port type 8 bit raw midi
 clock source = system clock via clock_gettime
 start poll on 3 fd's
 new client: alsa_pcm, id = 1 type 1 @ 0x17340 fd = -1
 apparent rate = 48000
 creating alsa driver ... -|hw:0|256|4|48000|8|0|nomon|swmeter|-|32bit
 control device hw:0
 configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 4 periods
 ALSA: final selected sample format for capture: 32bit integer little-endian
 ALSA: use 16 periods for capture
 new buffer size 256
 resizing port buffer segment for type 0, one buffer = 1024 bytes
 resizing port buffer segment for type 1, one buffer = 1024 bytes
 registered port system:capture_1, offset = 1024
 registered port system:capture_2, offset = 2048
 registered port system:capture_3, offset = 3072
 registered port system:capture_4, offset = 4096
 registered port system:capture_5, offset = 5120
 registered port system:capture_6, offset = 6144
 registered port system:capture_7, offset = 7168
 registered port system:capture_8, offset = 8192
 ++ jack_sort_graph
 ++ jack_rechain_graph():
 -- jack_rechain_graph()
 -- jack_sort_graph
 830 waiting for signals
 Bus error

 It doesn't seem to be a problem with ALSA as I'm able to record via ALSA. 
 When trying to start jackd the kernel gives me two kind of nebulous 
 messages:

 [ 1870.399810] Alignment trap: not handling instruction edc76a06 at 
 [401375ca]
 [ 1870.407562] Unhandled fault: alignment exception (0x801) at 0x400ea1e6

 I really would appreciate any kind of suggestion or hint on this!

 Thanks,
 Chris







-- 
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] Source files for DCAN drivers?

2013-11-11 Thread AndrewTaneGlen
Hello users of RobertCNelson's ubuntu/kernel.

I've been having some problems which seem to relate the CAN bus. Details of 
the issue itself are fairly redundant with regards to my actual question, 
but are as follows: With CAN running and traffic present on the bus, when I 
do, for example, a very large data transfer from my host machine (over wifi 
with an ath9k_htc usb wifi device on the BBB in access point mode) using 
scp, the system regularly locks up (and is subsequently rebooted by the 
watchdog). Sometime it gives no stack trace messages, but when it does it 
appears as if various CAN related functions were being processed. 
Performing this test with the same setup, but can physically disconnected, 
presents no issues at all.

So I thought I'd take a look at the can driver source files and reading the 
info from TI here (
http://processors.wiki.ti.com/index.php/AM335X_DCAN_Driver_Guide) was 
expecting to find d_can.c and d_can_platform.c in 
KERNEL/drivers/net/can/d_can/, but found that only the equivalent c_can 
files were present - so it seems the very latest can drivers are not being 
used.

So I have two questions I'd greatly appreciate some help on:

1) Is it possible to integrate the d_can driver files into this kernel?
2) How would I go about starting to do this?


Cheers,
Andrew Glen.

-- 
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] Audio Cape with Beaglebone Black

2013-11-11 Thread Walter Schilling
I'm having difficulty with this setup.  I have a BBBone Black running the 
stock OS image from Angstrom, attached to an LCD7 display, and the Sound 
Cape.  I've modified my uEnv.txt file to match that which is listed below. 
 However, whenever my part starts to boot, the display blinks twice and it 
then goes back like it is rebooting.  Is there something else I need to 
do to make this work with the LCD cape that I am missing?

On Sunday, October 27, 2013 11:21:32 AM UTC-5, Yasir K wrote:

 It worked!! Well, I guess I didn't even know what I was staring at for 3 
 days, just removed the EMMC disable part and it works! Here is my uEnv.txt 
 file now:
  

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

  

 Thanks so much Martin!

  

 However, I still have really poor quality audio playback from the cape 
 using mplayer and an mp3 file. Where should I start to try and fix the 
 audio quality issue? Also, it only works once very 2-3 tries. Any pointers 
 to help me fix this issue would be much appreciated. 
  
  

 On Saturday, October 26, 2013 10:36:36 PM UTC+2, Martin AA6E wrote:

 I'm not an expert on this, but it seems that you've disabled eMMC.  So 
 you shouldn't expect to boot from eMMC!  Try eliminating BB-BONE-EMMC-2G 
 from the disable list in uEnv.

 Martin


 On Sat, Oct 26, 2013 at 4:23 PM, Yasir K yas...@gmail.com wrote:

  **Update**

  
 Have managed to get the audio cape running by editing the uenv.txt 
 file but only if I boot off an SD card, when I edit the uenv.txt file on 
 the eMMC, the board does not boot.
  
 Audio playback has a lot of hiss and only works once every few times. 
 Still need help in troubleshooting... 

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




 -- 
 Martin Ewing
 Branford, Connecticut
 martin@gmail.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.


Re: [beagleboard] Re: Is it possible to run BBB off cheap rechargeable batteries?

2013-11-11 Thread Dave Hylands
Hi Ron,

On Mon, Nov 11, 2013 at 2:32 PM, Ron B ron.batt...@gmail.com wrote:

 Dieter, you're right, linear regulators do waste a bunch of power.  Just
 FYI, I took a *quick* look at the ADP and it doesn't look to me like
 it's going to have enough power for the BB.

 I'm using the TPS63061.  It's a great part but the footprint isn't exactly
 prototype friendly.  If you're interested, I have a small write-up and pic
 of my board here http://andicelabs.com/beaglebone-power-bar/.


Very nice. Would it be possible (or perhaps permissible) to incorporate
your design into my board?

I'm planning on designing a cape which will do the following:

1 - Take an input voltage and use a step-down converter to produce 5V for
the beaglebone
2 - Have a switch to toggle between wall power and battery power, and also
a monitor to disconnect the battery if the battery voltage drops too low.
3 - Have the circuitry to talk on the bioloid bus (a single-ended
half-duplex multi-drop megbit serial communication channel).
4 - Have an on-board I/O processor which sits on the bioloid bus.

So I'm basically combining my brothers power board:
http://www.huvrobotics.com/shop/index.php?_a=viewProdproductId=7

USB bus interface:
http://www.huvrobotics.com/shop/index.php?_a=viewProdproductId=5
(except I'm going to go directly to one of the beaglebone UARTs)

And a general I/O board:
http://www.huvrobotics.com/shop/index.php?_a=viewProdproductId=6

except it will be all surface mount components.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.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.