Re: [beagleboard] BeagleBone 3.1MP Camera and Beaglebone Black Compatability

2013-11-08 Thread Walter Schilling
I've managed to get it to work, but now I'm running into a problem with the 
device driver.  When I try to capture an image with openCV, I receive the 
following error: VIDIOC_REQBUFS: Cannot allocate memory.

Is there somethign in the uenv.txt that needs to be set for the camera to 
function properly with openCV?  I can make it work fine with Cheese and 
mplayer.

On Monday, August 12, 2013 10:26:46 PM UTC-5, Gerald wrote:

 It shares the eMMC pins i know, so there could be a HW issue at play. I 
 suggest you ask the manufacturer what the issue is.

 Gerald



 On Mon, Aug 12, 2013 at 9:40 PM, Walter Schilling 
 schi...@msoe.edujavascript:
  wrote:

 Good evening.

 I am inquiring as to the compatability of the Beagleboard Black and the 
 3.1 MP Camera card.  When I go to the listing of capes (
 http://circuitco.com/support/index.php?title=BeagleBone_Capes#BeagleBone_Capes_Compatibility_Matrix),
  
 the camera is not listed as being compatible with the Beaglebone Black.  Is 
 this a simple problem software issue, or are there fundimental compability 
 problems between the two issues that are unlikely to be easily resolved?

 Thanks for any information you can shed.

 Walt

 PS: The reason for my inquiry is I am getting ready to teach a class with 
 the Bone, and I am going back and forth between the black and regular bone, 
 as one of my labs uses the 3.1 MP camera.  I'd like to go with the Black 
 due to cost and other factors, but if this cape isn't compatible, it's not 
 so easy to do.)
  
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard...@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.


Re: [beagleboard] USB errors (and hotplug work-around)

2013-11-08 Thread sword . l . dragon
Hi,I have the same issue with musb babble interupt. some low speed mouse 
can enumerate
normally on my box, some mouse will always fail.
For the failed mouse, there is always a babble interrupt, and  the host 
mode lost(DEVCTL is 0x98).
But I can work around with a externsion cord(about 1.5m), all the failed 
mouse can work in
this case.
Could you give me some hint for debugging this problem? I think it may be 
the bug with mentor's 
USB ip.

On Monday, October 28, 2013 11:27:09 PM UTC+8, Shi Bai wrote:

 Erm, ok. I'll look for a good shielded cable..


 On Mon, Oct 28, 2013 at 10:42 PM, Paulo Ferreira p...@keeh.netjavascript:
  wrote:

 You issue may be there (or not).

 To really really know,  you can use some wide bandwidth digital 
  oscilloscopes to see how the USB signals are behaving.
 Or try to use a good shielded USB cable.

 Guess what is the cheapest option, try it, and after that please tell us 
 what did you find.

 Best regards
 Paulo Ferreira







 On 28/10/2013, at 14:22, Bai Shi bais...@gmail.com javascript: wrote:

  Erm.. very good question. It indeed is the same external power supply 
 connected to the Beagle Board. Or I would say all the power come from the 
 same ATX power supply though it might (tiny little chance) be in different 
 rails.
 
  Frankly speaking the line was rather short (less than 5cm) so I didn't 
 bother to do shielding at all. The D+ and D- is using Cat5 ethernet cable.
 
  Does it make any significance?
 
  Regards,
  Bai Shi
 
 
  On Mon, Oct 28, 2013 at 9:56 PM, Paulo Ferreira 
  p...@keeh.netjavascript: 
 wrote:
 
  On 28/10/2013, at 13:27, Bai Shi bais...@gmail.com javascript: 
 wrote:
 
   My usb device draws power from external power supply, only D+ and D- 
 is connected to BBB. It works 90% of time but when I mess around too much 
 (on/off too frequently maybe, not confirmed), it will reset the USB of BBB 
 and then it will behave very strangely. Every access to /sys/bus/usb take 
 more than 15 seconds and timeout eventually.
  
   Hope my experience gives some hint...
 
  Is the same external power supply connected to the Beagle Board?
 
  So, the ground shield of the USB cable is connect only on one side (the 
 device) or is it completely  floating?
 
  Best regards
 
  Paulo Ferreira
 
  --
  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/nuyyVDhU6bw/unsubscribe.
  To unsubscribe from this group and all its topics, 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...@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 a topic in the 
 Google Groups BeagleBoard group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/beagleboard/nuyyVDhU6bw/unsubscribe.
 To unsubscribe from this group and all its topics, 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] Re: Pulseaudio loopback not working on BBB

2013-11-08 Thread levipearson


On Thursday, November 7, 2013 11:52:13 AM UTC-7, Keith Ruenheck wrote:

 I have a Beaglebone Black running Angstrom 3.8.13 connected (through USB) 
 to a Burr-Brown PCM2900C CODEC. I can setup loopback with alsa, but not 
 pulseaudio.  The command is accepted, but the audio isn't looped back.  The 
 commands I'm using are:

 alsaloop  -C hw:1,0 –P hw1:0 –t 5 –T 1 (which works), and

 pactl load-module module-loopback 
 source=alsa_input.usb-BurrBrown_from_Texas_Instruments_USB_AUDIO_CODEC-00-CODEC.analog-stereo
  
 sink=alsa_output.usb-BurrBrown_from_Texas_Instruments_USB_AUDIO_CODEC-00-CODEC.analog-stereo
  
 latency_msec=50 (which doesn't work)

 When I run the same pactl command on my laptop, running Fedora 19, it 
 works fine.



There's not enough information to say for sure, but there are a couple of 
things to check.  First, do a pactl list and see what state PulseAudio 
thinks its various components are in.  It's likely they're stuck in a 
SUSPENDED state for some reason.  I haven't configured pulseaudio on my 
Bone yet, but on my Pandaboard I had to change the /etc/pulse/daemon.conf 
file so that it used resample-method=speex-fixed-3 instead of speex-float-3.

If those ideas don't get you any further, try turning on more debugging 
information when you start up PulseAudio and give us a log dump. 

-- 
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: USB client mode / usb HID mouse emulation with Beaglebone Black

2013-11-08 Thread lepeev . pavel
Hi, is it possible for BeagleBone act as USB HID Camera device? (for 
example after installing v4l2loopback device driver)?

пятница, 27 сентября 2013 г., 13:41:00 UTC+4 пользователь 
felix.w...@googlemail.com написал:

 Hi Steve,

 the thing is that I already have a BBB and I need to do rather 
 computationally intensive stuff with it. I thought it would be best to just 
 use the available USB Port on the BBB to communicate with a host device 
 (=Computer) in order to avoid additional hardware and software layers. 
 Would you recommend coupling a Teensy2 with the BBB for this task?
 In the end I want to plug (either the BBB or something else) into an 
 computer which recognized the device as a USB HID mouse.

 Thanks a lot.
  Felix



-- 
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] Installing ubuntu 13.04 server

2013-11-08 Thread hvn052
Op donderdag 7 november 2013 21:54:33 UTC+1 schreef RobertCNelson:

  Ok, that should work. Just a question: this is for armel or armhf ? How 
 many 
  options do you recommend ? 

 13.04/raring has always been armhf only.. armel was dropped from 
 ports.ubuntu.com in 12.10... 


Ok, the netinstall boots fine, but it fails to find the default mirror. And 
considering a post from 4-2012 I'm not the first to experience this.
On installation: will this install raring on the mmc I'm booting from or do 
I need a different medium to install on ? Because that was the case with 
the server install as well. If so, I should install the netinstall on a USB 
stick and try to boot from that.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Re: BeagleBone Black: Ethernet transmits packets but does not receive them

2013-11-08 Thread levipearson
On Sunday, July 7, 2013 1:00:28 PM UTC-6, eskimobob wrote:

 I too have seen the problem both with Angstrom and Ubuntu (13.04). 
  RobertCNelson suggests:  I believe it's a problem in the cpsw ethernet 
 driver. (see above).  Presumably both Angstrom and Ubuntu pull in the same 
 low level driver.  

 It is not clear (to me at least) whether that means it is a problem which 
 the community can/should fix or whether it is something that TI need to be 
 made aware of so that they can fix it.
 Can anyone clarify?


CPSW refers to the ethernet subsystem in the SoC, which includes a 
VLAN-aware 3-port switch, two MACs, a timestamping engine for IEEE 1588, 
and a DMA-based host interface along with various glue.  It's all 
documented in the TRM, so theoretically anyone could fix it, but it's a 
little less straightforward than your typical ethernet interface.  Really 
nifty hardware though, if you can get it working right.

I've written and debugged a full driver suite for CPSW in the context of 
another TI SoC and another OS, so I could probably track this problem down 
if I can get some time to familiarize myself with the Linux drivers. It's 
pretty easy to get it into a state like this where the host port DMA engine 
is wedged in one direction, as there's a little ownership handshaking dance 
you have to do with the DMA descriptors and the documentation on it is a 
little vague in some cases, and it will kill the engine if you get things 
in an inconsistent state.  Luckily it stores the reason for wedging when 
this happens, so it *might* be relatively easy to diagnose.  There are also 
various opportunities for wedging things in other places, though, so we'll 
have to see what's really happening.

Anyway, I'll try to check it out in the next couple of days and I'll report 
if I make any progress.

-- 
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-08 Thread bram . seys . so


 Hey, that's just what I want to make but opto-isolated.

 
Did you use I2C for your inputs/outputs or did you address each GPIO pin?
 
In my project each GPIO pin would be a input/output.
 
Do you have some documentation on what you have made?
 
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] Help for program port COM

2013-11-08 Thread valentin7650
Hi all,

I would communicate with an IHM by my BBB, the BBB is connected to my pc by 
the USB client and i have a little electronic card containing 2 port COM 
connected on my BBB by the USB host.

So i have see than the BBB is connected to the PC by the port COM13 and i 
have make a little program for communicate with the IHM:


the program: 


#include iostream
#include stdio.h
#include termios.h
#include unistd.h
#include stdlib.h
#include fcntl.h
#include string.h

int main()
{
char buffer[8]= ;
struct termios options;
int fd,reception;
std::string code = ;
unsigned char nombre =0x01;
char P1_Etat = 0x00;
//char[] P1_Led new char[3]={ 0x01, 0x00, 0x00 };
char c;
fd=open(COM13,O_RDWR | O_NOCTTY| O_NDELAY);

if(fd0)
{
printf(problème port serie\n);
exit(-1);
}
else
{
printf(port serie %d ouvert\n,fd);
tcgetattr(fd,options);
cfsetospeed(options, B9600);

options.c_cflag |= (CLOCAL | CREAD);
options.c_cflag = ~PARENB;
options.c_cflag = ~CSTOPB;
options.c_cflag = ~CSIZE;
options.c_cflag |= ~CS8;
tcsetattr(fd, TCSANOW, options);
printf(fin de la configuration\n);
/*if(code == 1222)
printf(code bon\n);
else
printf(code pas bon\n);*/
printf(envoie des données\n);
if(write(fd,nombre, 1)0 )
printf(erreur);
printf(fin de l'envoie\n);
fcntl(fd,F_SETFL,8);
reception=read(fd,buffer,100);
printf(nb de caracteres lu: %s\n,reception,buffer);

if(reception==-1)
printf(erreur lecture port \n);

printf(fin de la réception);
}
close(fd);
}






But if i connect or not the IHM i have always the message problème port 
serie .

How i can solve this problem ? i need to change COM13 by the port COM of 
the USB host? what is the number for the usb host? 



Thank you

Valentin

-- 
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: Passwordless login to GDM for user other than root

2013-11-08 Thread Will Kostelecky
After a lot more research it does seem like all that should be necessary is 
to have these lines...

[daemon]
TimedLoginEnable=true
TimedLogin=username
TimedLoginDelay=10

...in /etc/gdm/custom.conf.   I have booted my BBB from a fresh flash, 
added my own user, changed the above to reflect the new user, and still the 
login greeting panel hangs.  When looking at top I do not see anything 
obvious that is running. 

PLEASE can someone HELP?

Will

On Wednesday, 6 November 2013 23:08:54 UTC, Will Kostelecky wrote:

 I want to setup my BBB to have a user other than root login to the gdm 
 without entering a password.   I have editted the /etc/gdm/custom.conf file 
 to replace root with the name of my user but the login does not complete.   
 It either hangs at the login window waiting for a password...or it just 
 hangs there without asking for a password.   I have logged into gdm using 
 the new user ID so I know it works.

 Thanks,
 Will


-- 
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] Installing ubuntu 13.04 server

2013-11-08 Thread Robert Nelson
On Fri, Nov 8, 2013 at 5:15 AM,  hvn...@gmail.com wrote:
 Op donderdag 7 november 2013 21:54:33 UTC+1 schreef RobertCNelson:

  Ok, that should work. Just a question: this is for armel or armhf ? How
  many
  options do you recommend ?

 13.04/raring has always been armhf only.. armel was dropped from
 ports.ubuntu.com in 12.10...


 Ok, the netinstall boots fine, but it fails to find the default mirror. And
 considering a post from 4-2012 I'm not the first to experience this.

Nope, still works for me..  Can you ping http://ports.ubuntu.com/
locally? As there is NO other mirrors.  In that past it's always
turned out the end user has had a crappy/limited internet connection.

Side note, did it actually say cannot connect to mirror? or did you
get tired of waiting the 10 minutes for ubuntu to do it's thing i
mention in the notes:

Note: with Ubuntu Releases
During Install, after proxy setup, there seems to be a VERY LONG delay...
(on average it seems to be taking anywhere between 10-20 Minutes)...
In the background: Ubuntu is trying really-really hard to find a
compatible kernel...

 On installation: will this install raring on the mmc I'm booting from or do
 I need a different medium to install on ? Because that was the case with the
 server install as well. If so, I should install the netinstall on a USB
 stick and try to boot from that.

The NetInstall has one big limitation, the psychical device you
flashed the installer with the mk_mmc.sh command has to be used at
all times to boot the device.  As the bootloader/etc is in that
small 100Mb boot fat partition..

However the rootfs can be almost anywhere else, from what's left on
that microSD, or on a usb-sata drive, or on another microSD (for some
platforms that have two slots..)..

Just remember, at partition stage, DO NOT TOUCH the 100MB fat/boot
partition, if you do you break the install and will have to start all
over with the mk_mmc.sh command as everything needed to finish the
install is located in that partition..

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] USB errors (and hotplug work-around)

2013-11-08 Thread Bai Shi
Hi Sword,

I haven't got time to touch BBB recently. Most of my time devote to testing
of some other device. Frankly speaking BBB more or less having the least
stable USB with 3.8 kernel. There was a patch in this thread indeed helped
somehow but still it gives trouble when it want.

From the first day we understand the USB is quite sensitive to current draw
or whatever, we have been using separate power from day 1 and have tested
using extension cord of more than 10m which didn't really cause much
difference IMHO. Sorry not able to provide much useful information, will
definitely revisit here when I got time to play with BBB again.

Meanwhile set mpurate indeed helped quite much with the old kernel. But
since the USB patch from kernel, I don't feel any substential difference by
applying it and what's more it seems sometimes ignore my setting _.

Regards,
Bai Shi


On Fri, Nov 8, 2013 at 1:20 PM, sword.l.dra...@gmail.com wrote:

 Hi,I have the same issue with musb babble interupt. some low speed mouse
 can enumerate
 normally on my box, some mouse will always fail.
 For the failed mouse, there is always a babble interrupt, and  the host
 mode lost(DEVCTL is 0x98).
 But I can work around with a externsion cord(about 1.5m), all the failed
 mouse can work in
 this case.
 Could you give me some hint for debugging this problem? I think it may be
 the bug with mentor's
 USB ip.

 On Monday, October 28, 2013 11:27:09 PM UTC+8, Shi Bai wrote:

 Erm, ok. I'll look for a good shielded cable..


 On Mon, Oct 28, 2013 at 10:42 PM, Paulo Ferreira p...@keeh.net wrote:

 You issue may be there (or not).

 To really really know,  you can use some wide bandwidth digital
  oscilloscopes to see how the USB signals are behaving.
 Or try to use a good shielded USB cable.

 Guess what is the cheapest option, try it, and after that please tell us
 what did you find.

 Best regards
 Paulo Ferreira







 On 28/10/2013, at 14:22, Bai Shi bais...@gmail.com wrote:

  Erm.. very good question. It indeed is the same external power supply
 connected to the Beagle Board. Or I would say all the power come from the
 same ATX power supply though it might (tiny little chance) be in different
 rails.
 
  Frankly speaking the line was rather short (less than 5cm) so I didn't
 bother to do shielding at all. The D+ and D- is using Cat5 ethernet cable.
 
  Does it make any significance?
 
  Regards,
  Bai Shi
 
 
  On Mon, Oct 28, 2013 at 9:56 PM, Paulo Ferreira p...@keeh.net wrote:

 
  On 28/10/2013, at 13:27, Bai Shi bais...@gmail.com wrote:
 
   My usb device draws power from external power supply, only D+ and D-
 is connected to BBB. It works 90% of time but when I mess around too much
 (on/off too frequently maybe, not confirmed), it will reset the USB of BBB
 and then it will behave very strangely. Every access to /sys/bus/usb take
 more than 15 seconds and timeout eventually.
  
   Hope my experience gives some hint...
 
  Is the same external power supply connected to the Beagle Board?
 
  So, the ground shield of the USB cable is connect only on one side
 (the device) or is it completely  floating?
 
  Best regards
 
  Paulo Ferreira
 
  --
  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/nuyyVDhU6bw/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.
 
 
  --
  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 a topic in the
 Google Groups BeagleBoard group.
 To unsubscribe from this topic, visit https://groups.google.com/d/
 topic/beagleboard/nuyyVDhU6bw/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.


  --
 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/nuyyVDhU6bw/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 

[beagleboard] How much is the maximum data transfer rate per I/O of BBB?

2013-11-08 Thread mrbilandi
Hi 

How much is the maximum data transfer rate per I/O of BBB?


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] How much is the maximum data transfer rate per I/O of BBB?

2013-11-08 Thread mrbilandi
Hi

How much is the maximum data transfer rate per I/O of BBB?

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] Installing ubuntu 13.04 server

2013-11-08 Thread hvn052


Op vrijdag 8 november 2013 15:50:59 UTC+1 schreef RobertCNelson:

 On Fri, Nov 8, 2013 at 5:15 AM,  hvn...@gmail.com javascript: wrote: 
  Op donderdag 7 november 2013 21:54:33 UTC+1 schreef RobertCNelson: 
  
   Ok, that should work. Just a question: this is for armel or armhf ? 
 How 
   many 
   options do you recommend ? 
  
  13.04/raring has always been armhf only.. armel was dropped from 
  ports.ubuntu.com in 12.10... 
  
  
  Ok, the netinstall boots fine, but it fails to find the default mirror. 
 And 
  considering a post from 4-2012 I'm not the first to experience this. 

 Nope, still works for me..  Can you ping http://ports.ubuntu.com/ 
 locally? As there is NO other mirrors.  In that past it's always 
 turned out the end user has had a crappy/limited internet connection. 

 Side note, did it actually say cannot connect to mirror? or did you 
 get tired of waiting the 10 minutes for ubuntu to do it's thing i 
 mention in the notes: 

 Note: with Ubuntu Releases 
 During Install, after proxy setup, there seems to be a VERY LONG delay... 
 (on average it seems to be taking anywhere between 10-20 Minutes)... 
 In the background: Ubuntu is trying really-really hard to find a 
 compatible kernel... 


Ok. This was a network error. I had to renew the DHCP lease, and then it 
started fine. However, it stops with an error on Select and install 
software.
I checked in BusyBox terminal with df which shows 11% used in the target 
partition, the other partitions show 0% use.


  On installation: will this install raring on the mmc I'm booting from or 
 do 
  I need a different medium to install on ? Because that was the case with 
 the 
  server install as well. If so, I should install the netinstall on a USB 
  stick and try to boot from that. 

 The NetInstall has one big limitation, the psychical device you 
 flashed the installer with the mk_mmc.sh command has to be used at 
 all times to boot the device.  As the bootloader/etc is in that 
 small 100Mb boot fat partition.. 

 However the rootfs can be almost anywhere else, from what's left on 
 that microSD, or on a usb-sata drive, or on another microSD (for some 
 platforms that have two slots..).. 

 Just remember, at partition stage, DO NOT TOUCH the 100MB fat/boot 
 partition, if you do you break the install and will have to start all 
 over with the mk_mmc.sh command as everything needed to finish the 
 install is located in that partition.. 


Ok, the SD card is 8GB which so far was enough for the things I want.

Regards,

hvn

-- 
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] Installing ubuntu 13.04 server

2013-11-08 Thread Robert Nelson
On Fri, Nov 8, 2013 at 11:13 AM,  hvn...@gmail.com wrote:


 Op vrijdag 8 november 2013 15:50:59 UTC+1 schreef RobertCNelson:

 On Fri, Nov 8, 2013 at 5:15 AM,  hvn...@gmail.com wrote:
  Op donderdag 7 november 2013 21:54:33 UTC+1 schreef RobertCNelson:
 
   Ok, that should work. Just a question: this is for armel or armhf ?
   How
   many
   options do you recommend ?
 
  13.04/raring has always been armhf only.. armel was dropped from
  ports.ubuntu.com in 12.10...
 
 
  Ok, the netinstall boots fine, but it fails to find the default mirror.
  And
  considering a post from 4-2012 I'm not the first to experience this.

 Nope, still works for me..  Can you ping http://ports.ubuntu.com/
 locally? As there is NO other mirrors.  In that past it's always
 turned out the end user has had a crappy/limited internet connection.

 Side note, did it actually say cannot connect to mirror? or did you
 get tired of waiting the 10 minutes for ubuntu to do it's thing i
 mention in the notes:

 Note: with Ubuntu Releases
 During Install, after proxy setup, there seems to be a VERY LONG delay...
 (on average it seems to be taking anywhere between 10-20 Minutes)...
 In the background: Ubuntu is trying really-really hard to find a
 compatible kernel...


 Ok. This was a network error. I had to renew the DHCP lease, and then it
 started fine. However, it stops with an error on Select and install
 software.
 I checked in BusyBox terminal with df which shows 11% used in the target
 partition, the other partitions show 0% use.

If it stops is the board hardlocking? ctrl-alt-f4 will get you to
the log window when using the video/mouse/keyboard...

What's the error showing?  My first guess it's that old v3.7.x based
kernel with the usb errata bug.. just use the v3.12.x kernel option...

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] Installing ubuntu 13.04 server

2013-11-08 Thread hvn052


Op vrijdag 8 november 2013 18:35:34 UTC+1 schreef RobertCNelson:

 On Fri, Nov 8, 2013 at 11:13 AM,  hvn...@gmail.com javascript: wrote: 
  
  
  Op vrijdag 8 november 2013 15:50:59 UTC+1 schreef RobertCNelson: 
  
  On Fri, Nov 8, 2013 at 5:15 AM,  hvn...@gmail.com wrote: 
   Op donderdag 7 november 2013 21:54:33 UTC+1 schreef RobertCNelson: 
   
Ok, that should work. Just a question: this is for armel or armhf 
 ? 
How 
many 
options do you recommend ? 
   
   13.04/raring has always been armhf only.. armel was dropped from 
   ports.ubuntu.com in 12.10... 
   
   
   Ok, the netinstall boots fine, but it fails to find the default 
 mirror. 
   And 
   considering a post from 4-2012 I'm not the first to experience this. 
  
  Nope, still works for me..  Can you ping http://ports.ubuntu.com/ 
  locally? As there is NO other mirrors.  In that past it's always 
  turned out the end user has had a crappy/limited internet connection. 
  
  Side note, did it actually say cannot connect to mirror? or did you 
  get tired of waiting the 10 minutes for ubuntu to do it's thing i 
  mention in the notes: 
  
  Note: with Ubuntu Releases 
  During Install, after proxy setup, there seems to be a VERY LONG 
 delay... 
  (on average it seems to be taking anywhere between 10-20 Minutes)... 
  In the background: Ubuntu is trying really-really hard to find a 
  compatible kernel... 
  
  
  Ok. This was a network error. I had to renew the DHCP lease, and then it 
  started fine. However, it stops with an error on Select and install 
  software. 
  I checked in BusyBox terminal with df which shows 11% used in the target 
  partition, the other partitions show 0% use. 

 If it stops is the board hardlocking? ctrl-alt-f4 will get you to 
 the log window when using the video/mouse/keyboard... 

 What's the error showing?  My first guess it's that old v3.7.x based 
 kernel with the usb errata bug.. just use the v3.12.x kernel option... 


dpkg-divert: error: unable to create new file 
'/var/lib/dpkg/diversions-new': Read-only file system
cleanup failed
can't remove '/target/usr/sbin/policy-rc.d': Read-only file system
omitted
Cannot open question file /target/var/cache/debconf/config.dat: Read-only 
file system
Unexpected error: command not executed: 'sh -c debconf-apt-progress 
omitted tasksel'
omitted
Configuring 'pkgsel' failed with error code 1

So is this the usb errata bug ?

Regards,

hvn

-- 
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: Getting started with bare-metal programming on BBB

2013-11-08 Thread Mark Lazarewicz

poor Linux support of TIs Starterware?

not sure I understand 




On Friday, November 8, 2013 7:52 AM, levipear...@gmail.com 
levipear...@gmail.com wrote:
 


On Thursday, November 7, 2013 11:59:10 PM UTC-7, Satz Klauer wrote:
On Thu, Nov 7, 2013 at 9:11 AM,  levip...@gmail.com wrote: 
 
 I was able to get that toolchain working and run a couple of basic programs 
 in an emulated (via qemu) ARM M3 platform.  Really, a microcontroller is the 
 biggest thing you'd *really* want to write all the code for as a hobbyist. 
 Digging through TRM details and RAM datasheets to figure out the correct 
 timing parameters to program into your SDRAM controller is really not a lot 
 of fun, and you'll never have the time to get a fraction of the BBB's 
 peripherals up and running without taking advantage of a LOT of pre-written 
 code. 

BBB is for several reasons the best solution for me. And what I try to 
do is not as complex as it sounds, I just want to access some GPIOs, 
Ethernet and - perhaps - UART. All the other things like USB, 
LCD/HDMI, SPIs and whatever is available on the board is not required. 
Meanwhile I have some code running on it - most troubles have been 
caused by build problems due to poor Linux support of TIs Starterware. 

Anyway, thanks for your thoughts! 


I actually wrote, with a small team, a set of drivers for the CPSW core that 
makes up the Ethernet support in the BBB, although my code actually ran on a 
different SoC. It was not a barebones driver, as it needed to interface with 
the timestamping engine to support PTP, and it was written for QNX rather than 
a no-OS environment, but it's at least an order of magnitude more complex than 
writing a UART driver or GPIO access. The BBB's SoC actually has a 3-port 
Ethernet switch inside, and the host port is controlled via a DMA interface 
while the RJ45 on the board is connected to one of the external ports. Even if 
you've had experience writing ethernet drivers before, you are likely to catch 
a few snags on this one.

I don't know exactly what Starterware provides for you, and it may be enough to 
get all the grungy system configuration and basic drivers going, but everything 
is about 10x harder with a complex and featureful SoC than it is on a 
microcontroller.  But if you're set on using the BBB for your bare-metal 
programming experiments, you're sure to learn a lot (and much of it through 
hair-pulling frustration), so I wish you luck!

-- 
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] Re: Beaglebone Black freezing, USB related?

2013-11-08 Thread philtulju
We have seen similar issues with USB devices on the BBB and are pretty 
mystified. We suspect a low-level bug in the USB drivers.
Did you ever get a good resolution?

BTW, on the HDMI console you will probably not see kernel panic messages- 
they are usually brought out only on the serial header, for which you will 
need a 3.3V USB/serial FTDI adapter.
We also see lots of warnings and USB connect/disconnects in the system logs.



On Saturday, November 2, 2013 6:30:44 AM UTC-7, mi...@bfo.co.uk wrote:

 Hi all

 New here, but I've been experimenting with the BeagleBone black for a few 
 months now with much success - I2C, SPI, ADC, GPIO, UARTS are all working 
 for me, and I have a my custom cape wining it's way from the fab to me as I 
 type. But now I'm trying to integrate it with the USB peripherals I'll need 
 and I am getting constant freezes.

 My setup. I have a good power supply (3A 5V) connected via the barrel 
 connector. I have a powered USB hub from a reputable manufacturer and which 
 also has a 3A supply. In that hub I have a bluetooth dongle, an Atheros 9K 
 based Wifi dongle, and a Huawei E3131 3G modem. There's also an ethernet 
 connection. I'm running a system derived from the Ubuntu self-installer on 
 eLinux.org (ie that plus updates and a few additional packages) with 
 the 3.8.13-bone28 kernel.

 The symptoms are after a variable number of hours the device hangs. The 
 heartbeat LED stops and it drops off the network. I'm normally running with 
 HDMI disabled but when I enable it I see nothing on the screen except the 
 console login - no panic message, although when it's hung the cursor stops 
 blinking. I have to power cycle it and when it comes back there is nothing 
 in the logs.

 So I haven't got much to work from here. I had loads of issues with 
 another Wifi card so switched to one with the atheros chipset, but I still 
 suspect it's the USB subsystem causing the problems as I had no issues 
 until I started plugging in devices (plus the hotplug doesn't seem to work 
 reliably under 3.8.13).

 So I guess my questions are:

 1. Does anyone have any suggestions - I gather a few people have been here 
 before me.

 2. Is there any way I can get some logs out of this? I've been running 
 LInux for 20 years but am new to embedded, and I find a crash with no panic 
 message quite disconcerting!

 3. Is it likely to be hardware or software causing this? The beaglebone 
 black is about 3 months old, so I think it's the latest revision.

 4. At this point I guess my next option is upgrading to the EXPERIMENTAL 
 or TESTING kernels from Robert Nelson (at 3.12.0-rc3 and rc7 respectively 
 at the moment) - has anyone tried these, and are they fit for purpose?

 Thanks in advance.


 Cheers... Mike



-- 
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] Raspbian is to Debian as Angstrom is to ????

2013-11-08 Thread Dieter Wirz
On Fri, Nov 8, 2013 at 5:55 AM, Jeffrey Goldberg jeff...@goldmark.org wrote:
 I'm an old Unix/Linux guy who has been away from modern Linux distros for a
 while. And I've simply found myself absolutely bewildered after ssh'ing into
 my BBB.

 I simply need a pointer to where I can find information about command line
 system admin for this sort of Linux distribution. As an analogy, I found
 that for my Raspberry Pi running Raspbian, I could read about Debian admin
 and package management. What should I be looking toward to understand
 Angstrom (command-line) system administration.

 A specific question is where can I find more about systemctl? As an example,
 I would like to know how sshd is started on my BBB (It runs just fine). But
 I can't find an sshd.service file as the man pages would lead me to believe
 exists. Nor do I find a traditional init.d file. (It was
 /etc/init.d/README that told me to learn about systemctl.) And I even
 desperately looked under xinitd.d.

 I feel like there must be some trove of documentation that I'm failing to
 find. I have looked before posting here.
Maybe this is what you are looking for:
http://www.freedesktop.org/wiki/Software/systemd/
And there you find a link to this:
http://0pointer.de/blog/projects/systemd-for-admins-3.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.


Re: [beagleboard] Re: Beaglebone Black freezing, USB related?

2013-11-08 Thread Philip Polstra
Have you seen any issues with a specific type of USB device?  I have had
good luck with the Alfa wireless adapters, but have seen issues with some
other adapters.  YMMV.


On Fri, Nov 8, 2013 at 12:51 PM, philtu...@gmail.com wrote:

 We have seen similar issues with USB devices on the BBB and are pretty
 mystified. We suspect a low-level bug in the USB drivers.
 Did you ever get a good resolution?

 BTW, on the HDMI console you will probably not see kernel panic messages-
 they are usually brought out only on the serial header, for which you will
 need a 3.3V USB/serial FTDI adapter.
 We also see lots of warnings and USB connect/disconnects in the system
 logs.




 On Saturday, November 2, 2013 6:30:44 AM UTC-7, mi...@bfo.co.uk wrote:

 Hi all

 New here, but I've been experimenting with the BeagleBone black for a few
 months now with much success - I2C, SPI, ADC, GPIO, UARTS are all working
 for me, and I have a my custom cape wining it's way from the fab to me as I
 type. But now I'm trying to integrate it with the USB peripherals I'll need
 and I am getting constant freezes.

 My setup. I have a good power supply (3A 5V) connected via the barrel
 connector. I have a powered USB hub from a reputable manufacturer and which
 also has a 3A supply. In that hub I have a bluetooth dongle, an Atheros 9K
 based Wifi dongle, and a Huawei E3131 3G modem. There's also an ethernet
 connection. I'm running a system derived from the Ubuntu self-installer on
 eLinux.org (ie that plus updates and a few additional packages) with
 the 3.8.13-bone28 kernel.

 The symptoms are after a variable number of hours the device hangs. The
 heartbeat LED stops and it drops off the network. I'm normally running with
 HDMI disabled but when I enable it I see nothing on the screen except the
 console login - no panic message, although when it's hung the cursor stops
 blinking. I have to power cycle it and when it comes back there is nothing
 in the logs.

 So I haven't got much to work from here. I had loads of issues with
 another Wifi card so switched to one with the atheros chipset, but I still
 suspect it's the USB subsystem causing the problems as I had no issues
 until I started plugging in devices (plus the hotplug doesn't seem to work
 reliably under 3.8.13).

 So I guess my questions are:

 1. Does anyone have any suggestions - I gather a few people have been
 here before me.

 2. Is there any way I can get some logs out of this? I've been running
 LInux for 20 years but am new to embedded, and I find a crash with no panic
 message quite disconcerting!

 3. Is it likely to be hardware or software causing this? The beaglebone
 black is about 3 months old, so I think it's the latest revision.

 4. At this point I guess my next option is upgrading to the EXPERIMENTAL
 or TESTING kernels from Robert Nelson (at 3.12.0-rc3 and rc7 respectively
 at the moment) - has anyone tried these, and are they fit for purpose?

 Thanks in advance.


 Cheers... Mike

  --
 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] Raspbian is to Debian as Angstrom is to ????

2013-11-08 Thread Don deJuan
On 11/08/2013 10:59 AM, Dieter Wirz wrote:
 On Fri, Nov 8, 2013 at 5:55 AM, Jeffrey Goldberg jeff...@goldmark.org wrote:
 I'm an old Unix/Linux guy who has been away from modern Linux distros for a
 while. And I've simply found myself absolutely bewildered after ssh'ing into
 my BBB.

 I simply need a pointer to where I can find information about command line
 system admin for this sort of Linux distribution. As an analogy, I found
 that for my Raspberry Pi running Raspbian, I could read about Debian admin
 and package management. What should I be looking toward to understand
 Angstrom (command-line) system administration.

 A specific question is where can I find more about systemctl? As an example,
 I would like to know how sshd is started on my BBB (It runs just fine). But
 I can't find an sshd.service file as the man pages would lead me to believe
 exists. Nor do I find a traditional init.d file. (It was
 /etc/init.d/README that told me to learn about systemctl.) And I even
 desperately looked under xinitd.d.

 I feel like there must be some trove of documentation that I'm failing to
 find. I have looked before posting here.
 Maybe this is what you are looking for:
 http://www.freedesktop.org/wiki/Software/systemd/
 And there you find a link to this:
 http://0pointer.de/blog/projects/systemd-for-admins-3.html

This should be of help to you. The amazing Arch wiki's to the rescue.
This is just the starting point, it will link you to just about
everything you want to know.
https://wiki.archlinux.org/index.php/systemd

-- 
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: Knee Brace Project planted with 6 Accelerometers and BBB

2013-11-08 Thread Don deJuan
On 11/08/2013 11:01 AM, Zain Dar wrote:
 A note to all those who see this post: *please do not be overwhelmed
 by the project!* it really is not that complicated when you think
 about it. Its just a regular knee brace with acccelerometers planted
 on it. I just need help on how to make a python code for reading the
 accelerometers on the gpio pins as well as the ADC pins. *They behave
 like sensors.* The Analog accelerometers have 3 connectors for the X,
 Y and Z dimension respectively and I'm looking for a way to make a
 code for reading those 3 dimensions in python. Any help is appreciated.

 On Monday, November 4, 2013 11:52:48 PM UTC-5, Zain Dar wrote:

 Hello, I'm working on a college project and my task is to develop
 a software code for a knee brace, that has 6 accelerometers
 planted on the frame (4 Analog Accelerometers and 2 Digital
 Accelerometers). The Analog accelerometers have 3 axis of
 dimensions, X, Y,  Z, whereas the Digital accelerometers have two
 interrupts (INT0 and INT1), an SDA, an SCL, a 3.3V ref and a GND.
 I need to program the BBB to turn on the designated pins on the
 expansion slots for the ref voltage (P8  P9 respectively), and
 for the reading of the accelerometers on the computer screen.
 After that I need to store the data from the accelerometers to an
 SD card. The main issue for this is that I'm not very good at
 programming, especially for the BBB since I haven't worked on it
 before, so is there any examples or tutorials on how I can make
 the software code from scratch or by putting different kinds of
 code together to make it work? Or is there any one who knows how
 to turn on any pin on the BBB and read the accelerometers from the
 expansion slots? I appreciate anyone who helps me out on this as
 it is a challenging step for me in. Any advice is appreciated,

 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.
Maybe this will help some. I am not a big python guy so dont have code
to share. Why did you choose python over other languages?
http://chumbylab.blogspot.com/2012/04/reading-accelerometer-and-thus-i2c-from.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.


Re: [beagleboard] Re: Knee Brace Project planted with 6 Accelerometers and BBB

2013-11-08 Thread Don deJuan
On 11/08/2013 11:01 AM, Zain Dar wrote:
 A note to all those who see this post: *please do not be overwhelmed
 by the project!* it really is not that complicated when you think
 about it. Its just a regular knee brace with acccelerometers planted
 on it. I just need help on how to make a python code for reading the
 accelerometers on the gpio pins as well as the ADC pins. *They behave
 like sensors.* The Analog accelerometers have 3 connectors for the X,
 Y and Z dimension respectively and I'm looking for a way to make a
 code for reading those 3 dimensions in python. Any help is appreciated.

 On Monday, November 4, 2013 11:52:48 PM UTC-5, Zain Dar wrote:

 Hello, I'm working on a college project and my task is to develop
 a software code for a knee brace, that has 6 accelerometers
 planted on the frame (4 Analog Accelerometers and 2 Digital
 Accelerometers). The Analog accelerometers have 3 axis of
 dimensions, X, Y,  Z, whereas the Digital accelerometers have two
 interrupts (INT0 and INT1), an SDA, an SCL, a 3.3V ref and a GND.
 I need to program the BBB to turn on the designated pins on the
 expansion slots for the ref voltage (P8  P9 respectively), and
 for the reading of the accelerometers on the computer screen.
 After that I need to store the data from the accelerometers to an
 SD card. The main issue for this is that I'm not very good at
 programming, especially for the BBB since I haven't worked on it
 before, so is there any examples or tutorials on how I can make
 the software code from scratch or by putting different kinds of
 code together to make it work? Or is there any one who knows how
 to turn on any pin on the BBB and read the accelerometers from the
 expansion slots? I appreciate anyone who helps me out on this as
 it is a challenging step for me in. Any advice is appreciated,

 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.
And one more I found
http://think-bowl.com/raspberry-pi/i2c-python-library-3-axis-digital-accelerometer-adxl345-with-the-raspberry-pi/

-- 
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: Passwordless login to GDM for user other than root

2013-11-08 Thread Don deJuan
On 11/08/2013 06:29 AM, Will Kostelecky wrote:
 After a lot more research it does seem like all that should be
 necessary is to have these lines...

 [daemon]
 TimedLoginEnable=true
 TimedLogin=username
 TimedLoginDelay=10

 ...in /etc/gdm/custom.conf.   I have booted my BBB from a fresh flash,
 added my own user, changed the above to reflect the new user, and
 still the login greeting panel hangs.  When looking at top I do not
 see anything obvious that is running.

 PLEASE can someone HELP?

 Will

 On Wednesday, 6 November 2013 23:08:54 UTC, Will Kostelecky wrote:

 I want to setup my BBB to have a user other than root login to the
 gdm without entering a password.   I have editted the
 /etc/gdm/custom.conf file to replace root with the name of my user
 but the login does not complete.   It either hangs at the login
 window waiting for a password...or it just hangs there without
 asking for a password.   I have logged into gdm using the new user
 ID so I know it works.

 Thanks,
 Will

 -- 
 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.
Why are you not checking your logs for what is happening?

I do not use Angstrom so cant really be of much use other than
suggesting what upstream expects the package to act like.

On one of my arch installs I installed GDM and setup passwordless logins
as the DOCs for GDM suggest. Have you tried the non timed option?

AutomaticLogin=username
AutomaticLoginEnable=True

Also have you this this in pam.d/gdm?

auth sufficient pam_succeed_if.so user ingroup nopasswdlogin

then add a nopasswdlogin group and add the user to it? Not sure what
version of GDM you're on.

-- 
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: Knee Brace Project planted with 6 Accelerometers and BBB

2013-11-08 Thread Zain Dar
Well I was thinking of choosing python because of its ease of use for pin 
manipulation and when I first got the beaglebone, I was setting up the 
python library. I wasn't sure how to do it in other languages because I 
don't have that much experience. As far as C++ is concerned, I do know a 
little bit of it from college, but haven't continued learning it.

On Friday, November 8, 2013 2:08:46 PM UTC-5, don wrote:

  On 11/08/2013 11:01 AM, Zain Dar wrote:
  
 A note to all those who see this post: *please do not be overwhelmed by 
 the project!* it really is not that complicated when you think about it. 
 Its just a regular knee brace with acccelerometers planted on it. I just 
 need help on how to make a python code for reading the accelerometers on 
 the gpio pins as well as the ADC pins. *They behave like sensors.* The 
 Analog accelerometers have 3 connectors for the X, Y and Z dimension 
 respectively and I'm looking for a way to make a code for reading those 3 
 dimensions in python. Any help is appreciated.

 On Monday, November 4, 2013 11:52:48 PM UTC-5, Zain Dar wrote: 

 Hello, I'm working on a college project and my task is to develop a 
 software code for a knee brace, that has 6 accelerometers planted on the 
 frame (4 Analog Accelerometers and 2 Digital Accelerometers). The Analog 
 accelerometers have 3 axis of dimensions, X, Y,  Z, whereas the Digital 
 accelerometers have two interrupts (INT0 and INT1), an SDA, an SCL, a 3.3V 
 ref and a GND. I need to program the BBB to turn on the designated pins on 
 the expansion slots for the ref voltage (P8  P9 respectively), and for the 
 reading of the accelerometers on the computer screen. After that I need to 
 store the data from the accelerometers to an SD card. The main issue for 
 this is that I'm not very good at programming, especially for the BBB since 
 I haven't worked on it before, so is there any examples or tutorials on how 
 I can make the software code from scratch or by putting different kinds of 
 code together to make it work? Or is there any one who knows how to turn on 
 any pin on the BBB and read the accelerometers from the expansion slots? I 
 appreciate anyone who helps me out on this as it is a challenging step for 
 me in. Any advice is appreciated, 

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

 Maybe this will help some. I am not a big python guy so dont have code to 
 share. Why did you choose python over other languages? 

 http://chumbylab.blogspot.com/2012/04/reading-accelerometer-and-thus-i2c-from.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.


Re: [beagleboard] Installing ubuntu 13.04 server

2013-11-08 Thread hvn052
Op vrijdag 8 november 2013 19:02:03 UTC+1 schreef RobertCNelson:

  dpkg-divert: error: unable to create new file 
  '/var/lib/dpkg/diversions-new': Read-only file system 
  cleanup failed 
  can't remove '/target/usr/sbin/policy-rc.d': Read-only file system 
  omitted 
  Cannot open question file /target/var/cache/debconf/config.dat: 
 Read-only 
  file system 
  Unexpected error: command not executed: 'sh -c debconf-apt-progress 
  omitted tasksel' 
  omitted 
  Configuring 'pkgsel' failed with error code 1 
  
  So is this the usb errata bug ? 

 Nah your microSD card took a drive, looks like it just could not 
 handle the sustained writes so flipped to ro..  Is this with v3.7.x or 
 v3.12.x? 


This is with omap3-beagle-xm

Regards,

hvn

-- 
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] Installing ubuntu 13.04 server

2013-11-08 Thread Robert Nelson
On Fri, Nov 8, 2013 at 2:46 PM,  hvn...@gmail.com wrote:
 Op vrijdag 8 november 2013 19:02:03 UTC+1 schreef RobertCNelson:

  dpkg-divert: error: unable to create new file
  '/var/lib/dpkg/diversions-new': Read-only file system
  cleanup failed
  can't remove '/target/usr/sbin/policy-rc.d': Read-only file system
  omitted
  Cannot open question file /target/var/cache/debconf/config.dat:
  Read-only
  file system
  Unexpected error: command not executed: 'sh -c debconf-apt-progress
  omitted tasksel'
  omitted
  Configuring 'pkgsel' failed with error code 1
 
  So is this the usb errata bug ?

 Nah your microSD card took a drive, looks like it just could not
 handle the sustained writes so flipped to ro..  Is this with v3.7.x or
 v3.12.x?


 This is with omap3-beagle-xm

give dt-beagleboard-xm it's newer/faster and the future..

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] Re: Raspbian is to Debian as Angstrom is to ????

2013-11-08 Thread Levi Pearson
On Thursday, November 7, 2013 9:55:11 PM UTC-7, Jeffrey Goldberg wrote:

 I'm an old Unix/Linux guy who has been away from modern Linux distros for 
 a while. And I've simply found myself absolutely bewildered after ssh'ing 
 into my BBB.

 I simply need a pointer to where I can find information about command line 
 system admin for this sort of Linux distribution. As an analogy, I found 
 that for my Raspberry Pi running Raspbian, I could read about Debian admin 
 and package management. What should I be looking toward to understand 
 Angstrom (command-line) system administration.

 A specific question is where can I find more about systemctl? As an 
 example, I would like to know how sshd is started on my BBB (It runs just 
 fine). But I can't find an sshd.service file as the man pages would lead me 
 to believe exists. Nor do I find a traditional init.d file. (It was 
 /etc/init.d/README that told me to learn about systemctl.) And I even 
 desperately looked under xinitd.d.

 I feel like there must be some trove of documentation that I'm failing to 
 find. I have looked before posting here.

 I can always put some OS I'm more familiar with on a microSD, but I would 
 like to give Angstrom a fair chance first.


I think learning systemd is worthwhile, as it is a much more powerful 
system than sysvinit.  It's also the default init for Fedora, Arch, and 
several other big distros.  Ubuntu uses an alternate init system called 
Upstart that is also more powerful and flexible than sysvinit.  Both allow 
you to explicitly model the actual dependencies between services that run, 
so everything gets initialized in order but as quickly as possible. 
 Upstart and systemd can both significantly cut down on boot time, but 
systemd goes even further by also taking on the role of inetd, which will 
open sockets on the ports that services will use in anticipation of 
starting the service, and hand the sockets over when the service is 
finished starting. You can use this to trigger the starting of services as 
well.

For example, if you're tight on resources, you can have systemd listen on 
port 22 in place of a ssh daemon.  It won't actually *start* the daemon 
until someone connects to the port, though. And if you have a service 
you've written that requires other resources to run, it will ensure your 
service will start as soon as those are available.  I've spent a lot of 
time pulling my hair out trying to resolve nondeterministic startup issues 
in a systemvinit-based embedded system.

-- 
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: Unable to Launch getting started page. After updating

2013-11-08 Thread sid2013
Also I'd like to know which OS is currently the best for BBB?
Should I stick with Angstrom? I'm a total Beginner mind you. 

On Friday, November 8, 2013 3:17:22 PM UTC-6, sid2013 wrote:

 I recently updated the Angstrom image on the BBB to the latest one. about 
 a week ago, everything worked, even with the new image installed. The 
 startup page worked. The device showed up on the port scanner app. I could 
 use Putty to SSH into it. But today when I connected it, I am not able to 
 get the SSH to work, the getting started page doesnt show its connects, 
 neither does the port scanner detect it. The BBB seems to be working as I 
 am getting the Pulsed LED as usual and seems its booted okay. 

 I recently installed Vmplayer and eclipse on my desktop and spend the last 
 couple of days figuring out how to install eclipse on Ubuntu through 
 VMplayer. I was able to SSH back then through Ubuntu on to my BBB. I added 
 a folder on the BBB through eclipse.  today its stopped working.
 I dont know if installing one of the above software has modified any 
 drivers or changed anything on the BBB.

 Should I try to use the same image of Angstrom I previously used on the 
 uSD and reimage it? Or is there any better explanation to this. 


-- 
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] Can't get BeagleSNES to work on BBB

2013-11-08 Thread Scott Paul
Hello, first time using a BBB, and I've hit a wall.  I'm good with Arduino 
toys and before switching back to Windows 7 I used multiple Ubuntu machines 
for about 3 years.  So some of this BBB stuff isn't too far fetched for me.

I bought the board from Adafruit about 2 weeks ago now for the soul purpose 
of getting BeagleSNES to work on it.  From what I can tell, the SD card 
isn't getting written correctly or the Beagle can't read it as it should.

I followed the getting started for BBB.  I was able to plug it in and see 
it and then use Putty to log in as root.  I also downloaded the latest 
software for it, imaged that onto an SD card and the update went fine, 
although it took about 65 minutes.  Much longer than the caution, may take 
45 minutes warning suggested.  After plugging it back into my Windows 7 
machine it looks fine, so the update seems to have worked, so my SD card 
burning ability is fine, and the BBB can read the card.

So I download the full BBB image, write that to a card, plug it into the 
BBB, plug in the miniUSB cable to Windows, and all I get is a unique blink 
pattern for about the first 10 seconds on power up.  After that, its just 
the heartbeat pattern.  Windows never sees any partition, so I can't copy 
my roms to it.  Basically it looks frozen somewhere.  I checked the MD5 
hash whatever code and it is a match for the file from Sourceforge.  I try 
just plugging everything into the TV anyways (2 different TV's) and there 
is nothing.  I follow the instructions closely and repeat, nothing.  I 
deviate a little and try resetting or holding the boot button longer, 
nothing. Just a heartbeat and no screen or sound action.

Then I go back and reburn the image to another 4Gb card, nothing on Windows 
or at the TV.  I redownload the zipped image, rewrite both cards, nothing.

In summary, a whole lotta nothing :)  It seems like all the pieces have 
proven they work somehow, except the actual BeagleSNES image, which I 
downloaded twice and re-wrote to multiple cards, multiple times.  

Now I am downloading Android and going to burn that to another card to see 
if that will work.  If that works for me, then what?  Is BeagleSNES working 
with the latest of everything?  I assume it is or I would be able to find 
more problems in searching this forum, but I didn't.

Should I try to do a complete format of the microSD card before writing the 
image to it?  I don't think that should matter.
Should I try getting an 8Gb card? I saw on some write ups that 4Gb is close 
and might not always work for other images.

-- 
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-08 Thread amgrays
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] Beagle Bone Black DC Power and Battery Cape

2013-11-08 Thread Iván Cabrera Altamirano
Hello everybody,

I want my BBB keeps ON always although DC power supply fails.

I am planning to use the BBB with the Battery Cape, but I am unable to find 
if it is possible.

The main idea is to power ON my BBB from DC all time and when power supply 
goes down, the battery cape act as a backup battery without system 
restarting.

My question: Is possible to do it? or, do I need to use a different circuit 
(of battery backup) that allows that?

Many thanks,

Iván

-- 
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] Reinstalling Applications after upgrading to Linux ubuntu-armhf 3.8.13-bone28

2013-11-08 Thread Robert Nelson
On Nov 8, 2013 6:26 PM, Kenneth Martin mar...@granitesemi.com wrote:

 Robert, just for your info: after a day, I was unsuccessful with below.
So I decided to go back to an image install. From
 http://www.armhf.com/index.php/getting-started-with-ubuntu-img-file/
 I dfollowed the link to
 http://www.armhf.com/index.php/download/
 and downloaded
http://s3.armhf.com/debian/saucy/bone/ubuntu-saucy-13.10-armhf-3.8.13-bone28.img.xz
 which I believe is your image file. I

It's not...

 installed it my sd card using xz -cd *.xz  dev/sdf
 mounted the new sd card (looked fine), copied in my old
/etc/network/intefaces file
 plugged it into my beagle and I am back where I was about 3 months ago
with all ports closed.

  nmap -A beagle

 Starting Nmap 6.00 ( http://nmap.org ) at 2013-11-08 16:45 EST
 Nmap scan report for beagle (192.168.1.128)
 Host is up (0.0022s latency).
 rDNS record for 192.168.1.128: beaglebone.local
 All 1000 scanned ports on beagle (192.168.1.128) are closed

 Service detection performed. Please report any incorrect results at
http://nmap.org/submit/ .
 Nmap done: 1 IP address (1 host up) scanned in 0.20 seconds
 

 If I plug in my bone20 sd card and do the same, I get

  nmap -A beagle

 Starting Nmap 6.00 ( http://nmap.org ) at 2013-11-08 16:54 EST
 Nmap scan report for beagle (192.168.1.128)
 Host is up (0.0021s latency).
 rDNS record for 192.168.1.128: beaglebone.local
 Not shown: 999 closed ports
 PORT   STATE SERVICE VERSION
 22/tcp open  ssh OpenSSH 6.1p1 Debian 4 (protocol 2.0)
 | ssh-hostkey: 1024 5d:84:2e:7c:c4:1a:10:ee:1c:d3:97:76:66:b5:92:8f (DSA)
 |_2048 08:8b:d8:8e:4c:fc:d2:74:f1:46:e9:6e:b8:28:eb:ab (RSA)
 Service Info: OS: Linux; CPE: cpe:/o:linux:kernel

 Service detection performed. Please report any incorrect results at
http://nmap.org/submit/ .
 Nmap done: 1 IP address (1 host up) scanned in 0.55 seconds
 

 so I believe my network is fine.

 I have no idea why I can't connect with your images, but without being
able to connect, I have no way of figuring out what is going wrong. Any
thoughts on
 uEnv.txt not being compatible. Any thoughts about the best way to try and
get a serial usb link going? I will keep trying, but am totally lost on
what to do. Everything seems to be going right until I try to login in over
the internet. Your image seems to boot up fine, with the lights doing the
right things, and booting down after 10 seconds when holding the reset key
down etc., just can't get into it over the ethernet.

 -Ken


 On 13-11-07 06:00 PM, Robert Nelson wrote:

 On Thu, Nov 7, 2013 at 4:49 PM, Bit Pusher ken.w.mar...@gmail.com
wrote:

 I am interesting in downloading and upgrading my kernel to Linux
 ubuntu-armhf 3.8.13-bone28 from Linux ubuntu-armhf 3.8.13-bone20.

 If it helps, since it sounds like your starting over to upgrading
 your system, this time maybe start with an image with easy kernel
 upgrades?

 http://elinux.org/BeagleBoardUbuntu#Demo_Image

 (or if your in a none linux environment..)
 http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black

 as kernel upgrades are as easy as:

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


 I have been working in 20 for a few months and have installed quite a
few
 applications. Are there any directions on:
 1) Listing current apt-get packages that need to be re-installed
(without
 listing dependencies).

 dpkg --get-selections  /backup/installed-software.log

 sudo aptitude install $(cat /backup/installed-software.log)

 2) What directories besides /etc, /home, /lib/firmware and /boot, etc
should
 be backed up and re-copied to new system

 ignore /boot/ the new image should populate the bootloader...

 3) Any other considerations for the backup.
 This could be a good area for a tutorial; any takers? I could try, but
I'm
 not knowledgeable enough in kernel/driver issues.
 Related question: how often should one be considering going through this
 process? Can it be scripted? Thanks.

 ah, store your application/scripts off the device and into a private
 git/github/etc location... ;)

 Regards,


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