[beagleboard] power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread toni incog
When pressing the power button on a bbb with debian kernel 
linux-image-3.14.29-ti-r46 nothing happens. When using 3.8.13-bone70 the 
system powers down. Looking for clues I'm missing /dev/input/event0 on the 
ti kernel. Any pointers on how to solve this?

thx,
Michiel

-- 
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] i need help with node.js

2015-01-24 Thread Günter Pütz
Thank you Robert!

I tried the ports and found out what you wrote.

Regards,
Günter

Am Samstag, 24. Januar 2015 19:14:45 UTC+1 schrieb RobertCNelson:

 On Sat, Jan 24, 2015 at 12:13 PM, Günter Pütz puetz@gmail.com 
 javascript: wrote: 
  Thank you William, 
  
  but I knew that. My question was how to setup a webserver with node.js 
 on 
  the bone. I found out now that the preinstalled webpage runs on the 
 apache 
  server. Perhaps you have some suggestions how to make a node.js server 
  (written with express library) autostarting. 

 The default webserver on port 80 is node.js... 

 cloud9 which also runs off node.js is on port 3000 

 apache is running on port 8080.. 

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


Re: [beagleboard] Re: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread toni incog
Maybe it has to do with differences in tps65217 driver 3.8 v.s 3.14?

https://github.com/beagleboard/linux/blob/3.8/drivers/mfd/tps65217.c
https://github.com/beagleboard/linux/blob/3.14/drivers/mfd/tps65217.c

regards,
Michiel

On Saturday, January 24, 2015 at 6:45:25 PM UTC+1, RobertCNelson wrote:

 On Sat, Jan 24, 2015 at 11:23 AM, DLF dumb.lo...@gmail.com javascript: 
 wrote: 
  Hi, I'm running the same kernel and the power button shuts down the BBB. 
   I 
  have to hold it for about 5 seconds, but it does work 

 Actually, 5 seconds means the pmic just cycled... 

 It's been a little while since i tested: 

 jessie + systemd 
 3.14-ti 
 push button power off 

 Anyone running: 1-19 jessie snapshot? 

 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot 

 But i'm just heading out, will look at it early next week.. 

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


Re: [beagleboard] Re: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread Robert Nelson
On Sat, Jan 24, 2015 at 11:23 AM, DLF dumb.looks.f...@gmail.com wrote:
 Hi, I'm running the same kernel and the power button shuts down the BBB.   I
 have to hold it for about 5 seconds, but it does work

Actually, 5 seconds means the pmic just cycled...

It's been a little while since i tested:

jessie + systemd
3.14-ti
push button power off

Anyone running: 1-19 jessie snapshot?

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot

But i'm just heading out, will look at it early next week..

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


[beagleboard] Re: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread DLF
Hi, I'm running the same kernel and the power button shuts down the BBB.   
I have to hold it for about 5 seconds, but it does work

On Saturday, 24 January 2015 17:32:26 UTC+1, toni incog wrote:

 When pressing the power button on a bbb with debian kernel 
 linux-image-3.14.29-ti-r46 nothing happens. When using 3.8.13-bone70 the 
 system powers down. Looking for clues I'm missing /dev/input/event0 on the 
 ti kernel. Any pointers on how to solve this?

 thx,
 Michiel


-- 
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] U-Boot build error

2015-01-24 Thread William Pretty Security
Hello all;

 

I have been following these instructions:
https://eewiki.net/display/linuxonarm/BeagleBone+Black

 

And I get the following error after I execute this command:

 

root@Lab1:~/temp/u-boot# make ARCH=arm CROSS_COMPILE=${CC} distclean

root@Lab1:~/temp/u-boot# make ARCH=arm CROSS_COMPILE=${CC}
am335x_evm_defconfig

  HOSTCC  scripts/basic/fixdep

  HOSTCC  scripts/kconfig/conf.o

  SHIPPED scripts/kconfig/zconf.tab.c

  SHIPPED scripts/kconfig/zconf.lex.c

  SHIPPED scripts/kconfig/zconf.hash.c

  HOSTCC  scripts/kconfig/zconf.tab.o

  HOSTLD  scripts/kconfig/conf

#

# configuration written to .config

#

#

# configuration written to spl/.config

#

root@Lab1:~/temp/u-boot# make ARCH=arm CROSS_COMPILE=${CC}

scripts/kconfig/conf --silentoldconfig Kconfig

scripts/kconfig/conf --silentoldconfig Kconfig

  CHK include/config.h

  UPD include/config.h

  GEN include/autoconf.mk

cc1: error: bad value (armv5) for -march= switch

make[2]: *** [include/autoconf.mk] Error 1

make[1]: *** [silentoldconfig] Error 1

make: *** No rule to make target `include/config/auto.conf', needed by
`include/config/uboot.release'.  Stop.

 

Does anyone know how to fix this ?

 

Thanks;

 

Bill

 

No one could make a greater mistake than he who did nothing because he
could do only a little.

All that is necessary for the triumph of evil is that good men do nothing
Edmond Burke (1729 - 1797)

 
http://www.packtpub.com/building-a-home-security-system-with-beaglebone/boo
k
http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

http://ca.linkedin.com/pub/bill-pretty/2b/b07/602

 

 

-- 
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] U-Boot build error

2015-01-24 Thread Robert Nelson
You didn't properly export cc, so it defaulted to x86
On Jan 24, 2015 1:10 PM, William Pretty Security bill.pre...@xplornet.com
wrote:

 Hello all;



 I have been following these instructions:
 https://eewiki.net/display/linuxonarm/BeagleBone+Black



 And I get the following error after I execute this command:



 root@Lab1:~/temp/u-boot# make ARCH=arm CROSS_COMPILE=${CC} distclean

 root@Lab1:~/temp/u-boot# make ARCH=arm CROSS_COMPILE=${CC}
 am335x_evm_defconfig

   HOSTCC  scripts/basic/fixdep

   HOSTCC  scripts/kconfig/conf.o

   SHIPPED scripts/kconfig/zconf.tab.c

   SHIPPED scripts/kconfig/zconf.lex.c

   SHIPPED scripts/kconfig/zconf.hash.c

   HOSTCC  scripts/kconfig/zconf.tab.o

   HOSTLD  scripts/kconfig/conf

 #

 # configuration written to .config

 #

 #

 # configuration written to spl/.config

 #

 root@Lab1:~/temp/u-boot# make ARCH=arm CROSS_COMPILE=${CC}

 scripts/kconfig/conf --silentoldconfig Kconfig

 scripts/kconfig/conf --silentoldconfig Kconfig

   CHK include/config.h

   UPD include/config.h

   GEN include/autoconf.mk

 cc1: error: bad value (armv5) for -march= switch

 make[2]: *** [include/autoconf.mk] Error 1

 make[1]: *** [silentoldconfig] Error 1

 make: *** No rule to make target `include/config/auto.conf', needed by
 `include/config/uboot.release'.  Stop.



 Does anyone know how to fix this ?



 Thanks;



 Bill



 No one could make a greater mistake than he who did nothing because he
 could do only a little.

 All that is necessary for the triumph of evil is that good men do
 nothing Edmond Burke *(1729 - 1797)*


 http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 http://ca.linkedin.com/pub/bill-pretty/2b/b07/602





 --
 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] power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread Robert Nelson
On Sat, Jan 24, 2015 at 10:32 AM, toni incog toni.in...@gmail.com wrote:
 When pressing the power button on a bbb with debian kernel
 linux-image-3.14.29-ti-r46 nothing happens. When using 3.8.13-bone70 the
 system powers down. Looking for clues I'm missing /dev/input/event0 on the
 ti kernel. Any pointers on how to solve this?

Are you letting systemd know:

https://github.com/RobertCNelson/boot-scripts/blob/master/mods/jessie-systemd-poweroff.diff

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


RE: [beagleboard] U-Boot build error

2015-01-24 Thread William Pretty Security
Thanks.

 

I’ll try again J

 

No one could make a greater mistake than he who did nothing because he could 
do only a little.

All that is necessary for the triumph of evil is that good men do nothing 
Edmond Burke (1729 - 1797)

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

http://ca.linkedin.com/pub/bill-pretty/2b/b07/602

 

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Robert Nelson
Sent: Saturday, January 24, 2015 3:08 PM
To: Beagle Board
Subject: Re: [beagleboard] U-Boot build error

 

You didn't properly export cc, so it defaulted to x86

On Jan 24, 2015 1:10 PM, William Pretty Security bill.pre...@xplornet.com 
wrote:

Hello all;

 

I have been following these instructions: 
https://eewiki.net/display/linuxonarm/BeagleBone+Black

-- 
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 does not recognize usb3 seagate 5TB drive

2015-01-24 Thread John Syn

From:  wjr w...@ksu.edu
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Saturday, January 24, 2015 at 5:42 PM
To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Subject:  [beagleboard] BBB does not recognize usb3 seagate 5TB drive

 I'm wanting to use a BBB as a backup server for a cloud-based mysqld. I'm
 running ubuntu 13.10 and I got a Seagate 5TB usb3 ntfs expansion drive. I'm
 using it with my desktop that runs centos and everything's OK. But when I
 tried moving the drive to the BBB, it simply does not recognize it, i.e. ls
 /dev shows no difference before and after I plug it in. I'm so used to things
 like this just working that I'm really not sure where to start.
After you insert your drive, what errors do you see when you run the command
dmesg?

Regards,
John
 -- 
 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] questions about BBB SD cards and formatting

2015-01-24 Thread Robert Nelson
On Jan 24, 2015 10:56 PM, liyaoshi liyao...@gmail.com wrote:

 If I understand correctly
 Boot rom dont care about the FAT table . its only read first several
blocks
 generally , MLO should be on the 2nd block ,1st block is MBR ,
 But if there is a FAT file system . 2nd block should be fat table ,
 3nd block should be MLO

 whats my failed boot experience is when you format a sd card ,then copy a
dummy file first ,then copy MLO to fat partiton
 this will cause boot failed

 and if you try another way , fdisk from 10M an create only one ext4
partiton
 dd if=MLO of=/dev/sdb bs=512 seek=2
 this still boot mlo ,but no u-boot.bin , this only because u-boot source
code

 Actually , if you check QNX ipl source code , they dont need any FAT

 And if you really want a customed u-boot ,
 You can get it minimized lower than 64K and boot kernel directly

Mainline u-boot also doesn't require 'fat', on omap4+ you can also use ext,
as long as mlo is copied first. For omap3 there isn't enough SRAM so it can
be either fat or ext



 2015-01-24 3:40 GMT+08:00 Robert Nelson robertcnel...@gmail.com:

yup, i realize that now. is this behaviour documented somewhere in
  an official TI am335x/omap4+ reference manual somewhere?

 It tis.. under raw mode..

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

-- 
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] questions about BBB SD cards and formatting

2015-01-24 Thread liyaoshi
What I remember is
omap3 have 64k SRAM , omap4 have 32k SRAM ,dm8148/j4/j5 have SRAM ,dm8168
have 256k
am335x have 64k SRAM

2015-01-25 13:03 GMT+08:00 Robert Nelson robertcnel...@gmail.com:


 On Jan 24, 2015 10:56 PM, liyaoshi liyao...@gmail.com wrote:
 
  If I understand correctly
  Boot rom dont care about the FAT table . its only read first several
 blocks
  generally , MLO should be on the 2nd block ,1st block is MBR ,
  But if there is a FAT file system . 2nd block should be fat table ,
  3nd block should be MLO
 
  whats my failed boot experience is when you format a sd card ,then copy
 a dummy file first ,then copy MLO to fat partiton
  this will cause boot failed
 
  and if you try another way , fdisk from 10M an create only one ext4
 partiton
  dd if=MLO of=/dev/sdb bs=512 seek=2
  this still boot mlo ,but no u-boot.bin , this only because u-boot source
 code
 
  Actually , if you check QNX ipl source code , they dont need any FAT
 
  And if you really want a customed u-boot ,
  You can get it minimized lower than 64K and boot kernel directly

 Mainline u-boot also doesn't require 'fat', on omap4+ you can also use
 ext, as long as mlo is copied first. For omap3 there isn't enough SRAM so
 it can be either fat or ext

 
 
  2015-01-24 3:40 GMT+08:00 Robert Nelson robertcnel...@gmail.com:
 
 yup, i realize that now. is this behaviour documented somewhere in
   an official TI am335x/omap4+ reference manual somewhere?
 
  It tis.. under raw mode..
 
  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/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.

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


[beagleboard] [BBB] Debian vs Angstrom: which one is better for HDMI and CEC?

2015-01-24 Thread Hung Nguyen
Hi All,

I'm a newbie with BBB and going to work with HDMI and CEC. Which distro is 
the better support for HDMI and CEC between Debian and Angstrom ?

Thanks so much.

-- 
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] questions about BBB SD cards and formatting

2015-01-24 Thread liyaoshi
If I understand correctly
Boot rom dont care about the FAT table . its only read first several blocks
generally , MLO should be on the 2nd block ,1st block is MBR ,
But if there is a FAT file system . 2nd block should be fat table ,
3nd block should be MLO

whats my failed boot experience is when you format a sd card ,then copy a
dummy file first ,then copy MLO to fat partiton
this will cause boot failed

and if you try another way , fdisk from 10M an create only one ext4
partiton
dd if=MLO of=/dev/sdb bs=512 seek=2
this still boot mlo ,but no u-boot.bin , this only because u-boot source
code

Actually , if you check QNX ipl source code , they dont need any FAT

And if you really want a customed u-boot ,
You can get it minimized lower than 64K and boot kernel directly


2015-01-24 3:40 GMT+08:00 Robert Nelson robertcnel...@gmail.com:

yup, i realize that now. is this behaviour documented somewhere in
  an official TI am335x/omap4+ reference manual somewhere?

 It tis.. under raw mode..

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


[beagleboard] BBB does not recognize usb3 seagate 5TB drive

2015-01-24 Thread wjr
I'm wanting to use a BBB as a backup server for a cloud-based mysqld. I'm 
running ubuntu 13.10 and I got a Seagate 5TB usb3 ntfs expansion drive. I'm 
using it with my desktop that runs centos and everything's OK. But when I 
tried moving the drive to the BBB, it simply does not recognize it, i.e. 
ls /dev shows no difference before and after I plug it in. I'm so used to 
things like this just working that I'm really not sure where to start. 

-- 
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 does not recognize usb3 seagate 5TB drive

2015-01-24 Thread William Hermans
Not enough information given.

On Sat, Jan 24, 2015 at 6:42 PM, wjr w...@ksu.edu wrote:

 I'm wanting to use a BBB as a backup server for a cloud-based mysqld. I'm
 running ubuntu 13.10 and I got a Seagate 5TB usb3 ntfs expansion drive. I'm
 using it with my desktop that runs centos and everything's OK. But when I
 tried moving the drive to the BBB, it simply does not recognize it, i.e.
 ls /dev shows no difference before and after I plug it in. I'm so used to
 things like this just working that I'm really not sure where to start.

 --
 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] BBB does not recognize usb3 seagate 5TB drive

2015-01-24 Thread William Pretty Security
Just a suggestion.

 

Could it be because it is USB-3 ?

The BBB uses USB2 ….

 

Can you try a USB2 drive or possibly a smaller capacity drive ???

 

Anyone else ?

 

No one could make a greater mistake than he who did nothing because he could 
do only a little.

All that is necessary for the triumph of evil is that good men do nothing 
Edmond Burke (1729 - 1797)

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

http://ca.linkedin.com/pub/bill-pretty/2b/b07/602

 

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of wjr
Sent: Saturday, January 24, 2015 8:43 PM
To: beagleboard@googlegroups.com
Subject: [beagleboard] BBB does not recognize usb3 seagate 5TB drive

 

I'm wanting to use a BBB as a backup server for a cloud-based mysqld. I'm 
running ubuntu 13.10 and I got a Seagate 5TB usb3 ntfs expansion drive. I'm 
using it with my desktop that runs centos and everything's OK. But when I tried 
moving the drive to the BBB, it simply does not recognize it, i.e. ls /dev 
shows no difference before and after I plug it in. I'm so used to things like 
this just working that I'm really not sure where to start. 

-- 
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] Re: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread William Hermans
Did you check /etc/inittab ?

On Sat, Jan 24, 2015 at 11:54 AM, toni incog toni.in...@gmail.com wrote:

 Maybe it has to do with differences in tps65217 driver 3.8 v.s 3.14?

 https://github.com/beagleboard/linux/blob/3.8/drivers/mfd/tps65217.c
 https://github.com/beagleboard/linux/blob/3.14/drivers/mfd/tps65217.c

 regards,
 Michiel

 On Saturday, January 24, 2015 at 6:45:25 PM UTC+1, RobertCNelson wrote:

 On Sat, Jan 24, 2015 at 11:23 AM, DLF dumb.lo...@gmail.com wrote:
  Hi, I'm running the same kernel and the power button shuts down the
 BBB.   I
  have to hold it for about 5 seconds, but it does work

 Actually, 5 seconds means the pmic just cycled...

 It's been a little while since i tested:

 jessie + systemd
 3.14-ti
 push button power off

 Anyone running: 1-19 jessie snapshot?

 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot

 But i'm just heading out, will look at it early next week..

 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/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] i need help with node.js

2015-01-24 Thread William Hermans
I think it is important to understand that Nodejs is javascript *not* java.
They are not interchangeable . . . So then if you would like to know how to
write a web server using Nodejs, it really depends on what libraries you
plan on using. Express, is possibly the most well known / used.

http://code.tutsplus.com/tutorials/introduction-to-express--net-33367 would
be one such tutorial.

On Sat, Jan 24, 2015 at 11:29 AM, Günter Pütz puetz.guen...@gmail.com
wrote:

 Thank you Robert!

 I tried the ports and found out what you wrote.

 Regards,
 Günter

 Am Samstag, 24. Januar 2015 19:14:45 UTC+1 schrieb RobertCNelson:

 On Sat, Jan 24, 2015 at 12:13 PM, Günter Pütz puetz@gmail.com
 wrote:
  Thank you William,
 
  but I knew that. My question was how to setup a webserver with node.js
 on
  the bone. I found out now that the preinstalled webpage runs on the
 apache
  server. Perhaps you have some suggestions how to make a node.js server
  (written with express library) autostarting.

 The default webserver on port 80 is node.js...

 cloud9 which also runs off node.js is on port 3000

 apache is running on port 8080..

 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/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] BBB does not recognize usb3 seagate 5TB drive

2015-01-24 Thread liyaoshi
I bet his driver  only use  usb power supply from BBB board

2015-01-25 10:09 GMT+08:00 John Syn john3...@gmail.com:


 From: wjr w...@ksu.edu
 Reply-To: beagleboard@googlegroups.com beagleboard@googlegroups.com
 Date: Saturday, January 24, 2015 at 5:42 PM
 To: beagleboard@googlegroups.com beagleboard@googlegroups.com
 Subject: [beagleboard] BBB does not recognize usb3 seagate 5TB drive

 I'm wanting to use a BBB as a backup server for a cloud-based mysqld. I'm
 running ubuntu 13.10 and I got a Seagate 5TB usb3 ntfs expansion drive. I'm
 using it with my desktop that runs centos and everything's OK. But when I
 tried moving the drive to the BBB, it simply does not recognize it, i.e.
 ls /dev shows no difference before and after I plug it in. I'm so used to
 things like this just working that I'm really not sure where to start.

 After you insert your drive, what errors do you see when you run the
 command dmesg?

 Regards,
 John

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


-- 
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] Debian vs Angstrom: which one is better for HDMI and CEC?

2015-01-24 Thread liyaoshi
This is only depend on the kernel version
As I think , kernel 3.14.x will have the best support of this , but only
kernel 3.12 have the gpu support on am335x boards

2015-01-25 12:01 GMT+08:00 Hung Nguyen nguyenhuuphuh...@gmail.com:

 Hi All,

 I'm a newbie with BBB and going to work with HDMI and CEC. Which distro is
 the better support for HDMI and CEC between Debian and Angstrom ?

 Thanks so much.

 --
 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] BBB does not recognize usb3 seagate 5TB drive

2015-01-24 Thread William J Rust
Thanks for the pointer. The drive was spinning up OK; a bit of not 
reading well on my part. The problem was that I hadn't installed 
ntfs-3g. I had read in the docs that ntfs was installed in ubuntu by 
default so I hadn't installed it. Turns out they are not the same thing. 
One note, when I installed ntfs-3g there were many error messages, 
several of which said that they were fatal. However, I was able to mount 
the drive anyway and it seems to work.


On 01/24/2015 08:09 PM, John Syn wrote:


From: wjr w...@ksu.edu mailto:w...@ksu.edu
Reply-To: beagleboard@googlegroups.com 
mailto:beagleboard@googlegroups.com beagleboard@googlegroups.com 
mailto:beagleboard@googlegroups.com

Date: Saturday, January 24, 2015 at 5:42 PM
To: beagleboard@googlegroups.com 
mailto:beagleboard@googlegroups.com beagleboard@googlegroups.com 
mailto:beagleboard@googlegroups.com

Subject: [beagleboard] BBB does not recognize usb3 seagate 5TB drive

I'm wanting to use a BBB as a backup server for a cloud-based
mysqld. I'm running ubuntu 13.10 and I got a Seagate 5TB usb3 ntfs
expansion drive. I'm using it with my desktop that runs centos and
everything's OK. But when I tried moving the drive to the BBB, it
simply does not recognize it, i.e. ls /dev shows no difference
before and after I plug it in. I'm so used to things like this
just working that I'm really not sure where to start.

After you insert your drive, what errors do you see when you run the 
command dmesg?


Regards,
John

-- 
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
mailto: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/nZ75IuaSlDE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
beagleboard+unsubscr...@googlegroups.com 
mailto: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] power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread toni incog


On Saturday, January 24, 2015 at 6:12:17 PM UTC+1, RobertCNelson wrote:

 On Sat, Jan 24, 2015 at 10:32 AM, toni incog toni@gmail.com 
 javascript: wrote: 
  When pressing the power button on a bbb with debian kernel 
  linux-image-3.14.29-ti-r46 nothing happens. When using 3.8.13-bone70 the 
  system powers down. Looking for clues I'm missing /dev/input/event0 on 
 the 
  ti kernel. Any pointers on how to solve this? 

 Are you letting systemd know: 


 https://github.com/RobertCNelson/boot-scripts/blob/master/mods/jessie-systemd-poweroff.diff
  



Hmm, running wheezy. That patch looks only for jessue? Adding this diff 
more or less to /etc/udev/rules doesn't work. Time to explore jessie?

thx,
Michiel


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


Re: [beagleboard] Fast ADC using PRU to bitbang SPI

2015-01-24 Thread John Syn

From:  touste baptiste.pier...@gmail.com
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Saturday, January 24, 2015 at 7:24 AM
To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Subject:  Re: [beagleboard] Fast ADC using PRU to bitbang SPI

 Hi John, thanks for your suggestion. What frequency can I expect using this
 method? I need at least a 1MSPS sampling rate.
 Also, do you have any code example of this? I tried googling it but I didn't
 find what I was looking for.
Theoretically you should be able to run at 3MSPS. Regarding sample code,
look at Linux Kernel source under drivers/staging/iio. Look for any driver
that uses SPI. What you need to do is setup SPI transfer in large blocks so
that DMA will be used. I also recommend that you post your question of
e2e.ti.com as TI might have some example code that will help.

Alternatively, you could always use a I2S ADC and then use the MCASP to
stream the samples. It is also possible to convert the SPI signal format to
I2S so that you can use the ADS7883 with MCASP. What you do is write a SPDIF
style codec and then use the ALSA (Linux Audio) framework to capture your
samples. Here is an example of doing this for a DAC, but just do a capture
version for ADC. 

http://processors.wiki.ti.com/index.php/Sitara_Linux_SDK_Audio_DAC_Example

Regards,
John
 
 Many thanks
 
 On Saturday, January 24, 2015 at 12:52:29 AM UTC, john3909 wrote:
 Why don¹t you use SPI with DMA? DMA is automatically used when the size of
 transfer exceeds 160 bytes. You would have to create a kernel driver because
 SPIDEV has too much overhead.  The SPI interface can transfer up to 48MHz
 clock, which is the max clock of the device you want to use.
 
 Regards,
 John
 
 From:  touste baptiste...@gmail.com javascript: 
 Reply-To:  beagl...@googlegroups.com javascript: 
 beagl...@googlegroups.com javascript: 
 Date:  Friday, January 23, 2015 at 10:45 AM
 To:  beagl...@googlegroups.com javascript:  beagl...@googlegroups.com
 javascript: 
 Subject:  [beagleboard] Fast ADC using PRU to bitbang SPI
 
 Hi guys,
 
 I would like to know if someone here has already tried bitbanging SPI with
 the PRU units? 
 
 I have a 12bit ADC (TI ADS7883) which takes a clock signal and outputs 12
 bits of data, and I would like to use the PRU to achieve high sampling rate.
 
 See http://www.ti.com/lit/ds/symlink/ads7883.pdf for the ADC documentation
 with the interface timing diagram.
 
 Basically, the PRU program would do the following (assuming a cycle time of
 5ns and one cycle for each line of the loop):
 
 - Initiate 3 GPIO channels (2 outputs: SCLK and CS, 1 input: SDO)
 - Allocate memory (a lot! I'd like to capture millions of samples)
 Loop for N samples:
 - Pull CS high
 - Wait 3 cycles
 - Pull SCLK high
 - Wait 2 cycles
 - Pull CS low (initiate output)
 - Wait 2 cycles
 - Pull SCLK low
 - Wait 5 cycles
 - Pull SCLK high
 - Wait 5 cycles
 - Pull SCLK low
 - Wait 5 cycles
 - Pull SCLK high
 - Wait 5 cycles
 - Pull SCLK low
 - Read SDO (first bit)
 - Store it somewhere
 - Wait 3 cycles
 - Pull SCLK high
 - Wait 5 cycles
 - Pull SCLK low
 - Read SDO (2nd bit)
 - Store it somewhere
 - Wait 3 cycles
 - Pull SCLK high
 - Wait 5 cycles
 - Pull SCLK low
 - Read SDO (3rd bit)
 - Store it somewhere  ... and so on until 12th bit
 - Wait 60ns (acquisition time) while always pulling CLK high and low every 6
 cycles
 End of loop
 
 
 The problem is that I have never programmed in assembly code. I have tried
 looking at examples but have a really hard time understanding the simplest
 commands (ex: what is a simple MOV r3, 17 doing?).
 
 I'd like to have a thoroughly commented, simple example to start if
 possible. 
 
 Memory issues are also a big problem. How can I store all the captured data
 so that it is fast and doesn't overflow the PRU memory?
 
 Many thanks for your help!
 
 Touste
 -- 
 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/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.


-- 
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] Fast ADC using PRU to bitbang SPI

2015-01-24 Thread touste
Hi John, thanks for your suggestion. What frequency can I expect using this 
method? I need at least a 1MSPS sampling rate.
Also, do you have any code example of this? I tried googling it but I 
didn't find what I was looking for.

Many thanks

On Saturday, January 24, 2015 at 12:52:29 AM UTC, john3909 wrote:

 Why don’t you use SPI with DMA? DMA is automatically used when the size of 
 transfer exceeds 160 bytes. You would have to create a kernel driver 
 because SPIDEV has too much overhead.  The SPI interface can transfer up to 
 48MHz clock, which is the max clock of the device you want to use.

 Regards,
 John

 From: touste baptiste...@gmail.com javascript:
 Reply-To: beagl...@googlegroups.com javascript: 
 beagl...@googlegroups.com javascript:
 Date: Friday, January 23, 2015 at 10:45 AM
 To: beagl...@googlegroups.com javascript: beagl...@googlegroups.com 
 javascript:
 Subject: [beagleboard] Fast ADC using PRU to bitbang SPI

 Hi guys,

 I would like to know if someone here has already tried bitbanging SPI with 
 the PRU units? 

 I have a 12bit ADC (TI ADS7883) which takes a clock signal and outputs 12 
 bits of data, and I would like to use the PRU to achieve high sampling rate.

 See http://www.ti.com/lit/ds/symlink/ads7883.pdf for the ADC 
 documentation with the interface timing diagram.

 Basically, the PRU program would do the following (assuming a cycle time 
 of 5ns and one cycle for each line of the loop):

 - Initiate 3 GPIO channels (2 outputs: SCLK and CS, 1 input: SDO)
 - Allocate memory (a lot! I'd like to capture millions of samples)
 Loop for N samples:
 - Pull CS high
 - Wait 3 cycles
 - Pull SCLK high
 - Wait 2 cycles
 - Pull CS low (initiate output)
 - Wait 2 cycles
 - Pull SCLK low
 - Wait 5 cycles
 - Pull SCLK high
 - Wait 5 cycles
 - Pull SCLK low
 - Wait 5 cycles
 - Pull SCLK high
 - Wait 5 cycles
 - Pull SCLK low
 - Read SDO (first bit)
 - Store it somewhere
 - Wait 3 cycles
 - Pull SCLK high
 - Wait 5 cycles
 - Pull SCLK low
 - Read SDO (2nd bit)
 - Store it somewhere
 - Wait 3 cycles
 - Pull SCLK high
 - Wait 5 cycles
 - Pull SCLK low
 - Read SDO (3rd bit)
 - Store it somewhere  ... and so on until 12th bit
 - Wait 60ns (acquisition time) while always pulling CLK high and low every 
 6 cycles
 End of loop


 The problem is that I have never programmed in assembly code. I have tried 
 looking at examples but have a really hard time understanding the simplest 
 commands (ex: what is a simple MOV r3, 17 doing?).

 I'd like to have a thoroughly commented, simple example to start if 
 possible. 

 Memory issues are also a big problem. How can I store all the captured 
 data so that it is fast and doesn't overflow the PRU memory?

 Many thanks for your help!

 Touste

 -- 
 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/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] How do I install Arduino 1.6 in the BeagleBone Black?

2015-01-24 Thread DLF
working instructions to compile or just grab the .deb files

http://dumb-looks-free.blogspot.fr/2015/01/compile-arduino-ide-16-on-beaglebone.html

cheers

On Tuesday, 13 January 2015 05:19:20 UTC+1, William Hermans wrote:

 In that case, I think the last hurdle will be getting 1.5.x binaries 
 working.

 On Mon, Jan 12, 2015 at 8:29 PM, Bill Traynor btra...@gmail.com 
 javascript: wrote:

 On Mon, Jan 12, 2015 at 10:21 PM, William Hermans yyr...@gmail.com 
 javascript: wrote:
  Bill, He has already said twice in posts, that version 1.0.1 of the IDE 
 is
  not new enough to support his board. That tutorial shows howto install 
 the
  ardiono IDE shipped with Debian. Which is v1.0.1

 Ah, I see.  Well in that case, there's these instructions:

 http://playground.arduino.cc/Linux/All


 
  On Mon, Jan 12, 2015 at 8:08 PM, Bill Traynor btra...@gmail.com 
 javascript: wrote:
 
  On Thu, Jan 8, 2015 at 12:24 PM, Jack_RobotDad ja...@silbermans.net 
 javascript:
  wrote:
   Hello,
  
   I am working on a small robot project with my son. I need to install 
 the
   Arduino IDE 1.6 (e.g., nightly build Linux 32) into my BBB.
   The Arduino IDE from the repository installed easy using application
   management, but it does not support the Arudino Due boards as is.
  
   I have basically downloaded the lasted files from the Arduino site 
 and
   followed the instructions from here to create a link on the BBB 
 desktop
  
   
 https://bhargavg.wordpress.com/2011/12/23/creating-an-arduino-desktop-launcher-for-ubuntu-11-10-with-desktop-file/
  
   I have done the install and it is working on regular Linux PCs 
 running
   Ubuntu and Linux Mint, but I can't make it work on the BBB for some
   reason.
   On the BBB when I click over the icon I created to execute the 
 arduino
   code,
   nothing happens.
  
   I am getting the Arduino IDE Nighly Builds Linux 32 from here
   http://arduino.cc/en/Main/Software#toc4
  
   Do I have to compile the  Arduino source code for the BBB? If so, I 
 need
   help doing it.
   As I mentioned, on the other Linux installs we have (regular PCs) I 
 just
   needed to download the files and create the link to run the Arduino 
 IDE.
  
   Any help will be appreciated.
 
  Could this help?
 
  
 http://inspire.logicsupply.com/2014/09/beaglebone-runs-arduino-ide.html
 
  
   Thank you!
   -Jack
  
   --
   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/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...@googlegroups.com javascript:.
  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...@googlegroups.com javascript:.
  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...@googlegroups.com javascript:.
 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.


[beagleboard] Re: Industrial I/O expansion board (4-20mA, 0-10V, contactor)

2015-01-24 Thread Bruce Schaller
I have a complete design.  4 channel, optically isolated, and accurate.  I 
need help writing the driver. loop power is totally isolated to protect the 
beagle.  

On Tuesday, July 9, 2013 at 12:10:44 PM UTC-4, khuy...@gmail.com wrote:

 Hi, did anything ever come of this?

 On Thursday, July 22, 2010 1:15:46 AM UTC-4, Yann Ramin wrote:


 I have been working on scratching a personal itch with the BeagleBoard 
 and thought I would make an announcement to see if there are any other 
 people interested or with the same problem. 

 The expansion board (dubbed the Hardhat) is an industrial analog I/O 
 board, for interfacing with various process control pieces of 
 equipment (RTD transmitters, VFDs, etc). Its an all-inclusive board 
 with 4-20mA and 0-10V inputs and outputs (sourcing 4-20mA 
 transmitters), an RS485 half duplex port (for MODBUS) as well as 
 accepting a 24V power input to run the whole thing (BeagleBoard 
 included). 

 I'm busy documenting the design as is and awaiting prototype boards. 
 The design will be under an Open Source Hardware license (likely CC-SA- 
 A). 

 More information can be found here: 

 http://stackfoundry.com/beagle_hardhat/ 



-- 
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] Re: BBB SPI: 6 cs signals needed

2015-01-24 Thread Nic Cyn
 Hi Tim

That comment in the source code is based on the fact that, with SPIDev you 
don't open the SPI port and then tell it later what CS line you wish to 
use. SPIDev associates both the port and the CS line with the device file 
and you open one of those for each CS device. For example /dev/spidev1.0 
and /dev/spidev1.1 both send and receive through the SPI0 port but one 
activates the CS0 line and the other the CS1 line during transmission.

All the code comments are saying is that if you are using GPIOs as CS lines 
you can either open /dev/spidev1.0 or /dev/spidev1.1 (for example) so you 
can write to the port but you should not electrically connect anything to 
the pin where the corresponding CS line is located. Every transmission 
through the port will always toggle the devices associated CS line - there 
does not seem to be any way to tell it not to do that. If you have a device 
connected to that built in CS line it will get activated along with 
whatever device you are also activating with the GPIO. This would cause two 
slave devices to try to write to the SPI bus at the same time - not good.



-- 
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] i need help with node.js

2015-01-24 Thread Günter Pütz
Hi all,

I want to setup a webserver with node.js on the BBB rev.C. Since there is 
cloud9 and bonescript installed as default, it seems to be just a change of 
some setup files (scripts?).
Unfortunately I couldn't find any tutorial that explains the node.js thing 
from the ground up. What I know is that node.js is a java interpreter and a 
webserver must be written. But what is then? Is it started as a service 
when Debian boots? Where can I find these settings.
For example: since now there is a webpage called /Support/bone101 
running. I assume that the webserver behind is a node.js webserver, isn't 
it. If so, where can I change any script or config file to launch my own 
website?

Questions over questions


-- 
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] i need help with node.js

2015-01-24 Thread William Pretty Security
Point your browser at the IP address of the BBB, either the Ethernet one or 
192.168.7.2 which is the USB one.

It will bring up a web page that will tell you everything you need to know J

 

No one could make a greater mistake than he who did nothing because he could 
do only a little.

All that is necessary for the triumph of evil is that good men do nothing 
Edmond Burke (1729 - 1797)

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

http://ca.linkedin.com/pub/bill-pretty/2b/b07/602

 

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Günter Pütz
Sent: Saturday, January 24, 2015 6:57 AM
To: beagleboard@googlegroups.com
Subject: [beagleboard] i need help with node.js

 

Hi all,

 

I want to setup a webserver with node.js on the BBB rev.C. Since there is 
cloud9 and bonescript installed as default, it seems to be just a change of 
some setup files (scripts?).

Unfortunately I couldn't find any tutorial that explains the node.js thing from 
the ground up. What I know is that node.js is a java interpreter and a 
webserver must be written. But what is then? Is it started as a service when 
Debian boots? Where can I find these settings.

For example: since now there is a webpage called /Support/bone101 running. I 
assume that the webserver behind is a node.js webserver, isn't it. If so, where 
can I change any script or config file to launch my own website?

 

Questions over questions

 

 

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

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5645 / Virus Database: 4260/8941 - Release Date: 01/16/15
Internal Virus Database is out of date.

-- 
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] i need help with node.js

2015-01-24 Thread Günter Pütz
Thank you William,

but I knew that. My question was how to setup a webserver with node.js on 
the bone. I found out now that the preinstalled webpage runs on the apache 
server. Perhaps you have some suggestions how to make a node.js server 
(written with express library) autostarting.

Am Samstag, 24. Januar 2015 14:02:26 UTC+1 schrieb William Pretty Security:

 Point your browser at the IP address of the BBB, either the Ethernet one 
 or 192.168.7.2 which is the USB one.

 It will bring up a web page that will tell you everything you need to know 
 J

  

 No one could make a greater mistake than he who did nothing because he 
 could do only a little.

 All that is necessary for the triumph of evil is that good men do 
 nothing Edmond Burke *(1729 - 1797)*


 http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 http://ca.linkedin.com/pub/bill-pretty/2b/b07/602

  

  

 *From:* beagl...@googlegroups.com javascript: [mailto:
 beagl...@googlegroups.com javascript:] *On Behalf Of *Günter Pütz
 *Sent:* Saturday, January 24, 2015 6:57 AM
 *To:* beagl...@googlegroups.com javascript:
 *Subject:* [beagleboard] i need help with node.js

  

 Hi all,

  

 I want to setup a webserver with node.js on the BBB rev.C. Since there is 
 cloud9 and bonescript installed as default, it seems to be just a change of 
 some setup files (scripts?).

 Unfortunately I couldn't find any tutorial that explains the node.js thing 
 from the ground up. What I know is that node.js is a java interpreter and a 
 webserver must be written. But what is then? Is it started as a service 
 when Debian boots? Where can I find these settings.

 For example: since now there is a webpage called /Support/bone101 
 running. I assume that the webserver behind is a node.js webserver, isn't 
 it. If so, where can I change any script or config file to launch my own 
 website?

  

 Questions over questions

  

  

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

 No virus found in this message.
 Checked by AVG - www.avg.com
 Version: 2015.0.5645 / Virus Database: 4260/8941 - Release Date: 01/16/15
 Internal Virus Database is out of date.


-- 
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] i need help with node.js

2015-01-24 Thread Robert Nelson
On Sat, Jan 24, 2015 at 12:13 PM, Günter Pütz puetz.guen...@gmail.com wrote:
 Thank you William,

 but I knew that. My question was how to setup a webserver with node.js on
 the bone. I found out now that the preinstalled webpage runs on the apache
 server. Perhaps you have some suggestions how to make a node.js server
 (written with express library) autostarting.

The default webserver on port 80 is node.js...

cloud9 which also runs off node.js is on port 3000

apache is running on port 8080..

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