Re: [beagleboard] best kernel version for bbb

2014-07-14 Thread John Syn

On 7/14/14, 7:41 PM, "David Lambert"  wrote:

>I don't see any mention of 3.14. I have been using 3.14.8-bone5 for
>quite a few weeks now. I could never get USB to work on 3.15.x. Should I
>revert to 3.13.x??
USB is working fine for me on V3.15.4-bone4. What is it that you are
trying to do that does not work?

Here is an example of USB working on V3.15:

I have a Ortek Wireless keyboard and mouse connected to a powered USB Hub.

root@arm:~# lsusb
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 05a4:2000 Ortek Technology, Inc. WKB-2000 Wireless
Keyboard with Touchpad

Now I insert a SanDisk USB flash drive:

root@arm:~# [23389.316005] usb 2-1.2: new high-speed USB device number 4
using musb-hdrc
[23389.416641] usb 2-1.2: device v0781 p5575 is not supported
[23389.422448] usb 2-1.2: New USB device found, idVendor=0781,
idProduct=5575
[23389.429756] usb 2-1.2: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[23389.437477] usb 2-1.2: Product: Cruzer Glide
[23389.441974] usb 2-1.2: Manufacturer: SanDisk
[23389.446499] usb 2-1.2: SerialNumber: 20043515931AE20186C5
[23389.454569] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[23389.462767] scsi0 : usb-storage 2-1.2:1.0
[23390.467381] scsi 0:0:0:0: Direct-Access
SanDisk  Cruzer Glide
1.26 PQ: 0 ANSI: 5
[23390.481964] sd 0:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00
GB/7.45 GiB)
[23390.502368] sd 0:0:0:0: [sda] Write Protect is off
[23390.515109] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[23390.551041]  sda: sda1 sda2
[23390.565653] sd 0:0:0:0: [sda] Attached SCSI removable disk

So plug&play works fine. Confirm the SanDisk drive was recognized
correctly:

root@arm:~# lsusb
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0781:5575 SanDisk Corp.
Bus 002 Device 003: ID 05a4:2000 Ortek Technology, Inc. WKB-2000 Wireless
Keyboard with Touchpad

Mount the Drive:

root@arm:/media# mount /dev/sda1 diska
mount: block device /dev/sda1 is write-protected, mounting read-only

Display drive contents:

root@arm:/media# ls diska
autorun.inf  doc
install
pool
README.txt
boot
efi
install.amd  README.html
setup.exe
css
firmware   isolinux
README.mirrors.html  tools
debian
g2ldr
md5sum.txt   README.mirrors.txt   win32-loader.ini
dists
g2ldr.mbr  pics
README.source



Regards,
John
>
>Dave.
>
>On 07/14/2014 04:39 PM, Robert Nelson wrote:
>> On Mon, Jul 14, 2014 at 4:34 PM, Maxim Podbereznyy 
>>wrote:
>>> Hi guys!
>>>
>>> I can see Robert offers 3 kernel vesions for bbb:
>>> 1) v3.8.x
>>> 2) v3.13.x
>>> 3) v3.15.x
>>>
>>> who can tell pros and cons for each of them? I need one to prepare
>>>something
>>> stable/reliable for my client.
>> v3.8.x = capemgr
>> v3.13.x = working sgx
>> v3.15.x = it's going to be short lived, planing to moving to v3.16.x
>> pretty soon, as that'll have a "rt" and it should be the default for
>> "jessie"
>>
>> Regards,
>>
>
>-- 
>For more options, visit http://beagleboard.org/discuss
>--- 
>You received this message because you are subscribed to the Google Groups
>"BeagleBoard" group.
>To unsubscribe from this group and stop receiving emails from it, send an
>email to beagleboard+unsubscr...@googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.


-- 
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] best kernel version for bbb

2014-07-14 Thread David Lambert
I don't see any mention of 3.14. I have been using 3.14.8-bone5 for 
quite a few weeks now. I could never get USB to work on 3.15.x. Should I 
revert to 3.13.x??


Dave.

On 07/14/2014 04:39 PM, Robert Nelson wrote:

On Mon, Jul 14, 2014 at 4:34 PM, Maxim Podbereznyy  wrote:

Hi guys!

I can see Robert offers 3 kernel vesions for bbb:
1) v3.8.x
2) v3.13.x
3) v3.15.x

who can tell pros and cons for each of them? I need one to prepare something
stable/reliable for my client.

v3.8.x = capemgr
v3.13.x = working sgx
v3.15.x = it's going to be short lived, planing to moving to v3.16.x
pretty soon, as that'll have a "rt" and it should be the default for
"jessie"

Regards,



--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] [Q] Best Bluetooth USB Dongle/Breakout for communication with Bluetooth LE device?

2014-07-14 Thread Sungjin Chun
Hi,

I'd like to connect to my TI SensorTag which uses Bluetooth LE. BBB has
just one USB
port so I'd like to use Bluetooth Breakout board or something which uses
GPIO port other
than USB, however if there's no solution then recommend me Good USB dongle
for Bluetooth.

Thanks in advance.

-- 
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] shell interface to BBB rev C DIO pins

2014-07-14 Thread Britton Kerin
On the BBW you could get a slow but easy interface to GPIO pins
through the file system at /sys/kernel/debug/gpio or so.

That was angstrom, BBB rev C is debian.  I'm happy generally but
I wonder:

1.  If the same set of pins are usable for dio (without interfering with
 other things, on BBW I found the subset of pins that were open
 for use so to speak), is it the same for BBB rev C?

2.  Where is the best place to read about the BBB rev C shell interface?
 Many of the old angstrom references were not very complete...

Thanks,
Britton

-- 
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] Can't find connman directory

2014-07-14 Thread Jacob Aviña


When I do:


nano /var/lib/connman/wifi.config
> [service_home]
> Type = wifi
> Name = YOUR NETWORK NAME HERE
> Passphrase = YOUR ENCRYPTED PASSPHRASE HERE


I recieve this error message:


[ Error writing /var/lib/connman/wifi.config: No such file or directory ]


So, when I go to

cd /var/lib/


Everything is ok

but there is no connman directory

cd /var/lib/connman

-bash: cd: /var/lib/connman: No such file or directory


I installed the .deb file of connman, I don't know if this should work but 
it doesn't for me, hehe 

-- 
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] Can't install my USB Wifi Adapter (MT7601 Chipset)

2014-07-14 Thread Jacob Aviña


On Monday, July 14, 2014 7:12:34 PM UTC-5, ivan_n wrote:
>
> Seems curl somehow is not fetching the correct file, and saves something 
> like a "404 error" or whatever as the .tar.gz file. 
>
> Perhaps you could download the mt7601.tar.gz with a normal browser and 
> later transfer it to the bone. This file downloaded here nicely, and is a 
> valid gzip. 
> Thanks!! Let me try
>
> On Mon, 14 Jul 2014 16:46:39 -0700 (PDT) 
> Jacob Aviña > wrote: 
>
> > I have been trying to install my USB Wifi Adapter doing the following 
> > tutorial: 
> > 
> > 
> https://docs.google.com/document/d/1-CIGQYdk8ZhU3D3UCNn70jc7C9HdXvEZAsiNW71fGIE/edit
>  
> > 
> > but when I do this, It sends me this error message: 
> > 
> > root@beaglebone:~# curl -kO 
> > > 
> https://googledrive.com/host/0B_JlgOR4VNe0Sjg4ei0ySEY4aUE/mt7601.tar.gz 
> > 
> >   % Total% Received % Xferd  Average Speed   TimeTime Time 
> > >  Current 
> > 
> >  Dload  Upload   Total   SpentLeft 
> > >  Speed 
> > 
> > 100   2940   2940 0613  0 --:--:-- --:--:-- --:--:-- 
>   
> > > 803 
> > 
> > root@beaglebone:~# tar xzvf mt7601.tar.gz -C /etc/Wireless/RT2870STA/ 
> > > RT2870STA.dat 
> > 
> > gzip: stdin: not in gzip format 
> > 
> > tar: Child returned status 1 
> > 
> > tar: Error is not recoverable: exiting now 
> > 
> > root@beaglebone:~# 
> > 
> > 
> > If I tar xzvf the file It says that it is not in gzip format, and if I 
> do 
> > the file command it says this: 
> > 
> > root@beaglebone:~# file mt7601.tar.gz 
> > 
> > mt7601.tar.gz: HTML document, ASCII text 
> > 
> > 
> > So it doesn't let me to open the file. 
> > 
> > -- 
> > 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.


Re: [beagleboard] Can't install my USB Wifi Adapter (MT7601 Chipset)

2014-07-14 Thread Ivan Nazarenko
Seems curl somehow is not fetching the correct file, and saves something like a 
"404 error" or whatever as the .tar.gz file.

Perhaps you could download the mt7601.tar.gz with a normal browser and later 
transfer it to the bone. This file downloaded here nicely, and is a valid gzip.


On Mon, 14 Jul 2014 16:46:39 -0700 (PDT)
Jacob Aviña  wrote:

> I have been trying to install my USB Wifi Adapter doing the following 
> tutorial:
> 
> https://docs.google.com/document/d/1-CIGQYdk8ZhU3D3UCNn70jc7C9HdXvEZAsiNW71fGIE/edit
> 
> but when I do this, It sends me this error message:
> 
> root@beaglebone:~# curl -kO 
> > https://googledrive.com/host/0B_JlgOR4VNe0Sjg4ei0ySEY4aUE/mt7601.tar.gz
> 
>   % Total% Received % Xferd  Average Speed   TimeTime Time 
> >  Current
> 
>  Dload  Upload   Total   SpentLeft 
> >  Speed
> 
> 100   2940   2940 0613  0 --:--:-- --:--:-- --:--:--   
> > 803
> 
> root@beaglebone:~# tar xzvf mt7601.tar.gz -C /etc/Wireless/RT2870STA/ 
> > RT2870STA.dat
> 
> gzip: stdin: not in gzip format
> 
> tar: Child returned status 1
> 
> tar: Error is not recoverable: exiting now
> 
> root@beaglebone:~#
> 
> 
> If I tar xzvf the file It says that it is not in gzip format, and if I do 
> the file command it says this:
> 
> root@beaglebone:~# file mt7601.tar.gz
> 
> mt7601.tar.gz: HTML document, ASCII text
> 
> 
> So it doesn't let me to open the file.
> 
> -- 
> 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] Can't install my USB Wifi Adapter (MT7601 Chipset)

2014-07-14 Thread Jacob Aviña
I have been trying to install my USB Wifi Adapter doing the following 
tutorial:

https://docs.google.com/document/d/1-CIGQYdk8ZhU3D3UCNn70jc7C9HdXvEZAsiNW71fGIE/edit

but when I do this, It sends me this error message:

root@beaglebone:~# curl -kO 
> https://googledrive.com/host/0B_JlgOR4VNe0Sjg4ei0ySEY4aUE/mt7601.tar.gz

  % Total% Received % Xferd  Average Speed   TimeTime Time 
>  Current

 Dload  Upload   Total   SpentLeft 
>  Speed

100   2940   2940 0613  0 --:--:-- --:--:-- --:--:--   
> 803

root@beaglebone:~# tar xzvf mt7601.tar.gz -C /etc/Wireless/RT2870STA/ 
> RT2870STA.dat

gzip: stdin: not in gzip format

tar: Child returned status 1

tar: Error is not recoverable: exiting now

root@beaglebone:~#


If I tar xzvf the file It says that it is not in gzip format, and if I do 
the file command it says this:

root@beaglebone:~# file mt7601.tar.gz

mt7601.tar.gz: HTML document, ASCII text


So it doesn't let me to open the file.

-- 
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] best kernel version for bbb

2014-07-14 Thread John Syn

On 7/14/14, 2:39 PM, "Robert Nelson"  wrote:

>On Mon, Jul 14, 2014 at 4:34 PM, Maxim Podbereznyy 
>wrote:
>> Hi guys!
>>
>> I can see Robert offers 3 kernel vesions for bbb:
>> 1) v3.8.x
>> 2) v3.13.x
>> 3) v3.15.x
>>
>> who can tell pros and cons for each of them? I need one to prepare
>>something
>> stable/reliable for my client.
>
>v3.8.x = capemgr
>v3.13.x = working sgx
>v3.15.x = it's going to be short lived, planing to moving to v3.16.x
>pretty soon, as that'll have a "rt" and it should be the default for
>"jessie"
That is good to know. Thanks for the info. Oh, one more thing, V3.15
doesn¹t shutdown fully. Still got to work on this. Been distracted with
getting NFS and Audio working on V3.15.

Regards,
John
>
>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] best kernel version for bbb

2014-07-14 Thread John Syn

From:  Maxim Podbereznyy 
Reply-To:  "beagleboard@googlegroups.com" 
Date:  Monday, July 14, 2014 at 2:34 PM
To:  "beagleboard@googlegroups.com" 
Subject:  [beagleboard] best kernel version for bbb

> Hi guys!
> 
> I can see Robert offers 3 kernel vesions for bbb:
> 1)  v3.8.x
> 2) v3.13.x
> 3) v3.15.x
They all seem to work fine. I think v3.15 seems to have better USB and
Ethernet stability. Given that there is no Cape Manager after v3.8, there is
a little more work required to get a cape to work. Other than that, they all
seem to be pretty stable.

Regards,
John
> 
> who can tell pros and cons for each of them? I need one to prepare something
> stable/reliable for my client.
> 
> Thanks!
> 
> -- 
> LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
> Company - http://www.linkedin.com/company/mentorel
> Facebook - https://www.facebook.com/mentorel.company
> 
> -- 
> 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] best kernel version for bbb

2014-07-14 Thread Robert Nelson
On Mon, Jul 14, 2014 at 4:34 PM, Maxim Podbereznyy  wrote:
> Hi guys!
>
> I can see Robert offers 3 kernel vesions for bbb:
> 1) v3.8.x
> 2) v3.13.x
> 3) v3.15.x
>
> who can tell pros and cons for each of them? I need one to prepare something
> stable/reliable for my client.

v3.8.x = capemgr
v3.13.x = working sgx
v3.15.x = it's going to be short lived, planing to moving to v3.16.x
pretty soon, as that'll have a "rt" and it should be the default for
"jessie"

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] best kernel version for bbb

2014-07-14 Thread Maxim Podbereznyy
Hi guys!

I can see Robert offers 3 kernel vesions for bbb:
1) v3.8.x
2) v3.13.x
3) v3.15.x

who can tell pros and cons for each of them? I need one to prepare
something stable/reliable for my client.

Thanks!

-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

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

2014-07-14 Thread John Syn

On 7/14/14, 1:56 PM, "Łukasz Przeniosło"  wrote:

>Hello there,
>I am in front of a bigger hardware design and while ive been thinking of
>it i have run into some considerations. I was hoping i could get some
>ansfers from more exporienced people.
>
>From my expirience with bbb i know that power can be sequenced correctly
>usong power button- press it to power the board and press it to start
>shutdown sequence. The problem is that afaik the only hardware power
>designator is one pf the blue diodes and that diode pin is not accesible
>on the headers. 
>
>I need some kind of indikator that would hold the relay on on the
>machine. I cant wait ie. 10 seconds with my finger on the machines button
>to wait for bbb to boot and start some user program that would pull a
>gpio to power the relays coil (lets say that user powers the power relay
>usong a button).
>
>Have any of you been throigh this kind of designs? I am trying to get the
>same functionality as generic motherboards have with their power buttons.
>I know i can add an external mcu for power management but i want to keep
>it parts suffitient.
>Any help would be really aprichiated.
I'm not sure what you are asking, but the 3V3B pin is the last voltage
rail to turn on. This would indicate that the power on the board is now
stable. 

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.


[beagleboard] bbb power sequencing

2014-07-14 Thread Łukasz Przeniosło
Hello there,
I am in front of a bigger hardware design and while ive been thinking of it i 
have run into some considerations. I was hoping i could get some ansfers from 
more exporienced people.

>From my expirience with bbb i know that power can be sequenced correctly usong 
>power button- press it to power the board and press it to start shutdown 
>sequence. The problem is that afaik the only hardware power designator is one 
>pf the blue diodes and that diode pin is not accesible on the headers. 

I need some kind of indikator that would hold the relay on on the machine. I 
cant wait ie. 10 seconds with my finger on the machines button to wait for bbb 
to boot and start some user program that would pull a gpio to power the relays 
coil (lets say that user powers the power relay usong a button).

Have any of you been throigh this kind of designs? I am trying to get the same 
functionality as generic motherboards have with their power buttons. I know i 
can add an external mcu for power management but i want to keep it parts 
suffitient.
Any help would be really aprichiated.

-- 
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] SPI in 48MHz

2014-07-14 Thread Guy Grotke
I don't think you will be able to overcome these times using the 
existing SPI HW and SW.  48 MHz is the fastest the SPI hardware can run 
because that is the clock signal it gets before any clock dividing.  
Some things I have read say not to use it at faster than /3 (16 Mhz).  
If you really need to run faster, program a PRU to bitbang SPI: I think 
you could write fixed sequences out at 100 Mbits/second, if you can 
manage to get 100 MHz signals off the board without too much noise and 
ringing.  (I would put 25 ohm resistors in series with the cs, clock, 
and mosi signals to terminate them.) Then you can have zero time between 
bytes, use whatever cs hold time you need, etc.


On 7/10/2014 11:46 PM, ES wrote:

Hi
Am using Beagle Bone balck with angstrom.  Working with SPI in 48MHz 
as a master.

if i send bytes am getting the following issues
1. Delay between the first byte and second byte  is around 18us
2. Inter byte delay around 400ns
3. cs hold time is around 127us
can someone please help me to reduce this
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google 
Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to beagleboard+unsubscr...@googlegroups.com 
.

For more options, visit https://groups.google.com/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 GPIO and parallel output of more pins

2014-07-14 Thread Guy Grotke
I'm memory mapping GPIO so I can run some GPIO pins MUCH faster than 
doing it through the file system.  (340 nsec versus 80 usec)  You can 
use those GPIO_CLEARDATA and GPIO_SETDATA registers to either turn on or 
turn off multiple bits at once, but there are two important limitations:
1) You can turn on any number of bits, or turn off any number of bits, 
but you can't do both at once.  Use GPIO_DATAOUT to write all 32 bits at 
once (and GPIO_DATAIN to read before writing so you don't change the 
bits you are not using.)
2) Each GPIO_CLEARDATA and GPIO_SETDATA register is only for a single 
GPIO.  There are four GPIOs and the expansion header pin numbers have no 
relationship with which GPIO and bit number within that GPIO you need to 
toggle.  So it is unlikely all your pins are connected to a single 
GPIO.  For instance, I'm using P9.11 and P9.12 and they are on GPIO0 and 
GPIO1.


On 7/14/2014 11:14 AM, Robert J Berger wrote:

Pretty funny that there are 2 Robert Berger's with the same question!

But thanks a lot Mirko for the explanation. That may help my situation 
as we do have the opportunity to add some hardware.


I did find a way to do parallel writes to the GPIO by doing direct 
access of the GPIO registers instead of going the the /sysfs 
filesystem access. Unfortunately I could not find a way to do this 
with Ruby without creating a C extension. (I spent all day yesterday 
trying! Looks like the existing mmap gems for ruby are all obsolete 
and don't work with Ruby 2.x and/or won't map in /dev/mem)


A good description of the solution is at 
http://elinux.org/EBC_Exercise_11b_gpio_via_mmap


It has some C examples of how to do it natively and shows how you can 
use devmem2 to do it in the shell command line.


*For Ruby*

if you're update rate was low, you could shell out to devmem2 to do 
parallel writes:


For instance to get the 32bit value (that's how big the registers are) 
at 0x4804c13c


value = `devmem2 0x4804c13c `
That would show you what the bits are for gpio1

To clear the bits in the pattern 0x0100 in the GPIO_CLEARDATAOUT 
register


result = `devmem2 0x4804c190 w 0x0100`

That would turn the USR3 LED off if it was on



To set the bit pattern  in GPIO_SETDATAOUT (0x194) register

result = `devmem2 0x4804c194 w 0x0100`

That would turn the USR3 LED on

To turn on USR1 and USR 3 at the same time:

result = `devmem2 0x4804c194 w 0x0140`

You could do the same to a group of other gpio pins as long as they 
are all on the gpio 32 bit register


*Getting devmem2*

Turns out that devmem2 is not a Debian package (though it is an Ubuntu 
package) but you can get the source at 
http://www.lartmaker.nl/lartware/port/devmem2.c

and compile and install it with:

gcc devmem2.c -o devmem2
chmod a+x devmem2
mv devmem2 /usr/local/bin

__
Robert J Berger +1 408-838-8896 
Internet Bandwidth Development, LLC
http://www.linkedin.com/in/rberger




On Jul 14, 2014, at 10:59 AM, Mirko Fucci > wrote:




Ok Robert, i will try to explain how i solved my problem, apologise 
me if something is not clear but i am not an expert and i beg anyone 
to correct me if i say something wrong.
I2C is a serial protocol and is fully supported by BBB so you can set 
output pins (8 pins) of MCP23008 setting a chip's register once the 
chip is connected and initialized. When you set your output serial 
data all chip's output pins are set at the same time (because there 
is an internal synchronized register).


So, if you need to set 4 pins with 1101 you can set chip's register 
with 1101 value e then you find the value 1101 at the chip's 
output pins.


You don't need to set your GPIO to use the MCP23008 because P9_19 
(CLK) and P9_20 (SDA) are already set to work with I2C protocol (at 
least in debian Wheezy) and all you need is assign an unique address 
(connecting address pins to GND or VCC) to every MCP23008 chip you 
connect to these pins (is a bus).


Take a look at these links, i think i started from there :

http://embedded-lab.com/blog/?p=2834

http://www.gigamegablog.com/2012/11/04/beaglebone-coding-101-i2c/







2014-07-14 18:43 GMT+02:00 robert.berger 
mailto:robert.karl.ber...@gmail.com>>:


Hi,


On Monday, July 14, 2014 4:13:13 PM UTC+3, Mirko Fucci wrote:

Yes, but for me the simplest way was using a port expander (i
used MCP23008) through I2C Interface, very simple to handle
with BBB.


Can you please elaborate a bit more on what you tried?

With the standard GPIO framework [1] I am not sure you can do
what you want. There was an attempt to add block gpio [2] but I
don't think this made it into mainline.

Regards,

Robert

[1] http://lwn.net/Articles/532714/
[2] http://lwn.net/Articles/533632/

-- 
For more options, visit http://beagleboard.org/discuss

---
You received this message because you are subscribed to a topic
in the Google Gro

[beagleboard] Re: beaglebone black read i2c.

2014-07-14 Thread ruben campos
Hello good day 

what I'm doing with arduino is to simulate a sensor that is in x direction 
in my case I put 0x04 or 0x70. 

what I want is to read BEAGLEBONE is 0x04 or 0x70 that direction. 

and process this data with any mathematical function. 


I hope they can give me an example of how to take these values ​​using i2c 
addresses. 

Thanks for your time. 
Ruben C.
==



hola buen dia

lo que estoy haciendo con arduino es simular un sensor que se encuentra en 
  x direccion en mi caso puse 0x04 o 0x70 .

lo quiero es leer con beaglebone es esa direccion 0x04 or 0x70.

y procesar ese dato con cualquier funcion matematica.


espero me puedan dar un ejemplo de como tomar valores de esas direcciones 
mediante  i2c.

gracias por su tiempo.
Ruben C.

=
El lunes, 14 de julio de 2014 06:00:01 UTC-5, serge...@gmail.com escribió:
>
> Which connection?
> Why 0x70 arduino?
>
> On Monday, July 14, 2014 4:33:36 AM UTC+6, ruben campos wrote:
>>
>> Hello good day community. 
>>
>> I'm logged in beaglebone black and hope you can help me. 
>>
>> would like to read the address 0x70 arduino and processing the data in 
>> beagblebone black. 
>> I hope you can help me. 
>>
>> regards 
>>
>> Ruben.
>>
>

-- 
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] Auto login on a BBB w/ Debian Wheezy

2014-07-14 Thread brett . balogh
aha, yes, that's it!

in this file:

/etc/systemd/system/getty.target.wants/getty@tty1.service

Change this line:

ExecStart=-/sbin/agetty %I 38400

to:

ExecStart=-/sbin/agetty -a debian %I 38400

autologin!

On Monday, July 14, 2014 1:27:38 PM UTC-5, cody wrote:
>
> If you are using systemd you must add a service 
> to /etc/systemd/system/getty.target.wants
> I believe you can use serial-getty@ttyGS0.service as a template.
>
>
> On Mon, Jul 14, 2014 at 12:57 PM, > 
> wrote:
>
>> I have a few beaglebone blacks that I want to automatically log in to a 
>> console at boot. I have successfully gotten one of them to do this, but I 
>> cannot remember for the life of me how I did it. Well, I remember how to 
>> disable lightdm so that it has to be started manually by typing 'startx' 
>> from the console. Most of the information I have been finding revolves 
>> around making changed to /etc/inittab. For instance:
>>
>> 1:2345:respawn:/bin/login -f rfid tty1 /dev/tty1 2>&1
>>
>> -or- 
>>
>> 1:2345:respawn:/sbin/getty --autologin debian --noclear tty1
>>
>> found here:
>>
>> http://www.raspberrypi.org/forums/viewtopic.php?f=31&t=60915
>>
>> But on the BBB with the working auto login, changing inittab has no 
>> effect on its behavior, so I must have changed something else. I 
>> unfortunately don't remember what that might have been. Does anyone know of 
>> another way to set up auto login not using inittab? 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...@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: Internet Slow, Flashing Problem...

2014-07-14 Thread bilalinamdar
I got the flashing thing sorted out but still the 5kb problem remains 
please help

On Wednesday, July 2, 2014 1:13:21 PM UTC+5:30, bilali...@gmail.com wrote:
>
> Hello,
> I recently purchased *REV C*
> and i am facing few problems...
>
> 1) The beaglebone was *working out of the box*. I connected my usb cable 
> plus i configured my router and connect network cable to it.
> It was working great but *SLOW response (web page)*
> 2) I test internet over it.. and found it to be very slow. (i was trying 
> to install php and it was taking to much time so i have to test the 
> connection speed)
> it was around *5kbps very low*. I used my website and also several other 
> website like speedtest.nl and tested the same on my windows box which is 
> on the same network.
> My windows box is giving 250kbps and above speed but beagle bone is only 
> 5kbps why ?
> 3) In the process to resolve issue the above issue (2) i thought it will 
> be better to install latest version from the website
> so i went to 
> http://beagleboard.org/latest-images
> downloaded 
> http://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz
> i was having some april edition i checked (it came with the board)
> i followed the instruction
> i was little confused during the procedure
>
> Insert SD card into your (powered-down) board, hold down the USER/BOOT 
>> button (if using Black) and apply power, either by the USB cable or 5V 
>> adapter.
>> If using BeagleBone Black and the image is meant to program your on-board 
>> eMMC, you'll need to wait while the programming occurs. When the flashing 
>> is complete, all 4 USRx LEDs will be lit solid.
>
> so what i did exactly is 
> 1) Power down
> 2) insert SD CARD (i followed the above steps correctly. it contain the 
> image data)
> 3) PRESSED boot button
> 4) Applied power
> 5) now i see the 4 led lit i released the boot button...
>
> Now what is happening is the 4 led keeps blinking.  LIKE 
> BLINK BLINKBLINK BLINKBLINK BLINK
> it goes on (a little bit like heartbeat)
> I can't understand what is going on is it okay... is it flashing the eMMC? 
> am i doing something wrong ?
>
> 4) Also want to ask where to get info regarding which version or image 
> contain what feature and function like
> image feb 2014 contains PHP, MYSQL,CLOUD9 etc etc
> 5) Do we need to install cloud9 separately after re flashing or does it 
> comes inbuilt in the image ? what exaclty comes inbuild (In the image)
> 6) I want to use RELAIBLE WEBSERVER (ONLY 10 CONNECTION MAX AT ANY GIVEN 
> TIME) which will control the leds (for example) in real time.So which OS 
> will be good on the beaglebone black also 
>

-- 
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: Robot control architecture/IPC

2014-07-14 Thread James Zapico
Check out ROS.org (Robot Operating System).

It was a little tricky to install on Debian. Here's what I found works, 
with a shameless 
plug: http://blog.jameszapico.com/2014/06/14/debian-bbb-ros/

Sincerely,
James

On Sunday, July 13, 2014 6:49:07 PM UTC-5, Bob S wrote:
>
> Hi,
>
> I chose Newbie skill level because I'm new to BeagleBoard and to Linux, 
> but I am not new to programming.
>
> I have BeagleBoard Black running the Debian distro it shipped with and 
> have set up a cross-compiler on Windows 7 using Eclipse and the Linaro 
> toolchain.  This all works well, including remote debugging.
>
> I am designing a multilayered robot control system.  The idea is that 
> lower layers are responsible for low-level tasks, e.g. basic motor control, 
> while higher layers will do more complicated stuff.
>
> Anyway, my idea is to run each layer either on a separate thread, or as a 
> separate process altogether.  The various layers would communicate with 
> each other using a publish/subscribe messaging system.
>
> I have done some research and at this point am leaning toward running each 
> layer in a separate process and using uMundo (
> https://github.com/tklab-tud/umundo) to implement the messaging system.
>
> The question I have is whether anybody has ever run uMundo on BeagleBoard 
> Black/Debian, and if so what to look out for.
>
> Beyond that, I am also willing to discuss the basic idea with any 
> interested parties.  I'm not convinced my current plan is the best way of 
> going about it.
>
> Thanks,
> Bob
>
>
>

-- 
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] adding touchscreen qwerty keyboard display to Debian Linux desktop

2014-07-14 Thread William Fassnacht
Hello John,

Thank you for your advice and suggestion.   Just downloaded the
DojoToolkit.

  regards,
   William


On Sat, Jul 12, 2014 at 12:22 PM, John Syn  wrote:

>
> From: William Fassnacht 
> Reply-To: "beagleboard@googlegroups.com" 
> Date: Saturday, July 12, 2014 at 11:25 AM
> To: "beagleboard@googlegroups.com" 
> Subject: [beagleboard] adding touchscreen qwerty keyboard display to
> Debian Linux desktop
>
> Folks,
>   Just looking for two Debian Linux software suggestions.
>
> I have a BBB, rev C, with a 7" touchscreen.   I would like to skip
> using a USB mouse and USB keyboard.  Not needed for using my BBB for
> stepper motor controlling and LED lighting arrays.
>
> So not being familiar with Linux I'm hoping I could get some
> recommendations for some GUI software that would give me a qwerty
> touchscreen keyboard whenever I boot up my BBB.
>
> Also looking for GUI software that would allow me to cut and paste
> simulated images of  linear switches, gauges, voltage meters, etc. for
> touchscreen control of my stepper motors and LED arrays.
>
>Very much appreciate any suggestions or recommendations that you can
> make.
>
> Just to elaborate a little further, Node.js is used on the BBB as the
> server to read the measurements and then send those measurements to web
> browser using websockets. DojoToolkit is used to display the GUI widgets on
> the browser and connects to the websocket server when the page opens. The
> web browser can be on a remote computer or on your local LCD.
>
> Regards,
> John
>
>
>
>regards,
>  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.
>
>  --
> 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/tY7IlRBeKu4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [beagleboard] Auto login on a BBB w/ Debian Wheezy

2014-07-14 Thread Cody Lacey
If you are using systemd you must add a service
to /etc/systemd/system/getty.target.wants
I believe you can use serial-getty@ttyGS0.service as a template.


On Mon, Jul 14, 2014 at 12:57 PM,  wrote:

> I have a few beaglebone blacks that I want to automatically log in to a
> console at boot. I have successfully gotten one of them to do this, but I
> cannot remember for the life of me how I did it. Well, I remember how to
> disable lightdm so that it has to be started manually by typing 'startx'
> from the console. Most of the information I have been finding revolves
> around making changed to /etc/inittab. For instance:
>
> 1:2345:respawn:/bin/login -f rfid tty1 /dev/tty1 2>&1
>
> -or-
>
> 1:2345:respawn:/sbin/getty --autologin debian --noclear tty1
>
> found here:
>
> http://www.raspberrypi.org/forums/viewtopic.php?f=31&t=60915
>
> But on the BBB with the working auto login, changing inittab has no effect
> on its behavior, so I must have changed something else. I unfortunately
> don't remember what that might have been. Does anyone know of another way
> to set up auto login not using inittab? 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.


[beagleboard] Auto login on a BBB w/ Debian Wheezy

2014-07-14 Thread brett . balogh
I have a few beaglebone blacks that I want to automatically log in to a 
console at boot. I have successfully gotten one of them to do this, but I 
cannot remember for the life of me how I did it. Well, I remember how to 
disable lightdm so that it has to be started manually by typing 'startx' 
from the console. Most of the information I have been finding revolves 
around making changed to /etc/inittab. For instance:

1:2345:respawn:/bin/login -f rfid tty1 /dev/tty1 2>&1

-or- 

1:2345:respawn:/sbin/getty --autologin debian --noclear tty1

found here:

http://www.raspberrypi.org/forums/viewtopic.php?f=31&t=60915

But on the BBB with the working auto login, changing inittab has no effect 
on its behavior, so I must have changed something else. I unfortunately 
don't remember what that might have been. Does anyone know of another way 
to set up auto login not using inittab? 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.


Re: [beagleboard] Re: BBB GPIO and parallel output of more pins

2014-07-14 Thread Robert J Berger
Pretty funny that there are 2 Robert Berger’s with the same question!

But thanks a lot Mirko for the explanation. That may help my situation as we do 
have the opportunity to add some hardware. 

I did find a way to do parallel writes to the GPIO by doing direct access of 
the GPIO registers instead of going the the /sysfs filesystem access. 
Unfortunately I could not find a way to do this with Ruby without creating a C 
extension. (I spent all day yesterday trying! Looks like the existing mmap gems 
for ruby are all obsolete and don’t work with Ruby 2.x and/or won't map in 
/dev/mem)

A good description of the solution is at 
http://elinux.org/EBC_Exercise_11b_gpio_via_mmap

It has some C examples of how to do it natively and shows how you can use 
devmem2 to do it in the shell command line. 

For Ruby 

if you’re update rate was low, you could shell out to devmem2 to do parallel 
writes:

For instance to get the 32bit value (that’s how big the registers are) at 
0x4804c13c

value = `devmem2 0x4804c13c `
That would show you what the bits are for gpio1

To clear the bits in the pattern 0x0100 in the GPIO_CLEARDATAOUT register

result = `devmem2 0x4804c190 w 0x0100`

That would turn the USR3 LED off if it was on



To set the bit pattern  in GPIO_SETDATAOUT (0x194) register

result = `devmem2 0x4804c194 w 0x0100`

That would turn the USR3 LED on

To turn on USR1 and USR 3 at the same time:

result = `devmem2 0x4804c194 w 0x0140`

You could do the same to a group of other gpio pins as long as they are all on 
the gpio 32 bit register

Getting devmem2

Turns out that devmem2 is not a Debian package (though it is an Ubuntu package) 
but you can get the source at http://www.lartmaker.nl/lartware/port/devmem2.c
and compile and install it with:

gcc devmem2.c -o devmem2
chmod a+x devmem2
mv devmem2 /usr/local/bin

__
Robert J Berger +1 408-838-8896
Internet Bandwidth Development, LLC
http://www.linkedin.com/in/rberger




On Jul 14, 2014, at 10:59 AM, Mirko Fucci  wrote:

> 
> Ok Robert, i will try to explain how i solved my problem, apologise me if 
> something is not clear but i am not an expert and i beg anyone to correct me 
> if i say something wrong.
> I2C is a serial protocol and is fully supported by BBB so you can set output 
> pins (8 pins) of MCP23008 setting a chip's register once the chip is 
> connected and initialized. When you set your output serial data all chip's 
> output pins are set at the same time (because there is an internal 
> synchronized register).
> 
> So, if you need to set 4 pins with 1101 you can set chip's register with 
> 1101 value e then you find the value 1101 at the chip's output pins.
> 
> You don't need to set your GPIO to use the MCP23008 because P9_19 (CLK) and 
> P9_20 (SDA) are already set to work with I2C protocol (at least in debian 
> Wheezy) and all you need is assign an unique address (connecting address pins 
> to GND or VCC) to every MCP23008 chip you connect to these pins (is a bus).
> 
> Take a look at these links, i think i started from there :
> http://embedded-lab.com/blog/?p=2834
> http://www.gigamegablog.com/2012/11/04/beaglebone-coding-101-i2c/ 
> 
> 
> 
> 
> 
> 
> 
> 2014-07-14 18:43 GMT+02:00 robert.berger :
> Hi,
> 
> 
> On Monday, July 14, 2014 4:13:13 PM UTC+3, Mirko Fucci wrote:
> Yes, but for me the simplest way was using a port expander (i used MCP23008) 
> through I2C Interface, very simple to handle with BBB.
> 
> Can you please elaborate a bit more on what you tried?
> 
> With the standard GPIO framework [1] I am not sure you can do what you want. 
> There was an attempt to add block gpio [2] but I don't think this made it 
> into mainline.
> 
> Regards,
> 
> Robert
> 
> [1] http://lwn.net/Articles/532714/
> [2] http://lwn.net/Articles/533632/
> 
> -- 
> 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/6sWV16b0a5Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/beagleboard/6sWV16b0a5Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [beagleboard] How to connect PPPOE

2014-07-14 Thread Guy Grotke
The easiest way is just to buy a little router that does PPPOE and NAT 
to connect your internal LAN to your ISP.  You go into the router setup 
screen once to tell it the PPPOE password, etc.  Then you tell all your 
devices (ie. laptop and BBB) to use that gateway address so anything on 
your LAN is always connected through the router's gateway.  So 
everything shares the internet connection, your devices are not exposed 
to the larger internet, and they can all talk to each other.


On 7/13/2014 12:55 PM, tarun mishra wrote:

Hi,

I recently boughtBeagleBone Black.
I need it to connect to internet.
After searching on internet,I am able to share my laptop's internet to 
the BeagleBone .

I am also able to SSH using putty.
But now I need to connect BBB directly to the internet for my project.

My ISP provides me internet using PPPOE.
How can I make PPPOE connection ing BBB?
Please help me.

Thanks
Tarun Mishra
--
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 GPIO and parallel output of more pins

2014-07-14 Thread Mirko Fucci
Ok Robert, i will try to explain how i solved my problem, apologise me if
something is not clear but i am not an expert and i beg anyone to correct
me if i say something wrong.
I2C is a serial protocol and is fully supported by BBB so you can set
output pins (8 pins) of MCP23008 setting a chip's register once the chip is
connected and initialized. When you set your output serial data all chip's
output pins are set at the same time (because there is an internal
synchronized register).

So, if you need to set 4 pins with 1101 you can set chip's register with
1101 value e then you find the value 1101 at the chip's output pins.

You don't need to set your GPIO to use the MCP23008 because P9_19 (CLK) and
P9_20 (SDA) are already set to work with I2C protocol (at least in debian
Wheezy) and all you need is assign an unique address (connecting address
pins to GND or VCC) to every MCP23008 chip you connect to these pins (is a
bus).

Take a look at these links, i think i started from there :

http://embedded-lab.com/blog/?p=2834
http://www.gigamegablog.com/2012/11/04/beaglebone-coding-101-i2c/







2014-07-14 18:43 GMT+02:00 robert.berger :

> Hi,
>
>
> On Monday, July 14, 2014 4:13:13 PM UTC+3, Mirko Fucci wrote:
>>
>> Yes, but for me the simplest way was using a port expander (i used
>> MCP23008) through I2C Interface, very simple to handle with BBB.
>>
>
> Can you please elaborate a bit more on what you tried?
>
> With the standard GPIO framework [1] I am not sure you can do what you
> want. There was an attempt to add block gpio [2] but I don't think this
> made it into mainline.
>
> Regards,
>
> Robert
>
> [1] http://lwn.net/Articles/532714/
> [2] http://lwn.net/Articles/533632/
>
> --
> 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/6sWV16b0a5Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [beagleboard] Re: How Flashing Now Works with Debian

2014-07-14 Thread Robert Nelson
On Mon, Jul 14, 2014 at 12:29 PM,   wrote:
> Hi,
>
> I am getting as well the "Error: script halting, system unrecognized." when
> executing beaglebone-black-eMMC-flasher.sh.
> The image I have flashed is from here
> http://elinux.org/BeagleBoardDebian#Flasher
> https://rcn-ee.net/deb/flasher/wheezy/BBB-eMMC-flasher-debian-7.5-console-armhf-2014-07-06-2gb.img.xz.
> When I check with "LC_ALL=C lsblk -l" the mountpoint "/boot/uboot" is
> missing.
>
> NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
> mmcblk1boot0 179:16 0 1M 1 disk
> mmcblk1boot1 179:24 0 1M 1 disk
> mmcblk0 179:0 0 7.4G 0 disk
> mmcblk1 179:8 0 1.8G 0 disk
> mmcblk1p1 179:9 0 96M 0 part
> mmcblk1p2 179:10 0 1.7G 0 part /
>
> Is there anything that I can do?
> What I want to do is clone a beaglebone black to multiple others, is
> beaglebone-black-eMMC-flasher.sh the best way to do that?
> Thanks in advance.

So in, 2014-07-06 i rewrote a lot of things...

First, make sure you run:

cd /opt/scripts/tools/
git pull

Next open: /boot/uEnv.txt

Uncomment this line:

#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh

At this point your microSD card is set to flash the eMMC.. so shutdown
(sudo halt) and get ready to flash stuff..

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: How Flashing Now Works with Debian

2014-07-14 Thread panos
Hi,

I am getting as well the "Error: script halting, system unrecognized." when 
executing beaglebone-black-eMMC-flasher.sh.
The image I have flashed is from here 
http://elinux.org/BeagleBoardDebian#Flasher 
https://rcn-ee.net/deb/flasher/wheezy/BBB-eMMC-flasher-debian-7.5-console-armhf-2014-07-06-2gb.img.xz.
When I check with "LC_ALL=C lsblk -l" the mountpoint "/boot/uboot" is 
missing.

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk1boot0 179:16 0 1M 1 disk
mmcblk1boot1 179:24 0 1M 1 disk
mmcblk0 179:0 0 7.4G 0 disk
mmcblk1 179:8 0 1.8G 0 disk
mmcblk1p1 179:9 0 96M 0 part
mmcblk1p2 179:10 0 1.7G 0 part /

Is there anything that I can do?
What I want to do is clone a beaglebone black to multiple others, is 
beaglebone-black-eMMC-flasher.sh the best way to do that?
Thanks in advance.

On Friday, 21 March 2014 19:26:11 UTC, RobertCNelson wrote:
>
> On Fri, Mar 21, 2014 at 2:22 PM, Louis Thiery  > wrote: 
> > Just to see if it would "just work", I tried to run the script from my 
> > distribution and the scrip is unhappy: 
> > 
> > /bin/bash /opt/scripts/beaglebone-black-eMMC-flasher.sh 
> > Error: script halting, system unrecognized... 
>
> The "script" assumes a few things, so i have a couple quick system 
> checks, that make it stop if it doesn't recognize the system.. 
>
> 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] Building custom Debian image

2014-07-14 Thread William Hermans
No minimal does not have X installed period as far as I know. Minimal is
just that, minimal.  It has a few utilities like openssh-server installed
so you can ssh, etc, and that's it.

*How can I create a .img image that I can write it to SDcard?*
>

What ?
http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSD/SDcard
tells you exactly how to write it to sdcard.

*If I want to remove some stuff from linux that I may not need, how do I
> remove them while building, and at what stage?*
>

Then you should probably use the barefs rootfs image.
http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-RootFileSystem
read the whole section carefully.

Specifically:
http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Debian7%28smallflash%29


On Sun, Jul 13, 2014 at 7:16 AM,  wrote:

> Hi,
>
> I have started to work on linux very recently. I was able to download the
> lates debian images and run them on eMMC and SDcard. I was able to get the
> picture of the boot sequence. Thanks to all the contributors who have put
> so much of information on internet to get started.
>
> Now I am trying to build a Debian image. I was able to follow the
> instructions at https://eewiki.net/display/linuxonarm/BeagleBone+Black
> and get a command line version of linux working (debian-7.5-minimal-armhf-
> 2014-07-07) .
> * Does this minimal image already has lxde as part of it?
> * Cursor came up only after hitting ctl+alt+F ctl+alt+f7. Until then
> screen was black with penguin on top left. What is the reason for this?
> * This method allows us to prepare an SDcard manually in steps. How can I
> create a .img image that I can write it to SDcard?
> * If I want to remove some stuff from linux that I may not need, how do I
> remove them while building, and at what stage?
>
> Thanks in advance! It has been a great learning experience.
>
> Thanks,
> Ashwin
>
>
>  --
> 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: Unable to connect to BBB over USB on desktop

2014-07-14 Thread William Hermans
ITFK, So judging by last comment I would suspect the step that fixed it for
you was Windows update. Since Windows update will see partially installed,
or outdated drivers and update them, sometimes.


On Mon, Jul 14, 2014 at 1:20 AM,  wrote:

> I faced similar problem for the BBB that I bought couple of days back. I
> was using Windows XP and Windows 7, but could not identify the exact issue.
> I did reinstalling all the drivers as suggested but did not work.
>
> Finally, I found that under the device manager - Other devices, there was
> "RNDIS" and "CDC serial". Once I installed RNDIS from microsoft (
> http://developer.toradex.com/knowledge-base/how-to-install-microsoft-rndis-driver-for-windows-7)
> along with BONE_DRV.exe (USB driver for windows - step 2.
> http://beagleboard.org/getting-started) resolved the issue.
>
> Thanks for the post. and I hope this additional info might help some more
> people like me. :)
>
> thanks,
> Chandra
>
> On Sunday, 13 July 2014 20:18:57 UTC+5:30, ITFK wrote:
>>
>> I had a chance to look at my problem again and I managed to get my BBB
>> connected properly. After the reinstall I went through the normal 3-4
>> sessions of Windows updates and restarts to install them. Then I updates my
>> motherboard BIOS and installed all of the applicable drivers from the
>> Gigabyte website. Two of the things I did were to install the latest
>> Realtek Ethernet driver for my motherboard and run the Intel INF update
>> utility. I still think my old Windows 7 install was probably causing me
>> problems due to how old it was and all of the devices I had installed
>> during that time, however, I also should have installed all of the
>> appropriate drivers from the Gigabyte website before posting that my
>> problem wasn't solved.
>>
>> At this point I see all three devices listed in the device manager
>> (Gadget Serial under Ports, BEAGLEBONE under Portable Devices, and Linux
>> USB Ethernet/RNDIS Gadget under Network Adapters) and they are listed as
>> working properly. Hopefully if anyone else has a similar issue they'll be
>> able to get something useful out of this thread. Unfortunately, I don't
>> know exactly which step solved my issues but updating BIOS and drivers
>> seems like a good first step.
>>
>>
>> On Saturday, 12 July 2014 09:58:14 UTC-4, ITFK wrote:
>>>
>>> OK so I just performed a clean install of Windows 7 and I am still
>>> unable to connect to the default web server via USB. The drivers were
>>> reinstalled but the Linux USB Ethernet/RNDIS Gadget still says the device
>>> cannot start. Does anyone have any suggestions given that this doesn't
>>> appear to be a broken OS anymore?
>>>
>>> On Thursday, 10 July 2014 22:31:17 UTC-4, William Hermans wrote:

 heh, I just have two laptops that I use lately. One is the general
 purpose do everything system. Mostly, it just runs VLC to play movies, and
 then virtualbox where I have an x86 Debian install support "system" for the
 BBB. I tried dual booting, but for the purpose above . . . it was not
 working out for me. Mostly because I did not want to install X on my
 support system.

 My other system is fairly minimal. No JRE, or java apps period, no
 Flash, etc Pretty much just firefox, sublime text 2 for editing code,
 puTTY, x-chat, winrar.

 The Debian virtual machine does all the cross compiling, and hosts the
 BBB's rootfs ( NFS root ), while also acting as a Samba server so I can
 access files on the BBB or support system via mapped network drive from My
 "dev machine". It's a fairly complex setup, but I'm pretty happy with it.


 On Thu, Jul 10, 2014 at 6:39 PM, ITFK  wrote:

> Thanks for the reply William. I was hopeful that maybe I was doing
> something dumb or perhaps just missing something that someone here would 
> be
> able to easily pickup on and point out to me. I've already started
> downloading installers for the software I use frequently in order to have
>  a (hopefully) quick and easy reinstall this weekend. I intend to image my
> OS drive after the reinstall to make things easier the next time this
> occurs. I do have a separate drive (not just partitions) for my OS and 
> most
> frequently used programs so I shouldn't lose any important data. If I 
> could
> convince my fiancee that I need a 5th computer I'd love to have a 
> dedicated
> machine for development, but until then I suppose I'll have to live with 
> my
> general purpose desktop machine. I do have a bad tendency to download new
> software just to play around with it though. Maybe I'll try to be a little
> more selective about what I install next time around :)
>
> On Thursday, 10 July 2014 20:11:09 UTC-4, William Hermans wrote:
>>
>> Unfortunately, I do not know anyone who could possibly troubleshoot
>> this problem without being at the keyboard. Your install is old, and is
>>>

Re: [beagleboard] Re: BBB GPIO and parallel output of more pins

2014-07-14 Thread robert.berger
Hi,

On Monday, July 14, 2014 4:13:13 PM UTC+3, Mirko Fucci wrote:
>
> Yes, but for me the simplest way was using a port expander (i used 
> MCP23008) through I2C Interface, very simple to handle with BBB.
>

Can you please elaborate a bit more on what you tried?

With the standard GPIO framework [1] I am not sure you can do what you 
want. There was an attempt to add block gpio [2] but I don't think this 
made it into mainline.

Regards,

Robert

[1] http://lwn.net/Articles/532714/
[2] http://lwn.net/Articles/533632/

-- 
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] Strangeness with ttyO5 RTS ?

2014-07-14 Thread walter harms
Hi List,
i have a strange effect when using RTS for ttyO5.
I have the std. Overlay with ttyO5 enabled.
I set GPIO_11 direction=out, value=1 via /sys/class/
in that moment RX on ttyO5 goes low causing spurious 0x00
on the serial line.

Why this ? Did i misunderstand the documentation ?

re,
 wh

-- 
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 rev C boot from SD problem

2014-07-14 Thread 19ab69
Hi to all, I have a problem with rev C of BBB, I have an SD correctly 
prepared to boot that works as expected on rev A to B boards but that 
doesn't work on rev C boards, when the bone boot it will always boot from 
flash and if I push the boot button it doesn't start at all, the SD is 
identified after the boot from flash but fdisk -l tells me that the device 
doesn't contain a valid partition table. Anyone knows how to solve this 
issue ?

Thanks
Andrea

-- 
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 GPIO and parallel output of more pins

2014-07-14 Thread Mirko Fucci
Yes, but for me the simplest way was using a port expander (i used
MCP23008) through I2C Interface, very simple to handle with BBB.



2014-07-13 7:58 GMT+02:00 :

> Did you ever find out how to do this? I have the same requirement and
> can't seem to find an answer as to how to do this
>
> On Wednesday, March 12, 2014 4:49:29 AM UTC-7, Mirko Fucci wrote:
>>
>>
>> Hi everyone,
>>
>> i need to use a group of pins  (up to 8 pins) to output a value in a
>> certain range but i wonder if there is a way to be sure that all output
>> pins are set at the same time.
>> Otherwise i would have an unspecified output value during the transition
>> between a value to another. I read somewhere that  is possible set an
>> entire bank instead
>> of a single pin, maybe using PRU ?
>> I would be very grateful if someone could address me to solve this
>> problem.
>>
>> Thank you.
>>
>>
>>  --
> 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/6sWV16b0a5Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


[beagleboard] Building custom Debian image

2014-07-14 Thread ashwin . space2000
Hi,

I have started to work on linux very recently. I was able to download the 
lates debian images and run them on eMMC and SDcard. I was able to get the 
picture of the boot sequence. Thanks to all the contributors who have put 
so much of information on internet to get started.

Now I am trying to build a Debian image. I was able to follow the 
instructions at https://eewiki.net/display/linuxonarm/BeagleBone+Black and 
get a command line version of linux working (debian-7.5-minimal-armhf-2014-
07-07) . 
* Does this minimal image already has lxde as part of it? 
* Cursor came up only after hitting ctl+alt+F ctl+alt+f7. Until then screen 
was black with penguin on top left. What is the reason for this?
* This method allows us to prepare an SDcard manually in steps. How can I 
create a .img image that I can write it to SDcard?
* If I want to remove some stuff from linux that I may not need, how do I 
remove them while building, and at what stage? 

Thanks in advance! It has been a great learning experience.

Thanks,
Ashwin


-- 
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 GPIO and parallel output of more pins

2014-07-14 Thread rberger
Did you ever find out how to do this? I have the same requirement and can't 
seem to find an answer as to how to do this

On Wednesday, March 12, 2014 4:49:29 AM UTC-7, Mirko Fucci wrote:
>
>
> Hi everyone,
>
> i need to use a group of pins  (up to 8 pins) to output a value in a 
> certain range but i wonder if there is a way to be sure that all output 
> pins are set at the same time.
> Otherwise i would have an unspecified output value during the transition 
> between a value to another. I read somewhere that  is possible set an 
> entire bank instead 
> of a single pin, maybe using PRU ?
> I would be very grateful if someone could address me to solve this problem.
>
> Thank you.
>
>
>

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


Re: [beagleboard] Re: Unable to connect to BBB over USB on desktop

2014-07-14 Thread cshalive
I faced similar problem for the BBB that I bought couple of days back. I 
was using Windows XP and Windows 7, but could not identify the exact issue. 
I did reinstalling all the drivers as suggested but did not work.

Finally, I found that under the device manager - Other devices, there was 
"RNDIS" and "CDC serial". Once I installed RNDIS from microsoft 
(http://developer.toradex.com/knowledge-base/how-to-install-microsoft-rndis-driver-for-windows-7)
 
along with BONE_DRV.exe (USB driver for windows - step 
2. http://beagleboard.org/getting-started) resolved the issue.

Thanks for the post. and I hope this additional info might help some more 
people like me. :)

thanks,
Chandra

On Sunday, 13 July 2014 20:18:57 UTC+5:30, ITFK wrote:
>
> I had a chance to look at my problem again and I managed to get my BBB 
> connected properly. After the reinstall I went through the normal 3-4 
> sessions of Windows updates and restarts to install them. Then I updates my 
> motherboard BIOS and installed all of the applicable drivers from the 
> Gigabyte website. Two of the things I did were to install the latest 
> Realtek Ethernet driver for my motherboard and run the Intel INF update 
> utility. I still think my old Windows 7 install was probably causing me 
> problems due to how old it was and all of the devices I had installed 
> during that time, however, I also should have installed all of the 
> appropriate drivers from the Gigabyte website before posting that my 
> problem wasn't solved. 
>
> At this point I see all three devices listed in the device manager (Gadget 
> Serial under Ports, BEAGLEBONE under Portable Devices, and Linux USB 
> Ethernet/RNDIS Gadget under Network Adapters) and they are listed as 
> working properly. Hopefully if anyone else has a similar issue they'll be 
> able to get something useful out of this thread. Unfortunately, I don't 
> know exactly which step solved my issues but updating BIOS and drivers 
> seems like a good first step.
>
>
> On Saturday, 12 July 2014 09:58:14 UTC-4, ITFK wrote:
>>
>> OK so I just performed a clean install of Windows 7 and I am still unable 
>> to connect to the default web server via USB. The drivers were reinstalled 
>> but the Linux USB Ethernet/RNDIS Gadget still says the device cannot start. 
>> Does anyone have any suggestions given that this doesn't appear to be a 
>> broken OS anymore?
>>
>> On Thursday, 10 July 2014 22:31:17 UTC-4, William Hermans wrote:
>>>
>>> heh, I just have two laptops that I use lately. One is the general 
>>> purpose do everything system. Mostly, it just runs VLC to play movies, and 
>>> then virtualbox where I have an x86 Debian install support "system" for the 
>>> BBB. I tried dual booting, but for the purpose above . . . it was not 
>>> working out for me. Mostly because I did not want to install X on my 
>>> support system.
>>>
>>> My other system is fairly minimal. No JRE, or java apps period, no 
>>> Flash, etc Pretty much just firefox, sublime text 2 for editing code, 
>>> puTTY, x-chat, winrar.
>>>
>>> The Debian virtual machine does all the cross compiling, and hosts the 
>>> BBB's rootfs ( NFS root ), while also acting as a Samba server so I can 
>>> access files on the BBB or support system via mapped network drive from My 
>>> "dev machine". It's a fairly complex setup, but I'm pretty happy with it.
>>>
>>>
>>> On Thu, Jul 10, 2014 at 6:39 PM, ITFK  wrote:
>>>
 Thanks for the reply William. I was hopeful that maybe I was doing 
 something dumb or perhaps just missing something that someone here would 
 be 
 able to easily pickup on and point out to me. I've already started 
 downloading installers for the software I use frequently in order to have 
  a (hopefully) quick and easy reinstall this weekend. I intend to image my 
 OS drive after the reinstall to make things easier the next time this 
 occurs. I do have a separate drive (not just partitions) for my OS and 
 most 
 frequently used programs so I shouldn't lose any important data. If I 
 could 
 convince my fiancee that I need a 5th computer I'd love to have a 
 dedicated 
 machine for development, but until then I suppose I'll have to live with 
 my 
 general purpose desktop machine. I do have a bad tendency to download new 
 software just to play around with it though. Maybe I'll try to be a little 
 more selective about what I install next time around :)

 On Thursday, 10 July 2014 20:11:09 UTC-4, William Hermans wrote:
>
> Unfortunately, I do not know anyone who could possibly troubleshoot 
> this problem without being at the keyboard. Your install is old, and is 
> probably broken in one way or another.
>
> I have personally experienced similar issues with the same version of 
> Windows, and my own recourse is just to reinstall. One thing you can do 
> to 
> help facilitate this is to keep the OS separate from your data ( e.g. two 

[beagleboard] Re: OpenCV : VIDIOC_REQBUFS: Cannot allocate memory

2014-07-14 Thread ajblair1222
Here's a quick update on my progress and the kludge I've been using.  I've 
tried every combination of V4l2 settings I could find but could not get any 
too work.  I then tried V4l2ucp which did work.  Looking at the source code 
it calls mplayer to display the video.  Mplayer also worked well, and it 
uses V4l2 to capture images from the cape.  I've resorted to calling 
mplayer from Qt and having it dump several images to files, then I read in 
the files with opencv and do the processing I need.  It works but is 
definitely a kludge.  If anyone knows or can figure out what V4l2 settings 
mplayer uses then we could grab directly from the camera.

On Monday, March 31, 2014 10:18:01 AM UTC-5, ajbla...@gmail.com wrote:
>
> Has anyone come up with a solution for this?  I've tried both the Angstrom 
> and Debian images as well as the V4l2 grabber code that was posted above, 
> but all produce the memory allocation error.  Cheese can capture images. 
>  It looks like cheese uses a custom camera object based on GLib.  Is there 
> no way to use openCV or V4l2 to capture directly from the cape?  Thanks,
>
> aj
>
> On Thursday, March 21, 2013 1:28:38 AM UTC-5, Linux Omicron wrote:
>>
>> Hello All,
>>
>> I am working on a project with BeagleBone and 3.1 MP camera cape.
>> The OS is Angstrorm : Linux beaglebone 3.2.34 #1 Wed Nov 21 14:17:11 CET 
>> 2012
>> I noticed that camera works well with cheese and mplayer but it doesn't 
>> work with a simple OpenCV application to capture video from the camera.
>>
>> My application to capture video returns after following errors. It seems 
>> that application doesn't able to get past to the call cvCaptureFromCAM.
>>
>> VIDIOC_REQBUFS: Cannot allocate memory
>> munmap: Invalid argument
>> munmap: Invalid argument
>> munmap: Invalid argument
>> munmap: Invalid argument
>> Unable to stop the stream.: Bad file descriptor
>> munmap: Invalid argument
>> munmap: Invalid argument
>> munmap: Invalid argument
>> munmap: Invalid argument
>> Floating point exception
>>
>> Running v4l2-ctl gives following information. Is it usual that the camera 
>> doesn't use libv4l2?
>>
>> root@beaglebone:~# v4l2-ctl --info
>> Driver Info (not using libv4l2):
>> Driver name   : cssp_camera
>> Card type : cssp_camera
>> Bus info  : cssp_camera-000
>> Driver version: 3.2.34
>> Capabilities  : 0x0501
>> Video Capture
>> Read/Write
>> Streaming
>>
>> Any direction to make the camera work with OpenCV?
>>
>> Thank you,
>> Linux Omicron
>>
>

-- 
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] Chipsee Expansion Board for Beaglebone (white) support files

2014-07-14 Thread Flavio Castro Alves Filho
Hello all,

I have a Chipsee expansion board for Beaglebone white:

http://www.youtube.com/watch?v=NL-Qo6vrL8c

http://www.chipsee.com/beaglebone-expansion-capacitive-touch.html

Unfortunately, I lost my CD with the support software and hardware.

Does anybody have this CD and can provide me those files?

Sorry for the inconvenience.

Thanks in advance.

Flavio

-- 
Flavio de Castro Alves Filho

flavio.al...@gmail.com
www.linuxembarcado.com
Twitter: http://twitter.com/#!/fraviofii
LinkedIn profile: www.linkedin.com/in/flaviocastroalves

-- 
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: beaglebone black read i2c.

2014-07-14 Thread Troy Dack


On Monday, 14 July 2014 08:33:36 UTC+10, ruben campos wrote:
>
> Hello good day community. 
>
> I'm logged in beaglebone black and hope you can help me. 
>
> would like to read the address 0x70 arduino and processing the data in 
> beagblebone black. 
> I hope you can help me. 
>
> regards 
>
> Ruben.
>

You should have the Adafruit BBIO python library already installed.  You 
can follow this tutorial: 
https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/using-the-bbio-library
One of the sections there shows you how to access I2C.
 

-- 
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: beaglebone black read i2c.

2014-07-14 Thread serge . nsk14
Which connection?
Why 0x70 arduino?

On Monday, July 14, 2014 4:33:36 AM UTC+6, ruben campos wrote:
>
> Hello good day community. 
>
> I'm logged in beaglebone black and hope you can help me. 
>
> would like to read the address 0x70 arduino and processing the data in 
> beagblebone black. 
> I hope you can help me. 
>
> regards 
>
> Ruben.
>

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


Re: [beagleboard] How to connect PPPOE

2014-07-14 Thread Yiling Cao
linux support PPPoE I have tested before, works very well.


On Mon, Jul 14, 2014 at 3:55 AM, tarun mishra 
wrote:

> Hi,
>
> I recently boughtBeagleBone Black.
> I need it to connect to internet.
> After searching on internet,I am able to share my laptop's internet to the
> BeagleBone .
> I am also able to SSH using putty.
> But now I need to connect BBB directly to the internet for my project.
>
> My ISP provides me internet using PPPOE.
> How can I make PPPOE connection ing BBB?
> Please help me.
>
> Thanks
> Tarun Mishra
>
> --
> 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] Re: BeagleBone Black hang

2014-07-14 Thread leon9
I disconnect all external device and I connect external power supply.  
It did not help. I noticed that the chip U14 (LAN) heats up. I add a heat 
sink but did not help.

Sorry to be so irregular reply but I had a diploma thesis defense.


W dniu niedziela, 6 lipca 2014 06:14:54 UTC+2 użytkownik serge...@gmail.com 
napisał:
>
>
> From your logs I see that BBB does not hang, it crashes at u-boot.img 
> reading, and starts over.
> Something about power or overheating possible.
>
> Try external power supply.
> Look for hot chips on the BBB (or try fan to cool it)
> List everything connected to the BBB here, for us to know your 
> environment. 
>

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