Fatdogarm for Raspberry pi3 - headless

A home for all kinds of Puppy related projects
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#61 Post by don570 »

Good news! I was able to solve my problems with sound.
Here is what I did.

1. I dragged in all of woodenshoe-wi files that he gave me

2. Then I dragged in the bcm2709 and bcm2710 files from the latest berryboot image.
This overwrote the files of woodenshoe-wi (Not sure if this is needed????)

3. To get latest wireless driver for raspberry pi3 I opened the
berryboot package and extracted 'shared.tgz'
I put the firmware and modules i found there in /lib

4. In config.txt I wrote 'hdmi_safe=1' and audio is on .

5. I used a fat32 SD card as usual and booted up the raspberry pi3.

I got a strange warning that the video mode wasn't compatible.
Yet it did boot up . And best of all the audio works well and the computer is
significantly faster that raspberry pi2.

________________________________________________
Last edited by don570 on Tue 12 Jun 2018, 19:10, edited 2 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#62 Post by don570 »

See First Post for zip package

I put together a zip package so others can enjoy.
It should work for all raspberry pi3 boards ... but I only tested with
my brandnew model B+ which I highly recommend 8)

I added ptm Timer 2.5 to set a reminder and put faq documents in /root so users can
read how to make fatdog packages and set up WIFI

Tip: put mp3 files in /Music folder if you want music to play at first boot.
Also you will have to learn to set the clock.
______________________________________________

woodenshoe-wi
Posts: 109
Joined: Sat 29 Jul 2017, 03:16
Location: Wisconsin

#63 Post by woodenshoe-wi »

Glad you got your audio working!
2. Then I dragged in the bcm2709 and bcm2710 files from the latest berryboot image.
This overwrote the files of woodenshoe-wi (Not sure if this is needed????)
You mean the .dtb files? Was it needed? I don't have a Pi3+ to test and it looks like the 3+ uses a different .dtb than the 3.
4. In config.txt I wrote 'hdmi_safe=1' and audio is on .
You mean the audio problems had something to do with the hdmi_safe setting?

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#64 Post by RetroTechGuy »

don570 wrote:I bought a raspberry pi 3 $70 +10 tax CAN
"Ouch"... Even with the exchange rate, that's a bit pricey... :-/

I paid $35 US for mine (and see that they're dropped the price further)

http://www.microcenter.com/product/5056 ... _3_model_b
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#65 Post by don570 »

It was on 'Sale'. How could I resist a 'Sale'
https://secure.sayal.com/STORE/View_SPEC.asp?SKU=249938
_______________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#66 Post by don570 »

hdmi_safe=1 at first boot

The same results as:

hdmi_force_hotplug=1
config_hdmi_boost=4
hdmi_group=2
hdmi_mode=4
disable_overscan=0

'config_hdmi_boost boosts' the voltage level to my TV monitor. This appears
to help.
______________________________________


I took 4 files from berryboot package ...
bcm2709-rpi-2-b.dtb
bcm2710-rpi-3-b.dtb
bcm2710-rpi-3-b-plus.dtb
bcm2710-rpi-cm3.dtb

I'll put back the woodenshoe-wi files and test.
Last edited by don570 on Thu 14 Jun 2018, 20:07, edited 1 time in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#67 Post by don570 »

New version available on first post.
fatdogarm-pi3-06-14-2018

Changes:
1) OGG format files can now be placed in /Music folder.

I discovered that omxplayer.bin will play this format.

So I made this the default player for this format in playmusicrc file.


2) /usr/share/audio/ folder now contains sample files

_________________________________________________
Last edited by don570 on Sat 16 Jun 2018, 18:57, edited 1 time in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#68 Post by don570 »

Re - posted fatdogarm-pi3-06-14-2018.zip in first post.
I tested and everything is now OK.

___________________________________________

Note that I didn't use all the dtb files from berryboot.
I think that the woodenhouse and berryboot files are interchangeable.

Just to recap....
I took 4 files from berryboot package ...
bcm2709-rpi-2-b.dtb
bcm2710-rpi-3-b.dtb
bcm2710-rpi-3-b-plus.dtb
bcm2710-rpi-cm3.dtb
A bunch of others I left out.

If I left something out that is needed then you can report the problem.
________________________________________

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#69 Post by RetroTechGuy »

don570 wrote:Re - posted fatdogarm-pi3-06-14-2018.zip in first post.
I tested and everything is now OK.

___________________________________________

Note that I didn't use all the dtb files from berryboot.
I think that the woodenhouse and berryboot files are interchangeable.

Just to recap....
I took 4 files from berryboot package ...
bcm2709-rpi-2-b.dtb
bcm2710-rpi-3-b.dtb
bcm2710-rpi-3-b-plus.dtb
bcm2710-rpi-cm3.dtb
A bunch of others I left out.

If I left something out that is needed then you can report the problem.
________________________________________
Thanks Don. I need to give this a try, as soon as I can get back to playing with the Pi3+
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#70 Post by don570 »

A note for people using VNC server...

Just typing 'x11vnc' in terminal starts the server.
The port is 5900, the display is :0

Then with a PC running linux type ....

Code: Select all

  vncviewer 192.168.1.XXX:0 
where 192.168.1.XXX is raspberry pi address.
Password is woofwoof

With a windows machine use XMING
__________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#71 Post by don570 »

I am trying to record audio with raspberry pi3
Bought equivalent to this product...

USB sound card adaptor.
https://www.amazon.ca/Adapter-LONGYAO-C ... op?ie=UTF8
Attachments
41aCr89O9pL._SY355_.jpg
USB Sound card
(11.24 KiB) Downloaded 484 times
Last edited by don570 on Thu 12 Jul 2018, 00:27, edited 1 time in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#72 Post by don570 »

It works well however it only records with a microphone.
If i try to record with regular stereo patch cord there is
horrible buzz problem.

alsamixer is good way to select driver.

I am using mhwaveedit to set the audio level. alsamixer and retrovol have settings.
I found that I can record with mhwaveedit if I set the format to
mono 44100 khz 16 bit.
________________________________________________

To record a mp3 file is useful to reduce need for space.

To record 10 seconds of audio here is command I type...

Code: Select all

arecord -d 10 --device=hw:1,0  --format S16_LE  --rate 44100 | lame -b 16 - test.mp3
or for better sound quality

Code: Select all

arecord -d 10 --device=hw:1,0  --format S16_LE  --rate 44100 | lame -h - test.mp3
Here is a good explanation of how to set up this USB card adaptor..
https://learn.adafruit.com/usb-audio-ca ... structions
_______________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#73 Post by don570 »

I am trying to record a radio program .

I discovered that due to impedance mismatch ---> the output headphone jack of a radio shouldn't be used.
The mismatch will cause the voltage to be too high which causes distortion.

The regular line output of a radio will work better. However,
a problem I have found with both of my raspberry pi boards -->

Hiss is produced that causes weak AM radio stations to not be listenable.
USB sound card is not the problem, rather it is the raspberry board that
is causing the interference.
_______________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#74 Post by don570 »

Code: Select all

ssh -X root@192.168.1.XXX
where 192.168.1.XXX is the address of your raspberry pi board is a useful
way to control your board from a PC.
It allows apps that have a GUI inferface such as mtpaint to be used.
They are launched from terminal.
__________________________________________________

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#75 Post by Sage »

I am trying to record a radio program .

I discovered that due to impedance mismatch ---> the output headphone jack of a radio shouldn't be used.
The mismatch will cause the voltage to be too high which causes distortion.
Yes, folks have got away with using the headphone socket for too long. Big problem when a proper audio-out socket is omitted, a frequent feature on newer TVs.
Of course, a balun impedance-matching transformer is required by serious recorderists. They used to be costly and bulky, but now cheaper if a little less available.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#76 Post by don570 »

my quote wrote:I discovered that due to impedance mismatch ---> the output headphone jack of a radio shouldn't be used.
I was referring to attaching the output headphone jack of a radio
to the microphone input of the external USB sound card.

Normally you don't have problems with the line-in of regular sound cards.

My Sony receiver has a special line input port for portable mp3 players like Apple ipod.
Sony says that it adjusts level of the audio better than the other line-in ports.

_______________________________________________

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#77 Post by Sage »


Post Reply