[beagleboard] BB black Debian wifi problem

2015-03-02 Thread Dajiang He
Hi,

I have a BB Black RevC with its original Debian OS.
When I plugged in a Aztech wifi dongle: the dongle's blue light is on.
when I do lsusb, I can see 

us 001 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 001 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 001 Device 006: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 
802.11n WLAN Adapter
Bus 001 Device 005: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse

the wifi adapter is detected.

when I do lsmod,

Module  Size  Used by
binfmt_misc 5377  1 
g_multi47670  2 
libcomposite   14299  1 g_multi
arc41660  2 
rtl8192cu  73560  0 
rtlwifi63798  1 rtl8192cu
rtl8192c_common51523  1 rtl8192cu
mac80211  411868  3 rtlwifi,rtl8192c_common,rtl8192cu
cfg80211  344277  2 mac80211,rtlwifi
rfkill 16656  1 cfg80211
mt7601Usta601404  0 

it looks like the driver is loaded into OS.

this is my interface file in /etc/networks regarding to wlan0 part

#auto wlan0
 allow-hotplug wlan0
 iface wlan0 inet dhcp
 wpa-driver wext
 wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
#nl80211

and wpa_supplicant part

network={
ap_scan=1
ssid="myssid"
psk="**"
key_mgmt=WPA-PSK2

My problem is I cannot get the wifi connection.
If I do ifconfig, I can see wlan0.

Can any expert tell me what I missed?

-- 
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: Beagle xm battery monitoring system

2015-03-02 Thread Neerav Parasher
can any body please help me with this issue 

On Friday, 23 January 2015 17:12:57 UTC+5:30, Neerav Parasher wrote:
>
> hello
> i am working on LTC6804 from last few month , i was trying to port linux 
> application connected LTC6804 with Beagle
>
> Xm but some issues occur. this is the git application source i am using ("
> https://github.com/martin-c/beagle-bms"; ) . also the video is available ("
> https://www.youtube.com/watch?v=Ke4MwVpD0xs";)
>
> where my beagle xm is connected with LTC6802 ("
> http://cds.linear.com/docs/en/demo-board-manual/dc1941bf.pdf";)
>
> which is connected to LTC6804 DC1942B isoSPI bus ("
> http://cds.linear.com/docs/en/demo-board-manual/dc1942bf.pdf";)
>
> my application gives some junk output on terminal . not as shown is the 
> video also the MISO is not getting any data .
>

-- 
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: archive keyring on elinux is "not found"

2015-03-02 Thread Robert Nelson
On Sun, Mar 1, 2015 at 10:55 PM, ivo welch  wrote:
>
> thx, robert.  my /etc/dogtag said it wasn't that old: 2014-11-19.  the
> keyring update made my apt-get update error go away.  great.

sudo apt-get update ; sudo apt-get install rcn-ee-archive-keyring

>
> suggestion: add the kernel update instructions in the same doc, too.  kernel
> update with apt-get went very smooth.  I wonder whether there is a way to
> apt-get to "most recent kernel", rather than having to know the
> linux-image-... details .  then again, maybe this is now fixed, too.

Which 'latest'

3.8
3.8-xenomai
3.14
3.14-rt
3.14-xenomai
3.18.x
3.19.x
4.0-rcx

Does the user have custom *.dtb? created by dtb-rebuilder..

I don't feel comfortable having a "sudo apt-get install linux-image-latest" . ;)

>
> not sure if this matters, but
>
> sudo dpkg -i rcn-ee-archive-keyring_2015.01.28~bpo70%2b20150213%2b1_all.deb
>
>
> still complains.
>
> thanks again, robert.

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] Onewire DTS file

2015-03-02 Thread Dave Blomfield
Hi all,

Does anyone out there actually understand what the 

gpios = <&gpio2 13 0>; line does in the onewire DTS file. 
Somebody somewhere must have designed this function but I can find no 
reference to it anywhere. It seems that the general consensus is to take a 
similar dts file and modify it for what you want it to do.

I really want to have 4 x onewire lines active for a mass of temperature 
sensors but I've been unable to get it to work.

Any help would be really appreciated.

Cheers

Dave

-- 
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: Onewire DTS file

2015-03-02 Thread Dave Blomfield
Okay so that should read gpios = <&gpio2 13 0>; was expecting html reactions

-- 
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 interface with audio

2015-03-02 Thread John Syne


> On Mar 1, 2015, at 9:51 PM, Zainab S.V  wrote:
> 
> Hi John,
>  Need your help again. As I said,my aim is to process distracted voice to 
> clear voice. For this I am using beaglebone with audiocape (not yet decided 
> if I shall use usb dongle ). What I need to know is, do I have to use an 
> amplifier to amplify the incoming signal in addition to the cape or usb 
> dongle? Thankyou,
For the benefit of the BeagleBoard community, please address these questions to 
the community and not to me personally. I have redirected my response to the 
BeagleBoard mailing list. 

For the Audio Cape, you don’t need an amplifier, but using one won’t hurt 
because you can reduce the gain with the codec. However, you do need to bias 
the microphone which needs a 2V bias with a 2k2 resistor. On the TI website, 
look for TLV320AIC3106EVM. You can download the User Guide which includes the 
board schematic. Look at how the microphone is connected. It uses the bias 
voltage via R7 (2k2). Unfortunately, this pin isn’t connected on the Audio Cape 
so all you need to do is use a 2V regulator and a 2K2 resistor to connect this 
to the Microphone bias pin.

http://www.ti.com/lit/ug/slau209a/slau209a.pdf 


Regards,
John
> 
> On Wed, Feb 25, 2015 at 12:20 PM, Zainab S.V  > wrote:
> Thank you
> 
> On Tue, Feb 24, 2015 at 11:53 PM, John Syne  > wrote:
> 
> > On Feb 24, 2015, at 1:13 AM, Zainab S.V  > > wrote:
> >
> > Hi,
> >
> >
> > This is in reference to a thread in google group about beaglebone. I 
> > request your help in this . My project needs to input distracted voice 
> > (preferably, recording with mic) and wants the output as processed 
> > voice(with no distractions). I planned to use audio cape for this. Since I 
> > cannot use microphone without biasing mic voltage, now I am planning to use 
> > usb audio dongle (like the one as Syba audio interface). Can you please 
> > tell me whether I need to bias mic voltage even if I use usb audio?
> I’m not exactly sure as it depends on which USB audio adapter you are using. 
> I know there are USB microphones that should work just fine. The USB 
> microphones have the best signal to noise ratio
> 
> Regards,
> John
> >
> > Thankyou.
> 
> 
> 

-- 
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 interface with audio

2015-03-02 Thread John Syne
On Mar 1, 2015, at 9:51 PM, Zainab S.V  wrote:

Hi John,
 Need your help again. As I said,my aim is to process distracted voice to
clear voice. For this I am using beaglebone with audiocape (not yet decided
if I shall use usb dongle ). What I need to know is, do I have to use an
amplifier to amplify the incoming signal in addition to the cape or usb
dongle? Thankyou,

For the benefit of the BeagleBoard community, please address these
questions to the community and not to me personally. I have redirected my
response to the BeagleBoard mailing list.

For the Audio Cape, you don’t need an amplifier, but using one won’t hurt
because you can reduce the gain with the codec. However, you do need to
bias the microphone which needs a 2V bias with a 2k2 resistor. On the TI
website, look for TLV320AIC3106EVM. You can download the User Guide which
includes the board schematic. Look at how the microphone is connected. It
uses the bias voltage via R7 (2k2). Unfortunately, this pin isn’t connected
on the Audio Cape so all you need to do is use a 2V regulator and a 2K2
resistor to connect this to the Microphone bias pin.

http://www.ti.com/lit/ug/slau209a/slau209a.pdf

Regards,
John


On Wed, Feb 25, 2015 at 12:20 PM, Zainab S.V  wrote:

> Thank you
>
> On Tue, Feb 24, 2015 at 11:53 PM, John Syne  wrote:
>
>>
>> > On Feb 24, 2015, at 1:13 AM, Zainab S.V  wrote:
>> >
>> > Hi,
>> >
>> >
>> > This is in reference to a thread in google group about beaglebone. I
>> request your help in this . My project needs to input distracted voice
>> (preferably, recording with mic) and wants the output as processed
>> voice(with no distractions). I planned to use audio cape for this. Since I
>> cannot use microphone without biasing mic voltage, now I am planning to use
>> usb audio dongle (like the one as Syba audio interface). Can you please
>> tell me whether I need to bias mic voltage even if I use usb audio?
>> I’m not exactly sure as it depends on which USB audio adapter you are
>> using. I know there are USB microphones that should work just fine. The USB
>> microphones have the best signal to noise ratio
>>
>> Regards,
>> John
>> >
>> > Thankyou.
>>
>>
>

-- 
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: debian: release candidate: 2014-12-11

2015-03-02 Thread doog
FWIW, I grabbed the SD image(not console 
version)( bone-debian-7.8-machinekit-armhf-2015-02-22-4gb.img ) yesterday 
and just tested USB networking and seems to work fine without modifications 
with a Ubuntu 13.04 laptop. Well, I did have to add "-b CRAMPS" to the end 
of the hal_temp_bbb line in CRAMPS.hal before my temperature thermistors 
were working.

Doug

On Friday, January 30, 2015 at 10:46:34 AM UTC-8, RobertCNelson wrote:
>
> On Fri, Jan 30, 2015 at 12:40 PM, RFA > 
> wrote: 
> > Hi Robert, 
> > 
> > Thank you for your work in all these images. 
> > 
> > I just flashed my BBB with the image: 
> > BBB-eMMC-flasher-debian-7.8-console-armhf-2015-01-27-2gb.img.xz 
> > 
> > My first problem is that usb0 is not detected, so I can't set up USB 
> > networking. I thought this was an issue only with the recent kernels and 
> not 
> > with any of the 3.8.13x. 
> > 
> > Can you suggest some way to solve this issue, should stick with the 
> latest 
> > official image from beagleboard.org, or should I try to build the image 
> > myself? 
> > The main reason I avoid the official image is because I want a system 
> with 
> > just the console and a basic set of installed packages, so I install 
> only 
> > what is really necessary for my applications. 
>
> So i just fixed this about an hour ago, "g_ether" wasn't working the 
> way i wanted vs how "g_multi" had been working in the dual partition 
> setup... 
>
>
> https://github.com/RobertCNelson/boot-scripts/commit/e6fd16e64a43b2c68b392a6f6c1c092848974248
>  
>
> Since git isn't installed, you need to manually: 
>
> cd /opt/scripts/boot/ 
> rm am335x_evm.sh 
> wget 
> https://raw.githubusercontent.com/RobertCNelson/boot-scripts/master/boot/am335x_evm.sh
>  
>
> The "console" image still doesn't have "udhcpd" installed, so you'll 
> still have to manually add that.. 
>
> 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] Kernel Header problem in LED driver code.

2015-03-02 Thread Digesh
Hi,

I am using BBB 3.8.13-bone47 and trying to write the driver for the 4 user 
LEDs.
I am cross-compiling my code on host with the linux-3.8.13 kernel headers(I 
have downloaded 3.8.13 from kernel.org and using inlcude/linux 's headers )

Here is the code i have develop. i want to blink the LEDs after insmod. and 
want to unloaded successfully.

# LED_Driver.c 

#include 
#include 
#include

#define LED_CTR *(unsigned int*)0x4804c134
#define LED_PATT *(unsigned int*)0x4804c13c
MODULE_LICENSE("GPL");
//unsigned int LED_CTR=*(unsigned int*)0x4804c134;
//unsigned int LED_PATT=*(unsigned int*)0x4804c13c;
static int __init led_ins(void)
{
int i;
LED_CTR=0;
LED_PATT=0x01e0;
for(i=0;i<10;i++);
LED_PATT=0;
return 0;
}
static void __exit led_ex(void)
{
  printk("LED module unloaded successfully");
}
module_init(led_ins);
module_exit(led_ex);

###

I am using gcc gnueabi cross-compiler installed by   ap-get install 
gcc-arm-linux-gnueabi 


COMMAND:
root@digesh:/home/digesh/Documents/Digesh' content# arm-linux-gnueabi-gcc 
-I /home/digesh/Downloads/linux-3.8.13/include/ -c LED_driver.c 

ERROR:
In file included from LED_driver.c:1:0:
/home/digesh/Downloads/linux-3.8.13/include/linux/init.h:255:13: error: 
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘parse_early_param’
/home/digesh/Downloads/linux-3.8.13/include/linux/init.h:256:13: error: 
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘parse_early_options’
In file included from 
/home/digesh/Downloads/linux-3.8.13/include/linux/kernel.h:6:0,
 from 
/home/digesh/Downloads/linux-3.8.13/include/linux/cache.h:4,
 from 
/home/digesh/Downloads/linux-3.8.13/include/linux/time.h:4,
 from 
/home/digesh/Downloads/linux-3.8.13/include/linux/stat.h:18,
 from 
/home/digesh/Downloads/linux-3.8.13/include/linux/module.h:10,
 from LED_driver.c:2:
/home/digesh/Downloads/linux-3.8.13/include/linux/linkage.h:5:26: fatal 
error: asm/linkage.h: No such file or directory
compilation terminated.

my guess is the kernel headers though I am using the same kernel headers 
which match with the running kernel version.
I am trying to solve it but meanwhile I would appreciate if anybody can 
help me to resolve this issue.

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.


[beagleboard] BBB slow and choppy on VNC

2015-03-02 Thread vincent . kc . chow
Hi, I have x11vnc installed on my new BBB shipped with Debian Wheezy. I 
tried to connect it through LAN and load a page with Chroumium. The speed 
is low and the user experience is choppy. It seems that the graphics is 
rendered on CPU instead of GPU. Or something goes wrong.

Could anyone please advise or share their GUI experience on BBB VNC please? 
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] Booting from SD card and not eMMC

2015-03-02 Thread Sagar Tangirala
hello gerald!!!
good to hear from you
do u mean me to write another image to the eMMC storage???
is it possible even if the board is not responding i.e., if i remove the sd
card, except the power led remaining all leds were in off state... so is it
possible in that state to write another boot image to the BBB??
If possible pls refer me the link where i can get the steps for booting...
i referred previously this link...

http://elinux.org/Beagleboard:Updating_The_Software


thanks & regards
sagar

On Sun, Mar 1, 2015 at 10:45 PM, Gerald Coley 
wrote:

> Well why not go here.
>
> http://beagleboard.org/latest-images
> http://beagleboard.org/getting-started
>
> Gerald
>
> On Sun, Mar 1, 2015 at 3:08 AM,  wrote:
>
>> Hi Gerald..
>> I deleted the MLO file & I booted from the SD card loaded with Angstrom
>> Image.. It is working fine...But now what should I do if want to boot from
>> the eMMC storage..
>> If i remove the SD card & if connect the SD card.. now BBB is not
>> connecting & its not showing anything on my computer.. Previously before
>> deleting that MLO file.. i used to connect the board to computer using USB
>> without my SD card on BBB...
>>
>> what should I do
>>
>> Any help much aprreciated
>> Thanks & Regards
>> sagar
>>
>> On Saturday, 25 May 2013 05:58:44 UTC+5:30, Gerald wrote:
>>>
>>>
>>> I have not yet tried it either.
>>>
>>> Just delete the MLO file. And it will not be able to boot. No need to
>>> "erase" it.
>>>
>>> There is another thread going on at the same time with the same
>>> topic.Try searching the list for that one or about a dozen others that have
>>> taken place over the past month for other options.
>>>
>>> Gerald
>>>
>>>
>>> On Fri, May 24, 2013 at 7:23 PM,  wrote:
>>>
 HI Gerald,

 I have tried that already, and it doesn't work. I will try to boot from
 the SD card with that image, but I cannot connect to the board (ssh to the
 board).

 I think I will try ubuntu or something else. By the way, while I have
 you, how do you erase the eMMC?

 Jack


 On Friday, May 24, 2013 5:20:08 PM UTC-7, Gerald wrote:

> Try this one. Download is slow and it is not supported. I have no idea
> if it works or not.
>
> http://dominion.thruhere.net/koen/angstrom/beaglebone/Angstr
> om-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.05.24.img.xz
>
> Gerald
>
>
>
> On Fri, May 24, 2013 at 7:17 PM, Gerald Coley 
> wrote:
>
>> OK. Got it. There is no Angstrom image available that you can load
>> that just boots from the SD card.
>>
>> Gerald
>>
>>
>>
>> On Fri, May 24, 2013 at 7:14 PM,  wrote:
>>
>>> Yes I assure you that I have read that page, 3 times actually, and
>>> it's about flashing eMMC, but I want to boot from the SD card.
>>>
>>> On Friday, May 24, 2013 5:08:07 PM UTC-7, Gerald wrote:
>>>
 Have you read this page?

 http://circuitco.com/support/index.php?title=Updating_The_Software

 Gerald


 On Fri, May 24, 2013 at 7:04 PM,  wrote:

> Hi Gerald,
>
> Which file do I download onto my SD card to boot? Say I want to
> use Angstrom, is it the BBB-eMMC-flasher or
> Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-
> 2013.05.24.img.xz
> 
> ?
>
> Also how do I delete the eMMC?
>
> 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/groups/opt_out.
>
>
>



 --
 Gerald

 ger...@beagleboard.org
 g-co...@ti.com
 http://beagleboard.org/
 http://circuitco.com/support/

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

Re: [beagleboard] Re: BBB power led blinking, revived after several power button presses

2015-03-02 Thread David Crawford
I tried booting from an SD Card and got nothing. I tried a different power
supply, and it won't boot.

Really not happy with the BBB as I've only used it a handful of times. It
died after I pressed the Reboot button, which I now know can cause it
issues.

I think I'll buy the RPi2 and not mess around with BeagleBone anymore.

On Thu, Feb 26, 2015 at 11:26 AM, David Crawford 
wrote:

> The power supply I bought is from AdaFruit, which I expected to be well
> suited to my BBB.
>
> I haven't yet tried booting from an SD card, so I'll do that this evening.
>
>
> On Thursday, February 26, 2015, Gerald Coley 
> wrote:
>
>> I suggest you switch to a \different power supply. A good one.
>>
>>
>> http://www.elinux.org/Beagleboard:BeagleBoneBlack#Improper_Power_DownAll_Revisions
>>
>> Gerald
>>
>>
>> On Wed, Feb 25, 2015 at 7:38 PM,  wrote:
>>
>>> My Rev C BBB purchased from Adafruit just died on my in the exact same
>>> way. I can't get it to boot at all whether connected to USB or 5V power
>>> supply.
>>>
>>>
>>>
>>> On Wednesday, February 25, 2015 at 2:02:07 PM UTC-5, Mike Traynor wrote:

 Thx.  Will try another PS if I can find one.  Otherwise will have to
 stick with USB for now.  M.

 On Wed, Feb 25, 2015 at 9:07 AM, Gerald Coley 
 wrote:

> I have seen this before. The USB path and 5VDC paths are different
> through the PMIC. It is possible that the PMIC has sustained some damage 
> or
> it could be the 5VDC power supply is not powering up properly, where it 
> has
> a voltage spike, causing the PMIC to shutdown.
>
> Past performance of power supplies is no guarantee of future
> performance. It could be right on the edge.
>
> Gerald
>
> On Wed, Feb 25, 2015 at 10:27 AM,  wrote:
>
>> Identical problem this morning:  BBB boots fine when powered by USB,
>> but not when powered by a 2.0 mA rated 5.0 V DC power supply (nicked from
>> some other device).  BBB power LED blinks continuously.  This power 
>> supply
>> has worked with this BBB in the past.
>>
>> Mike.
>>
>>
>> On Friday, January 23, 2015 at 8:44:59 PM UTC-8, 1127...@gmail.com
>> wrote:
>>>
>>> I had a similar problem- my power LED would just continue blinking
>>> when connected to a 5V power source. This meant there was something 
>>> wrong.
>>> First, I checked if my BBB was still alive. To find that, I connected my
>>> board to a computer via USB. Surprisingly, this time power LED  turned 
>>> on
>>> normally. Then to make sure that everything was properly, I ran some
>>> program as given in the BB website http://beagleboard.org
>>> /getting-started.  I was happy to see, the programs on the website
>>> worked just fine on my board. Thus, I was able to conclude that 
>>> strangely,
>>> my BBB board didn't like 5V external power source!
>>>
>>> On Friday, November 22, 2013 at 6:41:41 AM UTC-8, Bert Lindner wrote:


 Just had a 5V powered Beaglebone Black seemingly die on me. First
 the power led kept blinking, then after removing the (BB Toys CAN) 
 cape the
 power led would flash just once after applying power. Looking back in
 previous threads this seemed to mean I killed the board somehow; there 
 was
 also a GPS module attached to one of the UARTs and a probably power 
 hungry
 USB wlan stick that I'm trying to get to work, so a power hungry setup.

 I was ready to declare it dead, it remained just flashing once
 after repeatedly unplugging and reattaching the power supply.

 However I noticed the single power led flash would also happen if I
 pressed the power button (leaving the 5V plug in). Doing that 
 repeatedly
 seems to have revived the board, will see if new problems occur. For 
 now it
 behaves normally.

 Is this expected behaviour?

 Best,

 -Bert

  --
>> 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.
>>
>
>
>
> --
> Gerald
>
> ger...@beagleboard.org
> http://beagleboard.org/
> http://circuitco.com/support/
>
> --
> 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/jBFshjlPeHI/unsubscribe.
> To unsubscribe from this g

[beagleboard] micro HDMI connector on BBB headers

2015-03-02 Thread duartecarona

Hi Guys,

Does anyone knows if it is possible to connect a micro HDMI connector 
directly in the BBB headers instead of using the built in connector? 

The idea is to have a board connected on the BBB headers that has that 
connector.

Thank you.

Regards,
Duarte

-- 
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: [android-porting] Re: OMAP CAMERA HAL for android on beagle.

2015-03-02 Thread Amit Pundir
On 27 February 2015 at 17:27, ankit busha  wrote:
> hello all,
> i need to understand CameraHAL from scrach. I know about complete v4l2 api
> specifications. So can u guide me from where i should start and what and all
> are resources to get started?
>

This is quiet an old wiki page
http://processors.wiki.ti.com/index.php/TI-Android-DevKit-Camera_Porting_Guide
but it should be able to get you started.

Regards,
Amit Pundir

> On Thursday, March 26, 2009 at 12:11:40 PM UTC+5:30, Harishkumar V wrote:
>>
>> Hi,
>>
>> I have android running on beagle (2.6.27) took from git tree from android
>> porting to beagle wikipage.
>>
>> Now, i have usb camera connected to beagle board. its been detected by
>> driver.
>>
>> v4l-info confirms the lower interface.
>>
>> i want to use webcam with android.
>>
>> So, i went android-src/frameworks/base/camera/libcameraservice,
>>
>> Here, we can replace normal check pattern by camera hal driver
>> (libcamera.so).
>>
>> Where to get this camera hal for omap.
>>
>> so that libcamera service uses this camera library instead of fake camera.
>>
>> Is  it available. is android supports webcam and v4l2 driver interface.
>>
>> Any links regarding this.
>>
>> Regards,
>> HarishKumar.V
>
> --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+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: BBBAndroid: AOSP 4.4.4 (KitKat) with 3.8 kernel

2015-03-02 Thread nventawires

Hi Andrew,
i found your git very usefull. Can you give me some information on how to 
create .img files and boot android copletly from eMMC? Something like 
2net.co does here: 

https://github.com/csimmonds/bbb-android-device-files/tree/kk4.4-fastboot

Thank you in advance. 

Regards,
Gianmaria

Il giorno giovedì 15 gennaio 2015 05:01:32 UTC+1, Andrew Henderson ha 
scritto:
>
> I don't have the various cape .dtbo overlay files copied into the image 
> (aside from those statically built into the am335x-boneblack.dtb file in 
> the "dtbs" directory of the boot (first) partition.  To add any overlays to 
> your system, copy the necessary .dtbo files into /system/vendor/firmware 
> directory of the rootfs (second) partition.  You can automatically load the 
> overlay on boot by adding the appropriate commands to the 
> init.{ro.hardware}.rc file in the root directory of the rootfs partition. 
>  Just look in that file for the "BBBAndroid" comments and read them to see 
> how to do this.
>
> After the overlay loading command, you can add commands to chmod the 
> permissions on the appropriate files in the /dev filesystem to relax the 
> permissions on the UART tty files to allow apps to access them.  Just look 
> in the init.{ro.hardware}.rc file for some examples (I chmod /dev/spidev* 
> and the /dev/i2c* devices, for example). Ideally, you'd have a manager 
> access such hardware resources on your behalf via the Android HAL.  But, 
> for prototyping, it isn't a big deal to open these devices up and let apps 
> talk to them directly via JNI.
>
> This is probably a good time to mention that I've recently put together a 
> book which covers all the details involved in creating Android apps that 
> talk directly to hardware.  It is "Android Hardware Interfacing with the 
> BeagleBone Black" from Packt Publishing, and it is scheduled to go to print 
> next month: 
> https://www.packtpub.com/hardware-and-creative/android-hardware-interfacing-beaglebone-black
>
> So, if you're still fighting with the details a few weeks from now, there 
> will actually be a reference book to help you out (using BBBAndroid, too!).
>
> On Tuesday, January 13, 2015 at 4:29:20 PM UTC-5, ti...@emailbx.com wrote:
>>
>> Thanks a lot for creating this.
>> I have got this image and the BBB now is running using a 4DLcd 7". 
>> For my experiments, i'm trying to use UART4 (as it's available in the 
>> headers of the LCD) so i installed an apk for serial testing 
>> http://code.google.com/p/android-serialport-api/ but when I try to send 
>> some info  I get the error "You do not have read/write permission to the 
>> serial port"
>>
>> I read that i have to enable muxing on the pins to enable uart4. How can 
>> I do that in you image?
>>
>> Any info is appreciated.
>>
>> Thx
>>
>> On Saturday, November 15, 2014 at 3:25:58 PM UTC-6, Andrew Henderson 
>> wrote:
>>>
>>> I have built a new microSD card image for BBBAndroid 
>>> (bbbandroid_111514.img), and it is now available for download.  Just follow 
>>> the link at bbbandroid.org to download it.
>>>
>>> In this build, USB ADB support is working just fine.  I've been able to 
>>> connect with the BBB using both command-line ADB and ADB through the 
>>> Eclipse ADT under both Windows and Linux.  You can push/pull files, 
>>> install/reinstall apps, get logcat output, shell, etc. using the USB cable 
>>> that came with your BBB board.  If you want a root shell on Android, the 
>>> ADB shell is the way to go.
>>>
>>> I changed the USB ID to 18D1:4E23 for the BBB device when BBBAndroid is 
>>> being used.  These are the same USB vendor and device IDs as a Google Nexus 
>>> S.  The reason that I changed this is to make life much easier for the 
>>> Windows users.  Each phone vendor provides their own drivers for USB ADB, 
>>> and it was difficult for the Windows users to get the drivers set up 
>>> properly.  This should make things much easier for them.  Linux users never 
>>> had a problem with it, since their USB ADB worked right out of the box.
>>>
>>> I also shrunk the image to 7.6 GB to accommodate everyone that was 
>>> having difficulty writing the 8 GB image to their microSD cards that were 
>>> actually a little bit smaller than 8 GB.
>>>
>>> Andrew
>>>
>>>
>>> On Sunday, September 28, 2014 11:14:24 AM UTC-4, Andrew Henderson wrote:

 Hello all. I have released a new port of Android for the BBB.  This 
 version uses AOSP 4.4.4 (KitKat) and the 3.8 Linux kernel. I have made 
 build instructions and a pre-made image available at 
 http://www.bbbandroid.org.  I use a combination of AOSP repos and 
 Rowboat build scripts, and I have a few custom repos for the kernel, 
 bootloader, and additional "external" tools (such as i2c-tools).  You can 
 view the repo manifest XML file for the project here:


 https://github.com/hendersa/bbbandroid-manifest/blob/master/bbbandroid-aosp-4.4.4_r1-3.8.xml

 Because this Android image uses the 3.8 kernel, you 

[beagleboard] Re: BB black Debian wifi problem

2015-03-02 Thread sven . norinder
One more thing to check is that the firmware is available and gets loaded.
Then it has worked for me.
/Sven

Den måndag 2 mars 2015 kl. 11:17:05 UTC+1 skrev Dajiang He:
>
> Hi,
>
> I have a BB Black RevC with its original Debian OS.
> When I plugged in a Aztech wifi dongle: the dongle's blue light is on.
> when I do lsusb, I can see 
>
> us 001 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 001 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
> Bus 001 Device 006: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 
> 802.11n WLAN Adapter
> Bus 001 Device 005: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
>
> the wifi adapter is detected.
>
> when I do lsmod,
>
> Module  Size  Used by
> binfmt_misc 5377  1 
> g_multi47670  2 
> libcomposite   14299  1 g_multi
> arc41660  2 
> rtl8192cu  73560  0 
> rtlwifi63798  1 rtl8192cu
> rtl8192c_common51523  1 rtl8192cu
> mac80211  411868  3 rtlwifi,rtl8192c_common,rtl8192cu
> cfg80211  344277  2 mac80211,rtlwifi
> rfkill 16656  1 cfg80211
> mt7601Usta601404  0 
>
> it looks like the driver is loaded into OS.
>
> this is my interface file in /etc/networks regarding to wlan0 part
>
> #auto wlan0
>  allow-hotplug wlan0
>  iface wlan0 inet dhcp
>  wpa-driver wext
>  wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
> #nl80211
>
> and wpa_supplicant part
>
> network={
> ap_scan=1
> ssid="myssid"
> psk="**"
> key_mgmt=WPA-PSK2
>
> My problem is I cannot get the wifi connection.
> If I do ifconfig, I can see wlan0.
>
> Can any expert tell me what I missed?
>
>

-- 
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: OMAP CAMERA HAL for android on beagle.

2015-03-02 Thread ankit busha
hello all,
i need to understand CameraHAL from scrach. I know about complete v4l2 api 
specifications. So can u guide me from where i should start and what and 
all are resources to get started?

On Thursday, March 26, 2009 at 12:11:40 PM UTC+5:30, Harishkumar V wrote:
>
> Hi,
>
> I have android running on beagle (2.6.27) took from git tree from android 
> porting to beagle wikipage.
>
> Now, i have usb camera connected to beagle board. its been detected by 
> driver.
>
> v4l-info confirms the lower interface.
>
> i want to use webcam with android.
>
> So, i went android-src/frameworks/base/camera/libcameraservice,
>
> Here, we can replace normal check pattern by camera hal driver 
> (libcamera.so).
>
> Where to get this camera hal for omap.
>
> so that libcamera service uses this camera library instead of fake camera.
>
> Is  it available. is android supports webcam and v4l2 driver interface.
>
> Any links regarding this.
>
> Regards,
> HarishKumar.V
>

-- 
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] Audio Cape with Beaglebone Black

2015-03-02 Thread Carl Johnson
I did a quick google search and nothing obvious jumped out. You might be better 
off using a USB microphone, which are cheap and readily available.

> On Mar 1, 2015, at 10:47 PM, Zainab S.V  wrote:
> 
> But, do we have to manually solder this amplifier and mic?I mean, is there 
> any prebuilt device that amplifies the mic-recorded signals?
> 
>> On Sat, Feb 28, 2015 at 7:02 PM, Carl Johnson  wrote:
>> I used a MAX9812 amplifier chip and an electret condenser microphone.  Works 
>> really well.
>> 
>>> On Feb 25, 2015, at 12:13 AM, sns  wrote:
>>> 
>>> does using this audio dongle allow to record sound with microphone without 
>>> biasing?
>>> 
 On Saturday, May 4, 2013 at 5:04:28 AM UTC+5:30, Carl Johnson wrote:
 I have an audio cape that worked well with the original BeagleBone, 
 although I'm struggling to get it to work with the BeagleBone Black.  I'm 
 running the latest 3.8.11 Angstrom release, and the logs show that it 
 loads the device tree OK but for some reason it isn't recognized as an 
 alsa device.  I'll post an update if I get it working.
 
 I'm also using this audio dongle on the BeagleBone Black, which works 
 quite well in alsa.  It only has a mono microphone input though.
>>> 
>>> 
>>> -- 
>>> 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/ZJGwxA7BG4E/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/ZJGwxA7BG4E/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/ZJGwxA7BG4E/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] Re: Reading from ADC hangs

2015-03-02 Thread malaakso


On Thursday, February 26, 2015 at 5:18:51 PM UTC+2, dajia...@gmail.com 
wrote:
>
> Hi,
>
> How come in my system, there is no /sys/bus/iio/devices/iio:device0?
> Under /sys/bus/iio/devices/, there is only one file iio_sysfs_trigger, 
> which is a symbolic link to some other directory.
> Is there any configuration I need to do?
> I am using the latest BB black Rev C by Element14. It is OS is 
> 3.8.13-bone47.
>
> Thx.
>

Hi,

You need to enable the ADC either by enabling the correct "cape" with 
capemgr (only in kernel 3.8.*, see e.g. 
http://hipstercircuits.com/reading-analog-adc-values-on-beaglebone-black/), 
or by enabling it in the .dts-file (later kernels, such as the 3.18.4 which 
I'm using).

Matti
 

>
> On Wednesday, February 25, 2015 at 8:36:18 PM UTC+8, mala...@elisanet.fi 
> wrote:
>>
>> Thanks for the suggestion. I'll keep that in mind if I need higher 
>> sampling rates. However, I did find a way to read ADC through IIO so that 
>> it doesn't hang.
>>
>> First set up the channels and the buffer through sysfs:
>>
>> echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en
>> echo 256 > /sys/bus/iio/devices/iio\:device0/buffer/length
>> echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable
>>
>> and then read from /dev/iio:device0. This way I can achieve about 8 kHz 
>> sampling rate with a single channel, 4 kHz with two channels and down to 
>> ~300 Hz with all eight channels.
>>
>

-- 
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: Reading from ADC hangs

2015-03-02 Thread dajiang . he
Hi,

by issuing command: echo cape-bone-iio > /sys/devices/bone_capemgr.9/slots,
now i can see iio:device0.

However, when I ran
echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en
echo 256 > /sys/bus/iio/devices/iio\:device0/buffer/length
echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable
The last one always fails with echo write error: invalid argument.

On Friday, February 27, 2015 at 12:12:58 AM UTC+8, cmbaker3 wrote:
>
>  What cape did you load?
> When I reboot, I see as you did
> >: ls -als /sys/bus/iio/devices/
> total 0
> 0 drwxr-xr-x 2 root root 0 Dec 31  1999 .
> 0 drwxr-xr-x 4 root root 0 Dec 31  1999 ..
> 0 lrwxrwxrwx 1 root root 0 Dec 31  1999 iio_sysfs_trigger -> 
> ../../../devices/iio_sysfs_trigger
>
> After I
> echo cape-bone-iio > /sys/devices/bone_capemgr.9/slots
> then I see
> >: ls -als /sys/bus/iio/devices/
> total 0
> 0 drwxr-xr-x 2 root root 0 Dec 31  1999 .
> 0 drwxr-xr-x 4 root root 0 Dec 31  1999 ..
> 0 lrwxrwxrwx 1 root root 0 Feb 26 10:07 iio:device0 -> 
> ../../../devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0
> 0 lrwxrwxrwx 1 root root 0 Dec 31  1999 iio_sysfs_trigger -> 
> ../../../devices/iio_sysfs_trigger
>
> and
> >:  cat /sys/devices/bone_capemgr.9/slots
>  0: 54:PF--- 
>  1: 55:PF--- 
>  2: 56:PF--- 
>  3: 57:PF--- 
>  4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
>  5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
>  6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
>  7: ff:P-O-L Override Board Name,00A0,Override Manuf,cape-bone-iio
>
> Chad
>
>
> On 2/26/2015 4:03 AM, dajia...@gmail.com  wrote:
>  
> Hi, 
>
>  How come in my system, there is no /sys/bus/iio/devices/iio:device0?
> Under /sys/bus/iio/devices/, there is only one file iio_sysfs_trigger, 
> which is a symbolic link to some other directory.
> Is there any configuration I need to do?
> I am using the latest BB black Rev C by Element14. It is OS is 
> 3.8.13-bone47.
>
>  Thx.
>
> On Wednesday, February 25, 2015 at 8:36:18 PM UTC+8, mala...@elisanet.fi 
> wrote: 
>>
>> Thanks for the suggestion. I'll keep that in mind if I need higher 
>> sampling rates. However, I did find a way to read ADC through IIO so that 
>> it doesn't hang.
>>
>> First set up the channels and the buffer through sysfs:
>>
>> echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en
>> echo 256 > /sys/bus/iio/devices/iio\:device0/buffer/length
>> echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable
>>
>> and then read from /dev/iio:device0. This way I can achieve about 8 kHz 
>> sampling rate with a single channel, 4 kHz with two channels and down to 
>> ~300 Hz with all eight channels.
>>  
>  -- 
> 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] Re: Reading from ADC hangs

2015-03-02 Thread dajiang . he
Hi

following ur guide, it almost worked.

However, when issuing command

echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable
>
System gives me error: echo: wrrite error: Invalid argument 
I already use root to issue to command, and strangely "echo 1 > 
/sys/bus/iio/devices/iio\:device0/buffer/length" worked.


On Friday, February 27, 2015 at 12:12:58 AM UTC+8, cmbaker3 wrote:
>
>  What cape did you load?
> When I reboot, I see as you did
> >: ls -als /sys/bus/iio/devices/
> total 0
> 0 drwxr-xr-x 2 root root 0 Dec 31  1999 .
> 0 drwxr-xr-x 4 root root 0 Dec 31  1999 ..
> 0 lrwxrwxrwx 1 root root 0 Dec 31  1999 iio_sysfs_trigger -> 
> ../../../devices/iio_sysfs_trigger
>
> After I
> echo cape-bone-iio > /sys/devices/bone_capemgr.9/slots
> then I see
> >: ls -als /sys/bus/iio/devices/
> total 0
> 0 drwxr-xr-x 2 root root 0 Dec 31  1999 .
> 0 drwxr-xr-x 4 root root 0 Dec 31  1999 ..
> 0 lrwxrwxrwx 1 root root 0 Feb 26 10:07 iio:device0 -> 
> ../../../devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0
> 0 lrwxrwxrwx 1 root root 0 Dec 31  1999 iio_sysfs_trigger -> 
> ../../../devices/iio_sysfs_trigger
>
> and
> >:  cat /sys/devices/bone_capemgr.9/slots
>  0: 54:PF--- 
>  1: 55:PF--- 
>  2: 56:PF--- 
>  3: 57:PF--- 
>  4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
>  5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
>  6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
>  7: ff:P-O-L Override Board Name,00A0,Override Manuf,cape-bone-iio
>
> Chad
>
>
> On 2/26/2015 4:03 AM, dajia...@gmail.com  wrote:
>  
> Hi, 
>
>  How come in my system, there is no /sys/bus/iio/devices/iio:device0?
> Under /sys/bus/iio/devices/, there is only one file iio_sysfs_trigger, 
> which is a symbolic link to some other directory.
> Is there any configuration I need to do?
> I am using the latest BB black Rev C by Element14. It is OS is 
> 3.8.13-bone47.
>
>  Thx.
>
> On Wednesday, February 25, 2015 at 8:36:18 PM UTC+8, mala...@elisanet.fi 
> wrote: 
>>
>> Thanks for the suggestion. I'll keep that in mind if I need higher 
>> sampling rates. However, I did find a way to read ADC through IIO so that 
>> it doesn't hang.
>>
>> First set up the channels and the buffer through sysfs:
>>
>> echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en
>> echo 256 > /sys/bus/iio/devices/iio\:device0/buffer/length
>> echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable
>>
>> and then read from /dev/iio:device0. This way I can achieve about 8 kHz 
>> sampling rate with a single channel, 4 kHz with two channels and down to 
>> ~300 Hz with all eight channels.
>>  
>  -- 
> 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] IR remote to WIFI enabled DVD player

2015-03-02 Thread dnd_pirkey
I'd watch more on Youtube, etc. but popping around on the DVD's letter menu 
to enter info. is too tedious.  Is it possible to program one of these 
devices to do that? I don't own a smartphone and am not interested in 
getting one. I'd like this application to be a once-and-done.

Is it possible something like this is already out there, like a smart 
keyboard? 

Thanks.

Sorry if this is the wrong forum page.

-- 
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] Beaglebone choppy graphic

2015-03-02 Thread Vincent
Dear All,

I'd like to use the BBB to setup a web user interface. To start with the 
evaluation, I have the new BBB on my desk with Debian Wheezy installed. To 
make it simple, I installed X11VNC and want to test the web performance 
using a VNC viewer. All of them are in LAN.

Once I launched the VNC viewer, I got my default LXDE. Then I use the 
default chromium to show my page (and other test pages through google).

I found the response on the UI quite choppy and unsmooth. I've been google 
about this topic. Some people said the built in GPU could not be utilized 
in rendering the graphics and all the loads are relying on the CPU. Is it 
true? How could it be fixed?

Some said it's due to VNC, but I do have everything connected under LAN

Or in other words, could you recommend the right linux build, desktop 
environment, browser and settings so that I can get the web browsing smooth?

Thanks a lot for your input!

-- 
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: archive keyring on elinux is "not found"

2015-03-02 Thread ivo welch
makes sense (not to have a simple "latest" when there are many
different kernels).

on the webpage, are these instructions still recommended?

  cd /opt/scripts/tools/
  git pull
  sudo ./update_kernel.sh
  sudo reboot

I would at least note that there is an apt-get alternative for the
following x kernsl.

/iaw

PS:  (right now, I am wondering why the module usb-core is not
loading, which presumably is why I am not getting lsusb
identification.)

-- 
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: archive keyring on elinux is "not found"

2015-03-02 Thread Robert Nelson
On Mon, Mar 2, 2015 at 12:20 PM, ivo welch  wrote:
> makes sense (not to have a simple "latest" when there are many
> different kernels).
>
> on the webpage, are these instructions still recommended?
>
>   cd /opt/scripts/tools/
>   git pull
>   sudo ./update_kernel.sh
>   sudo reboot
>
> I would at least note that there is an apt-get alternative for the
> following x kernsl.

Well It's "recommended" for the original "may 2014" release.

So till CircuitCo and http://beagleboard.org/latest-images update to a
recent image, then it'll probably disappear, as the complexity goes
up.

But there's no reason someone else can't write up a script to parse
all the options. ;)

>
> /iaw
>
> PS:  (right now, I am wondering why the module usb-core is not
> loading, which presumably is why I am not getting lsusb
> identification.)

Your powering by 5 Volt Dc jack right

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

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


[beagleboard] Re: BBB has network unavailible

2015-03-02 Thread Graham
Go to:

http://beagleboard.org/getting-started

Find the section titled:

"Update board with latest software"
and follow the instructions to reload the software into the eMMC.

You will need a microSD card of at least 4 GB, and I recommend 8 GB or 
more, but not larger than 32 GB.

You will need a microSD card reader/writer for your host computer.

--- Graham

==

On Sunday, March 1, 2015 at 11:12:28 AM UTC-6, arie.murra...@gmail.com 
wrote:
>
> Hello,
>
> I was running an upgrade on on my BBB when the power failed. After that 
> apt-get was giving me several errors on some packages: open ssh-server, 
> dbus-x11, apache2.2-common, rsyslog, apache2, apache2-mpm-worker. So I 
> tried fixing things myself but think I deleted them. Now I can't connect to 
> the BBB at all. I was able to start it with a monitor and get a terminal, 
> since the graffics won't load. But nothing with network works, so I don't 
> know how to re-install anything. What can I do to get my system running 
> again? I don't have any files that I need to keep.
> 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] micro HDMI connector on BBB headers

2015-03-02 Thread Gerald Coley
You can try that but I would be surprised if it works without removing the
circuity on the BBB.

Gerald

On Mon, Mar 2, 2015 at 11:01 AM,  wrote:

>
> Hi Guys,
>
> Does anyone knows if it is possible to connect a micro HDMI connector
> directly in the BBB headers instead of using the built in connector?
>
> The idea is to have a board connected on the BBB headers that has that
> connector.
>
> Thank you.
>
> Regards,
> Duarte
>
> --
> 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.
>



-- 
Gerald

ger...@beagleboard.org
http://beagleboard.org/
http://circuitco.com/support/

-- 
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] Getting GPMC to run on 3.14

2015-03-02 Thread jpiat
Hi,

i'am trying to integrate a cape configuration in the newer 3.14 kernel with 
little success for now. My cape (FPGA-based LOGI-Bone) uses the GPMC for 
communication and it worked great in 3.8 with the device-tree overlay, but 
it now fails with 3.14 and the bootloaded dtb files. I got my device-tree 
dtsi and dts files for boneblack and bone to compile fine but the GPMC does 
not seem to be running. There are three potential problems that can prevent 
the GPMC to work :

- pinmux is not loaded
- gpmc is not configured
- device-tree configuration conflicts with another peripheral (i have non 
loaded the eMMC in the dts file).

>From wjat i unerstand, my pingmux is recognised by the kernel as it appears 
in /proc/device-tree/pinmux@44e10800. When doing some dmesg, i found out 
that nothing concerning the gpmc configuration or the gpmc pinmux prints in 
the logs. I must be doing something wrong, but i'am out of solutions. 
Anyone can help ?

Regards,

Jonathan Piat


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


am335x-bone-logibone-r1.dtsi
Description: Binary data


[beagleboard] Re: How to get Linux command line?

2015-03-02 Thread Curt Carpenter
I'm running Debian on my BBW with a USB connection to my Windows XP PC.  I 
can use Hyperterminal to log into the BBW via the COM10 port which is 
created for me when I load the drivers for my BBW.  The port is set for 
9600 baud, 8 data bits, 1 stop bit, no parity.  You should be able to use 
this link in your C programs without too much trouble.  

Hope that's helpful. (I also use Putty.exe to interact with the BBW from my 
keyboard.  It provides a better command line interface IMHO.)

On Monday, February 23, 2015 at 9:33:46 AM UTC-6, ranandar...@gmail.com 
wrote:
>
> Long time embedded developer, first time with Beagle Board Black.
> How do I get the serial Linux command line like other Linux SBC?
> Is it possible through the USB connectors or do I need additional 
> hardware? A special cable as someone suggested?
> I want to program using C, but cannot find information besides using 
> Javascript with a HTML interface.
> Please provide links to any pertinent information. 
> 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: Reading from ADC hangs

2015-03-02 Thread malaakso
Hi,

On Monday, March 2, 2015 at 8:04:40 PM UTC+2, Dajiang He wrote:
>
> Hi
>
> following ur guide, it almost worked.
>
> However, when issuing command
>
> echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable
>>
> System gives me error: echo: wrrite error: Invalid argument 
> I already use root to issue to command, and strangely "echo 1 > 
> /sys/bus/iio/devices/iio\:device0/buffer/length" worked.
>
>
Does your kernel present /sys/bus/iio/devices/iio\:device0/mode ? If it 
does, try issuing "echo continuous > /sys/bus/iio/devices/iio\:device0/mode" 
and then try to enable buffer again.

Matti
 

>
> On Friday, February 27, 2015 at 12:12:58 AM UTC+8, cmbaker3 wrote:
>>
>>  What cape did you load?
>> When I reboot, I see as you did
>> >: ls -als /sys/bus/iio/devices/
>> total 0
>> 0 drwxr-xr-x 2 root root 0 Dec 31  1999 .
>> 0 drwxr-xr-x 4 root root 0 Dec 31  1999 ..
>> 0 lrwxrwxrwx 1 root root 0 Dec 31  1999 iio_sysfs_trigger -> 
>> ../../../devices/iio_sysfs_trigger
>>
>> After I
>> echo cape-bone-iio > /sys/devices/bone_capemgr.9/slots
>> then I see
>> >: ls -als /sys/bus/iio/devices/
>> total 0
>> 0 drwxr-xr-x 2 root root 0 Dec 31  1999 .
>> 0 drwxr-xr-x 4 root root 0 Dec 31  1999 ..
>> 0 lrwxrwxrwx 1 root root 0 Feb 26 10:07 iio:device0 -> 
>> ../../../devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0
>> 0 lrwxrwxrwx 1 root root 0 Dec 31  1999 iio_sysfs_trigger -> 
>> ../../../devices/iio_sysfs_trigger
>>
>> and
>> >:  cat /sys/devices/bone_capemgr.9/slots
>>  0: 54:PF--- 
>>  1: 55:PF--- 
>>  2: 56:PF--- 
>>  3: 57:PF--- 
>>  4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
>>  5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
>>  6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
>>  7: ff:P-O-L Override Board Name,00A0,Override Manuf,cape-bone-iio
>>
>> Chad
>>
>>
>> On 2/26/2015 4:03 AM, dajia...@gmail.com wrote:
>>  
>> Hi, 
>>
>>  How come in my system, there is no /sys/bus/iio/devices/iio:device0?
>> Under /sys/bus/iio/devices/, there is only one file iio_sysfs_trigger, 
>> which is a symbolic link to some other directory.
>> Is there any configuration I need to do?
>> I am using the latest BB black Rev C by Element14. It is OS is 
>> 3.8.13-bone47.
>>
>>  Thx.
>>
>> On Wednesday, February 25, 2015 at 8:36:18 PM UTC+8, mala...@elisanet.fi 
>> wrote: 
>>>
>>> Thanks for the suggestion. I'll keep that in mind if I need higher 
>>> sampling rates. However, I did find a way to read ADC through IIO so that 
>>> it doesn't hang.
>>>
>>> First set up the channels and the buffer through sysfs:
>>>
>>> echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en
>>> echo 256 > /sys/bus/iio/devices/iio\:device0/buffer/length
>>> echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable
>>>
>>> and then read from /dev/iio:device0. This way I can achieve about 8 kHz 
>>> sampling rate with a single channel, 4 kHz with two channels and down to 
>>> ~300 Hz with all eight channels.
>>>  
>>  -- 
>> 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: BB black Debian wifi problem

2015-03-02 Thread Dajiang He
I think the firmware is loaded, the following is the syslog when the wifi 
dongle is plugged in

Mar  3 14:03:47 beaglebone kernel: [426986.157795] usb 1-1.3: new 
high-speed USB device number 10 using musb-hdrc
Mar  3 14:03:47 beaglebone kernel: [426986.238721] usb 1-1.3: default 
language 0x0409
Mar  3 14:03:47 beaglebone kernel: [426986.239497] usb 1-1.3: udev 10, 
busnum 1, minor = 9
Mar  3 14:03:47 beaglebone kernel: [426986.239543] usb 1-1.3: New USB 
device found, idVendor=0bda, idProduct=8178
Mar  3 14:03:47 beaglebone kernel: [426986.239583] usb 1-1.3: New USB 
device strings: Mfr=1, Product=2, SerialNumber=3
Mar  3 14:03:47 beaglebone kernel: [426986.239618] usb 1-1.3: Product: 
802.11n WLAN Adapter
Mar  3 14:03:47 beaglebone kernel: [426986.239651] usb 1-1.3: Manufacturer: 
Realtek
Mar  3 14:03:48 beaglebone kernel: [426986.239683] usb 1-1.3: SerialNumber: 
00e04c01
Mar  3 14:03:48 beaglebone kernel: [426986.241043] usb 1-1.3: 
usb_probe_device
Mar  3 14:03:48 beaglebone kernel: [426986.241095] usb 1-1.3: configuration 
#1 chosen from 1 choice
Mar  3 14:03:48 beaglebone kernel: [426986.243373] usb 1-1.3: adding 
1-1.3:1.0 (config #1, interface 0)
Mar  3 14:03:48 beaglebone kernel: [426986.244042] rtl8192cu 1-1.3:1.0: 
usb_probe_interface
Mar  3 14:03:48 beaglebone kernel: [426986.244092] rtl8192cu 1-1.3:1.0: 
usb_probe_interface - got id
Mar  3 14:03:48 beaglebone kernel: [426986.245335] rtl8192cu: Chip version 
0x11
Mar  3 14:03:48 beaglebone kernel: [426986.354106] rtl8192cu: MAC address: 
00:26:75:7f:d7:7b
Mar  3 14:03:48 beaglebone kernel: [426986.354140] rtl8192cu: Board Type 0
Mar  3 14:03:48 beaglebone kernel: [426986.354242] rtlwifi: rx_max_size 
15360, rx_urb_num 8, in_ep 1
Mar  3 14:03:48 beaglebone kernel: [426986.354395] rtl8192cu: Loading 
firmware rtlwifi/rtl8192cufw.bin
Mar  3 14:03:48 beaglebone kernel: [426986.356190] ieee80211 phy3: Selected 
rate control algorithm 'rtl_rc'
Mar  3 14:03:48 beaglebone kernel: [426986.357973] rtlwifi: wireless switch 
is on

Somehow I guess the problem may be at the wpa configuration part.

On Tuesday, March 3, 2015 at 2:04:34 AM UTC+8, sven.n...@gmail.com wrote:
>
> One more thing to check is that the firmware is available and gets loaded.
> Then it has worked for me.
> /Sven
>
> Den måndag 2 mars 2015 kl. 11:17:05 UTC+1 skrev Dajiang He:
>>
>> Hi,
>>
>> I have a BB Black RevC with its original Debian OS.
>> When I plugged in a Aztech wifi dongle: the dongle's blue light is on.
>> when I do lsusb, I can see 
>>
>> us 001 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 001 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
>> Bus 001 Device 006: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 
>> 802.11n WLAN Adapter
>> Bus 001 Device 005: ID 0461:4d15 Primax Electronics, Ltd Dell Optical 
>> Mouse
>>
>> the wifi adapter is detected.
>>
>> when I do lsmod,
>>
>> Module  Size  Used by
>> binfmt_misc 5377  1 
>> g_multi47670  2 
>> libcomposite   14299  1 g_multi
>> arc41660  2 
>> rtl8192cu  73560  0 
>> rtlwifi63798  1 rtl8192cu
>> rtl8192c_common51523  1 rtl8192cu
>> mac80211  411868  3 rtlwifi,rtl8192c_common,rtl8192cu
>> cfg80211  344277  2 mac80211,rtlwifi
>> rfkill 16656  1 cfg80211
>> mt7601Usta601404  0 
>>
>> it looks like the driver is loaded into OS.
>>
>> this is my interface file in /etc/networks regarding to wlan0 part
>>
>> #auto wlan0
>>  allow-hotplug wlan0
>>  iface wlan0 inet dhcp
>>  wpa-driver wext
>>  wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
>> #nl80211
>>
>> and wpa_supplicant part
>>
>> network={
>> ap_scan=1
>> ssid="myssid"
>> psk="**"
>> key_mgmt=WPA-PSK2
>>
>> My problem is I cannot get the wifi connection.
>> If I do ifconfig, I can see wlan0.
>>
>> Can any expert tell me what I missed?
>>
>>

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