Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

Re: LF: OT, Remote site, garden progress

To: [email protected]
Subject: Re: LF: OT, Remote site, garden progress
From: LZ <[email protected]>
Date: Thu, 11 Sep 2014 19:16:18 +0200
Importance: normal
In-reply-to: <[email protected]>
References: <4B47B680CCBD46B69C3FB841C5A3081F@AGB> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <143F048B24A040058ED88A15AE211979@MichaelSappPC>, <[email protected]> <trinity-1e9e02bd-7788-4919-af05-35f3b6f90b22-1409856610207@3capp-gmx-bs39>, <[email protected]>
Reply-to: [email protected]
Sender: [email protected]
Sensitivity: Normal
Hi,

Got the Wolfson card running. Very first impressions:

Since I don't want to compile a new kernel
(>12h on the R-Pi) I used that image:
http://blog.georgmill.de/wp-content/uploads/2014/04/kernelAndFirmware_wolfson_rt.tar.bz2

On a Linuxbox I unzipped it and wrote the image to a 4Gb 
card using an ordinary cheap card reader:
dd if=2014-01-07-wheezy-raspbianW.img of=/dev/sdd
"of" is the device of the card reader got by "fdisk -l"
(Don't ask me about doing this on a WinBox. Poor girl here.)

Plugged into a R-Pi with the "Wolfson" in place this image 
booted without any errors. It will run "raspi-config" 
first where you have to do some boring config tasks 
(lang. etc.). OT here.

Next I plugged in an antenna/preamp into the red plug
and started this modified bash script as root (!):

#!/bin/bash

# Record from onboard Line Input to AP

# input PGA gain
amixer -Dhw:0 cset name='IN3L Volume' 4 # (mod by Laura)
amixer -Dhw:0 cset name='IN3R Volume' 4 # (mod by Laura)

# better THD in normal mode vs lower noise floor in high performance
amixer -Dhw:0 cset name='IN3 High Performance Switch' on

amixer -Dhw:0 cset name='IN3L Digital Volume' 128
amixer -Dhw:0 cset name='IN3R Digital Volume' 128

amixer -Dhw:0 cset name='LHPF1 Input 1' IN3L
amixer -Dhw:0 cset name='LHPF2 Input 1' IN3R
amixer -Dhw:0 cset name='LHPF1 Mode' High-pass
amixer -Dhw:0 cset name='LHPF2 Mode' High-pass

amixer -Dhw:0 cset name='AIF1TX1 Input 1' LHPF1
amixer -Dhw:0 cset name='AIF1TX1 Input 1 Volume' 32
amixer -Dhw:0 cset name='AIF1TX2 Input 1' LHPF2
amixer -Dhw:0 cset name='AIF1TX2 Input 1 Volume' 32

# The following command should be used to test (mod by Laura)
arecord -Dhw:0 -r 192000 -c 2 -f S16_LE test.wav

Looking into "test.wav" with "Baudline" all the usual suspects 
from 10-96 kc are present. The "Wolfson" appears quiet and flat.
At ~53 and ~63kc I'm observing some signals from the 2nd 
Nyquist domain. The experts will know which.

Boring: running "arecord" I got many overruns. Overclocking
(900 Mhz) did not cure this. Guess it's due to a slow SD card.
Next step: streaming. Hope that "flac" will work. ?

Laura

Sent from my HapPyPhone

<Prev in Thread] Current Thread [Next in Thread>