Wolfson cards, Kernel 4.9 and max2play

Max2Play Home 2016 (en) Forums Max2Play on Raspberry PI Wolfson cards, Kernel 4.9 and max2play

This topic contains 5 replies, has 3 voices, and was last updated by  ALW premium 3 years, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • 10. März 2018 at 18:02 #34309

    Has max2play integrated the 4.9 kernel series yet?

    The driver for the Wolfson / Cirrus cards is now integrated and works really well. Of particular note is that there are still lots of the original cards available (over 1300 at the last look) and with some modifications they now work with the Raspberry Pi3 (the official Cirrus card for the Pi3 is no longer available).

    They’re great sounding cards and given the wide feature set, incredible value for money!

    If anyone fancies modifying a card, I’ve gathered all the info into a blog post, to make it easy to find and follow.

    Connecting the Wolfson Sound Card to the Raspberry Pi3

    Andy.

    12. März 2018 at 13:51 #34339

    Hi Andy,

    Thank you for sharing this. Our default image, which is still Max2Play version 2.44 has 4.4 kernel.

    But the current version 2.45 of Max2Play upgrades to Kernel 4.9 😉

    13. März 2018 at 15:15 #34395

    Thank you Heiner,

    I have the card working successfully with this version, although it does require some work as the in-built Wolfson capability can’t be used, as it rolls back to an older Kernel and the use case scripts require updating for the new driver (http://www.horus.com/~hias/tmp/cirrus/cirrus-ng-scripts.tgz).

    I think though that this could be quite easy for you to implement, if you chose to do so. I’m aware the card may not have the largest following, but it is great value for money and sounds good, in my opinion. One of the reasons I paid for a subscription to max2play was because you were the only solution I found at the time with official Wolfson support. Max2play is a great solution for those of us with these cards.

    19. März 2018 at 13:17 #34523

    Hi ALW,

    Thanks for the tip, we will check this out.

    22. April 2018 at 4:27 #35254

    Hi – Thanks for all the activity on getting the Wolfson card working – I’m still struggling. I’ve installed the 2.46 version on a Pi B – Uname -a Kernel reports as Linux maxpi 4.14.24+ #1097 Mon Mar 5 16:16:18 GMT 2018 armv6l GNU/Linux

    I installed the driver „Wolfson Cirrus Logic New (for Kernel 4.4+) rebooted and tried to configure the Sound output on the Raspberry Settings Page and got an amixer error:

    `amixer: Cannot find the given element from control hw:RPiCirrus

    numid=551,iface=MIXER,name=’Tx Source‘
    ; type=ENUMERATED,access=rw——,values=1,items=2
    ; Item #0 ‚S/PDIF RX‘
    ; Item #1 ‚AIF‘
    : values=1
    numid=491,iface=MIXER,name=’AIF2TX1 Input 1′
    ; type=ENUMERATED,access=rw——,values=1,items=104
    ; Item #0 ‚None‘
    ; Item #1 ‚Tone Generator 1‘
    ; Item #2 ‚Tone Generator 2‘
    ; Item #3 ‚Haptics‘
    ; Item #4 ‚AEC‘
    ; Item #5 ‚AEC2‘
    ; Item #6 ‚Mic Mute Mixer‘
    ; Item #7 ‚Noise Generator‘
    ; Item #8 ‚IN1L‘
    ; Item #9 ‚IN1R‘
    ; Item #10 ‚IN2L‘
    ; Item #11 ‚IN2R‘
    ; Item #12 ‚IN3L‘
    ; Item #13 ‚IN3R‘
    ; Item #14 ‚IN4L‘
    ; Item #15 ‚IN4R‘
    ; Item #16 ‚AIF1RX1‘
    ; Item #17 ‚AIF1RX2‘
    ; Item #18 ‚AIF1RX3‘
    ; Item #19 ‚AIF1RX4‘
    ; Item #20 ‚AIF1RX5‘
    ; Item #21 ‚AIF1RX6‘
    ; Item #22 ‚AIF1RX7‘
    ; Item #23 ‚AIF1RX8‘
    ; Item #24 ‚AIF2RX1‘
    ; Item #25 ‚AIF2RX2‘
    ; Item #26 ‚AIF2RX3‘
    ; Item #27 ‚AIF2RX4‘
    ; Item #28 ‚AIF2RX5‘
    ; Item #29 ‚AIF2RX6‘
    ; Item #30 ‚AIF3RX1‘
    ; Item #31 ‚AIF3RX2‘
    ; Item #32 ‚SLIMRX1‘
    ; Item #33 ‚SLIMRX2‘
    ; Item #34 ‚SLIMRX3‘
    ; Item #35 ‚SLIMRX4‘
    ; Item #36 ‚SLIMRX5‘
    ; Item #37 ‚SLIMRX6‘
    ; Item #38 ‚SLIMRX7‘
    ; Item #39 ‚SLIMRX8‘
    ; Item #40 ‚EQ1‘
    ; Item #41 ‚EQ2‘
    ; Item #42 ‚EQ3‘
    ; Item #43 ‚EQ4‘
    ; Item #44 ‚DRC1L‘
    ; Item #45 ‚DRC1R‘
    ; Item #46 ‚DRC2L‘
    ; Item #47 ‚DRC2R‘
    ; Item #48 ‚LHPF1‘
    ; Item #49 ‚LHPF2‘
    ; Item #50 ‚LHPF3‘
    ; Item #51 ‚LHPF4‘
    ; Item #52 ‚DSP1.1‘
    ; Item #53 ‚DSP1.2‘
    ; Item #54 ‚DSP1.3‘
    ; Item #55 ‚DSP1.4‘
    ; Item #56 ‚DSP1.5‘
    ; Item #57 ‚DSP1.6‘
    ; Item #58 ‚DSP2.1‘
    ; Item #59 ‚DSP2.2‘
    ; Item #60 ‚DSP2.3‘
    ; Item #61 ‚DSP2.4‘
    ; Item #62 ‚DSP2.5‘
    ; Item #63 ‚DSP2.6‘
    ; Item #64 ‚DSP3.1‘
    ; Item #65 ‚DSP3.2‘
    ; Item #66 ‚DSP3.3‘
    ; Item #67 ‚DSP3.4‘
    ; Item #68 ‚DSP3.5‘
    ; Item #69 ‚DSP3.6‘
    ; Item #70 ‚DSP4.1‘
    ; Item #71 ‚DSP4.2‘
    ; Item #72 ‚DSP4.3‘
    ; Item #73 ‚DSP4.4‘
    ; Item #74 ‚DSP4.5‘
    ; Item #75 ‚DSP4.6‘
    ; Item #76 ‚ASRC1L‘
    ; Item #77 ‚ASRC1R‘
    ; Item #78 ‚ASRC2L‘
    ; Item #79 ‚ASRC2R‘
    ; Item #80 ‚ISRC1INT1‘
    ; Item #81 ‚ISRC1INT2‘
    ; Item #82 ‚ISRC1INT3‘
    ; Item #83 ‚ISRC1INT4‘
    ; Item #84 ‚ISRC1DEC1‘
    ; Item #85 ‚ISRC1DEC2‘
    ; Item #86 ‚ISRC1DEC3‘
    ; Item #87 ‚ISRC1DEC4‘
    ; Item #88 ‚ISRC2INT1‘
    ; Item #89 ‚ISRC2INT2‘
    ; Item #90 ‚ISRC2INT3‘
    ; Item #91 ‚ISRC2INT4‘
    ; Item #92 ‚ISRC2DEC1‘
    ; Item #93 ‚ISRC2DEC2‘
    ; Item #94 ‚ISRC2DEC3‘
    ; Item #95 ‚ISRC2DEC4‘
    ; Item #96 ‚ISRC3INT1‘
    ; Item #97 ‚ISRC3INT2‘
    ; Item #98 ‚ISRC3INT3‘
    ; Item #99 ‚ISRC3INT4‘
    ; Item #100 ‚ISRC3DEC1‘
    ; Item #101 ‚ISRC3DEC2‘
    ; Item #102 ‚ISRC3DEC3‘
    ; Item #103 ‚ISRC3DEC4′
    : values=16
    numid=290,iface=MIXER,name=’AIF2TX1 Input 1 Volume‘
    ; type=INTEGER,access=rw—R–,values=1,min=0,max=48,step=0
    : values=32
    | dBscale-min=-32.00dB,step=1.00dB,mute=0
    numid=495,iface=MIXER,name=’AIF2TX2 Input 1′
    ; type=ENUMERATED,access=rw——,values=1,items=104
    ; Item #0 ‚None‘
    ; Item #1 ‚Tone Generator 1‘
    ; Item #2 ‚Tone Generator 2‘
    ; Item #3 ‚Haptics‘
    ; Item #4 ‚AEC‘
    ; Item #5 ‚AEC2‘
    ; Item #6 ‚Mic Mute Mixer‘
    ; Item #7 ‚Noise Generator‘
    ; Item #8 ‚IN1L‘
    ; Item #9 ‚IN1R‘
    ; Item #10 ‚IN2L‘
    ; Item #11 ‚IN2R‘
    ; Item #12 ‚IN3L‘
    ; Item #13 ‚IN3R‘
    ; Item #14 ‚IN4L‘
    ; Item #15 ‚IN4R‘
    ; Item #16 ‚AIF1RX1‘
    ; Item #17 ‚AIF1RX2‘
    ; Item #18 ‚AIF1RX3‘
    ; Item #19 ‚AIF1RX4‘
    ; Item #20 ‚AIF1RX5‘
    ; Item #21 ‚AIF1RX6‘
    ; Item #22 ‚AIF1RX7‘
    ; Item #23 ‚AIF1RX8‘
    ; Item #24 ‚AIF2RX1‘
    ; Item #25 ‚AIF2RX2‘
    ; Item #26 ‚AIF2RX3‘
    ; Item #27 ‚AIF2RX4‘
    ; Item #28 ‚AIF2RX5‘
    ; Item #29 ‚AIF2RX6‘
    ; Item #30 ‚AIF3RX1‘
    ; Item #31 ‚AIF3RX2‘
    ; Item #32 ‚SLIMRX1‘
    ; Item #33 ‚SLIMRX2‘
    ; Item #34 ‚SLIMRX3‘
    ; Item #35 ‚SLIMRX4‘
    ; Item #36 ‚SLIMRX5‘
    ; Item #37 ‚SLIMRX6‘
    ; Item #38 ‚SLIMRX7‘
    ; Item #39 ‚SLIMRX8‘
    ; Item #40 ‚EQ1‘
    ; Item #41 ‚EQ2‘
    ; Item #42 ‚EQ3‘
    ; Item #43 ‚EQ4‘
    ; Item #44 ‚DRC1L‘
    ; Item #45 ‚DRC1R‘
    ; Item #46 ‚DRC2L‘
    ; Item #47 ‚DRC2R‘
    ; Item #48 ‚LHPF1‘
    ; Item #49 ‚LHPF2‘
    ; Item #50 ‚LHPF3‘
    ; Item #51 ‚LHPF4‘
    ; Item #52 ‚DSP1.1‘
    ; Item #53 ‚DSP1.2‘
    ; Item #54 ‚DSP1.3‘
    ; Item #55 ‚DSP1.4‘
    ; Item #56 ‚DSP1.5‘
    ; Item #57 ‚DSP1.6‘
    ; Item #58 ‚DSP2.1‘
    ; Item #59 ‚DSP2.2‘
    ; Item #60 ‚DSP2.3‘
    ; Item #61 ‚DSP2.4‘
    ; Item #62 ‚DSP2.5‘
    ; Item #63 ‚DSP2.6‘
    ; Item #64 ‚DSP3.1‘
    ; Item #65 ‚DSP3.2‘
    ; Item #66 ‚DSP3.3‘
    ; Item #67 ‚DSP3.4‘
    ; Item #68 ‚DSP3.5‘
    ; Item #69 ‚DSP3.6‘
    ; Item #70 ‚DSP4.1‘
    ; Item #71 ‚DSP4.2‘
    ; Item #72 ‚DSP4.3‘
    ; Item #73 ‚DSP4.4‘
    ; Item #74 ‚DSP4.5‘
    ; Item #75 ‚DSP4.6‘
    ; Item #76 ‚ASRC1L‘
    ; Item #77 ‚ASRC1R‘
    ; Item #78 ‚ASRC2L‘
    ; Item #79 ‚ASRC2R‘
    ; Item #80 ‚ISRC1INT1‘
    ; Item #81 ‚ISRC1INT2‘
    ; Item #82 ‚ISRC1INT3‘
    ; Item #83 ‚ISRC1INT4‘
    ; Item #84 ‚ISRC1DEC1‘
    ; Item #85 ‚ISRC1DEC2‘
    ; Item #86 ‚ISRC1DEC3‘
    ; Item #87 ‚ISRC1DEC4‘
    ; Item #88 ‚ISRC2INT1‘
    ; Item #89 ‚ISRC2INT2‘
    ; Item #90 ‚ISRC2INT3‘
    ; Item #91 ‚ISRC2INT4‘
    ; Item #92 ‚ISRC2DEC1‘
    ; Item #93 ‚ISRC2DEC2‘
    ; Item #94 ‚ISRC2DEC3‘
    ; Item #95 ‚ISRC2DEC4‘
    ; Item #96 ‚ISRC3INT1‘
    ; Item #97 ‚ISRC3INT2‘
    ; Item #98 ‚ISRC3INT3‘
    ; Item #99 ‚ISRC3INT4‘
    ; Item #100 ‚ISRC3DEC1‘
    ; Item #101 ‚ISRC3DEC2‘
    ; Item #102 ‚ISRC3DEC3‘
    ; Item #103 ‚ISRC3DEC4′
    : values=17
    numid=294,iface=MIXER,name=’AIF2TX2 Input 1 Volume‘
    ; type=INTEGER,access=rw—R–,values=1,min=0,max=48,step=0
    : values=32
    | dBscale-min=-32.00dB,step=1.00dB,mute=0

    Updated Alsa Settings‘

    So – I installed the new horus scripts as instructed into /hom/pi/bin and ran Playback_to_SPDIF.sh (what I want to do) from a command line – no error – This does not show on the Max2Play interface.

    I’m using default – RPiCirrus,-Default Audio Device,-CARD=RPiCirrus in the Advanced Squeezelite settings
    Squeezelite is running and the receiver recognises digital connection with the Pi
    But…. No sound

    What have I done wrong ?

    22. April 2018 at 8:35 #35255

    Mike,

    If you run ‚aplay -l‘ what devices do you see?

    I believe the ‚Wolfson Cirrus Logic New (for Kernel 4.4+)‘ still replaces the stock kernel with a patched one, based on the older driver.

    I usually install this to enable the Wolfson options, then update to the latest kernel and then update the use case scripts in /opt/max2play/wolfson (IIRC).

    You may also need to do the /boot/config.txt changes, along with the /etc/modprobe.d/cirrus.conf changes.

    Andy.

    • This reply was modified 3 years, 3 months ago by  ALW.
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Register here