Re: [beagleboard] Reducing Boottime in Beaglebone Black

2021-01-25 Thread Serdar
Hi everybody, it seems 2 years passed from the last message, I hope Robert 
Nelson can see that message and help me too.
I have the similar problem, but mine is a bit different. 
Similar to FLIR, I want to run just one qt app. But I also need TCA8418 
keypad driver, which is not compiled et any of the brebuiled image kernel. 
Therefore, i tried to build my own kernel with that driver selected at the 
configurator. It worked good, but boot time is so much. (2:40). Acording to 
this topic, i understand that reducing this time is a bit difficult if i 
use mine image. If i strt to use IoT image sources, while building my image 
then it would be better. But i can not find any information that tells how 
an IoT iamge is produced. 
By the way, i am not sure the selected way is the correct one. May be 
adding the driver to the prebuild image would be a better choice. But i do 
not know how to do.

Thanks in advance,
18 Temmuz 2018 Çarşamba tarihinde saat 17:57:58 UTC+3 itibarıyla sajeevan k 
şunları yazdı:

> Hi Robert Nelson,
>
> I shall start with v4.14 iot image and build up from it. Thank You very 
> much. 
>
> Thanks & Regards,
> Sajeevan.K
>
>
> On Monday, July 16, 2018 at 8:35:57 PM UTC+5:30, RobertCNelson wrote:
>>
>> On Mon, Jul 16, 2018 at 10:01 AM, sajeevan k  wrote: 
>> > 
>> > Hi Robert Nelson, Dennis Lee & Daniel Kulp, 
>> > 
>> > 
>> > Thank You very much for the reply and support. 
>> > 
>> > I have been little busy with some other tasks. So I couldn't test with 
>> the 
>> > iot image. 
>> > I am hopeful in the idea of starting from iot image and build up from 
>> it. 
>> > 
>> > Will the fix for CVE-2018-1108, affect the normal booting of Beaglebone 
>> > black? Is there a chance that normal applications access random data at 
>> boot 
>> > time? 
>>
>> Even with the fix for that CVE, v4.14.x is still faster then v4.9.x.. 
>> It just use to be 'way' faster.. 
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> https://rcn-ee.com/ 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8f093665-2b33-4da4-89e5-9e2d2fbaaef9n%40googlegroups.com.


[beagleboard] I2C problems

2021-01-25 Thread Astrid Hochart
Hello everyone,

I'm new to this subject but I'm trying to collect temperature data from 
this sensor : https://www.mikroe.com/thermo-9-click by using Python and a 
BeagleBone Black Rev C. The BBB is new and I don't have any SD card so I 
flashed nothing on it. My problem is that when I connect the sensor (where 
I moved the resistance to allow I2C mode) the BBB detects nothing : do you 
have any idea why ? Should I "enable" I2C pins ? 

I'll be grateful if someone can help me.

Best 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/307d5c0a-d2ff-4f0a-a914-67ad2e4fdf92n%40googlegroups.com.


Re: [beagleboard] I2C problems

2021-01-25 Thread Vinicius Juvinski
Hi

You need to load a dtb to enable the i2c
Edit uEnv.txt file and uncomment #u_boot_overlay_addr1 and add instead 
.dtbo add BB-I2CX-00A0.dtb where x is the i2c 1 or 2 according the port 
you are using. 

Sent from my iPhone


> Em 25 de jan. de 2021, à(s) 10:38, Astrid Hochart  
> escreveu:
> 
> Hello everyone,
> 
> I'm new to this subject but I'm trying to collect temperature data from this 
> sensor : https://www.mikroe.com/thermo-9-click by using Python and a 
> BeagleBone Black Rev C. The BBB is new and I don't have any SD card so I 
> flashed nothing on it. My problem is that when I connect the sensor (where I 
> moved the resistance to allow I2C mode) the BBB detects nothing : do you have 
> any idea why ? Should I "enable" I2C pins ? 
> 
> I'll be grateful if someone can help me.
> 
> Best 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/307d5c0a-d2ff-4f0a-a914-67ad2e4fdf92n%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CB31E0E9-5C7B-4718-AA47-4603A0770CA7%40gmail.com.


Re: [beagleboard] I2C problems

2021-01-25 Thread Steve Lentz
Astrid:

I debugged an I2C bus just recently - I had 3 devices, a DS3231 real time 
clock, a BME680 environmental sensor and a BNO055 inertial motion unit.  I had 
a lot of trouble with the last one.

Two suggestions:

First, use the i2cdetect and i2cdump utilities.  The basic commands to check 
i2C bus 2 (pins P9_19 and P9_20) are:

I2cdetect -l
I2cdetect -r 2

You can google "i2cdetect BBB” to find more info.  Using these rules out any 
problems with Python.  If your device is not showing up, check your wiring. If 
it is showing up and i2cdump works too, then you may want to check the python 
libraries.

Second, if you have access to an oscilloscope, use it to check SDA and SCL.  My 
BNO was appearing in i2cdetect and working intermittently in Python.  When I 
looked at it with the ’scope, it was clear that low to high transitions on SDA 
where taking far too long.  A 1KΩ pull-up resistor fixed this (add it close to 
the sensor between SDA and 3V3).  If you don’t have a scope, try adding the 
pull up resistor.  My devices each had a 10KΩ pull up, but this was not enough. 
 Be careful that the combined load does not exceed the 6 mA the BBB pins can 
safely sink.  

In case you need it, here’s the full list of python libraries I installed.  The 
first one is included in a fresh install, but check to see if it needs 
upgrading.  You can ignore the last 3 and use the one for your sensor instead.  
Nothing else is needed.  There is a lot of old information still posted; these 
should work on a fresh install.  Note the odd underscore in lis3dh is correct.  

sudo pip3 install Adafruit_BBIO -U
sudo pip3 install adafruit_circuitpython-lis3dh
sudo pip3 install adafruit-circuitpython-busdevice
sudo pip3 install adafruit-circuitpython-register
sudo pip3 install adafruit-circuitpython-ds3231
sudo pip3 install adafruit-circuitpython-bme680
sudo pip3 install adafruit-circuitpython-bno055

Hope this helps,

-Steve



> On Jan 25, 2021, at 8:06 AM, Astrid Hochart  wrote:
> 
> Hello everyone,
> 
> I'm new to this subject but I'm trying to collect temperature data from this 
> sensor : https://www.mikroe.com/thermo-9-click by using Python and a 
> BeagleBone Black Rev C. The BBB is new and I don't have any SD card so I 
> flashed nothing on it. My problem is that when I connect the sensor (where I 
> moved the resistance to allow I2C mode) the BBB detects nothing : do you have 
> any idea why ? Should I "enable" I2C pins ? 
> 
> I'll be grateful if someone can help me.
> 
> Best 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/307d5c0a-d2ff-4f0a-a914-67ad2e4fdf92n%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/26B1FAB2-B2A3-4E06-BAA6-3115856BB5AB%40gmail.com.


Re: [beagleboard] I2C problems

2021-01-25 Thread Steve Lentz
Then it is safe to add 1K.  My devices have 10K and did not work until I added 
the 1K resistors.

I checked in on a scope and adding 1K fixed the waveform.

-Steve



> On Jan 25, 2021, at 10:49 AM, Astrid Hochart  wrote:
> 
> I just checked and they already have pull up resistors of 4.7 kohms.
> 
> Astrid Hochart
> Product developer - QZabre LLC
> www.qzabre.com 
> 
> 
> On Mon, Jan 25, 2021 at 4:42 PM Steve Lentz  > wrote:
> Here is the diagram for my i2c device.  This shows where the pull-up 
> resistors are added.  You will need something similar.  
> 
> But first check the documentation for the thermo-click to see if it already 
> has pull-up resistors.  It may have 2K, 5K, 10K already.  Don’t allow the 
> parallel resistance to go below 500 ohms.   
> 
> 
> 
>> On Jan 25, 2021, at 10:32 AM, Astrid Hochart > > wrote:
>> 
>> Hello !
>> 
>> Thank you for your reply. So I need to have a wire from Pin19 to a 
>> resistance and then another wire from the resistance to SCL pin of my sensor 
>> ? (and same for SDA and pin 20) 
>> 
>> Astrid Hochart
>> Product developer - QZabre LLC
>> www.qzabre.com 
>> 
>> 
>> On Mon, Jan 25, 2021 at 3:59 PM evilwulfie > > wrote:
>> You also need pull up resistors on the I2C lines
>> 
>> On 1/25/2021 7:46 AM, Astrid Hochart wrote:
>>> 19 and 20 as mentioned on the pins description !
>>> 
>>> Astrid Hochart
>>> Product developer - QZabre LLC
>>> www.qzabre.com 
>>> 
>>> 
>>> On Mon, Jan 25, 2021 at 3:44 PM Vinicius Juvinski 
>>> mailto:vinicius.juvin...@gmail.com>> wrote:
>>> Hi Astrid,
>>> 
>>> where are you hooking your sensor ? What pins are you using?
>>> 
>>> Em seg., 25 de jan. de 2021 às 11:39, Astrid Hochart >> > escreveu:
>>> 
>>> Hello Vinicius,
>>> 
>>> Thank you for your email. I tried what you said but I still detect nothing. 
>>> Is it the line with addr0 or addr1 that I should change ?
>>> 
>>> Astrid Hochart
>>> Product developer - QZabre LLC
>>> www.qzabre.com 
>>> 
>>> 
>>> On Mon, Jan 25, 2021 at 3:02 PM Vinicius Juvinski 
>>> mailto:vinicius.juvin...@gmail.com>> wrote:
>>> Hi
>>> 
>>> You need to load a dtb to enable the i2c
>>> Edit uEnv.txt file and uncomment #u_boot_overlay_addr1 and add instead 
>>> .dtbo add BB-I2CX-00A0.dtb where x is the i2c 1 or 2 according the 
>>> port you are using. 
>>> 
>>> Sent from my iPhone
>>> 
>>> 
 Em 25 de jan. de 2021, à(s) 10:38, Astrid Hochart >>> > escreveu:
 
 Hello everyone,
 
 I'm new to this subject but I'm trying to collect temperature data from 
 this sensor : https://www.mikroe.com/thermo-9-click 
  by using Python and a BeagleBone 
 Black Rev C. The BBB is new and I don't have any SD card so I flashed 
 nothing on it. My problem is that when I connect the sensor (where I moved 
 the resistance to allow I2C mode) the BBB detects nothing : do you have 
 any idea why ? Should I "enable" I2C pins ? 
 
 I'll be grateful if someone can help me.
 
 Best 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 
 .
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/beagleboard/307d5c0a-d2ff-4f0a-a914-67ad2e4fdf92n%40googlegroups.com
  
 .
>>> -- 
>>> 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/C6fXDoWHEg0/unsubscribe 
>>> .
>>> To unsubscribe from this group and all its topics, send an email to 
>>> beagleboard+unsubscr...@googlegroups.com 
>>> .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/beagleboard/CB31E0E9-5C7B-4718-AA47-4603A0770CA7%40gmail.com
>>>  
>>> .
>>> -- 
>>> For more options, visit http://beagleboard.org/discuss 
>>> 
>>> --- 
>>> You received this message because 

[beagleboard] Re: Very Low Volume Output via Mini-Speaker/USB Sound Adapter on BB Blue

2021-01-25 Thread Dennis Lee Bieber
On Sun, 24 Jan 2021 17:37:27 -0800 (PST), in
gmane.comp.hardware.beagleboard.user Steve Meinschein
 wrote:

>
>https://www.amazon.com/gp/product/B00IRVQ0F8/ref=ppx_yo_dt_b_asin_title_o09_s01?ie=UTF8&psc=1
>

At best, this device has /headphone/ level output (and likely aimed at
in-ear buds, not around-the-ear cups), at worst it could be line-level
output. (Input could be microphone or line-level)

>and here is a link to the mini-speaker.
>
>https://www.adafruit.com/product/1890?gclid=CjwKCAiAlNf-BRB_EiwA2osbxVKKNeMPMA_9rEXRKPnz9IsqDNvQx1z-Oz6XTPvXRog8NjRMjgmNchoC_ZQQAvD_BwE
>
Bare board speaker -- no amplifier stage.

Headphone jacks typically only provide about 10mW (give or take).
Headphones are spec'd using a 1mW signal. Normal speakers are spec'd using
a 1W! signal (most of these headphones are also high-impedance devices --
32Ohm is common). An 8Ohm speaker is going to suck up the power, and
requires much higher power to produce "equivalent" sound levels.

Oh, and a second thought -- that's a stereo adapter, but the speaker is
mono... How are you wiring the adapter to the speaker?

Suggest you consider something like

https://www.adafruit.com/product/987

(and add a second matching speaker for the stereo -- and do NOT set level
to 100%; your speaker can only handle 1/8th of the full power*)





* audio is tricky. As I recall, for 3.7W max, reducing perceived volume to
half means 0.37W, which is in range for your speaker. Quarter perceived
volume is 0.037W, 1/8th perceived volume is 0.0037


-- 
Dennis L Bieber

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


[beagleboard] Re: I2C problems

2021-01-25 Thread Dennis Lee Bieber
On Mon, 25 Jan 2021 10:42:50 -0500, in gmane.comp.hardware.beagleboard.user
Steve Lentz  wrote:

>Here is the diagram for my i2c device.  This shows where the pull-up resistors 
>are added.  You will need something similar.  
>
>But first check the documentation for the thermo-click to see if it already 
>has pull-up resistors.  It may have 2K, 5K, 10K already.  Don’t allow the 
>parallel resistance to go below 500 ohms.   
>

If I interpret the confusing schematic from
https://www.mikroe.com/thermo-9-click there appear to already be a pair of
4.7k pull-ups on the board.


-- 
Dennis L Bieber

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


Re: [beagleboard] Very Low Volume Output via Mini-Speaker/USB Sound Adapter on BB Blue

2021-01-25 Thread jonnymo
Have you seen this page?
https://gist.github.com/interwebjill/157055cc4e2bd7c33181f7e7e8bf4659

You might consider something like this or if you have a PC speaker you
could try that:
https://www.amazon.com/s?k=Mini+Hamburger+Speaker&i=electronics&ref=nb_sb_noss

Jon




On Sun, Jan 24, 2021 at 6:08 PM Steve Meinschein  wrote:

> I'm using " amixer set Speaker 100%" to turn the volume all the way up,
> but the sound level coming out of my mini-speaker (via USB sound adapter)
> is barely a whisper - but it is definitely audible. Do I just need a bigger
> speaker? Lower Ohms? Different "amixer" settings?
>
> Anyway, here is a link to the audio adapter:
>
>
> https://www.amazon.com/gp/product/B00IRVQ0F8/ref=ppx_yo_dt_b_asin_title_o09_s01?ie=UTF8&psc=1
>
> and here is a link to the mini-speaker.
>
>
> https://www.adafruit.com/product/1890?gclid=CjwKCAiAlNf-BRB_EiwA2osbxVKKNeMPMA_9rEXRKPnz9IsqDNvQx1z-Oz6XTPvXRog8NjRMjgmNchoC_ZQQAvD_BwE
>
> Here is the output of the "amixer" commands:
>
> debian@beaglebone:/var/lib/cloud9$ amixer set Speaker 100%
>
>
> Simple mixer control 'Speaker',0
>   Capabilities: pvolume pswitch pswitch-joined
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 37
>   Mono:
>   Front Left: Playback 37 [100%] [0.00dB] [on]
>   Front Right: Playback 37 [100%] [0.00dB] [on]
>
> debian@beaglebone:/var/lib/cloud9$ amixer
> Simple mixer control 'Speaker',0
>   Capabilities: pvolume pswitch pswitch-joined
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 37
>   Mono:
>   Front Left: Playback 37 [100%] [0.00dB] [on]
>   Front Right: Playback 37 [100%] [0.00dB] [on]
> Simple mixer control 'Mic',0
>   Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch
> pswitch-joined cswitch cswitch-joined
>   Playback channels: Mono
>   Capture channels: Mono
>   Limits: Playback 0 - 31 Capture 0 - 35
>   Mono: Playback 16 [52%] [-7.00dB] [off] Capture 20 [57%] [8.00dB] [on]
> Simple mixer control 'Auto Gain Control',0
>   Capabilities: pswitch pswitch-joined
>   Playback channels: Mono
>   Mono: Playback [on]
>
> debian@beaglebone:/var/lib/cloud9$ aplay
> /usr/share/sounds/alsa/Front_Center.wav
> Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit
> Little Endian, Rate 48000 Hz, Mono
>
> The result is a barely audible female voice saying "front center".
>
> Any help/guidance will be greatly appreciated !!!
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/5e5235f3-8b79-4f0c-b3ac-38abceeb5c7bn%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAG99bkpPACS7y-A14US48rN5%3DgRmKfOGPUwzYB2r2u_qt0pnPA%40mail.gmail.com.


Re: [beagleboard] I2C problems

2021-01-25 Thread Steve Lentz
I can only speak from my experience. I have three Adafruit sensor breakouts 
connected on I2C bus 2.  Each of these has its own 10K pull-up resistors. The 
last board did not work until I added an external 1K pull up.  It is 100% 
reliable since then.  I have built this twice and experienced the same thing 
both times.  I spent a lot of time chasing software and asking questions on 
this forum.  Five minutes with an oscilloscope showed me the real problem was 
that high values on the SDA line were not reaching 3.3V before it was sampled.  
Based on this, a logical next step is to add an external 1K pull up and see 
what happens.



> On Jan 25, 2021, at 12:35 PM, Dennis Lee Bieber  
> wrote:
> 
> On Mon, 25 Jan 2021 10:42:50 -0500, in gmane.comp.hardware.beagleboard.user
> Steve Lentz  wrote:
> 
>> Here is the diagram for my i2c device.  This shows where the pull-up 
>> resistors are added.  You will need something similar.  
>> 
>> But first check the documentation for the thermo-click to see if it already 
>> has pull-up resistors.  It may have 2K, 5K, 10K already.  Don’t allow the 
>> parallel resistance to go below 500 ohms.   
>> 
> 
>   If I interpret the confusing schematic from
> https://www.mikroe.com/thermo-9-click there appear to already be a pair of
> 4.7k pull-ups on the board.
> 
> 
> -- 
> Dennis L Bieber
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/e70u0g58r86qs7ct4roe7b5fjpgk6pit1f%404ax.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/F621C5DC-2FD4-4100-847E-90E367F84602%40gmail.com.


Re: [beagleboard] Very Low Volume Output via Mini-Speaker/USB Sound Adapter on BB Blue

2021-01-25 Thread Steve M
Thanks Jon!

I like the mushroom speaker idea since it includes a built-in amplifier powered 
through the USB adapter, but the size might be a little large for my smart dog 
door project.

Otherwise, I am able to control and get volume out of the mini-speaker using 
the ‘amixer’ cmds so I didn’t see anything that would help in the github link 
(but maybe I missed something?). That you shared.

If I can’t find a soln for the low mini-speaker volume, then I’ll likely try 
the mushroom speaker link that you provided !! 

Thanks again, 
Steve

> On Jan 25, 2021, at 12:47 PM, jonnymo  wrote:
> 
> 
> Have you seen this page?
> https://gist.github.com/interwebjill/157055cc4e2bd7c33181f7e7e8bf4659
> 
> You might consider something like this or if you have a PC speaker you could 
> try that:
> https://www.amazon.com/s?k=Mini+Hamburger+Speaker&i=electronics&ref=nb_sb_noss
> 
> Jon
> 
> 
> 
> 
>> On Sun, Jan 24, 2021 at 6:08 PM Steve Meinschein  wrote:
>> I'm using " amixer set Speaker 100%" to turn the volume all the way up, but 
>> the sound level coming out of my mini-speaker (via USB sound adapter) is 
>> barely a whisper - but it is definitely audible. Do I just need a bigger 
>> speaker? Lower Ohms? Different "amixer" settings?
>> 
>> Anyway, here is a link to the audio adapter:
>> 
>> https://www.amazon.com/gp/product/B00IRVQ0F8/ref=ppx_yo_dt_b_asin_title_o09_s01?ie=UTF8&psc=1
>> 
>> and here is a link to the mini-speaker.
>> 
>> https://www.adafruit.com/product/1890?gclid=CjwKCAiAlNf-BRB_EiwA2osbxVKKNeMPMA_9rEXRKPnz9IsqDNvQx1z-Oz6XTPvXRog8NjRMjgmNchoC_ZQQAvD_BwE
>> 
>> Here is the output of the "amixer" commands:
>> 
>> debian@beaglebone:/var/lib/cloud9$ amixer set Speaker 100%   
>>  
>> Simple mixer control 'Speaker',0
>>   Capabilities: pvolume pswitch pswitch-joined
>>   Playback channels: Front Left - Front Right
>>   Limits: Playback 0 - 37
>>   Mono:
>>   Front Left: Playback 37 [100%] [0.00dB] [on]
>>   Front Right: Playback 37 [100%] [0.00dB] [on]
>> 
>> debian@beaglebone:/var/lib/cloud9$ amixer
>> Simple mixer control 'Speaker',0
>>   Capabilities: pvolume pswitch pswitch-joined
>>   Playback channels: Front Left - Front Right
>>   Limits: Playback 0 - 37
>>   Mono:
>>   Front Left: Playback 37 [100%] [0.00dB] [on]
>>   Front Right: Playback 37 [100%] [0.00dB] [on]
>> Simple mixer control 'Mic',0
>>   Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch 
>> pswitch-joined cswitch cswitch-joined
>>   Playback channels: Mono
>>   Capture channels: Mono
>>   Limits: Playback 0 - 31 Capture 0 - 35
>>   Mono: Playback 16 [52%] [-7.00dB] [off] Capture 20 [57%] [8.00dB] [on]
>> Simple mixer control 'Auto Gain Control',0
>>   Capabilities: pswitch pswitch-joined
>>   Playback channels: Mono
>>   Mono: Playback [on]
>> 
>> debian@beaglebone:/var/lib/cloud9$ aplay 
>> /usr/share/sounds/alsa/Front_Center.wav
>> Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit 
>> Little Endian, Rate 48000 Hz, Mono
>> 
>> The result is a barely audible female voice saying "front center".
>> 
>> Any help/guidance will be greatly appreciated !!!
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beagleboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/5e5235f3-8b79-4f0c-b3ac-38abceeb5c7bn%40googlegroups.com.
> 
> -- 
> 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/iAqrWTXlu9I/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/CAG99bkpPACS7y-A14US48rN5%3DgRmKfOGPUwzYB2r2u_qt0pnPA%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/12D124F6-9146-46F6-87E5-46BE4BCA54FD%40gmail.com.


Re: [beagleboard] Very Low Volume Output via Mini-Speaker/USB Sound Adapter on BB Blue

2021-01-25 Thread jonnymo
I had a Sabrent USB-SBCV sitting around so I connected it to a Beaglebone
Black.
https://www.amazon.com/Sabrent-External-Surround-Sound-Adapter/dp/B002R33VWW

NOTE: I ended up using a powered USB Hub since the BBB was not happy
playing sounds through this device when connected straight to the board.

This is what I see with it connected:

debian@beaglebone:~$* cat /proc/asound/devices*
  2: [ 0- 0]: digital audio playback
  3: [ 0]   : control
  4: [ 1- 0]: digital audio playback
  5: [ 1- 0]: digital audio capture
  6: [ 1]   : control
 33:: timer

debian@beaglebone:~$ *aplay -l*
 List of PLAYBACK Hardware Devices 
card 0: Black [TI BeagleBone Black], device 0: davinci-mcasp.0-i2s-hifi
i2s-hifi-0 [davinci-mcasp.0-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
*card 1: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]*
*  Subdevices: 1/1*
*  Subdevice #0: subdevice #0*


I ran the example as such:

debian@beaglebone:~$ *aplay /usr/share/sounds/alsa/Front_Center.wav -D
sysdefault:CARD=1*

 NOTE: CARD=1 is reference to the USB device

Also, to change the volume, the Master can be used. I got an error when
trying with Speaker:
Ex:
 debian@beaglebone:~$* amixer -D pulse sset Master 100%*

This works with one of those small self powered speakers.
If the volume is still too low for your config, then you may consider the
Amp device from Adafruit Dennis suggested.  Or, if you are handy with
electronics, build your own amp circuit.

Cheers,

Jon


On Mon, Jan 25, 2021 at 11:58 AM Steve M  wrote:

> Thanks Jon!
>
> I like the mushroom speaker idea since it includes a built-in amplifier
> powered through the USB adapter, but the size might be a little large for
> my smart dog door project.
>
> Otherwise, I am able to control and get volume out of the mini-speaker
> using the ‘amixer’ cmds so I didn’t see anything that would help in the
> github link (but maybe I missed something?). That you shared.
>
> If I can’t find a soln for the low mini-speaker volume, then I’ll likely
> try the mushroom speaker link that you provided !!
>
> Thanks again,
> Steve
>
> On Jan 25, 2021, at 12:47 PM, jonnymo  wrote:
>
> 
> Have you seen this page?
> https://gist.github.com/interwebjill/157055cc4e2bd7c33181f7e7e8bf4659
>
> You might consider something like this or if you have a PC speaker you
> could try that:
>
> https://www.amazon.com/s?k=Mini+Hamburger+Speaker&i=electronics&ref=nb_sb_noss
>
> Jon
>
>
>
>
> On Sun, Jan 24, 2021 at 6:08 PM Steve Meinschein 
> wrote:
>
>> I'm using " amixer set Speaker 100%" to turn the volume all the way up,
>> but the sound level coming out of my mini-speaker (via USB sound adapter)
>> is barely a whisper - but it is definitely audible. Do I just need a bigger
>> speaker? Lower Ohms? Different "amixer" settings?
>>
>> Anyway, here is a link to the audio adapter:
>>
>>
>> https://www.amazon.com/gp/product/B00IRVQ0F8/ref=ppx_yo_dt_b_asin_title_o09_s01?ie=UTF8&psc=1
>>
>> and here is a link to the mini-speaker.
>>
>>
>> https://www.adafruit.com/product/1890?gclid=CjwKCAiAlNf-BRB_EiwA2osbxVKKNeMPMA_9rEXRKPnz9IsqDNvQx1z-Oz6XTPvXRog8NjRMjgmNchoC_ZQQAvD_BwE
>>
>> Here is the output of the "amixer" commands:
>>
>> debian@beaglebone:/var/lib/cloud9$ amixer set Speaker 100%
>>
>>
>> Simple mixer control 'Speaker',0
>>   Capabilities: pvolume pswitch pswitch-joined
>>   Playback channels: Front Left - Front Right
>>   Limits: Playback 0 - 37
>>   Mono:
>>   Front Left: Playback 37 [100%] [0.00dB] [on]
>>   Front Right: Playback 37 [100%] [0.00dB] [on]
>>
>> debian@beaglebone:/var/lib/cloud9$ amixer
>> Simple mixer control 'Speaker',0
>>   Capabilities: pvolume pswitch pswitch-joined
>>   Playback channels: Front Left - Front Right
>>   Limits: Playback 0 - 37
>>   Mono:
>>   Front Left: Playback 37 [100%] [0.00dB] [on]
>>   Front Right: Playback 37 [100%] [0.00dB] [on]
>> Simple mixer control 'Mic',0
>>   Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch
>> pswitch-joined cswitch cswitch-joined
>>   Playback channels: Mono
>>   Capture channels: Mono
>>   Limits: Playback 0 - 31 Capture 0 - 35
>>   Mono: Playback 16 [52%] [-7.00dB] [off] Capture 20 [57%] [8.00dB] [on]
>> Simple mixer control 'Auto Gain Control',0
>>   Capabilities: pswitch pswitch-joined
>>   Playback channels: Mono
>>   Mono: Playback [on]
>>
>> debian@beaglebone:/var/lib/cloud9$ aplay
>> /usr/share/sounds/alsa/Front_Center.wav
>> Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit
>> Little Endian, Rate 48000 Hz, Mono
>>
>> The result is a barely audible female voice saying "front center".
>>
>> Any help/guidance will be greatly appreciated !!!
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> To v

Re: [beagleboard] PocketBeagle Kernel Version

2021-01-25 Thread Drew Fustini
Mike - I use this omap2plus-mainline-linux repo to develop for the mainline
kernel releases on the PocketBeagle:
https://github.com/RobertCNelson/omap2plus-mainline-linux/tree/v5.10.x

Robert has convenient script that automates a lot of the tedious steps.  It
boots ok but certain features like the PRU may not work as they do on the
BeagleBoard.org Debian images.

Thanks,
Drew

On Sat, Jan 23, 2021 at 6:57 AM Robert Nelson 
wrote:

> On Sat, Jan 23, 2021 at 8:50 AM kb2...@gmail.com  wrote:
> >
> > What is the latest kernel supported by the PocketBeage?
>
> pretty much 'all' aka mainline..
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/CAOCHtYhbCkOwZNRUtxY9WrhOC34W%2B5Ar_fiEK%3DfPx10kMDO%3DHg%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAEf4M_Cs4ALskdzVmYJRqFW1%3DxYFSzNAK46iL%3DzYpyDfsP-LqQ%40mail.gmail.com.


[beagleboard] TI AM335x vs. Octavio OSD3358

2021-01-25 Thread Adrian Fülöp
 

Hello everybody,

I'm searching the right hardware for an embedded project. One of the Beagle 
variants is likely to be the right base to start with. Some point I  
couldn't figure out:

Why are some boards using the TI AM335x like BBB and others use the same 
core, but wrapped in a Octavio SIP. I know that it already contains a bunch 
of components board designers place next to the AM335x. But what are the 
main reasons to choose one or the other? Price? Design complexity? Is it 
fully software compatible on image level? 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/438cd263-4449-49e0-8e14-13421b69391dn%40googlegroups.com.


[beagleboard] BeagleBone Black 8bit LCD Controller

2021-01-25 Thread reza.ma...@gmail.com
Hi everyone,
I need to send data with LCD Controller. and it should be 8bit per pixel.
Is it enough to set bpp in device tree overlay file like this?
panel {
status = "okay";
compatible = "ti,tilcdc,panel";
pinctrl-names = "default";
pinctrl-0 = <&bb_lcd_lcd_pins>;
panel-info {
ac-bias   = <255>;
ac-bias-intrpt= <0>;
dma-burst-sz  = <16>;
bpp   = <8>;
fdd   = <0x80>;
sync-edge = <0>;
sync-ctrl = <1>;
raster-order  = <0>;
fifo-th   = <0>;
};
Thank you 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/18efce81-f45a-4e54-8540-0da5bf035c53n%40googlegroups.com.