Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 15 Oct 2018, 17:31
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdogarm for Raspberry pi3 - headless
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Author Message
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Tue 12 Jun 2018, 14:55    Post subject:  

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, 15:10; edited 2 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Tue 12 Jun 2018, 15:03    Post subject:  

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 Cool

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.
______________________________________________
Back to top
View user's profile Send private message 
woodenshoe-wi

Joined: 28 Jul 2017
Posts: 76
Location: Wisconsin

PostPosted: Wed 13 Jun 2018, 01:10    Post subject:  

Glad you got your audio working!

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

Quote:
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?
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2911
Location: USA

PostPosted: Wed 13 Jun 2018, 10:46    Post subject:  

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/505661/raspberry_pi_3_model_b

_________________
Add swapfile
WellMinded Search
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Thu 14 Jun 2018, 15:28    Post subject:  

It was on 'Sale'. How could I resist a 'Sale'
https://secure.sayal.com/STORE/View_SPEC.asp?SKU=249938
_______________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Thu 14 Jun 2018, 15:42    Post subject:  

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, 16:07; edited 1 time in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Thu 14 Jun 2018, 15:45    Post subject:  

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, 14:57; edited 1 time in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Sat 16 Jun 2018, 14:57    Post subject:  

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.
________________________________________
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2911
Location: USA

PostPosted: Mon 18 Jun 2018, 12:05    Post subject:  

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+

_________________
Add swapfile
WellMinded Search
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Sat 30 Jun 2018, 14:41    Post subject:  

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:
  vncviewer 192.168.1.XXX:0

where 192.168.1.XXX is raspberry pi address.
Password is woofwoof

With a windows machine use XMING
__________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Wed 11 Jul 2018, 20:15    Post subject:  

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

USB sound card adaptor.
https://www.amazon.ca/Adapter-LONGYAO-Channel-External-Windows/dp/B00KGRT9WM/ref=cm_cr_arp_d_product_top?ie=UTF8
41aCr89O9pL._SY355_.jpg
 Description   USB Sound card
 Filesize   11.24 KB
 Viewed   132 Time(s)

41aCr89O9pL._SY355_.jpg


Last edited by don570 on Wed 11 Jul 2018, 20:27; edited 1 time in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Wed 11 Jul 2018, 20:26    Post subject:  

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:
arecord -d 10 --device=hw:1,0  --format S16_LE  --rate 44100 | lame -b 16 - test.mp3


or for better sound quality

Code:
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-cards-with-a-raspberry-pi?view=all#instructions
_______________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Sat 14 Jul 2018, 11:25    Post subject:  

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.
_______________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5159
Location: Ontario

PostPosted: Tue 31 Jul 2018, 20:03    Post subject:  

Code:
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.
__________________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 5 [74 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0915s ][ Queries: 13 (0.0156s) ][ GZIP on ]