Re: [beagleboard] Re: command not found?

2015-07-26 Thread evilwulfie
cant change mode on a symlink
whats in this file ?
is it a shell script ?
a compiled executable ?





On 7/26/2015 7:31 AM, Ian Mellor wrote:
 Hi Peter,

 Thanks so much for you help.

 Here is what I'm getting with permissions. It looks like it has
 execute permissions? 


 root@beaglebone:~/usr# dir
 bin  share  src
 root@beaglebone:~/usr# cd bin
 root@beaglebone:~/usr/bin# dir
 eveusbc  eveusbd
 root@beaglebone:~/usr/bin# ls -l
 total 0
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbc -
 /opt/Eltima/eveusb/bin/eveusbc
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbd -
 /opt/Eltima/eveusb/bin/eveusbd
 root@beaglebone:~/usr/bin# .eveusbc
 -bash: .eveusbc: command not found
 root@beaglebone:~/usr/bin# chmod 777 eveusbc
 chmod: cannot operate on dangling symlink `eveusbc'
 root@beaglebone:~/usr/bin#


 On Sunday, 26 July 2015 14:54:27 UTC+1, Peter Baltus wrote:

 Hi Ian,

 Thanks for your email. Yes, it works more or less like in DOS, but
 there are some differences:
 - most Linux systems are configured such that root (as opposed to
 most other users) does not by default execute files in the current
 directory. This is for security reasons if I'm not mistaken. This
 can be bypassed by typing the relative or full path to the
 command, such as ./eveusbc . Since that doesn't work, it is worth
 looking into another important difference with DOS:
 - Linux systems have more extensive file permissions than the
 original DOS system. It could be that the eveusbc file does not
 have execute permission. You can check by 'ls -l', which shows
 the permissions in a format such as rwxrw-r--. There are three
 groups, identifying permissions for owner, group and world (from
 left to right). Each group can have r(ead), w(rite) and execute
 permissions. To excluse any problems in this area, you can give
 all permissions to everybody by 'chmod 777 eveusbc' and then try
 again './eveusbc' .

 By the way, 'chmod 777' is not necessarily the best way to keep a
 computer secure ;-) but it should help determine whether the
 problem is related to permissions.

Peter

 On Sunday, July 26, 2015 at 2:38:45 PM UTC+2, Ian Mellor wrote:

 Hi Peter,

 Yes I'm logged on as root but I'm in the directory where the
 file is.
 Does this not work the same as DOS?
 I tried typing ./eveusbc but I just get No such fie or directory
 I must say I'm lost.

 Any ideas?

 Thanks

 Ian

 On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote:

 Try ./eveusbc
 From the prompt it seems you are logged in as root and
 usually root does not have the current directory in it's
 path for executing commands.

 Best regards,

  Peter

 -- 
 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 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: command not found?

2015-07-26 Thread Ian Mellor
Hi Peter,

Thanks so much for you help.

Here is what I'm getting with permissions. It looks like it has execute 
permissions? 


root@beaglebone:~/usr# dir
bin  share  src
root@beaglebone:~/usr# cd bin
root@beaglebone:~/usr/bin# dir
eveusbc  eveusbd
root@beaglebone:~/usr/bin# ls -l
total 0
lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbc - 
/opt/Eltima/eveusb/bin/eveusbc
lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbd - 
/opt/Eltima/eveusb/bin/eveusbd
root@beaglebone:~/usr/bin# .eveusbc
-bash: .eveusbc: command not found
root@beaglebone:~/usr/bin# chmod 777 eveusbc
chmod: cannot operate on dangling symlink `eveusbc'
root@beaglebone:~/usr/bin#


On Sunday, 26 July 2015 14:54:27 UTC+1, Peter Baltus wrote:

 Hi Ian,

 Thanks for your email. Yes, it works more or less like in DOS, but there 
 are some differences:
 - most Linux systems are configured such that root (as opposed to most 
 other users) does not by default execute files in the current directory. 
 This is for security reasons if I'm not mistaken. This can be bypassed by 
 typing the relative or full path to the command, such as ./eveusbc . Since 
 that doesn't work, it is worth looking into another important difference 
 with DOS:
 - Linux systems have more extensive file permissions than the original DOS 
 system. It could be that the eveusbc file does not have execute 
 permission. You can check by 'ls -l', which shows the permissions in a 
 format such as rwxrw-r--. There are three groups, identifying permissions 
 for owner, group and world (from left to right). Each group can have 
 r(ead), w(rite) and execute permissions. To excluse any problems in this 
 area, you can give all permissions to everybody by 'chmod 777 eveusbc' and 
 then try again './eveusbc' . 

 By the way, 'chmod 777' is not necessarily the best way to keep a computer 
 secure ;-) but it should help determine whether the problem is related to 
 permissions.

Peter

 On Sunday, July 26, 2015 at 2:38:45 PM UTC+2, Ian Mellor wrote:

 Hi Peter,

 Yes I'm logged on as root but I'm in the directory where the file is.
 Does this not work the same as DOS?
 I tried typing ./eveusbc but I just get No such fie or directory
 I must say I'm lost.

 Any ideas?

 Thanks

 Ian

 On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote:

 Try ./eveusbc 
 From the prompt it seems you are logged in as root and usually root does 
 not have the current directory in it's path for executing commands. 

 Best regards, 

  Peter



-- 
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] command not found?

2015-07-26 Thread Peter Baltus
Try ./eveusbc
From the prompt it seems you are logged in as root and usually root does not 
have the current directory in it's path for executing commands.

Best regards,

 Peter

-- 
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: command not found?

2015-07-26 Thread Ian Mellor
Hi Wulf Man,

I don't know, is there a way to tell? Looking at what's inside there is no 
text script but the is ELF at the beginning so I assume its and exe?

The suppliers told me eveusbd is the UNG daemon (starts with the system 
and is constantly running in the background), eveusbc is a command-line 
utility for controlling it. So you are probably looking for the latter. so 
again I would have assumed an exe?

I uploaded and unpacked the .tgz file. I assume that only unpacks and 
doesn't install anything. I couldn't find any related  processes running or 
anything in /systemd for startup but without an exact name I'm not sure.

One this that seem clear from what they told me is: eveusbc is a 
command-line utility for controlling it. 

Thanks Ian


On Sunday, 26 July 2015 15:36:48 UTC+1, Wulf Man wrote:

  cant change mode on a symlink
 whats in this file ?
 is it a shell script ?
 a compiled executable ?





 On 7/26/2015 7:31 AM, Ian Mellor wrote:
  
 Hi Peter, 

  Thanks so much for you help.

  Here is what I'm getting with permissions. It looks like it has execute 
 permissions? 

  
  root@beaglebone:~/usr# dir
 bin  share  src
 root@beaglebone:~/usr# cd bin
 root@beaglebone:~/usr/bin# dir
 eveusbc  eveusbd
 root@beaglebone:~/usr/bin# ls -l
 total 0
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbc - 
 /opt/Eltima/eveusb/bin/eveusbc
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbd - 
 /opt/Eltima/eveusb/bin/eveusbd
 root@beaglebone:~/usr/bin# .eveusbc
 -bash: .eveusbc: command not found
 root@beaglebone:~/usr/bin# chmod 777 eveusbc
 chmod: cannot operate on dangling symlink `eveusbc'
 root@beaglebone:~/usr/bin#

  
 On Sunday, 26 July 2015 14:54:27 UTC+1, Peter Baltus wrote: 

 Hi Ian,

 Thanks for your email. Yes, it works more or less like in DOS, but there 
 are some differences:
 - most Linux systems are configured such that root (as opposed to most 
 other users) does not by default execute files in the current directory. 
 This is for security reasons if I'm not mistaken. This can be bypassed by 
 typing the relative or full path to the command, such as ./eveusbc . Since 
 that doesn't work, it is worth looking into another important difference 
 with DOS:
 - Linux systems have more extensive file permissions than the original 
 DOS system. It could be that the eveusbc file does not have execute 
 permission. You can check by 'ls -l', which shows the permissions in a 
 format such as rwxrw-r--. There are three groups, identifying permissions 
 for owner, group and world (from left to right). Each group can have 
 r(ead), w(rite) and execute permissions. To excluse any problems in this 
 area, you can give all permissions to everybody by 'chmod 777 eveusbc' and 
 then try again './eveusbc' . 

 By the way, 'chmod 777' is not necessarily the best way to keep a 
 computer secure ;-) but it should help determine whether the problem is 
 related to permissions.

Peter

 On Sunday, July 26, 2015 at 2:38:45 PM UTC+2, Ian Mellor wrote: 

 Hi Peter, 

  Yes I'm logged on as root but I'm in the directory where the file is.
 Does this not work the same as DOS?
 I tried typing ./eveusbc but I just get No such fie or directory
 I must say I'm lost.

  Any ideas?

  Thanks

  Ian

 On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote: 

 Try ./eveusbc 
 From the prompt it seems you are logged in as root and usually root 
 does not have the current directory in it's path for executing commands. 

 Best regards, 

  Peter

 -- 
 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: Help with powering beaglebone black using VDD 5V pins

2015-07-26 Thread Carlos Novaes
Hi,
I think we are facing similar problems. Have you found out a solution?
It came to my mind if there is some need to force a external reset or 
something... Or maybe we failing to apply signals to the gpio pins after 
sysreset goes up... I have a specific design to do that, but maybe it is 
not working as expected.

Le lundi 20 juillet 2015 03:59:58 UTC-3, Mohak Bhardwaj a écrit :

 I am building a differential drive robot system and am using Beaglebone 
 Black Rev C to run the software. I want to power my beaglebone using the 
 VDD 5V (P9_05)and ground (P9_01). But upon connecting it to the power 
 supply,  my board is not powering up and none of the LEDs is blinking. Here 
 are the specifications of the power circuit I am using:

 Battery: 4.4V LiPo battery ib series with 3.7V LiIon battery(current 
 limiting circuit removed for increasing discharge rate) 
 Regulator: HTC LM2576-5.0 with rectifier (IN4007) and capacitors

 The beaglebone makes a very light buzzung sound when connected to power 
 but does not boot up. It is working fine when connected to my laptop via 
 usb. The voltage regulator output is coming out to 5-5.5V.   I found other 
 topics where people faced similar problems but none of them answered the 
 question conclusively. I have an amateur level knowledge of electronics and 
 really need to get over this hurdle in order to get my project running. 
 Thanks in advance! :D


-- 
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] How do I create a clock?

2015-07-26 Thread 멘지
How do I create a clock?

I was use vi editer (user space)  

GPIO_HIGH();
GPIO_LOW();  --  SO I has used  but  it is very slow  

So, i want to create clock in BBB

How do I create a CPU clock? 

-- 
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: command not found?

2015-07-26 Thread Peter Baltus
Hi Ian,

Thanks for your email. Yes, it works more or less like in DOS, but there 
are some differences:
- most Linux systems are configured such that root (as opposed to most 
other users) does not by default execute files in the current directory. 
This is for security reasons if I'm not mistaken. This can be bypassed by 
typing the relative or full path to the command, such as ./eveusbc . Since 
that doesn't work, it is worth looking into another important difference 
with DOS:
- Linux systems have more extensive file permissions than the original DOS 
system. It could be that the eveusbc file does not have execute 
permission. You can check by 'ls -l', which shows the permissions in a 
format such as rwxrw-r--. There are three groups, identifying permissions 
for owner, group and world (from left to right). Each group can have 
r(ead), w(rite) and execute permissions. To excluse any problems in this 
area, you can give all permissions to everybody by 'chmod 777 eveusbc' and 
then try again './eveusbc' . 

By the way, 'chmod 777' is not necessarily the best way to keep a computer 
secure ;-) but it should help determine whether the problem is related to 
permissions.

   Peter

On Sunday, July 26, 2015 at 2:38:45 PM UTC+2, Ian Mellor wrote:

 Hi Peter,

 Yes I'm logged on as root but I'm in the directory where the file is.
 Does this not work the same as DOS?
 I tried typing ./eveusbc but I just get No such fie or directory
 I must say I'm lost.

 Any ideas?

 Thanks

 Ian

 On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote:

 Try ./eveusbc 
 From the prompt it seems you are logged in as root and usually root does 
 not have the current directory in it's path for executing commands. 

 Best regards, 

  Peter



-- 
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: command not found?

2015-07-26 Thread evilwulfie
have you changed the file to be executable ?

chmod +x filename

On 7/26/2015 5:38 AM, Ian Mellor wrote:
 Hi Peter,

 Yes I'm logged on as root but I'm in the directory where the file is.
 Does this not work the same as DOS?
 I tried typing ./eveusbc but I just get No such fie or directory
 I must say I'm lost.

 Any ideas?

 Thanks

 Ian

 On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote:

 Try ./eveusbc
 From the prompt it seems you are logged in as root and usually
 root does not have the current directory in it's path for
 executing commands.

 Best regards,

  Peter

 -- 
 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 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: command not found?

2015-07-26 Thread Chad Baker
Have you tried using the full pathname? Just type the following on the 
command line.

/opt/Eltima/eveusb/bin/eveusbc

Chad

On 7/26/2015 9:31 AM, Ian Mellor wrote:

Hi Peter,

Thanks so much for you help.

Here is what I'm getting with permissions. It looks like it has 
execute permissions?



root@beaglebone:~/usr# dir
bin  share  src
root@beaglebone:~/usr# cd bin
root@beaglebone:~/usr/bin# dir
eveusbc  eveusbd
root@beaglebone:~/usr/bin# ls -l
total 0
lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbc - 
/opt/Eltima/eveusb/bin/eveusbc
lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbd - 
/opt/Eltima/eveusb/bin/eveusbd

root@beaglebone:~/usr/bin# .eveusbc
-bash: .eveusbc: command not found
root@beaglebone:~/usr/bin# chmod 777 eveusbc
chmod: cannot operate on dangling symlink `eveusbc'
root@beaglebone:~/usr/bin#


On Sunday, 26 July 2015 14:54:27 UTC+1, Peter Baltus wrote:

Hi Ian,

Thanks for your email. Yes, it works more or less like in DOS, but
there are some differences:
- most Linux systems are configured such that root (as opposed to
most other users) does not by default execute files in the current
directory. This is for security reasons if I'm not mistaken. This
can be bypassed by typing the relative or full path to the
command, such as ./eveusbc . Since that doesn't work, it is worth
looking into another important difference with DOS:
- Linux systems have more extensive file permissions than the
original DOS system. It could be that the eveusbc file does not
have execute permission. You can check by 'ls -l', which shows
the permissions in a format such as rwxrw-r--. There are three
groups, identifying permissions for owner, group and world (from
left to right). Each group can have r(ead), w(rite) and execute
permissions. To excluse any problems in this area, you can give
all permissions to everybody by 'chmod 777 eveusbc' and then try
again './eveusbc' .

By the way, 'chmod 777' is not necessarily the best way to keep a
computer secure ;-) but it should help determine whether the
problem is related to permissions.

   Peter

On Sunday, July 26, 2015 at 2:38:45 PM UTC+2, Ian Mellor wrote:

Hi Peter,

Yes I'm logged on as root but I'm in the directory where the
file is.
Does this not work the same as DOS?
I tried typing ./eveusbc but I just get No such fie or directory
I must say I'm lost.

Any ideas?

Thanks

Ian

On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote:

Try ./eveusbc
From the prompt it seems you are logged in as root and
usually root does not have the current directory in it's
path for executing commands.

Best regards,

 Peter

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



--
Chad Baker Memphis, TN

--
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: Image 2015-07-19

2015-07-26 Thread Graham

BBB1: HWaddr 1C:BA:8C:D9:5E:DD
Power: Adafruit 2A supply on Barrel +5V Port.
loaded bone-debian-8.1-console-armhf-2015-07-19-2gb.img
BeagleBoard.org Debian Image 2015-07-19
Linux beaglebone 4.1.2-ti-r4 #1 SMP PREEMPT Thu Jul 16 20:48:37 UTC 2015 
armv7l GNU/Linux

Jul 22 00:43:54 Initial Boot (Unmodified/not updated) 

Jul 23 07:06:14 Autonomous Reboot

Jul 24 13:23:02 Autonomous Reboot
Jul 24 19:56:24 Autonomous Reboot
Jul 24 21:34:38 Autonomous Reboot

Jul 25 19:39:58 Autonomous Reboot

Jul 26 15:09:57 Autonomous Reboot

Jul 26 17:12:13 Test Terminated


Meanwhile BBB2:  HWaddr D0:39:72:19:72:3F
Power: Bench Supply on Barrel +5V Port.
Running: bone-debian-8.1-console-armhf-2015-06-15-2gb.img
BeagleBoard.org Debian Image 2015-06-15
Linux BBB2 3.14.43-ti-r67 #1 SMP PREEMPT Thu Jun 4 20:37:18 UTC 2015 armv7l 
GNU/Linux

which also reports to have usb-otg enabled, did not misbehave once in the 
same period.

==

Is there some newer kernel version that you would like me to test, or some 
other test you would 
like to see me run?

--- Graham

==





-- 
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: command not found?

2015-07-26 Thread William Hermans
Too bad readelf does not exist for armhf systems( where it makes the most
sense ). This could confirm that the file is indeed armel or armhf ABI. But
the file name pretty much says it all as Robert pointed out.

armv5 == armel, and the ABI used on the beaglebone black - Stock *is* armhf.

Too bad also that *file -s *only reports ARM as well . . .

On Sun, Jul 26, 2015 at 9:40 AM, Robert Nelson robertcnel...@gmail.com
wrote:


 'armv5' binary means install the 'armel' multi arch, as it wasn't built
 for the 'armhf' abi...

 On Jul 26, 2015 10:08 AM, Ian Mellor ianpemel...@gmail.com wrote:
 
  Hi Wulf Man,
 
  I don't know, is there a way to tell? Looking at what's inside there is
 no text script but the is ELF at the beginning so I assume its and exe?
 
  The suppliers told me eveusbd is the UNG daemon (starts with the system
 and is constantly running in the background), eveusbc is a command-line
 utility for controlling it. So you are probably looking for the latter. so
 again I would have assumed an exe?
 
  I uploaded and unpacked the .tgz file. I assume that only unpacks and
 doesn't install anything. I couldn't find any related  processes running or
 anything in /systemd for startup but without an exact name I'm not sure.
 
  One this that seem clear from what they told me is: eveusbc is a
 command-line utility for controlling it.
 
  Thanks Ian
 
 
  On Sunday, 26 July 2015 15:36:48 UTC+1, Wulf Man wrote:
 
  cant change mode on a symlink
  whats in this file ?
  is it a shell script ?
  a compiled executable ?
 
 
 
 
 
  On 7/26/2015 7:31 AM, Ian Mellor wrote:
 
  Hi Peter,
 
  Thanks so much for you help.
 
  Here is what I'm getting with permissions. It looks like it has
 execute permissions?
 
 
  root@beaglebone:~/usr# dir
  bin  share  src
  root@beaglebone:~/usr# cd bin
  root@beaglebone:~/usr/bin# dir
  eveusbc  eveusbd
  root@beaglebone:~/usr/bin# ls -l
  total 0
  lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbc -
 /opt/Eltima/eveusb/bin/eveusbc
  lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbd -
 /opt/Eltima/eveusb/bin/eveusbd
  root@beaglebone:~/usr/bin# .eveusbc
  -bash: .eveusbc: command not found
  root@beaglebone:~/usr/bin# chmod 777 eveusbc
  chmod: cannot operate on dangling symlink `eveusbc'
  root@beaglebone:~/usr/bin#
 
 
  On Sunday, 26 July 2015 14:54:27 UTC+1, Peter Baltus wrote:
 
  Hi Ian,
 
  Thanks for your email. Yes, it works more or less like in DOS, but
 there are some differences:
  - most Linux systems are configured such that root (as opposed to
 most other users) does not by default execute files in the current
 directory. This is for security reasons if I'm not mistaken. This can be
 bypassed by typing the relative or full path to the command, such as
 ./eveusbc . Since that doesn't work, it is worth looking into another
 important difference with DOS:
  - Linux systems have more extensive file permissions than the
 original DOS system. It could be that the eveusbc file does not have
 execute permission. You can check by 'ls -l', which shows the permissions
 in a format such as rwxrw-r--. There are three groups, identifying
 permissions for owner, group and world (from left to right). Each group can
 have r(ead), w(rite) and execute permissions. To excluse any problems in
 this area, you can give all permissions to everybody by 'chmod 777 eveusbc'
 and then try again './eveusbc' .
 
  By the way, 'chmod 777' is not necessarily the best way to keep a
 computer secure ;-) but it should help determine whether the problem is
 related to permissions.
 
 Peter
 
  On Sunday, July 26, 2015 at 2:38:45 PM UTC+2, Ian Mellor wrote:
 
  Hi Peter,
 
  Yes I'm logged on as root but I'm in the directory where the file is.
  Does this not work the same as DOS?
  I tried typing ./eveusbc but I just get No such fie or directory
  I must say I'm lost.
 
  Any ideas?
 
  Thanks
 
  Ian
 
  On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote:
 
  Try ./eveusbc
  From the prompt it seems you are logged in as root and usually root
 does not have the current directory in it's path for executing commands.
 
  Best regards,
 
   Peter
 
  --
  For more options, visit http://beagleboard.org/discuss
  ---
  You received this message because you are subscribed to the Google
 Groups BeagleBoard group.
  To unsubscribe from this group and stop receiving emails from it, send
 an email to beagleboard...@googlegroups.com.
 
  For more options, visit https://groups.google.com/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
 

Re: [beagleboard] push button on 7-inch touch screen to send some strings through the serial port.

2015-07-26 Thread Frank Rizzo
Hi Henry,

Did you ever get something going?

I just received my BBB with Debian and 4D Systems 7 LCD cape. 

All I want my app to do is display a few soft buttons that control some 
gpios. I also want the BBB to boot into my app automatically at startup.

I just downloaded QT Creator on my Win7 PC, and was hoping there's an 
example program that I can cross compile for the BBB and be off and running 
within a few hours. Does not seem like the case. Is cross compilation even 
possible from Win7 PC for BBB target?

Ideally I do not want to use a uSD card with some other Linux version to 
make this work. I'd like to just send a binary to the BBB running the 
pre-installed Debian and have it work without much reconfiguring. 

If you or anyone else can shed some more light on this that would be much 
appreciated. 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] Re: BBB not working well with Mac Yosemite

2015-07-26 Thread jdmarshall
Are there no solutions to this problem?

I'm trying to use some BBBs I got a couple months back and I can't seem to 
use them at all.

They also don't seem to be accessible by Ethernet.  I'm not sure why this 
doesn't just work by default?

On Friday, February 20, 2015 at 9:34:13 AM UTC-8, Vincent Chow wrote:

 it seems due to the ftdi driver for mac yosemite, i read some others share 
 the same issue after upgrading to maverick / yosemite

 On Thu, Feb 19, 2015 at 10:07 AM, the.mr...@gmail.com javascript: 
 wrote:

 Does it not work at all or will it just not connect to the internet? I've 
 got mine working and can get into it but if i try and share the internet 
 connection it locks the machine.

 On Tuesday, 17 February 2015 07:41:20 UTC, vincent...@gmail.com wrote:

 Hi, I got a new bbb, and want to test under mac yosemite. I've got the 
 drivers installed, but sometimes my mac just freeze and force me to reboot, 
 anyone share the same experience?

 The cable is working well on Windows 7.

 I read someone said the usb driver is working perfectly well on Maverick 
 and Yosemite. Could anyone advise how could I use the board smoothly on Mac 
 Yosemite please? Thanks a lot!!




 -- 
 Cheers,
 Vincent
  

-- 
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] PMW on P8.13 and P8.19 on Debian 8.1 / Linux 4.1.2-ti-r4

2015-07-26 Thread Brian Cooke
On a BeagleBone Black running Debian 8.1 / Linux 4.1.2-ti-r4 
https://rcn-ee.com/rootfs/bb.org/testing/2015-07-19/lxqt-4gb/, I'd like 
to be able to enable PWM on P8.13 and P8.19 using two different device tree 
overlays rather that a single overlay.

The two overlays currently being used are show below. If the first overlay 
for P8.13 is used, it will work correctly. If the second overlay for P8.19 
is used, it will also work correctly. However, if both overlays are used at 
the same time, only the first one activated will work correctly. The second 
one will fail to function. I'd imagine the problem is related to fragment@2 
in the overlays, but I can't figure out what needs to be done to make it 
function correctly. Any help in figuring out how to solve the issue would 
be greatly appreciated.

*Overlay for PWM on P8.13*

/dts-v1/;
/plugin/;

/{
  compatible = ti,beaglebone, ti,beaglebone-black;
  part-number = bot_pwm_p8_13;
  version = 00A0;

  exclusive-use =
P8.13,
ehrpwm2B;

  fragment@0 {
target = am33xx_pinmux;
__overlay__ {
  bot_pwm_p8_13_pins: pinmux_bot_pwm_p8_13_pins {
pinctrl-single,pins = 
  0x024 0x4
;
  };
};
  };

  fragment@1 {
target = epwmss2;
__overlay__ {
  status = okay;
};
  };

  fragment@2 {
target = ehrpwm2;
__overlay__ {
  pinctrl-names = default;
  pinctrl-0 = bot_pwm_p8_13_pins;
  status = okay;
};
  };
};

*Overlay for PWM onP8.19*

/dts-v1/;
/plugin/;

/{
  compatible = ti,beaglebone, ti,beaglebone-black;
  part-number = bot_pwm_p8_19;
  version = 00A0;

  exclusive-use =
P8.19,
ehrpwm2A;

  fragment@0 {
target = am33xx_pinmux;
__overlay__ {
  bot_pwm_p8_19_pins: pinmux_bot_pwm_p8_19_pins {
pinctrl-single,pins = 
  0x020 0x4
;
  };
};
  };

  fragment@1 {
target = epwmss2;
__overlay__ {
  status = okay;
};
  };

  fragment@2 {
target = ehrpwm2;
__overlay__ {
  pinctrl-names = default;
  pinctrl-0 = bot_pwm_p8_19_pins;
  status = okay;
};
  };
};


-- 
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: command not found?

2015-07-26 Thread Robert Nelson
On Sun, Jul 26, 2015 at 1:12 PM, William Hermans yyrk...@gmail.com wrote:
 Too bad readelf does not exist for armhf systems( where it makes the most
 sense ). This could confirm that the file is indeed armel or armhf ABI. But
 the file name pretty much says it all as Robert pointed out.

 armv5 == armel, and the ABI used on the beaglebone black - Stock *is* armhf.

 Too bad also that file -s only reports ARM as well . . .


They actually ship their own linker:

voodoo@b2-omap5-uevm-2gb:/tmp/test/opt/Eltima/eveusb/lib$ ls -lh
total 2.1M
lrwxrwxrwx 1 voodoo voodoo   25 Dec  5  2014 ld-linux.so.3 -
../libc/lib/ld-linux.so.3
-rw-r--r-- 1 voodoo voodoo 512K Dec  5  2014 libboost_program_options.so
-rw-r--r-- 1 voodoo voodoo 512K Dec  5  2014 libboost_program_options.so.1.57.0
-rw-r--r-- 1 voodoo voodoo  16K Dec  5  2014 libboost_system.so
-rw-r--r-- 1 voodoo voodoo  16K Dec  5  2014 libboost_system.so.1.57.0
-rw-r--r-- 1 voodoo voodoo 204K Dec  5  2014 libboost_thread.so
-rw-r--r-- 1 voodoo voodoo 204K Dec  5  2014 libboost_thread.so.1.57.0
lrwxrwxrwx 1 voodoo voodoo   18 Dec  5  2014 libeveusb.so - libeveusb.so.3.0.0
lrwxrwxrwx 1 voodoo voodoo   18 Dec  5  2014 libeveusb.so.3 -
libeveusb.so.3.0.0
-rw-r--r-- 1 voodoo voodoo 221K Dec  5  2014 libeveusb.so.3.0.0
-rw-r--r-- 1 voodoo voodoo 138K Dec  5  2014 libz.so
-rw-r--r-- 1 voodoo voodoo 138K Dec  5  2014 libz.so.1
-rw-r--r-- 1 voodoo voodoo 138K Dec  5  2014 libz.so.1.2.7


ld-linux.so.3 = armel..

see: https://wiki.debian.org/Multiarch/HOWTO

add armel...

Regards,

-- 
Robert Nelson
https://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: command not found?

2015-07-26 Thread Robert Nelson
'armv5' binary means install the 'armel' multi arch, as it wasn't built for
the 'armhf' abi...

On Jul 26, 2015 10:08 AM, Ian Mellor ianpemel...@gmail.com wrote:

 Hi Wulf Man,

 I don't know, is there a way to tell? Looking at what's inside there is
no text script but the is ELF at the beginning so I assume its and exe?

 The suppliers told me eveusbd is the UNG daemon (starts with the system
and is constantly running in the background), eveusbc is a command-line
utility for controlling it. So you are probably looking for the latter. so
again I would have assumed an exe?

 I uploaded and unpacked the .tgz file. I assume that only unpacks and
doesn't install anything. I couldn't find any related  processes running or
anything in /systemd for startup but without an exact name I'm not sure.

 One this that seem clear from what they told me is: eveusbc is a
command-line utility for controlling it.

 Thanks Ian


 On Sunday, 26 July 2015 15:36:48 UTC+1, Wulf Man wrote:

 cant change mode on a symlink
 whats in this file ?
 is it a shell script ?
 a compiled executable ?





 On 7/26/2015 7:31 AM, Ian Mellor wrote:

 Hi Peter,

 Thanks so much for you help.

 Here is what I'm getting with permissions. It looks like it has execute
permissions?


 root@beaglebone:~/usr# dir
 bin  share  src
 root@beaglebone:~/usr# cd bin
 root@beaglebone:~/usr/bin# dir
 eveusbc  eveusbd
 root@beaglebone:~/usr/bin# ls -l
 total 0
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbc -
/opt/Eltima/eveusb/bin/eveusbc
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbd -
/opt/Eltima/eveusb/bin/eveusbd
 root@beaglebone:~/usr/bin# .eveusbc
 -bash: .eveusbc: command not found
 root@beaglebone:~/usr/bin# chmod 777 eveusbc
 chmod: cannot operate on dangling symlink `eveusbc'
 root@beaglebone:~/usr/bin#


 On Sunday, 26 July 2015 14:54:27 UTC+1, Peter Baltus wrote:

 Hi Ian,

 Thanks for your email. Yes, it works more or less like in DOS, but
there are some differences:
 - most Linux systems are configured such that root (as opposed to most
other users) does not by default execute files in the current directory.
This is for security reasons if I'm not mistaken. This can be bypassed by
typing the relative or full path to the command, such as ./eveusbc . Since
that doesn't work, it is worth looking into another important difference
with DOS:
 - Linux systems have more extensive file permissions than the original
DOS system. It could be that the eveusbc file does not have execute
permission. You can check by 'ls -l', which shows the permissions in a
format such as rwxrw-r--. There are three groups, identifying permissions
for owner, group and world (from left to right). Each group can have
r(ead), w(rite) and execute permissions. To excluse any problems in this
area, you can give all permissions to everybody by 'chmod 777 eveusbc' and
then try again './eveusbc' .

 By the way, 'chmod 777' is not necessarily the best way to keep a
computer secure ;-) but it should help determine whether the problem is
related to permissions.

Peter

 On Sunday, July 26, 2015 at 2:38:45 PM UTC+2, Ian Mellor wrote:

 Hi Peter,

 Yes I'm logged on as root but I'm in the directory where the file is.
 Does this not work the same as DOS?
 I tried typing ./eveusbc but I just get No such fie or directory
 I must say I'm lost.

 Any ideas?

 Thanks

 Ian

 On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote:

 Try ./eveusbc
 From the prompt it seems you are logged in as root and usually root
does not have the current directory in it's path for executing commands.

 Best regards,

  Peter

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

 For more options, visit https://groups.google.com/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 supports USB hub

2015-07-26 Thread Krishanu Banerjee
ok, thanks william.

-- 
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: command not found?

2015-07-26 Thread Ian Mellor
Hi Chad,

Yep this is what I got? Thanks Ian

root@beaglebone:~# dir
etc  eveusb_3.6.0.armv5te.tgz  lib  opt  usr
root@beaglebone:~# /opt/Eltima/eveusb/bin/eveusbc
-bash: /opt/Eltima/eveusb/bin/eveusbc: No such file or directory




On Sunday, 26 July 2015 15:42:28 UTC+1, cmbaker3 wrote:

  Have you tried using the full pathname? Just type the following on the 
 command line.
 /opt/Eltima/eveusb/bin/eveusbc

 Chad

 On 7/26/2015 9:31 AM, Ian Mellor wrote:
  
 Hi Peter, 

  Thanks so much for you help.

  Here is what I'm getting with permissions. It looks like it has execute 
 permissions? 

  
  root@beaglebone:~/usr# dir
 bin  share  src
 root@beaglebone:~/usr# cd bin
 root@beaglebone:~/usr/bin# dir
 eveusbc  eveusbd
 root@beaglebone:~/usr/bin# ls -l
 total 0
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbc - 
 /opt/Eltima/eveusb/bin/eveusbc
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbd - 
 /opt/Eltima/eveusb/bin/eveusbd
 root@beaglebone:~/usr/bin# .eveusbc
 -bash: .eveusbc: command not found
 root@beaglebone:~/usr/bin# chmod 777 eveusbc
 chmod: cannot operate on dangling symlink `eveusbc'
 root@beaglebone:~/usr/bin#

  
 On Sunday, 26 July 2015 14:54:27 UTC+1, Peter Baltus wrote: 

 Hi Ian,

 Thanks for your email. Yes, it works more or less like in DOS, but there 
 are some differences:
 - most Linux systems are configured such that root (as opposed to most 
 other users) does not by default execute files in the current directory. 
 This is for security reasons if I'm not mistaken. This can be bypassed by 
 typing the relative or full path to the command, such as ./eveusbc . Since 
 that doesn't work, it is worth looking into another important difference 
 with DOS:
 - Linux systems have more extensive file permissions than the original 
 DOS system. It could be that the eveusbc file does not have execute 
 permission. You can check by 'ls -l', which shows the permissions in a 
 format such as rwxrw-r--. There are three groups, identifying permissions 
 for owner, group and world (from left to right). Each group can have 
 r(ead), w(rite) and execute permissions. To excluse any problems in this 
 area, you can give all permissions to everybody by 'chmod 777 eveusbc' and 
 then try again './eveusbc' . 

 By the way, 'chmod 777' is not necessarily the best way to keep a 
 computer secure ;-) but it should help determine whether the problem is 
 related to permissions.

Peter

 On Sunday, July 26, 2015 at 2:38:45 PM UTC+2, Ian Mellor wrote: 

 Hi Peter, 

  Yes I'm logged on as root but I'm in the directory where the file is.
 Does this not work the same as DOS?
 I tried typing ./eveusbc but I just get No such fie or directory
 I must say I'm lost.

  Any ideas?

  Thanks

  Ian

 On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote: 

 Try ./eveusbc 
 From the prompt it seems you are logged in as root and usually root 
 does not have the current directory in it's path for executing commands. 

 Best regards, 

  Peter

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



 -- 
 Chad Baker Memphis, TN
  

-- 
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: BBB not working well with Mac Yosemite

2015-07-26 Thread evilwulfie
I have always been able to  log in to my BBBs via ethernet.
as its sent its setup for DHCP
as long as you have a DHCP server setup on your network
and you know the IP address which can normally be found using a program
to search your network
or by looking in your routers web page that lists connected devices.

as for talking to them via USB its always been hit and miss for me even
on windows


On 7/24/2015 7:41 PM, jdmarsh...@gmail.com wrote:
 Are there no solutions to this problem?

 I'm trying to use some BBBs I got a couple months back and I can't
 seem to use them at all.

 They also don't seem to be accessible by Ethernet.  I'm not sure why
 this doesn't just work by default?

 On Friday, February 20, 2015 at 9:34:13 AM UTC-8, Vincent Chow wrote:

 it seems due to the ftdi driver for mac yosemite, i read some
 others share the same issue after upgrading to maverick / yosemite

 On Thu, Feb 19, 2015 at 10:07 AM, the.mr...@gmail.com
 javascript: wrote:

 Does it not work at all or will it just not connect to the
 internet? I've got mine working and can get into it but if i
 try and share the internet connection it locks the machine.

 On Tuesday, 17 February 2015 07:41:20 UTC,
 vincent...@gmail.com wrote:

 Hi, I got a new bbb, and want to test under mac yosemite.
 I've got the drivers installed, but sometimes my mac just
 freeze and force me to reboot, anyone share the same
 experience?

 The cable is working well on Windows 7.

 I read someone said the usb driver is working perfectly
 well on Maverick and Yosemite. Could anyone advise how
 could I use the board smoothly on Mac Yosemite please?
 Thanks a lot!!




 -- 
 Cheers,
 Vincent

 -- 
 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 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: How do I create a clock?

2015-07-26 Thread Karteek YV
which type of clock?

On Sunday, 26 July 2015 18:14:59 UTC+5:30, 멘지 wrote:

 How do I create a clock?

 I was use vi editer (user space)  

 GPIO_HIGH();
 GPIO_LOW();  --  SO I has used  but  it is very slow  

 So, i want to create clock in BBB

 How do I create a CPU clock? 


-- 
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] PMW on P8.13 and P8.19 on Debian 8.1 / Linux 4.1.2-ti-r4

2015-07-26 Thread William Hermans
Anyway, this is the project I speak of, and it should be preinstalled on
beagelboard.org debian images.
https://github.com/cdsteinkuehler/beaglebone-universal-io

The readme.md is about all I know on the subject, but in a couple cases
I've seen Robert use it wildly different from how I've seen it used
previously. e.g. to load device tree overlays, and configure pins in a way
I had not seen before.

On Sun, Jul 26, 2015 at 3:00 PM, William Hermans yyrk...@gmail.com wrote:

 Brian, for what purpose ? The reason why I ask is that the config-pin
 utility should be able to achieve the same end goal, and is a userland tool.

 Unfortunately, I'm not very familiar with the tool, but at least two
 people on the groups here should be able to guide you in this respect.

 Robert, is there a user manual for Universal IO ?

 On Sun, Jul 26, 2015 at 12:14 PM, Brian Cooke bdsco...@gmail.com wrote:

 On a BeagleBone Black running Debian 8.1 / Linux 4.1.2-ti-r4
 https://rcn-ee.com/rootfs/bb.org/testing/2015-07-19/lxqt-4gb/, I'd
 like to be able to enable PWM on P8.13 and P8.19 using two different device
 tree overlays rather that a single overlay.

 The two overlays currently being used are show below. If the first
 overlay for P8.13 is used, it will work correctly. If the second overlay
 for P8.19 is used, it will also work correctly. However, if both overlays
 are used at the same time, only the first one activated will work
 correctly. The second one will fail to function. I'd imagine the problem is
 related to fragment@2 in the overlays, but I can't figure out what needs
 to be done to make it function correctly. Any help in figuring out how to
 solve the issue would be greatly appreciated.

 *Overlay for PWM on P8.13*

 /dts-v1/;
 /plugin/;

 /{
   compatible = ti,beaglebone, ti,beaglebone-black;
   part-number = bot_pwm_p8_13;
   version = 00A0;

   exclusive-use =
 P8.13,
 ehrpwm2B;

   fragment@0 {
 target = am33xx_pinmux;
 __overlay__ {
   bot_pwm_p8_13_pins: pinmux_bot_pwm_p8_13_pins {
 pinctrl-single,pins = 
   0x024 0x4
 ;
   };
 };
   };

   fragment@1 {
 target = epwmss2;
 __overlay__ {
   status = okay;
 };
   };

   fragment@2 {
 target = ehrpwm2;
 __overlay__ {
   pinctrl-names = default;
   pinctrl-0 = bot_pwm_p8_13_pins;
   status = okay;
 };
   };
 };

 *Overlay for PWM onP8.19*

 /dts-v1/;
 /plugin/;

 /{
   compatible = ti,beaglebone, ti,beaglebone-black;
   part-number = bot_pwm_p8_19;
   version = 00A0;

   exclusive-use =
 P8.19,
 ehrpwm2A;

   fragment@0 {
 target = am33xx_pinmux;
 __overlay__ {
   bot_pwm_p8_19_pins: pinmux_bot_pwm_p8_19_pins {
 pinctrl-single,pins = 
   0x020 0x4
 ;
   };
 };
   };

   fragment@1 {
 target = epwmss2;
 __overlay__ {
   status = okay;
 };
   };

   fragment@2 {
 target = ehrpwm2;
 __overlay__ {
   pinctrl-names = default;
   pinctrl-0 = bot_pwm_p8_19_pins;
   status = okay;
 };
   };
 };


  --
 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: command not found?

2015-07-26 Thread William Hermans
Just a word to the wise. For future reference. If the file exists, and the
executable bit is set. Chances are nearly if not 100% that the executable
is for the wrong ABI.

On Sun, Jul 26, 2015 at 2:50 PM, William Hermans yyrk...@gmail.com wrote:

 *see: https://wiki.debian.org/Multiarch/HOWTO
 https://wiki.debian.org/Multiarch/HOWTO*

 * add armel...*

 * Regards,*

 * --*
 * Robert Nelson*
 *https://rcn-ee.com/ https://rcn-ee.com/*


 Yeah I saw that too hehe, first hit on google for debian multiarch, but
 . . .the OP seems to be off exploring some other unrelated tangent ?
 *shrug*

 On Sun, Jul 26, 2015 at 1:48 PM, Robert Nelson robertcnel...@gmail.com
 wrote:

 On Sun, Jul 26, 2015 at 1:12 PM, William Hermans yyrk...@gmail.com
 wrote:
  Too bad readelf does not exist for armhf systems( where it makes the
 most
  sense ). This could confirm that the file is indeed armel or armhf ABI.
 But
  the file name pretty much says it all as Robert pointed out.
 
  armv5 == armel, and the ABI used on the beaglebone black - Stock *is*
 armhf.
 
  Too bad also that file -s only reports ARM as well . . .
 

 They actually ship their own linker:

 voodoo@b2-omap5-uevm-2gb:/tmp/test/opt/Eltima/eveusb/lib$ ls -lh
 total 2.1M
 lrwxrwxrwx 1 voodoo voodoo   25 Dec  5  2014 ld-linux.so.3 -
 ../libc/lib/ld-linux.so.3
 -rw-r--r-- 1 voodoo voodoo 512K Dec  5  2014 libboost_program_options.so
 -rw-r--r-- 1 voodoo voodoo 512K Dec  5  2014
 libboost_program_options.so.1.57.0
 -rw-r--r-- 1 voodoo voodoo  16K Dec  5  2014 libboost_system.so
 -rw-r--r-- 1 voodoo voodoo  16K Dec  5  2014 libboost_system.so.1.57.0
 -rw-r--r-- 1 voodoo voodoo 204K Dec  5  2014 libboost_thread.so
 -rw-r--r-- 1 voodoo voodoo 204K Dec  5  2014 libboost_thread.so.1.57.0
 lrwxrwxrwx 1 voodoo voodoo   18 Dec  5  2014 libeveusb.so -
 libeveusb.so.3.0.0
 lrwxrwxrwx 1 voodoo voodoo   18 Dec  5  2014 libeveusb.so.3 -
 libeveusb.so.3.0.0
 -rw-r--r-- 1 voodoo voodoo 221K Dec  5  2014 libeveusb.so.3.0.0
 -rw-r--r-- 1 voodoo voodoo 138K Dec  5  2014 libz.so
 -rw-r--r-- 1 voodoo voodoo 138K Dec  5  2014 libz.so.1
 -rw-r--r-- 1 voodoo voodoo 138K Dec  5  2014 libz.so.1.2.7


 ld-linux.so.3 = armel..

 see: https://wiki.debian.org/Multiarch/HOWTO

 add armel...

 Regards,

 --
 Robert Nelson
 https://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] Re: BBB not working well with Mac Yosemite

2015-07-26 Thread William Hermans
jdmarshall,

What problem is that? Why don't you do this. Make a new post, and be *very*
explicit / verbose as to what you've attempted to do.

One thing I do know though. Is that there is a Mac utility that has to do
with DHCP, or something that is completely whack on OSX mountain lion I
believe, that was causing g_ether to fail. Not just for the beaglebone
black, but for *everything*. SO perhaps this is related.

Passed that, the only advice I can give you is to use a virtualbox Linux
virtual machine, and develop on that. I do not use OSX personally, but do
use virtual machines quite extensively when prototyping code for the BBB.
Not because my OS ( Windows ), and communicate with the board, but because
Linux development is best done on Linux, and not developing code natively
on the BBB keeps me from ruining the onboard, or sdcard flash media . . .

On Sun, Jul 26, 2015 at 11:23 AM, evilwulfie evilwul...@gmail.com wrote:

  I have always been able to  log in to my BBBs via ethernet.
 as its sent its setup for DHCP
 as long as you have a DHCP server setup on your network
 and you know the IP address which can normally be found using a program to
 search your network
 or by looking in your routers web page that lists connected devices.

 as for talking to them via USB its always been hit and miss for me even on
 windows



 On 7/24/2015 7:41 PM, jdmarsh...@gmail.com wrote:

 Are there no solutions to this problem?

 I'm trying to use some BBBs I got a couple months back and I can't seem to
 use them at all.

 They also don't seem to be accessible by Ethernet.  I'm not sure why this
 doesn't just work by default?

 On Friday, February 20, 2015 at 9:34:13 AM UTC-8, Vincent Chow wrote:

 it seems due to the ftdi driver for mac yosemite, i read some others
 share the same issue after upgrading to maverick / yosemite

 On Thu, Feb 19, 2015 at 10:07 AM, the.mr...@gmail.com wrote:

 Does it not work at all or will it just not connect to the internet?
 I've got mine working and can get into it but if i try and share the
 internet connection it locks the machine.

 On Tuesday, 17 February 2015 07:41:20 UTC, vincent...@gmail.com wrote:

 Hi, I got a new bbb, and want to test under mac yosemite. I've got the
 drivers installed, but sometimes my mac just freeze and force me to reboot,
 anyone share the same experience?

  The cable is working well on Windows 7.

  I read someone said the usb driver is working perfectly well on
 Maverick and Yosemite. Could anyone advise how could I use the board
 smoothly on Mac Yosemite please? Thanks a lot!!




  --
  Cheers,
 Vincent

  --
 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] Compilation fails with dtsi file not found.

2015-07-26 Thread DeKay
Hi

I am trying to compile the 4.1 kernel as per this eewiki link 
https://eewiki.net/display/linuxonarm/BeagleBone+Black. I started on a 
fresh The kernel compiles but the compilation script bombs when it gets to 
the dtbs stuff because it can't find a file.  Help appreciated.

 - 
make -j2 ARCH=arm LOCALVERSION=-bone14.1 CROSS_COMPILE=ccache 
/home/dk/Hacking/BBB/bb-kernel/dl/gcc-l
inaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- 
dtbs 
- 
 CHK include/config/kernel.release 
 CHK include/generated/uapi/linux/version.h 
 CHK include/generated/utsrelease.h 
make[1]: 'include/generated/mach-types.h' is up to date. 
 CHK include/generated/bounds.h 
 CHK include/generated/asm-offsets.h 
 CALLscripts/checksyscalls.sh 
 DTC arch/arm/boot/dts/am335x-base0033.dtb 
 DTC arch/arm/boot/dts/am335x-bone.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-nhdmi-overlay.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-hdmi-overlay.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-emmc-overlay.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-overlay.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-wl1835mod.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-replicape.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-cape-bone-argus.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-can0.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-bbb-exp-r.dtb 
 DTC arch/arm/boot/dts/am335x-boneblack-bbb-exp-c.dtb 
 DTC arch/arm/boot/dts/am335x-bone-cape-bone-argus.dtb 
 DTC arch/arm/boot/dts/am335x-bone-can0.dtb 
 DTC arch/arm/boot/dts/am335x-arduino-tre.dtb 
 DTC arch/arm/boot/dts/am335x-bonegreen.dtb 
arch/arm/boot/dts/am335x-bonegreen.dts:19:38: fatal error: 
am335x-boneblack-1ghz.dtsi: No such file o
r directory 
#include am335x-boneblack-1ghz.dtsi 
 ^ 
compilation terminated. 
scripts/Makefile.lib:293: recipe for target 
'arch/arm/boot/dts/am335x-bonegreen.dtb' failed 
make[1]: *** [arch/arm/boot/dts/am335x-bonegreen.dtb] Error 1 
make[1]: *** Waiting for unfinished jobs 
arch/arm/Makefile:319: recipe for target 'dtbs' failed 
make: *** [dtbs] Error 2

-- 
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] Debian 8.1 lxqt 2015-07-19 4DCAPE-43T touchscreen issues

2015-07-26 Thread Peter Gregory
I'm running on a beaglebone black rev B using the micro-sd standalone version 
of Debian

Linux beaglebone 4.1.3-bone14 #1 Thu Jul 23 00:04:37 UTC 2015 armv7l GNU/Linux

The touch mouse is very erratic in this release.
During the calibration routine the mouse jumps about.
The touch will result in the mouse bouncing from the approximate touch point to 
a random point, in a flickering action.
Releasing the touch causes the mouse to rest in a random position.
After calibration, the touch screen is still not calibrated.
Touching on a clickable item on the screen will result in the same weirdness, 
the mouse will jump form the uncalibrated touch point to a random position and 
back in a flickering motion.
The touch seems to be a right click instead of a left click, or an 
all-click (not sure because sometimes you can get the menu to pop up).
It is difficult to get the menus to respond to the mouse events.
Anyone have ideas on how to get the touchscreen to behave properly?

-- 
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] Compilation fails with dtsi file not found.

2015-07-26 Thread Robert Nelson
On Sun, Jul 26, 2015 at 9:31 PM, DeKay darrylkac...@gmail.com wrote:
 Hi

 I am trying to compile the 4.1 kernel as per this eewiki link. I started on
 a fresh The kernel compiles but the compilation script bombs when it gets to
 the dtbs stuff because it can't find a file.  Help appreciated.

 -
 make -j2 ARCH=arm LOCALVERSION=-bone14.1 CROSS_COMPILE=ccache
 /home/dk/Hacking/BBB/bb-kernel/dl/gcc-l
 inaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- dtbs
 -
  CHK include/config/kernel.release
  CHK include/generated/uapi/linux/version.h
  CHK include/generated/utsrelease.h
 make[1]: 'include/generated/mach-types.h' is up to date.
  CHK include/generated/bounds.h
  CHK include/generated/asm-offsets.h
  CALLscripts/checksyscalls.sh
  DTC arch/arm/boot/dts/am335x-base0033.dtb
  DTC arch/arm/boot/dts/am335x-bone.dtb
  DTC arch/arm/boot/dts/am335x-boneblack.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-nhdmi-overlay.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-hdmi-overlay.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-emmc-overlay.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-overlay.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-wl1835mod.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-replicape.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-cape-bone-argus.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-can0.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-bbb-exp-r.dtb
  DTC arch/arm/boot/dts/am335x-boneblack-bbb-exp-c.dtb
  DTC arch/arm/boot/dts/am335x-bone-cape-bone-argus.dtb
  DTC arch/arm/boot/dts/am335x-bone-can0.dtb
  DTC arch/arm/boot/dts/am335x-arduino-tre.dtb
  DTC arch/arm/boot/dts/am335x-bonegreen.dtb
 arch/arm/boot/dts/am335x-bonegreen.dts:19:38: fatal error:
 am335x-boneblack-1ghz.dtsi: No such file o
 r directory
 #include am335x-boneblack-1ghz.dtsi
  ^
 compilation terminated.
 scripts/Makefile.lib:293: recipe for target
 'arch/arm/boot/dts/am335x-bonegreen.dtb' failed
 make[1]: *** [arch/arm/boot/dts/am335x-bonegreen.dtb] Error 1
 make[1]: *** Waiting for unfinished jobs
 arch/arm/Makefile:319: recipe for target 'dtbs' failed
 make: *** [dtbs] Error 2

Thanks, now fixed in git..

Regards,

-- 
Robert Nelson
https://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: command not found?

2015-07-26 Thread William Hermans

 *see: https://wiki.debian.org/Multiarch/HOWTO
 https://wiki.debian.org/Multiarch/HOWTO*

 * add armel...*

 * Regards,*

 * --*
 * Robert Nelson*
 *https://rcn-ee.com/ https://rcn-ee.com/*


Yeah I saw that too hehe, first hit on google for debian multiarch, but .
. .the OP seems to be off exploring some other unrelated tangent ? *shrug*

On Sun, Jul 26, 2015 at 1:48 PM, Robert Nelson robertcnel...@gmail.com
wrote:

 On Sun, Jul 26, 2015 at 1:12 PM, William Hermans yyrk...@gmail.com
 wrote:
  Too bad readelf does not exist for armhf systems( where it makes the most
  sense ). This could confirm that the file is indeed armel or armhf ABI.
 But
  the file name pretty much says it all as Robert pointed out.
 
  armv5 == armel, and the ABI used on the beaglebone black - Stock *is*
 armhf.
 
  Too bad also that file -s only reports ARM as well . . .
 

 They actually ship their own linker:

 voodoo@b2-omap5-uevm-2gb:/tmp/test/opt/Eltima/eveusb/lib$ ls -lh
 total 2.1M
 lrwxrwxrwx 1 voodoo voodoo   25 Dec  5  2014 ld-linux.so.3 -
 ../libc/lib/ld-linux.so.3
 -rw-r--r-- 1 voodoo voodoo 512K Dec  5  2014 libboost_program_options.so
 -rw-r--r-- 1 voodoo voodoo 512K Dec  5  2014
 libboost_program_options.so.1.57.0
 -rw-r--r-- 1 voodoo voodoo  16K Dec  5  2014 libboost_system.so
 -rw-r--r-- 1 voodoo voodoo  16K Dec  5  2014 libboost_system.so.1.57.0
 -rw-r--r-- 1 voodoo voodoo 204K Dec  5  2014 libboost_thread.so
 -rw-r--r-- 1 voodoo voodoo 204K Dec  5  2014 libboost_thread.so.1.57.0
 lrwxrwxrwx 1 voodoo voodoo   18 Dec  5  2014 libeveusb.so -
 libeveusb.so.3.0.0
 lrwxrwxrwx 1 voodoo voodoo   18 Dec  5  2014 libeveusb.so.3 -
 libeveusb.so.3.0.0
 -rw-r--r-- 1 voodoo voodoo 221K Dec  5  2014 libeveusb.so.3.0.0
 -rw-r--r-- 1 voodoo voodoo 138K Dec  5  2014 libz.so
 -rw-r--r-- 1 voodoo voodoo 138K Dec  5  2014 libz.so.1
 -rw-r--r-- 1 voodoo voodoo 138K Dec  5  2014 libz.so.1.2.7


 ld-linux.so.3 = armel..

 see: https://wiki.debian.org/Multiarch/HOWTO

 add armel...

 Regards,

 --
 Robert Nelson
 https://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] PMW on P8.13 and P8.19 on Debian 8.1 / Linux 4.1.2-ti-r4

2015-07-26 Thread Brian Cooke
The goal is to update a tool called bot-io https://github.com/fivdi/bot-io 
to function with the 4.1 kernel. Among other things, bot-io allows pins to 
be configured to use drivers that beaglebone-universal-io doesn't support 
like gpio-keys and gpio-leds, so beaglebone-universal-io can't be used.

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


Re: [beagleboard] Re: How do I create a clock?

2015-07-26 Thread William Hermans
Well, this question is a bit like asking How do I make a car?

On Sun, Jul 26, 2015 at 1:09 PM, Karteek YV venkat@gmail.com wrote:

 which type of clock?

 On Sunday, 26 July 2015 18:14:59 UTC+5:30, 멘지 wrote:

 How do I create a clock?

 I was use vi editer (user space)

 GPIO_HIGH();
 GPIO_LOW();  --  SO I has used  but  it is very slow 

 So, i want to create clock in BBB

 How do I create a CPU clock?

  --
 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] PMW on P8.13 and P8.19 on Debian 8.1 / Linux 4.1.2-ti-r4

2015-07-26 Thread William Hermans
Brian, for what purpose ? The reason why I ask is that the config-pin
utility should be able to achieve the same end goal, and is a userland tool.

Unfortunately, I'm not very familiar with the tool, but at least two people
on the groups here should be able to guide you in this respect.

Robert, is there a user manual for Universal IO ?

On Sun, Jul 26, 2015 at 12:14 PM, Brian Cooke bdsco...@gmail.com wrote:

 On a BeagleBone Black running Debian 8.1 / Linux 4.1.2-ti-r4
 https://rcn-ee.com/rootfs/bb.org/testing/2015-07-19/lxqt-4gb/, I'd like
 to be able to enable PWM on P8.13 and P8.19 using two different device tree
 overlays rather that a single overlay.

 The two overlays currently being used are show below. If the first overlay
 for P8.13 is used, it will work correctly. If the second overlay for P8.19
 is used, it will also work correctly. However, if both overlays are used at
 the same time, only the first one activated will work correctly. The second
 one will fail to function. I'd imagine the problem is related to fragment@2
 in the overlays, but I can't figure out what needs to be done to make it
 function correctly. Any help in figuring out how to solve the issue would
 be greatly appreciated.

 *Overlay for PWM on P8.13*

 /dts-v1/;
 /plugin/;

 /{
   compatible = ti,beaglebone, ti,beaglebone-black;
   part-number = bot_pwm_p8_13;
   version = 00A0;

   exclusive-use =
 P8.13,
 ehrpwm2B;

   fragment@0 {
 target = am33xx_pinmux;
 __overlay__ {
   bot_pwm_p8_13_pins: pinmux_bot_pwm_p8_13_pins {
 pinctrl-single,pins = 
   0x024 0x4
 ;
   };
 };
   };

   fragment@1 {
 target = epwmss2;
 __overlay__ {
   status = okay;
 };
   };

   fragment@2 {
 target = ehrpwm2;
 __overlay__ {
   pinctrl-names = default;
   pinctrl-0 = bot_pwm_p8_13_pins;
   status = okay;
 };
   };
 };

 *Overlay for PWM onP8.19*

 /dts-v1/;
 /plugin/;

 /{
   compatible = ti,beaglebone, ti,beaglebone-black;
   part-number = bot_pwm_p8_19;
   version = 00A0;

   exclusive-use =
 P8.19,
 ehrpwm2A;

   fragment@0 {
 target = am33xx_pinmux;
 __overlay__ {
   bot_pwm_p8_19_pins: pinmux_bot_pwm_p8_19_pins {
 pinctrl-single,pins = 
   0x020 0x4
 ;
   };
 };
   };

   fragment@1 {
 target = epwmss2;
 __overlay__ {
   status = okay;
 };
   };

   fragment@2 {
 target = ehrpwm2;
 __overlay__ {
   pinctrl-names = default;
   pinctrl-0 = bot_pwm_p8_19_pins;
   status = okay;
 };
   };
 };


  --
 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] push button on 7-inch touch screen to send some strings through the serial port.

2015-07-26 Thread William Hermans

 *I just downloaded QT Creator on my Win7 PC, and was hoping there's an
 example program that I can cross compile for the BBB and be off and running
 within a few hours. Does not seem like the case. Is cross compilation even
 possible from Win7 PC for BBB target?*


Cross compiling QT can, and will be quite a daunting task for the
inexperienced. I can tell you that I have experience in several programming
languages, and compilers  since around '93, and I'm not sure I could do
this. Or if I could, I know it would be a difficult task.

Honestly though, short of the possibility of someone already having gone
through the  process, who frequents this google group. This question is
best asked of the QT project maintainers. That is, for the QT specific
questions. As for the rest . . . Toggling GPIOs should not be too hard to
do. I have not done this myself to date, but there are many blog post on
the web covering the subject. Using SYSFS, mmap, and bonescript, just to
name 3 ways.

*Ideally I do not want to use a uSD card with some other Linux version to
 make this work. I'd like to just send a binary to the BBB running the
 pre-installed Debian and have it work without much reconfiguring. *


So you propose writing a binary for an ARM + Linux target on Windows ? This
*may* be possible, but really is asking for trouble. Let me clarify. I use
Windows on a daily basis. All my desktops run some form of Windows from Win
7 on up. Having said that, I would not *dream* of doing the above. Perhaps
dream is also the wrong word. Nightmare would be more like it.

Hate to burst your bubble, but if you want to develop for the BBB, running
Linux. You're going to have to learn, and use Linux as a development tool.
It may take some time sure, but that is nothing compared to the troubles
you're very likely to run into when developing software on Windows for the
BBB running Linux. Just for starters: If you run into a problem that is
specific to a Linux API / library. How would you know what to look for ?
*OR* How would you even use the linux-header files for your specific
kernel?

Anyway, it is not impossible, but trust me it is more headache than it's
worth. That, and you'd probably be spinning your wheels indefinitely, when
instead you could simply setup a Linux machine in hardware, or virtual
machine, and be long done with all that.

*If you or anyone else can shed some more light on this that would be much
 appreciated. Thanks.*


On Sun, Jul 26, 2015 at 10:11 AM, Frank Rizzo david.kucharc...@gmail.com
wrote:

 Hi Henry,

 Did you ever get something going?

 I just received my BBB with Debian and 4D Systems 7 LCD cape.

 All I want my app to do is display a few soft buttons that control some
 gpios. I also want the BBB to boot into my app automatically at startup.

 I just downloaded QT Creator on my Win7 PC, and was hoping there's an
 example program that I can cross compile for the BBB and be off and running
 within a few hours. Does not seem like the case. Is cross compilation even
 possible from Win7 PC for BBB target?

 Ideally I do not want to use a uSD card with some other Linux version to
 make this work. I'd like to just send a binary to the BBB running the
 pre-installed Debian and have it work without much reconfiguring.

 If you or anyone else can shed some more light on this that would be much
 appreciated. 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.


-- 
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] Debian 8.1 lxqt 2015-07-19 4DCAPE-43T touchscreen issues

2015-07-26 Thread William Hermans

 *Anyone have ideas on how to get the touchscreen to behave properly?*


Not personally, no. But I do know that this topic has been talked about on
the groups a few times before - In the past. I want to say that at least
one of the posts was resolved, but it's been a while.

Perhaps some good google-fu will pay off ?

On Sun, Jul 26, 2015 at 3:36 PM, Peter Gregory talkto...@gmail.com wrote:

 I'm running on a beaglebone black rev B using the micro-sd standalone
 version of Debian

 Linux beaglebone 4.1.3-bone14 #1 Thu Jul 23 00:04:37 UTC 2015 armv7l
 GNU/Linux

 The touch mouse is very erratic in this release.
 During the calibration routine the mouse jumps about.
 The touch will result in the mouse bouncing from the approximate touch
 point to a random point, in a flickering action.
 Releasing the touch causes the mouse to rest in a random position.
 After calibration, the touch screen is still not calibrated.
 Touching on a clickable item on the screen will result in the same
 weirdness, the mouse will jump form the uncalibrated touch point to a
 random position and back in a flickering motion.
 The touch seems to be a right click instead of a left click, or an
 all-click (not sure because sometimes you can get the menu to pop up).
 It is difficult to get the menus to respond to the mouse events.
 Anyone have ideas on how to get the touchscreen to behave properly?

 --
 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: How do I create a clock?

2015-07-26 Thread 멘지
Sorry Sorry 

I am doing a project using the camera.

but ,The first method is to receive data rate is too slow.

GPIO_HIGH();
GPIO_LOW();  -- Userspace coding

So ,I hope come to read the data a little more quickly.

can someone help me?




2015년 7월 27일 월요일 오전 6시 55분 21초 UTC+9, William Hermans 님의 말:

 Well, this question is a bit like asking How do I make a car?

 On Sun, Jul 26, 2015 at 1:09 PM, Karteek YV venka...@gmail.com 
 javascript: wrote:

 which type of clock?

 On Sunday, 26 July 2015 18:14:59 UTC+5:30, 멘지 wrote:

 How do I create a clock?

 I was use vi editer (user space)  

 GPIO_HIGH();
 GPIO_LOW();  --  SO I has used  but  it is very slow  

 So, i want to create clock in BBB

 How do I create a CPU clock? 

  -- 
 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] Re: command not found?

2015-07-26 Thread Ian Mellor

Hi Wulfman

No readme but I found these:

# USB Network Gate eveusb rules
# Copyright (C) 2013-2014 Eltima Software

# This file should be copied to /lib/udev/rules.d.
# In any conflict, the last rule wins.

# 'libusb' device nodes, see 50-udev-default.rules
SUBSYSTEM==usb, ENV{DEVTYPE}==usb_device, OWNER=eveusb

# eveusb.ko module
KERNEL==eveusb, OWNER=eveusb


Also this looks very interesting.


# eveusb - USB Network Gate daemon
#
# USB Network Gate allows you to share USB devices with remote computers
# and easily connect to shared devices at the remote side.

# This file should be copied to /lib/systemd/system.

[Unit]
Description=USB Network Gate daemon
After=local-fs.target 
After=network.target 
After=syslog.target

[Service]
# User=eveusb
# PermissionsStartOnly=true
# Type=forking
ExecStartPre=/sbin/modprobe eveusb
ExecStart=/opt/Eltima/eveusb/bin/eveusbd --process
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target

*
And this

*
# eveusb - USB Network Gate daemon
#
# USB Network Gate allows you to share USB devices with remote computers
# and easily connect to shared devices at the remote side.

# This file should be copied to /etc/init.

description USB Network Gate daemon
author Eltima Software supp...@eltima.com

start on runlevel [2345]
stop on runlevel [!2345]

#expect fork
#setuid eveusb
kill timeout 30

exec /opt/Eltima/eveusb/bin/eveusbd --process

pre-start script
modprobe eveusb
end script



I tried installing them as requested in the files. The one in /etc/init was 
changed to be blank after reboot?
So I'm not sure what is going on?


On Sunday, 26 July 2015 15:36:48 UTC+1, Wulf Man wrote:

  cant change mode on a symlink
 whats in this file ?
 is it a shell script ?
 a compiled executable ?





 On 7/26/2015 7:31 AM, Ian Mellor wrote:
  
 Hi Peter, 

  Thanks so much for you help.

  Here is what I'm getting with permissions. It looks like it has execute 
 permissions? 

  
  root@beaglebone:~/usr# dir
 bin  share  src
 root@beaglebone:~/usr# cd bin
 root@beaglebone:~/usr/bin# dir
 eveusbc  eveusbd
 root@beaglebone:~/usr/bin# ls -l
 total 0
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbc - 
 /opt/Eltima/eveusb/bin/eveusbc
 lrwxrwxrwx 1 root root 30 Dec  5  2014 eveusbd - 
 /opt/Eltima/eveusb/bin/eveusbd
 root@beaglebone:~/usr/bin# .eveusbc
 -bash: .eveusbc: command not found
 root@beaglebone:~/usr/bin# chmod 777 eveusbc
 chmod: cannot operate on dangling symlink `eveusbc'
 root@beaglebone:~/usr/bin#

  
 On Sunday, 26 July 2015 14:54:27 UTC+1, Peter Baltus wrote: 

 Hi Ian,

 Thanks for your email. Yes, it works more or less like in DOS, but there 
 are some differences:
 - most Linux systems are configured such that root (as opposed to most 
 other users) does not by default execute files in the current directory. 
 This is for security reasons if I'm not mistaken. This can be bypassed by 
 typing the relative or full path to the command, such as ./eveusbc . Since 
 that doesn't work, it is worth looking into another important difference 
 with DOS:
 - Linux systems have more extensive file permissions than the original 
 DOS system. It could be that the eveusbc file does not have execute 
 permission. You can check by 'ls -l', which shows the permissions in a 
 format such as rwxrw-r--. There are three groups, identifying permissions 
 for owner, group and world (from left to right). Each group can have 
 r(ead), w(rite) and execute permissions. To excluse any problems in this 
 area, you can give all permissions to everybody by 'chmod 777 eveusbc' and 
 then try again './eveusbc' . 

 By the way, 'chmod 777' is not necessarily the best way to keep a 
 computer secure ;-) but it should help determine whether the problem is 
 related to permissions.

Peter

 On Sunday, July 26, 2015 at 2:38:45 PM UTC+2, Ian Mellor wrote: 

 Hi Peter, 

  Yes I'm logged on as root but I'm in the directory where the file is.
 Does this not work the same as DOS?
 I tried typing ./eveusbc but I just get No such fie or directory
 I must say I'm lost.

  Any ideas?

  Thanks

  Ian

 On Sunday, 26 July 2015 09:11:10 UTC+1, Peter Baltus wrote: 

 Try ./eveusbc 
 From the prompt it seems you are logged in as root and usually root 
 does not have the current directory in it's path for executing commands. 

 Best regards, 

  Peter

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