Re: [beagleboard] Connman cannot be used in production of beaglebone wireless systems

2018-01-05 Thread David Goodenough
If you stop using conman, you can use /etc/network/interfaces, and that will 
give you a 
script you can use to configure all your network connections.  If you use:-

man interfaces

it will tell you how to do it.

David

On Friday, 5 January 2018 22:32:51 GMT maxmike wrote:


Can't remove connman as the service will stop and ssh is dead. There might be a 
way to 
do things after disabling connman service but I don't know what to do.

On Friday, January 5, 2018 at 2:28:10 PM UTC-8, maxmike wrote:
No - I'm trying to use wifi as wlan0; every load of a flash OS image fails to 
allow connects 
because the auto-generated connman service name on the new machine is different.
The result is a different /var/lib/connman/* directory name.


Fortunately at least wlan0 is constant or I could never do dynamic changes to 
the static ip 
settings in the field.
I am using a single static ip across all processors. 
-- For more options, visit http://beagleboard.org/discuss[1]
beagleboard+unsubscr...@googlegroups.com[2].To view this discussion on the web 
visit 
https://groups.google.com/d/msgid/beagleboard/b9158ac6-9e29-4c52-bd8d-e577eb5679d3%40googlegroups.com[3].For
 more options, visit https://
groups.google.com/d/optout[4].






[1] http://beagleboard.org/discuss
[2] mailto:beagleboard+unsubscr...@googlegroups.com
[3] 
https://groups.google.com/d/msgid/beagleboard/b9158ac6-9e29-4c52-bd8d-e577eb5679d3%40googlegroups.com?utm_medium=email_source=footer
[4] https://groups.google.com/d/optout

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/9861228.6JuqEZlfms%40continuum.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Long booting time when no network cable is plugged

2016-11-08 Thread David Goodenough
Have you configured it?  It needs to know which interfaces it controls, and you 
need to make 
sure that these interfaces are not auto-started.  Have you read the README in 
/usr/share/
doc/ifplugd ?

David

On Tuesday, 8 November 2016 19:04:31 GMT Paul Plankton wrote:


Simple installation of ifplugd does not do the job - what else has to be done?




2016-10-26 12:22 GMT+02:00 David Goodenough 
<david.goodeno...@linkchoose.co.uk[1]>:


There is a package called ifplugd which monitors the connection and only 
activates the 
connection when a cable is plugged into the socket and the electrical 
connection to another 
system (or router/switch) is established.
 
David
 
On Tuesday, 25 October 2016 22:08:51 BST Paul Plankton wrote:


But this disables the network interface permanently, not only when no cable is 
plugged?


On Tue, Oct 25, 2016 at 3:46 PM, Paul Plankton <_paul.pl...@gmail.com_> wrote: 
> Hi, > > I'm 
running a BBG with Ubuntu on external microSD-card (the one from > http://
www.elinux.org/BeagleBoardUbuntu#Ubuntu_.2816.04.1.29[2] ). > > When no network 
cable 
is connected to the BBG, the boot time is quite long, > it comes up with a text 
> > A start job 
is running for Raise network interfaces (39s / 5min 2s) > > > The first time 
value is counting 
and it really takes minutes... > > How can I avoid this delay and let it 
continue without 
network when no cable > is plugged? 

edit /etc/network/interfaces 

and comment out the two  "eth0" lines.. 

Regards, 

-- Robert Nelson 

https://rcn-ee.com/[3] 


-- For more options, visit http://beagleboard.org/discuss[4]
beagleboard+unsubscr...@googlegroups.com[5].To view this discussion on the web 
visit 
https://groups.google.com/d/msgid/beagleboard/2df6ea22-7d5f-4c39-8650-2d7520c7e32e
%40googlegroups.com[6].For more options, visit 
https://groups.google.com/d/optout[7].




-- For more options, visit http://beagleboard.org/discuss[4]
https://groups.google.com/d/topic/beagleboard/HnnW7ThaE-s/unsubscribe[8].To 
unsubscribe from this group and all its topics, send an email to beagleboard
+unsubscr...@googlegroups.com[5].To view this discussion on the web visit 
https://
groups.google.com/d/msgid/beagleboard/16604528.pWpmt2WTRT%40stargate[9].

https://groups.google.com/d/optout[7].




-- For more options, visit http://beagleboard.org/discuss[4]
beagleboard+unsubscr...@googlegroups.com[5].To view this discussion on the web 
visit 
https://groups.google.com/d/msgid/beagleboard/CAMCbi43P9HX
%3DvVuxKz_5Sdp_DgqXjNUw7DAUcdc6VCne8UxdUA%40mail.gmail.com[10].For more 
options, visit https://groups.google.com/d/optout[7].






[1] mailto:david.goodeno...@linkchoose.co.uk
[2] http://www.elinux.org/BeagleBoardUbuntu#Ubuntu_.2816.04.1.29
[3] https://rcn-ee.com/
[4] http://beagleboard.org/discuss
[5] mailto:beagleboard+unsubscr...@googlegroups.com
[6] https://groups.google.com/d/msgid/beagleboard/
2df6ea22-7d5f-4c39-8650-2d7520c7e32e%40googlegroups.com?
utm_medium=email_source=footer
[7] https://groups.google.com/d/optout
[8] https://groups.google.com/d/topic/beagleboard/HnnW7ThaE-s/unsubscribe
[9] 
https://groups.google.com/d/msgid/beagleboard/16604528.pWpmt2WTRT%40stargate?
utm_medium=email_source=footer
[10] https://groups.google.com/d/msgid/beagleboard/CAMCbi43P9HX
%3DvVuxKz_5Sdp_DgqXjNUw7DAUcdc6VCne8UxdUA%40mail.gmail.com?
utm_medium=email_source=footer

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2979749.jyg3ByRqtX%40stargate.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Long booting time when no network cable is plugged

2016-10-26 Thread David Goodenough
There is a package called ifplugd which monitors the connection and only 
activates the 
connection when a cable is plugged into the socket and the electrical 
connection to another 
system (or router/switch) is established.

David

On Tuesday, 25 October 2016 22:08:51 BST Paul Plankton wrote:


But this disables the network interface permanently, not only when no cable is 
plugged?


On Tue, Oct 25, 2016 at 3:46 PM, Paul Plankton  wrote: 
> Hi, > > I'm 
running a BBG with Ubuntu on external microSD-card (the one from > http://
www.elinux.org/BeagleBoardUbuntu#Ubuntu_.2816.04.1.29[2] ). > > When no network 
cable 
is connected to the BBG, the boot time is quite long, > it comes up with a text 
> > A start job 
is running for Raise network interfaces (39s / 5min 2s) > > > The first time 
value is counting 
and it really takes minutes... > > How can I avoid this delay and let it 
continue without 
network when no cable > is plugged? 

edit /etc/network/interfaces 

and comment out the two  "eth0" lines.. 

Regards, 

-- Robert Nelson 

https://rcn-ee.com/[3] 


-- For more options, visit http://beagleboard.org/discuss[4]
beagleboard+unsubscr...@googlegroups.com[5].To view this discussion on the web 
visit 
https://groups.google.com/d/msgid/beagleboard/2df6ea22-7d5f-4c39-8650-2d7520c7e32e
%40googlegroups.com[6].For more options, visit 
https://groups.google.com/d/optout[7].






[1] javascript:
[2] http://www.elinux.org/BeagleBoardUbuntu#Ubuntu_.2816.04.1.29
[3] https://rcn-ee.com/
[4] http://beagleboard.org/discuss
[5] mailto:beagleboard+unsubscr...@googlegroups.com
[6] https://groups.google.com/d/msgid/beagleboard/
2df6ea22-7d5f-4c39-8650-2d7520c7e32e%40googlegroups.com?
utm_medium=email_source=footer
[7] https://groups.google.com/d/optout

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/16604528.pWpmt2WTRT%40stargate.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Broadband

2015-11-09 Thread David Goodenough
David,

Yes, this was the very hopeful situation a year ago, since which NOTHING 
seems to have happened.  In the interim all the neighbouring districts 
have caught 
up and overtaken.

Cotswold Broadband said in March that they were on the point of signing 
contracts, and then again in September.  Lots of promises and no delivery.

David

On Sunday 08 November 2015 18:12:17 David McFarlane wrote:
> David,
> 
> FYI
> 
> 
> David McFarlane
> da...@spbroadway.com
> DD:0203 405 1400
> M: 07917 770475
> 
> [SP Broadway Logo High Res]
> 
> SP Broadway is a communications consultancy specialising in planning 
and
> development.
 
> SP Broadway  I  50 Broadway  I  London SW1H 0RG
> www.spbroadway.com  I 
> Twitter  I 
> LinkedIn
 
> From: Mr Richard A Langridge [mailto:ralangri...@virginmedia.com]
> Sent: 20 October 2014 18:02
> To: David McFarlane
> Subject: Broadband
> Importance: High
> 
> Hi David,
> 
> As you know, the District Council has pledged to fill the gap left in areas
> where the OCC/BT contract does not provide high speed broadband. We 
have
> pledged to hit as near to 100% coverage district-wide as we possibly 
can,
> as we understand the vital importance of broadband to rural residents 
and
> businesses.
 
> The 10% shortfall is being provided by Cotswold Broadband using an up 
to
> £1.6M loan from WODC and grants from BDUK- The UK Governments 
delivery body
> for Broadband.
 
> Cotswolds Broadband is currently undertaking the formal State Aid
> consultation
> 
(www.cotswoldsbroadband.co.uk).  
While
> members of the public can respond to this, its real purpose is to get
> responses from telecoms providers and the responses will formally 
define
> our project area.  At that point (sometime next month) we will know for
> definite which of Filkins, Langford, Kencot and Broadwell will be within
> our project area and which will be covered by AN Other (e.g. BT, GigClear
> etc).
 
> In terms of overhead vs underground connection - it is way too early to
> speculate the technologies that will be used for each community.  The 
next
> stage after the State Aid consultation is the procurement and, to fit with
> the funding rules, this has to be completely technology neutral.  Once 
the
> procurement is complete (next spring) we will have a better idea of how
> different areas will be connect to broadband.
 
> I know this is only  a partial answer but we will have more definite details
> in due course.
 
> However, the Conservative Group on the District Council absolutely 
stands by
> its’ pledge.
 
> Hope this helps Mr Kemp and others. Happy to help further if needed,
> 
> Thanks
> 
> Richard
> 
> Cllr. Richard Langridge
> District Council Cabinet Member for Local Economy, Communities & 
Culture
> Witney North Ward
> County Councillor Witney North and East Division
> Tel: (01993) 704493
> email:
> 
richard.langri...@westoxon.gov.uk
> 
 

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


Re: [beagleboard] Re: Broadband

2015-11-09 Thread David Goodenough
My apologies to the group, this email was not intended to come here
and I have no idea what induced my email client to send it here.

David

On Sunday 08 November 2015 18:17:27 David Goodenough wrote:
> David,
> 
> Yes, this was the very hopeful situation a year ago, since which NOTHING
> seems to have happened.  In the interim all the neighbouring districts
> have caught
> up and overtaken.
> 
> Cotswold Broadband said in March that they were on the point of signing
> contracts, and then again in September.  Lots of promises and no 
delivery.
> 
> David
> 
> On Sunday 08 November 2015 18:12:17 David McFarlane wrote:
> > David,
> > 
> > FYI
> > 
> > 
> > David McFarlane
> > da...@spbroadway.com<mailto:da...@spbroadway.com>
> > DD:0203 405 1400
> > M: 07917 770475
> > 
> > [SP Broadway Logo High Res]
> > 
> > SP Broadway is a communications consultancy specialising in planning
> 
> and
> 
> > development.
> > 
> > SP Broadway  I  50 Broadway  I  London SW1H 0RG
> > www.spbroadway.com<http://www.spbroadway.com/>  I
> > Twitter<http://www.twitter.com/spbroadway>  I
> > LinkedIn<http://www.linkedin.com/company/sp-broadway>
> > 
> > From: Mr Richard A Langridge [mailto:ralangri...@virginmedia.com]
> > Sent: 20 October 2014 18:02
> > To: David McFarlane
> > Subject: Broadband
> > Importance: High
> > 
> > Hi David,
> > 
> > As you know, the District Council has pledged to fill the gap left in
> > areas
> > where the OCC/BT contract does not provide high speed broadband. 
We
> 
> have
> 
> > pledged to hit as near to 100% coverage district-wide as we possibly
> 
> can,
> 
> > as we understand the vital importance of broadband to rural residents
> 
> and
> 
> > businesses.
> > 
> > The 10% shortfall is being provided by Cotswold Broadband using an 
up
> 
> to
> 
> > £1.6M loan from WODC and grants from BDUK- The UK Governments
> 
> delivery body
> 
> > for Broadband.
> > 
> > Cotswolds Broadband is currently undertaking the formal State Aid
> > consultation
> 
> 
(www.cotswoldsbroadband.co.uk<http://www.cotswoldsbroadband.co.uk>).
> While
> 
> > members of the public can respond to this, its real purpose is to get
> > responses from telecoms providers and the responses will formally
> 
> define
> 
> > our project area.  At that point (sometime next month) we will know for
> > definite which of Filkins, Langford, Kencot and Broadwell will be within
> > our project area and which will be covered by AN Other (e.g. BT, 
GigClear
> > etc).
> > 
> > In terms of overhead vs underground connection - it is way too early to
> > speculate the technologies that will be used for each community.  The
> 
> next
> 
> > stage after the State Aid consultation is the procurement and, to fit 
with
> > the funding rules, this has to be completely technology neutral.  Once
> 
> the
> 
> > procurement is complete (next spring) we will have a better idea of 
how
> > different areas will be connect to broadband.
> > 
> > I know this is only  a partial answer but we will have more definite
> > details in due course.
> > 
> > However, the Conservative Group on the District Council absolutely
> 
> stands by
> 
> > its’ pledge.
> > 
> > Hope this helps Mr Kemp and others. Happy to help further if needed,
> > 
> > Thanks
> > 
> > Richard
> > 
> > Cllr. Richard Langridge
> > District Council Cabinet Member for Local Economy, Communities &
> 
> Culture
> 
> > Witney North Ward
> > County Councillor Witney North and East Division
> > Tel: (01993) 704493
> 
> > email:
> 
richard.langri...@westoxon.gov.uk<mailto:richard.langridge@westoxon.g
> ov.uk>

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


Re: [beagleboard] Porting BeagleBone kernel to Samsung S3C2416XH (HP Prime) ?

2015-10-28 Thread David Goodenough
Modern ARM kernels will boot on many systems, BUT you have to have the
right Device Tree file.  So what you need to do is find the right .dbt file for
that board (it is board specific not chip) and check that it is supported by
the generic ARM kernel.  Then it should work provided the u-boot on the
device supports DT enabled kernels (otherwise you have to append the
DT to the kernel).

David

On Wednesday 28 October 2015 12:10:56 Jacob Juul Klejs Kolding wrote:
> About a year ago this guy, 
http://www.hpmuseum.org/forum/thread-1789.html
> 
> managed to compile and boot a small elf binary on the HP Prime.
> 
> The only thing the elf does is writing pixels to the frame buffer and then
> halting.
> (LCD is 320x240 at 24bpp)
> 
> The HP Prime uses a Samsung SoC  (
> http://system-on-a-chip.specout.com/l/313/Samsung-S3C2416)
> with with a single 400MHz ARM9 core and a LCD controller with 2D
> acceleration.
> 
> Also i read that the JTAG pins are accessible.
> 
> Now I was thinking.
> 
> How difficult would it be to port the the bbb kernel to this system?
> 
> We already know that elf compiled with gcc boots on the system and we 
know
> the address of the frame buffer.
> 
> Only thing missing is how the keyboard interfaces,
> 
> I have done a fair share of kernel compiles but never any actual kernel
> development
> 
> I don't know the first thing about booting/initializing a CPU/MEM/OS.
> 
> but if someone could figure out that part I'd like to have a go at writing
> a frame buffer driver for the LCD.
> 
> What should I read up on to get a grasp on how the kernel initializes the
> CPU/MEM?
> 
> Any help would be greatly appreciated.
> 
> Thanks!
> 
> /Jacob

-- 
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/d/optout.


Re: [beagleboard] Turning Off the Power management Beagle Bone Black

2015-07-15 Thread David Goodenough
On Tuesday 14 July 2015 14:40:36 William Hermans wrote:
 Just out of curiosity. What is the attraction of a battery cape ? I mean
 I can see the need for consistent power, and perhaps keeping this as small
 as possible, but is that it ?
The main advantage if an integrated solution is that you get to monitor the
supply and the battery from the manager chip.  This way you can shut yourself
down cleanly when the battery is about to give up, and go into power save mode 
when not running on the mains.  

How much of that this cape does I do not know.

David
 
 I have always imagine using an inline power source such as a regulated
 battery output to the barreljack, with a small inline mains to battery
 charging circuit. But . . . yeah that's me.
 
 Anyway my comment is not meant to discourage, or discount other avenues of
 thought. I'm simply curious.
 
 On Tue, Jul 14, 2015 at 10:23 AM, Colin Bester bester.co...@gmail.com
 
 wrote:
  Yup, that's what I do with the powercape from Andice Labs as mentioned
  above. Except for very low drain battery is essentially disconnected.
  
  I initially went the route of trying to use the onboard battery connector
  but it's not really a decent solution if you want solid system and battery
  management.
  
  On Tuesday, July 14, 2015 at 12:12:03 PM UTC-5, Marlon Cesar Pilonetto
  
  wrote:
  Lords am new to the BBB and what I need is to turn off the battery
  management so that when my system is not connected to battery is not
  consumed in its entirety.
  
--
  
  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/d/optout.

-- 
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/d/optout.


Re: [beagleboard] Beaglebone Black running client/server using wireless

2015-02-28 Thread David Goodenough
On Friday 27 February 2015 17:23:31 Bruce Gibson wrote:
 I'm running the client server example programs from Derek Molloy's fine
 book (chapter 10). I've put the server on the beaglebone and the client on
 a separate Linux PC.
 
 Server code:
 
 int main(int argc, char *argv[]){
cout  Starting EBB Server Example  endl;
SocketServer server(54321);
cout  Listening for a connection...  endl;
server.listen();
string rec = server.receive(1024);
cout  Received from the client [  rec  ]  endl;
string message(The Server says thanks!);
cout  Sending back [  message  ]  endl;
server.send(message);
cout  End of EBB Server Example  endl;
 }
 
 Client Code:
 
 int main(int argc, char *argv[]){
if(argc!=2){
   cout  Incorrect usage:   endl;
   cout client server_name  endl;
   return 2;
}
cout  Starting EBB Client Example  endl;
SocketClient sc(argv[1], 54321);
sc.connectToServer();
string message(Hello from the Client);
cout  Sending [  message  ]  endl;
sc.send(message);
string rec = sc.receive(1024);
cout  Received [  rec  ]  endl;
cout  End of EBB Client Example  endl;
 }
 
 The examples work great when I plug the BBB directly using the Ethernet
 port. The client talks to the Ethernet port at 192.168.1.36.
 
 I've also setup wireless to work on the BBB using an Edimax dongle. It
 shows up at 192.168.1.38. If I run the client pointing to the wireless
 address it doesn't work.
 
 If I plug the Ethernet cable back into the BBB with the wireless dongle
 also attached... the wireless address 192.168.1.38 now starts working with
 the client. The wireless otherwise seems fine. I can ping  wget using just
 the dongle attached (no Ethernet plugged in).
 
 Any suggestions? Not sure how I would even debug this?
 
 Thanks,
When you try the wireless, did you disable the ethernet connection?  This
is not just disconnecting it, but also ifdown.  Unless you have something 
link ifplugd installed the ethernet connection still exists when the cable
is disconnected - it judt does not work.  So either install ifplugd or use 
ifdown when you disconnect the cable.

David

-- 
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/d/optout.


Re: [beagleboard] Beaglebone Black running client/server using wireless

2015-02-28 Thread David Goodenough
can you show us what ip route and ip addr show?

David

On Saturday 28 February 2015 08:22:29 Bruce Gibson wrote:
 Thanks for the suggestion. Without the cable connected and I do a ifdown I
 get:
 ifdown: interface eth0 not configured
 as there was no inet addr assocatied to eth0.
 
 To reiterate, the wireless works *When* the cable is connected.
 
 On Saturday, February 28, 2015 at 4:28:53 AM UTC-5, David Goodenough wrote:
  On Friday 27 February 2015 17:23:31 Bruce Gibson wrote:
   I'm running the client server example programs from Derek Molloy's fine
   book (chapter 10). I've put the server on the beaglebone and the client
  
  on
  
   a separate Linux PC.
   
   Server code:
   
   int main(int argc, char *argv[]){
   
  cout  Starting EBB Server Example  endl;
  SocketServer server(54321);
  cout  Listening for a connection...  endl;
  server.listen();
  string rec = server.receive(1024);
  cout  Received from the client [  rec  ]  endl;
  string message(The Server says thanks!);
  cout  Sending back [  message  ]  endl;
  server.send(message);
  cout  End of EBB Server Example  endl;
   
   }
   
   Client Code:
   
   int main(int argc, char *argv[]){
   
  if(argc!=2){
  
 cout  Incorrect usage:   endl;
 cout client server_name  endl;
 return 2;
  
  }
  cout  Starting EBB Client Example  endl;
  SocketClient sc(argv[1], 54321);
  sc.connectToServer();
  string message(Hello from the Client);
  cout  Sending [  message  ]  endl;
  sc.send(message);
  string rec = sc.receive(1024);
  cout  Received [  rec  ]  endl;
  cout  End of EBB Client Example  endl;
   
   }
   
   The examples work great when I plug the BBB directly using the Ethernet
   port. The client talks to the Ethernet port at 192.168.1.36.
   
   I've also setup wireless to work on the BBB using an Edimax dongle. It
   shows up at 192.168.1.38. If I run the client pointing to the wireless
   address it doesn't work.
   
   If I plug the Ethernet cable back into the BBB with the wireless dongle
   also attached... the wireless address 192.168.1.38 now starts working
  
  with
  
   the client. The wireless otherwise seems fine. I can ping  wget using
  
  just
  
   the dongle attached (no Ethernet plugged in).
   
   Any suggestions? Not sure how I would even debug this?
   
   Thanks,
  
  When you try the wireless, did you disable the ethernet connection?  This
  is not just disconnecting it, but also ifdown.  Unless you have something
  link ifplugd installed the ethernet connection still exists when the cable
  is disconnected - it judt does not work.  So either install ifplugd or use
  ifdown when you disconnect the cable.
  
  David

-- 
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/d/optout.


Re: [beagleboard] PRU only works after login. It fails if program is executed through a startup script.

2015-02-12 Thread David Goodenough
On Wednesday 11 February 2015 21:02:37 lancello...@gmail.com wrote:
 I am using the Rev C BeagleBone Black and the default debian image that it
 ships with from Element14. I have a program that utilizes the PRU for
 ultrasonic readings. My issue is this: If I ssh through USB, login as root
 or default user, and execute the program, it works perfectly (I have all
 the overlays loaded on startup). However, if I try to execute the program
 through a startup script, it fails as soon as it reaches the first line
 where data is read from the PRU, leading me to believe that this is the
 issue.
 
 Are there any issues with trying to use a PRU on startup that could be
 causing this?
 
 If I have explained anything poorly, or more information is needed, please
 let me know. This is really bugging me, and I would appreciate any advice.
 
 What I have tried so far:
 
 Manually executing modprobe uio_pruss in the startup script
 An old solution presented
 here: https://groups.google.com/forum/#!topic/beagleboard/gqCjxh4uZi0
It might help if we knew what the startup script was doing, and where it
you installed it - i.e. where and when it is being invoked.  Also what user
you executing it as in the startup script.  Additionally have you looked at
the logs to see if there are any error messages?

David

-- 
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/d/optout.


Re: [beagleboard] Re: BeagleBone Black as reliable 3G/4G router/ modem

2015-01-16 Thread David Goodenough
On Friday 16 January 2015 10:53:06 bremenpl wrote:
 Right now I am trying to use the tutorial from here:
 http://crazy-embedder.blogspot.it/2014/12/beaglebone-black-as-3g-router-or.h
 tml?m=1
 
 The difference I have other model of the huawei modem (e3131). After I hit
 lsusb, I dont see the full string like:
 Bus 002 Device 005: ID 12d1:1003 Huawei chnologies Co., Ltd. E220 HSDPA
 Modem / E230/E270/E870 HSDPA/HSUPA Modem
 
 All I see is:
 Bus 001 Device 003: ID 12d1:14db Huawei Technologies Co., Ltd.
 
 Dont I have a driver? How can I install it? Is it even available? Tried to
 google and found nothing.
 
 After i get to the sakis3g config I choose the Huawei stick:
 https://lh3.googleusercontent.com/-DmEg3k3NJe4/VLlddzhmZuI/Afw/kDCGy
 kbeWng/s1600/huawei.png
 
 And after that I cant connect:
 https://lh5.googleusercontent.com/-AIxBrN7xBAE/VLld8bFCucI/Af4/1PSQt
 Q08u3Q/s1600/failed.png
 
 I would really aprichiate any help.
Well a quick google lead me to:-

http://www.raspberrypi.org/forums/viewtopic.php?t=18996

which I suspect will solve your problem (or at least move it forward).

David

-- 
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/d/optout.


Re: [beagleboard] Re: BeagleBone Black as reliable 3G/4G router/ modem

2015-01-15 Thread David Goodenough
Oh yes,and you will need an iptables SNAT rule (again google is your friend).

David

On Thursday 15 January 2015 22:55:12 David Goodenough wrote:
 This is very standard stuff.  Debian can handle everything you need.
 
 OpenWrt is needed on kit with very restricted memory and flash, and
 neither of these are a problem with the BBB.
 
 The kernel is going to have support for most USB 3G modems (just don't
 choose a brand new one it's kernel support might still be in development).
 Then set up the routing, and put a dhcp server up and off you go. Oh yes,
 and remember to enable IPV4 forwarding (google it, as I say this is standard
 stuff).
 
 David
 
 On Thursday 15 January 2015 22:31:57 Bremenpl wrote:
  Thanks for the tips. I was wondering about openwrt, but im not sure either
  everything is supported there. I could get more pain than usage i fear.
  
  Dnia 15 stycznia 2015 22:16:31 c...@isbd.net napisał(a):
   bremenpl breme...@gmail.com wrote:
[-- multipart/alternative, encoding 7bit, 55 lines --]

[-- text/plain, encoding 7bit, charset: UTF-8, 21 lines --]

Hello there,
Ive had it with my internet provider for a while now. I have a free
BeagleBone Black and a usb huawei 3G modem laying around though. So I
thought- wny not connect the usb modem to BeagleBone Black to get
internet,
and then connect BeagleBone Black to my router via ethernet to
distrubute
it further. I was trying to accmplish this approach some time a go by
googling around and trying to set up some programs on a debian distro
without success...
I was wondering- isnt there any straight forward solution for
aplication
such as this? Maybe a separate OS even, I dont mind? This is the only
task
I would like BeagleBone Black to do- get and then distribute internet.
I would really aprichiate any help in here, it would be really great
for
me
to set this up.
   
   openwrt maybe?
   
   --
   Chris Green
   ·
   
   --
   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/Vi0CTOoGaw4/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/d/optout.

-- 
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/d/optout.


Re: [beagleboard] Re: BeagleBone Black as reliable 3G/4G router/ modem

2015-01-15 Thread David Goodenough
This is very standard stuff.  Debian can handle everything you need.

OpenWrt is needed on kit with very restricted memory and flash, and
neither of these are a problem with the BBB.

The kernel is going to have support for most USB 3G modems (just don't
choose a brand new one it's kernel support might still be in development).
Then set up the routing, and put a dhcp server up and off you go. Oh yes, 
and remember to enable IPV4 forwarding (google it, as I say this is standard
stuff).

David

On Thursday 15 January 2015 22:31:57 Bremenpl wrote:
 Thanks for the tips. I was wondering about openwrt, but im not sure either
 everything is supported there. I could get more pain than usage i fear.
 
 Dnia 15 stycznia 2015 22:16:31 c...@isbd.net napisał(a):
  bremenpl breme...@gmail.com wrote:
   [-- multipart/alternative, encoding 7bit, 55 lines --]
   
   [-- text/plain, encoding 7bit, charset: UTF-8, 21 lines --]
   
   Hello there,
   Ive had it with my internet provider for a while now. I have a free
   BeagleBone Black and a usb huawei 3G modem laying around though. So I
   thought- wny not connect the usb modem to BeagleBone Black to get
   internet,
   and then connect BeagleBone Black to my router via ethernet to
   distrubute
   it further. I was trying to accmplish this approach some time a go by
   googling around and trying to set up some programs on a debian distro
   without success...
   I was wondering- isnt there any straight forward solution for aplication
   such as this? Maybe a separate OS even, I dont mind? This is the only
   task
   I would like BeagleBone Black to do- get and then distribute internet.
   I would really aprichiate any help in here, it would be really great for
   me
   to set this up.
  
  openwrt maybe?
  
  --
  Chris Green
  ·
  
  --
  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/Vi0CTOoGaw4/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/d/optout.

-- 
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/d/optout.


Re: [beagleboard] Re: BeagleBone Black powered by PoE (Power over Ethernet)?

2014-12-01 Thread David Goodenough
On Friday 28 November 2014 05:33:48 c3wirel...@gmail.com wrote:
 C3-Wireless has developed a fully 802.3af-compliant PoE cape as part of an
 internal project.  We are trying to determine if there is enough demand to
 release it as a commercial product.  We would need to build a minimum of
 1000 units to make the price affordable.  Do you think crowd-funding would
 be a good approach?  I'd love some feedback at ccoll...@c3wireless.com.
 (Mods, please delete if you consider this spam.  Thanks.)
 
 Casey
 
 On Wednesday, May 14, 2014 3:18:25 AM UTC-4, Christian wrote:
  Can BeagleBone Black only be powered by using PoE? In my project I want to
  avoid using too many cables. So the possibilty to use one cable for power
  and data would be very interesting. In this case a network switch would be
  working as an injector. The BeagleBone Black would only receive power from
  the Ethernet Port without using the 5V DC Port or microUSB Port. If PoE is
  not available by default, are there possibilties to upgrade by using a
  cape
  or an additional circuit?
Remember that there are two forms of PoE.  One is the full  architected 
802.3af version, which is 48V with a handshake to establish things like
current requirement, and then there is the simpler passive PoE which 
just pushes typically 12-24V over the power pins (+ is 4-5, -  is 7-8).

The PoE pins on the BBB (if I remember correctly) are not used as PoE
and are either grounded or connected to ground by a resistor, either way
no use.

However you can get PoE injectors such as:-

http://www.rfelements.com/en/products/power-over-ethernet/passive-poe/

The one on the left would be used to power a BBB and the one on the right
would be used to inject the 5VDC into the cat-5 cable.

However be careful as voltage drop across cat5 is bigger than one might
imagine, so you would be better putting 12VDC into the injector and then
connecting a 12V - 5V converter (either a car USB adapter or one of the
little DC-DC converter modules) and pluging that into the BBB as it will 
be a better 5VDC.

David

-- 
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/d/optout.


Re: [beagleboard] Beaglebone Black Rebooting Several Times Every Day

2014-11-18 Thread David Goodenough
On Tuesday 18 November 2014 11:40:42 Jason Lange wrote:
 On Fri, Sep 12, 2014 at 9:35 AM, Robert Nelson robertcnel...@gmail.com
 
 wrote:
  On Fri, Sep 12, 2014 at 11:27 AM, Greg Kelley suekkel...@gmail.com
  
  wrote:
   Robert,
   
   I think part of the reason ntp and dhcpclient aren't getting network
   connections at boot is because they are set at S03 in init and wicd is
  
  set
  
   at S06 and is last to get going. It appears that eth0 is not coming up
  
  until
  
   wicd loads?
  
  Correct, wicd set's up eth0, that's how we got the 11-12 second bootup
  time. Otherwise if eth0 is handled by /etc/network/interfaces bootup
  could last 2 minutes for users who don't connect eth0.  I should
  atleast really move ntp from S03 to S06..
 
 @Robert
 
 There's no need to pull in wicd to solve this; all you need to do is to
 replace auto eth0 with allow-hotplug eth0 (not both) in
 /etc/network/interfaces.  This gives you eth0 at boot if it's plugged in
 but it doesn't wait if it's not, and if you plug it in later it comes right
 up.  Oddly it doesn't even wait very long if it's plugged in at start-up
 and there is no dhcp being offered.  (all of this is assuming iface eth0
 inet dhcp is in there too;  I imagine a static route comes up right away
 regardless.)
 
 Cheers.
This is not what allow-hotplug means.  It refers to an ethernet interface such
as a USB device being plugged in.  In order to get the behaviour you want
you need ifplugd.  To quote from the package description:-

Description-en: configuration daemon for ethernet devices
 ifplugd is a daemon which will automatically configure your ethernet device
 when a cable is plugged in and automatically de-configure it if the cable is
 pulled out. This is useful on laptops with onboard network adapters, since it
 will only configure the interface when a cable is really connected.

David

-- 
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/d/optout.


Re: [beagleboard] Re: Coding with C/C++ directly on Beaglebone, via IDE?

2014-11-14 Thread David Goodenough
On Friday 14 November 2014 03:03:32 csu...@idapl.in wrote:
 can anyone help me in how to setup codelite on beaglebone directy
 
 thanks in advance
 
 sumik
If you are running Debian:-

apt-get install codelite codelite-plugins

You will either need to be root to do this or use sudo if that is set up.

David

-- 
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/d/optout.


Re: [beagleboard] Re: About the address range

2014-11-13 Thread David Goodenough
On Wednesday 12 November 2014 10:33:31 matchman...@gmail.com wrote:
 http://item.taobao.com/item.htm?spm=a1z09.2.9.329.RgcLAhid=40173284096_u=d
 jrk34rc500
 
 The above link is the AM2320 that I purchased from taobao.com.
 The manufacturer sent me the 8051 I2C library C source code for me and also
 datasheet. It is a real I2C device.
Well unless I2C means something different in Chinese every other source on the
net including respected people like AdaFruit say this is not what everyone 
else means by I2C (and the BBB implements).
 However, I 'm planned to use JAVA and no idea how to implement this...
If you look on the AdaFruit site you will find an Arduino library which works,
but which points out how messy the protocol (not I2C) is.  You could port
that but as it is very timing dependant it is unlikely to work as a user space
app - you would need to write a device driver or PRU code.  You can not use
Java in either environment.
 Is that possible to use UART port on Beaglebone Black with 4.7kohm as pull
 up resistor and build a library by myself(like 8051)?
No, UARTS and one wire solutions like this are totally different.

David

-- 
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/d/optout.


Re: [beagleboard] Re: About the address range

2014-11-13 Thread David Goodenough
On Thursday 13 November 2014 07:37:25 劉家樑 wrote:
 Thanks for your reply and suggestion.
 In my experience, I tried to implement I2C in AT89S51 so is that possible
 to implement I2C in some pin in BBB and build a library by myself like in
 AT89S51?
 The AM2320 I bought have SCL and SDA so it should not be serial in one wire.
 I still have no any idea to control the device til now =.=
 Anyway, thanks for your attention ^_^
searching on the net I think I may have found what you are using.  It is not
an AM2320, but rather an AM2321.  This DOES have an I2C interface unlike
the AM2320.

On GitHub you will find a library for talking to the AM2321,but it is written 
in C and using the wiring library so it is not directly usable on a BBB, but
it confirms the address you gave and shows the sequence of bytes you
need to send to get back the temperature and humidity.  I suggest you 
read up on Linux support of I2C.  To access this from Java you will need
JNA (which is packaged for Debian), and you will find some useful tips
if you read:-

http://www.raspberrypi.org/forums/viewtopic.php?p=187073#p187073

Don't be put off by it being for the Raspberry Pi, Linux is Linux what 
ever the hardware it is running on.

David

-- 
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/d/optout.


Re: [beagleboard] About the address range

2014-11-12 Thread David Goodenough
On Wednesday 12 November 2014 03:08:06 matchman...@gmail.com wrote:
 Currently I purchased a humidity and temperature sensor which is called
 AM2320 with I2C technology.
 The problem is that the address of this slave is 0xB8 and I cannot use it
 though the built in I2C directly.
 However, I found that the beaglebone black is only supporting address range
 from 0x03 to 0x77.
 Am a understanding wrong or other things else?
 
 Could anyone give suggestion on how to configure and use the IC AM2320?
 Is that possible to build the bus by myself using other port?
 I am new hand and hope someone can teach me.
I2C addresses are confusing, as they are really only 7-bit and the extra bit
is the Read/Write bit.  So to read a value from a unit with address 7 you 
use address 0x0e, to write it 0x0f.  

So your AM2320 has an address of 0x5c which fits within the range 0-0x7f
which is the allowed range.

Having said that, quite where you get the idea the there is an additional
restriction I have no idea - I have never seen such a restriction - please 
provide a reference.  

I am also unsure where you get the idea that the AM2320 is an I2C device.
From all I can find in the datasheet although it is a single wire device, it 
is 
not either 1-wire or I2C compatible.  You will need to take the arduino code
which controls a GPIO line and convert it to use the BBB GPIO interface.
Remember also that the arduino code relies on being able to do precise
timing, and unless you are writing your own device driver or using the PRU
that is going to be difficult with linux which might go off and do some 
housekeeping at an inopertune moment. 

David

-- 
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/d/optout.


Re: [beagleboard] How to change GPIO Mode

2014-09-15 Thread David Goodenough
On Sunday 14 September 2014 22:11:08 John Syn wrote:
 On 9/14/14, 1:55 AM, David Goodenough
 
 david.goodeno...@linkchoose.co.uk wrote:
 On Saturday 13 September 2014 13:51:17 John Syn wrote:
  From:  david.berge...@gmail.com
  Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
  Date:  Friday, September 12, 2014 at 3:50 AM
  To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
  Subject:  [beagleboard] How to change GPIO Mode
  
   Hey Forum
   I hope you can help me. I'm on a education project and I have some
   questions.
   
   I have a problem with the config of the GPIO (I2C-HW-Controller)
   
   I have two diffrent usecases in my project.
   1. I2C HW-Controller #1 is a master
   2. I2C HW-Controller #1 is a slave
   So I have to change the I2C-controller config between the master and
 
 the
 
   slave mode.
   If it is possible, I should do that while the BBB and his phyton/c++
   program is running.
   
   Now here are my questions:
   * How can I switch between I2C master and slave mode? (Device tree?)
   *
   * Can I do that while the BBB is running? (Or is a reboot of BBB
   necessary?) If its possible give my a nice explanation and not only a
   code piece. ;-) I have to learn  understand how all that stuff works.
  
  Linux does not support slave mode for either I2C or SPI. Even though
 
 the BBB
 
  hardware can support SCL being generated on another device, the Linux
 
 I2C
 
  driver does not support this. Either you have to create your own I2C
 
 slave
 
  driver or you can do this with the PRU.
 
 Currently that is true, but I noticed some code being proposed on one of
 the
 kernel lists to enable this.  So shortly (i.e a kernel release or two) it
 will
 be possible - assuming the code gets accepted.
 
 You are correct, but I only see work being done on the I2C slave framework:
 
 https://lkml.org/lkml/2014/9/12/125
 
 I don¹t see any work being done on a SPI slave framework.
True
 
 On the subject of the PRU and its use of I2C, is there any sample code
 around
 that shows this being done?
 
 The only reference I¹ve seen is a bit banger driver using the PRU:
 
 https://github.com/mcdonamp/RH_ROBO_Quadcopter/tree/master/code/i2c_bitbang
 /pru_sw
There is reference to two I2C ports in the global table, but I am unclear as
to how to use them.  An example from TI would be nice.

David 
 
 Regards,
 John
 
 David
 
  Regards,
  John
  
   Thanks a lot

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


Re: [beagleboard] How to change GPIO Mode

2014-09-14 Thread David Goodenough
On Saturday 13 September 2014 13:51:17 John Syn wrote:
 From:  david.berge...@gmail.com
 Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
 Date:  Friday, September 12, 2014 at 3:50 AM
 To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
 Subject:  [beagleboard] How to change GPIO Mode
 
  Hey Forum
  I hope you can help me. I'm on a education project and I have some
  questions.
  
  I have a problem with the config of the GPIO (I2C-HW-Controller)
  
  I have two diffrent usecases in my project.
  1. I2C HW-Controller #1 is a master
  2. I2C HW-Controller #1 is a slave
  So I have to change the I2C-controller config between the master and the
  slave mode.
  If it is possible, I should do that while the BBB and his phyton/c++
  program is running.
  
  Now here are my questions:
  * How can I switch between I2C master and slave mode? (Device tree?)
  *
  * Can I do that while the BBB is running? (Or is a reboot of BBB
  necessary?) If its possible give my a nice explanation and not only a
  code piece. ;-) I have to learn  understand how all that stuff works.
 
 Linux does not support slave mode for either I2C or SPI. Even though the BBB
 hardware can support SCL being generated on another device, the Linux I2C
 driver does not support this. Either you have to create your own I2C slave
 driver or you can do this with the PRU.
Currently that is true, but I noticed some code being proposed on one of the
kernel lists to enable this.  So shortly (i.e a kernel release or two) it will 
be possible - assuming the code gets accepted.

On the subject of the PRU and its use of I2C, is there any sample code around
that shows this being done?  

David
 
 Regards,
 John
 
  Thanks a lot

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


Re: [beagleboard] Enable SNMP on BeagleBone Black

2014-08-27 Thread David Goodenough
On Wednesday 27 August 2014 07:26:03 André Lessa wrote:
 Hi
 
 I want to enable SNMP on BeagleBone Black, I tried net-snmp using with the
 link.
 (http://www.cloud-rocket.com/2013/08/compiling-and-installing-net-snmp-for-b
 eaglebone/) but I didn't understand the step 6. Anybody know teach me how I
 make this, or have other form to enable SNMP on BeagleBone Black.
 
 I use BeagleBone Black version B and Linux BeagleBone 3.8.13 #1 SMP Wed Sep
 4 09:09:32 CEST 2013 armv7l GNU/Linux.
 
 Thanks
 André Lessa
If you are running Debian (you do not say which distro you are using) then
net-snmp is already available, just use:-

apt-get install snmp snmpd

David

-- 
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/d/optout.


Re: [beagleboard] slic3r on BBB?

2014-07-03 Thread David Goodenough
On Wednesday 02 July 2014 23:37:02 Drew Fustini wrote:
 does any one have slic3r running on the BBB?  Any distro is fine.
 
 thanks,
 drew
Slic3r was added to the unstable and testing versions of Debian a 
few days ago, and armhf (the relevant one for BBB) is included in the
architecture list for the package, so apt-get is your friend.

David

-- 
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/d/optout.


Re: [beagleboard] Beaglebone black Debian Wheezy opkg update error

2014-07-01 Thread David Goodenough


On Tuesday 01 July 2014 06:44:09 'Ryan' via BeagleBoard wrote:
 Added it, then tried the update again, no changes in the response:
 
 
 auto eth0
 iface eth0 inet static
 address 192.168.1.61
 netmask 255.255.255.0
 gateway 192.168.1.83
 dns-nameservers 8.8.8.8 127.0.0.1

Did you then do ifdown eth0 followed by ifup eth0?  Alternatively
reboot.

You can check it worked by looking in /etc/resolv.conf.

David
 
 On Tuesday, July 1, 2014 9:33:28 AM UTC-4, RobertCNelson wrote:
  On Tue, Jul 1, 2014 at 8:29 AM, 'Ryan' via BeagleBoard
  
  beagl...@googlegroups.com javascript: wrote:
   No problem, thank you for helping me in a bad time..
   
   eth0.. I never did re-comment out the usb0, I was a little bit confused
   after reading a few guides on setting a static IP for if I was suppose
  
  to
  
   comment out the usb0 after un-commenting and using the eth0
   
   
   I tried doing a shutdown to see if that could have been the problem, so
  
  I
  
   went back in to check the /etc/resolve.conf and saw that it became empty
  
  for
  
   some reason?
  
  It get's overwritten on bootup..
  
  Add this to your iface: for eth0:
  
  dns-nameservers 8.8.8.8 127.0.0.1
  
  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/d/optout.


Re: [beagleboard] Beaglebone black Debian Wheezy opkg update error

2014-07-01 Thread David Goodenough
On Tuesday 01 July 2014 06:53:21 Ryan wrote:
 Just tried the ifdown and ifup, that went fine, but the /etc/resolve.conf
 is still completely empty.
 
The answer is that it should be dns-nameserver not dns-nameservers.  To add
multiple servers add multiple lines.

David

 On Tuesday, July 1, 2014 9:47:23 AM UTC-4, David Goodenough wrote:
  On Tuesday 01 July 2014 06:44:09 'Ryan' via BeagleBoard wrote:
   Added it, then tried the update again, no changes in the response:
   
   
   auto eth0
   iface eth0 inet static
   
   address 192.168.1.61
   netmask 255.255.255.0
   gateway 192.168.1.83
   dns-nameservers 8.8.8.8 127.0.0.1
  
  Did you then do ifdown eth0 followed by ifup eth0?  Alternatively
  reboot.
  
  You can check it worked by looking in /etc/resolv.conf.
  
  David
  
   On Tuesday, July 1, 2014 9:33:28 AM UTC-4, RobertCNelson wrote:
On Tue, Jul 1, 2014 at 8:29 AM, 'Ryan' via BeagleBoard

beagl...@googlegroups.com javascript: wrote:
 No problem, thank you for helping me in a bad time..
 
 eth0.. I never did re-comment out the usb0, I was a little bit
  
  confused
  
 after reading a few guides on setting a static IP for if I was
  
  suppose
  
to

 comment out the usb0 after un-commenting and using the eth0
 
 
 I tried doing a shutdown to see if that could have been the problem,
  
  so
  
I

 went back in to check the /etc/resolve.conf and saw that it became
  
  empty
  
for

 some reason?

It get's overwritten on bootup..

Add this to your iface: for eth0:

dns-nameservers 8.8.8.8 127.0.0.1

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/d/optout.


Re: [beagleboard] Radio Spares (UK) - BBB - Out of Stock

2014-06-10 Thread David Goodenough
You could try Farnell.  They are manufacturing their own boards using
the same design, and have a UK presence.

David

On Tuesday 10 June 2014 10:51:59 Mark Hopewell wrote:
 Thank you Eric,
 
 No matter where I look, everyone is out of stock and back order lists are
 lengthy.
 
 I mention RS, here in the UK, as they are a large supplier here in the UK
 and are called Allied in the USA. You list Allied in your suggestion for
 sources of BBB's.
 
 Anyway, back to the drawing board, or should I say empty breadboard? . . .
 
 Thanks for the suggestions meanwhile,
 
 M.
 
 On 10 June 2014 09:05, Eric Fort eric.f...@gmail.com wrote:
  They may be out of stock, but bear in mind they are not the only place on
  the planet that sells them either.  Try ordering from boardzoo, digikey,
  adafruit, Newark, Allied, or a whole list of other places.
  
  Eric
  
  
  On Tue, Jun 10, 2014 at 12:46 AM, Mark Hopewell 
  
  ryme.intrinseca1...@gmail.com wrote:
  Hello,
  
  Is it really the case that BBB rev c is going to be out of stock until
  late September in the UK?
  
  Radio Spares (UK) state ETA of late September before restock.
  
  Meanwhile, really keen to get my hands on a BBB and 3 months is an
  awfully long to wait if I've misunderstood the supply problem.
  
  Many thanks,
  
  M.
  
  --
  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/d/optout.
  
   --
  
  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/ygqiEzt_9J8/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/d/optout.

-- 
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/d/optout.


Re: [beagleboard] Help with enabling atheros driver for beagleboard xm

2014-06-04 Thread David Goodenough
On Wednesday 04 June 2014 05:26:29 suleman@gmail.com wrote:
 I am writing to get some help with enabling atheros drivers for my
 beagleboard xm. I have used the image 3.14.2-armv7-x5
 (http://elinux.org/BeagleBoardUbuntu#BeagleBoard_xM) .
 
 If i run *lsusb* on the board i can see my TP-LINK TL-WN722N wireless
 adapter listed as :
 
 
 *Bus 002 Device 004: ID 0cf3:9271 Atheros Communications, Inc. AR9271
 802.11n*
 
 However when i run *iwconfig* i donot see my wlan1 network interface. Also
 if i run *modinfo ath9k,  *it says Module ath9k not found which means that
 the driver for this wireless adapter is not present.
You need ath9k-htc, not ath9k.  ath9k is for PCI devices, not USB.

David
 
 I have searched a lot on the internet but i cannot find a solution. The
 most relevant post is as follows:
 
 https://groups.google.com/forum/#!topic/beagleboard/9KCIs7yqsa8
 
 In this post *A*ndrewTaneGlen says that it has since become clearer that
 building the drivers into the kernel as modules is far simpler and
 obviously less prone to tool-chain dependency problems faced when building
 it separately.
 
 I tried to compile the linux kernel from scratch by using the most recent
 stable version 3.14.5 ( https://www.kernel.org/) and i tried to enable
 Atheros wireless card support [image attached].
 
 https://lh4.googleusercontent.com/-x6s03sy9oME/U48PryIZ5NI/AGc/xQBy
 SS0L2rw/s1600/3.png
 
 I have found this method very difficult and time consuming as i am a
 beginner in linux and very novice to compiling kernels. I tried to get the
 uiimage from my compliled kernel but my beagleboard-xm does not boot.So
 something is not working.
 
 
 If someone can please guide me on steps i can take to enable atheros
 drivers for my beagleboard-xm either by compiling the linux kernel from
 scratch or making changes on the 3.14.2-armv7-x5 image, i will really
 appreciate it.
 
 I look forward to a response.
 
 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/d/optout.


[beagleboard] OT: Anyone know of a SBC comparison site?

2014-03-30 Thread David Goodenough
I realise that this is not really a Beagle question, but I hope that this
community might know that answer to my question.

From time to time I need to find a board with particular characteristics,
say three ethernet ports, which is something that none of the beagles can
do.  The OpenWRT site has some of these, but does not then list some of the
other things like the GPIO/ADC/PWM pins.

Is anyone maintaining such a site?  If so does anyone have a URL, if not
would it be useful to others?

David

-- 
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/d/optout.


Re: [beagleboard] storage and Java

2014-03-22 Thread David Goodenough
On Saturday 22 March 2014 05:25:10 Ronny Julian wrote:
 Two questions
 
 - I tried to install the JDK ARM package under the Debian install.  I had
 one other program installed and ran out of room on the eMMC.  I'm removing
 that one other program and trying again.  Is it worth it or is this 2GB not
 enough
 
 What is a better storage alternative?   Is it possible to boot off the 16
 GB micro SD card and ignore the eMMC?  Is the Micro SD card only for flash
 or can it be used as a secondary drive?
 
 Thanks!  This machine may be too small for what I'm asking it to do.
 Ronny
Why are you installing the full JDK, that includes the compiler and all the
related tools.  You only need the JRE to run Java code and that is much
smaller.

You can always add a USB memory stick to add disk space.

David

-- 
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/d/optout.


Re: [beagleboard] BBB + PREEMPT_RT

2014-02-21 Thread David Goodenough
On Friday 21 February 2014 00:20:39 quikcj...@gmail.com wrote:
 I am trying to figure out how to create a kernel for the BBB that supports
 PREEMPT_RT. It's kind of strange that the BBB's default kernel does not
 even have PREEMPT activated. Such a board doesn't fit to many embedded
 applications where we need at least some kind of determinism. It is even
 worse, that nobody seems to care about this problem. Contrary to that, the
 Raspberry PI's standard kernel has PREEMPT activacted from the very
 beginning.
 
 I have tested Robert Nelsons kernel 3.8.13-r9
 (https://github.com/beagleboard/kernel/tree/3.8-rt). It does not have
 PREEMPT_RT activated by default. When doing so, it does not boot. But
 activating PREEMPT does work. However, development of this branch has
 stopped several months ago. The official source for RT Linux (3.8.13) has
 evolved since then. Meanwhile there's an rt17 patch set
 (https://www.kernel.org/pub/linux/kernel/projects/rt/3.8/). Did anybody
 give this a try? Does it work with the BBB?
Surely the point of the Beaglebone, or rather its processor, is that you
do not need to put the time critical bits on the main processor, you put
them in the PRUSS processors.

David

-- 
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] Could someone help me troubleshoot a paid program called screenconnect?

2014-01-08 Thread David Goodenough
On Wednesday 08 January 2014 07:18:34 Jacob Bell wrote:
 I take it Ubuntu is in the same boat?
 
 I really dislike angstrom.
 
 Is there any way to make mono available.  What can I do to get this going
 to work with Debian?

According to the Debian package pages, mono is available for ARM, but only
armel not armhf.  It might be worth going to the mono list for debian at
pkg-mono-gr...@lists.alioth.debian.org and asking if it is simply that
no one has gotten around to building it for armhf, or if there is some 
reason (like the JIT has some assembler code which is endian dependant and
no-one has rewritten it for armhf).  If there is a call for it they might
try building it for you.

David

 
 On Wednesday, January 8, 2014 9:14:48 AM UTC-6, RobertCNelson wrote:
  On Wed, Jan 8, 2014 at 9:11 AM, Jacob Bell
  restor...@gmail.comjavascript: 
  wrote:
   I bought a program called ScreenConnect at screenconnect.com.   Anyone
  
  can
  
   freely use this for one month with trial key which immediatly after
   registering you get your key.  This supposed to work with the Beagle
  
  Bone
  
   Black.
   
   The problem is that I can get it working in the default Angstrom 6.20
  
  image
  
   but if i flash to newer image it does not work, nor does it work in any
   version of ubuntu or debian.  My perferred choice is debian 7.3.
   
   The install scripts for this program spits out an error:
   
   ./install.sh: line 248:mono: command not found
  
  See: https://lists.debian.org/debian-arm/2012/02/msg0.html
  
  currently mono isn't available for armhf in debian..
  
  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.


Re: [beagleboard] Beagleboard Black Router

2013-12-30 Thread David Goodenough
On Sunday 29 December 2013 17:53:56 garr...@gmail.com wrote:
 I would like to turn a Beaglebone Black into a router, but that is hard to
 do with only one RJ45. In order to do this, I assume I first need a Proto
 Cape and some RJ45 breakout boards. Does anyone know how I could get
 started. software, hardware, programming?
There are USB to Ethernet dongles, so you could use one of those, if you need
more there are SPI to Ethernet modules.

There is a second Ethernet port (but only one) on the chip, but not all of
the pins are exported, so it is unusable.

David

-- 
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] BeagleBone Black: is it a Real-Time Board?

2013-12-13 Thread David Goodenough
On Friday 13 Dec 2013, guerre...@gmail.com wrote:
 Hi all,
 
 is it possible to use the BeagleBone Black as a Real-Time board, that
 allows it to be used for critical applications, like in industrial
 environment?
 
 Thank you very much!
 
 Alessandro
Have a look at the PRU, there are two of them built into every BBB (in 
the CPU chip), they provide all you need for the real time bits and 
then you can do the non-real time bits under normal linux on the main 
CPU.

Using the PRU you can access IO pins, and they have timers too.  

David

-- 
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] does BBB uboot support HID over I2C

2013-10-21 Thread David Goodenough
There appears to be a new standard, allowing keyboards and other human
interface devices (HID) to be connected using I2C rather than USB, serial or
the old PS/2 connections.  Linux supports it, but I have not been able to
find any references to it in uboot.  

Given that TI have just produced a chip designed to do all the hard work
for HID over I2C it occured to me that someone here might know if support
has been added to uboot, and if not to get it added - it would certainly
free up a USB port on the BBB.

David

-- 
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] mount: unknown filesystem type 'iso9660'

2013-10-21 Thread David Goodenough
On Sunday 20 Oct 2013, Orest Lenczyk wrote:
 sorry if there was such a problem, could you guys help me with this? i am
 unable to mount flash drive
 
 beaglebone:~# mount /dev/sda pendrive
 mount: unknown filesystem type 'iso9660'
You will probably find that the kernel you are using was build without CD
support and so no iso9660 support.  You will need to rebuild your kernel with
the relevant config item selected.

David

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


Re: [beagleboard] I2C and Invensense MPU6050 Driver

2013-10-16 Thread David Goodenough
On Wednesday 16 Oct 2013, clarkbriggs...@gmail.com wrote:
 David,
 Good for you. I don't understand that connection. If I get the driver and a
 DTB loaded, where will it show up? Possible answers are under bone_capmgr,
 under /sys/...i2c-1, and under /dev/i2c. And do you have any reason to
 believe this will be faster than simply file i/o-ing thru /dev/i2c? --Clark
If you want raw file access to the device, then your application is acting
as the device driver so the kernel does not need to know anything other than
how to deal with the I2C hardware - which it clearly does.  However if you
want a device driver (and you seemed to be looking for one or rather the 
files that is presents) then you need to tell the kernel to load the driver.
This can be done manually, or you can configure it - and the way that seems
to becoming the standard is the device tree.  Your choice.

David
 
 On Wednesday, October 16, 2013 1:58:26 AM UTC-7, David Goodenough wrote:
  On Wednesday 16 Oct 2013, Jacek Radzikowski wrote:
   You're barking at a wrong tree. /sys/devices/bone_capmgr.9/slots is
   used
  
  to
  
   load device tree overlays and has nothing to do with devices on I2C
   bus.
  
  This is not quite true.  While you can access the I2C bus directly
  without a device tree entry, if there is an overlay you can tell the
  kernel that this
  device is expected to be there, and if the driver is DTB enabled you can
  get it loaded and configured for you.
  
  David
  
   The correct place to write to instantiate a new i2c device is
   /sys/bus/i2c/devices/i2c-X/new_device (substitute X with bus number to
   which the chip is connected). The echo command in your case would look
  
  like
  
   something like this:
   
   echo inv-mpu6050 0x68  /sys/bus/i2c/devices/i2c-X/new_device
   
   j.
   
   On Tue, Oct 15, 2013 at 6:02 PM, clarkbr...@gmail.com javascript:
  
  wrote:
We are using the Invensense MPU6050 IMU on I2C with Beaglebone Black
(Angstrom 3.8.13). We can use I2C-tools and file I/O thru /dev/i2c
but the read speed is disappointingly slow.  We only read the 3x
gyros and 3x accels (each one byte at a time plus the 2 byte
temperature
  
  reading)
  
and it takes ~2msecs.  My estimate of the I2C bus cycles for a block
read suggests this should take ~160 bus cycles or .38msec on a 400MHz
I2C bus. **

The distribution includes the Invensense driver inv-mpu6050.ko but
  
  there
  
is no indication that reading through /dev/i2c invokes it.  This is a
very popular IMU and Invensense widely distributes the driver over
  
  many
  
Linux platforms.  The driver source includes “successful installation
will create two directories under /sys/bus/iio/devices” and lists the
files there (aka functions). I can never get these to show up.

I can “insmod
/lib/modules/3.8.13/kernel/drivers/iio/imu/inv_mpu6050/inv-mpu6050.ko
” and “echo inv-mpu6050 0x68 
/sys/class/i2c-adapter/i2c-1/new_device”. This causes a new
directory named 1-0068 to show in
/sys/class/i2c-adapter/i2c-1with entries like name and modalias but
no functions.  It never shows in /sys/bus/iio/devices.

What constitutes “successful installation”?  

What else is needed to get the inv-mpu6050 to expose functions in
/sys/bus/iio/devices like the driver sources says?

Beaglebone Black uses bone_capemgr for exposing driver functions for
  
  many
  
devices.  “echo inv-mpu6050 0x68  /sys/devices/bone_capmgr.9/slots”
raises the gripe “write error: no such file or directory”.  (I can
successfully load the am33xx_pwm driver this way.) Is this because
  
  there
  
is no matching DT fragment in /lib/firmware? Is the inv-mpu6050
driver supposed to be invoked thru cape manager?
Then, most importantly, if I did read and write through the /sys tree
using the Invensense driver would it be faster than /dev/i2c?
Help on sorting this out would be much appreciated.
  
  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] eQep -quadrature encoder controller - anybody using it?

2013-10-14 Thread David Goodenough
The stuff crammed into this little SoC never ceases to amaze.  It would be
nice to get this added into the mainline kernel.

David

On Friday 11 Oct 2013, Giuseppe Iellamo wrote:
 Hi all,
 
 Since I want to use Beaglebone black in order to perform e motor position
 controller I need to use an Encoder.
 I'm struggling with the eQep configuration.
 
 Searching other posts I found this:
 
 https://groups.google.com/forum/#!searchin/beagleboard/encoder/beagleboard/
 mE_ha4zOApM/VewMCyQx37kJ
 
 In which Teknoman117 released his own version of a kernel module driver.
 
 I compiled it, and it seems to work except that the posiotion sysfs entry
 is always 0.
 
 Has anybody ever used it?
 Or Has anybaody used the eQep?
 
 I'm using a 3.8.13bone28 kernel with xenomai extensions...

-- 
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] Device Tree Overlay ? why do we need it?

2013-10-06 Thread David Goodenough
On Sunday 06 Oct 2013, Amalinda J' Gamage wrote:
 I am a new user to beaglebone and I have a couple of basic questions.
 I want to know what is meant by DT or Device tree overlay and why it is
 required for BB/ ARM335X. Is it not required for other main processors like
 Intel because they  are  defined in the Linux kernel? and TI ARM3358
 processor is not  defined .  What support is available for other
 popular processors and is not available for TI ARM 3358 in Linux Kernal?
 Or was there support BEFORE and was it taken BACK?
 I mean is this the reason that we make a device tree and pass it to the
 system ? I may have mentioned incorrect statements please feel free to
 correct me.
For a start its not just the 3358/9 that use device tree.  It started with
PowerPC chips, has spread to all ARM chips and is now spreading to MIPS
chips.  The 3358/9 chips are defined in the kernel and are fully supported.

The x86 and AMD64 chips have as others have mentioned busses that are more
self identifying - such as PCI.  However just look at the lmsensors code
to see that there are many chips which provide things like thermal and voltage
sensing which have to be found by implication rather than identification.
ACPI also comes into this equation, but does not exist on ARM.

Linus Torvalds got fed up with the previous way of handing ARM chips and 
boards, and so the ARM community used the device tree to get rid of the mess.
However there was a lot of mess, and so converting everything to use the
device trees is taking a bit of time and getting in the way of new development
as there are only a limited number of developers.

You can find details about device tree at http://www.devicetree.org which
will give you the history and the links to OpenFirmware which is the real 
origin of device trees.
 
 secondly, I know that with no Device tree stuff, it is possible to lighten
 up an LED connected to the BB and BBB using the terminal. So if the
 definitions are not there in the Linux kernel, how come this method works?
 I mean how can one export a GPIO and lighten the LED connected if that is
 not found in the kernel? If so, then is a DT  necessary at all?
Most people want to rather more than just light up a LED.
 
 A confused.

David

-- 
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] Neon enhanced FB Driver[fbdev replacement for Xorg]

2013-10-05 Thread David Goodenough
On Saturday 05 Oct 2013, garyamort wrote:
 Ran across this article last night:
 http://www.phoronix.com/scan.php?page=news_itempx=MTI5MDI
I think you have misread this article.
 
 Siarhei Siamashka http://ssvb.github.io/ wasn't happy with the open
 source framebuffer driver for his Raspberry Pi that utilizes the built in
 Mali GPU.
The article talks about A10/20 chips, not the Raspberry Pi.
 
 It seems the main problem was that the driver was just a basic  driver with
 some function call replacements to use the Mali GPU's special functions.
The Pi does not use a Mali GPU, neither do the Beagles.
 
 This means that it didn't include any of the other accelerated function
 calls that come with the Arm platform[NEON and VFRP]
Yes, this bit is relevant.
 
 So he rewrote the fbdev driver using their code, and went ahead and added
 the calls for neon and vfrp.   He also has done it in a very smart manner,
 his driver is a drop in replacement for xf86-video-fbdev.
 
 It's default mode of operation is exactly the same as fbdev - so it will
 work on any platform including both desktops[intel or amd processors] and
 embedded platforms.
 
 During initialization, it will check to see if the Neon features are
 available, if so it will configure itself to use them.  It checks for VFRP
 and enables those functions.  Finally it checks for the Mali GPU and if it
 is there it enables use of those functions.
 
 He's very appropriately named his driver 'fbturbo' amd posted it up to
 Github.  https://github.com/ssvb/xf86-video-fbturbo
 
 This means it should work on the BBB as well and give you a performance
 boost if running a desktop environment.
Less that it will for chips like the A10/20, but might be worth a try.

David

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