1 14 15 16 17 18 Previous Next 299 Replies Latest reply on Nov 19, 2017 10:29 AM by hiassoft Go to original post
      • 225. Re: New reworked driver for Wolfson/Cirrus Logic audio card
        mcallow

        Thanks Marcel I will download winimage and try that.

        I'll let you know how it goes.

         

        Matt

        • 226. Re: New reworked driver for Wolfson/Cirrus Logic audio card
          mcallow

          Hi Marcel,

           

          I downloaded winimage and wrote your image to an SD card.

          The image boots, but the card still does not work. I've tried with USB power and 5V directly to the CLAC via the power connector. I get this in dmesg

           

          [   13.918723] arizona spi0.1: Failed to get mclk1: -2

          [   13.918750] arizona spi0.1: Failed to get mclk2: -2

          [   13.919311] arizona spi0.1: Failed to request DCVDD: -517

          [   13.994895] arizona spi0.1: Failed to get mclk1: -2

          [   13.994924] arizona spi0.1: Failed to get mclk2: -2

          [   13.995465] arizona spi0.1: Failed to request DCVDD: -517

          [   14.117710] arizona spi0.1: Failed to get mclk1: -2

          [   14.117738] arizona spi0.1: Failed to get mclk2: -2

          [   14.118266] arizona spi0.1: Failed to request DCVDD: -517

          [   14.130951] arizona spi0.1: Failed to get mclk1: -2

          [   14.130979] arizona spi0.1: Failed to get mclk2: -2

          [   14.131523] arizona spi0.1: Failed to request DCVDD: -517

          [   14.137172] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry

          [   14.239109] wm8804 1-003b: revision E

          [   14.242608] arizona spi0.1: Failed to get mclk1: -2

          [   14.242635] arizona spi0.1: Failed to get mclk2: -2

          [   14.243212] arizona spi0.1: Failed to request DCVDD: -517

          [   14.243928] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry

          [   15.994324] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup

          [   16.107111] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

          [   17.614397] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1

          [   22.049458] arizona spi0.1: Failed to get mclk1: -2

          [   22.049484] arizona spi0.1: Failed to get mclk2: -2

          [   22.068041] LDO1: supplied by RPi-Cirrus 1v8

          [   22.091171] arizona spi0.1: Unknown device ID: 0

          [   22.094043] arizona spi0.1: Failed to get mclk1: -2

          [   22.094073] arizona spi0.1: Failed to get mclk2: -2

          [   22.094585] LDO1: supplied by RPi-Cirrus 1v8

          [   22.101165] arizona spi0.1: Unknown device ID: 0

          [   22.102386] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry

          [   27.739711] random: crng init done

          And this from aplay -l

          **** List of PLAYBACK Hardware Devices ****

          card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]

            Subdevices: 8/8

            Subdevice #0: subdevice #0

            Subdevice #1: subdevice #1

            Subdevice #2: subdevice #2

            Subdevice #3: subdevice #3

            Subdevice #4: subdevice #4

            Subdevice #5: subdevice #5

            Subdevice #6: subdevice #6

            Subdevice #7: subdevice #7

          card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]

            Subdevices: 1/1

            Subdevice #0: subdevice #0

          I think my CLAC must be broken

          • 227. Re: New reworked driver for Wolfson/Cirrus Logic audio card
            psyj

            Matthias,

            I am sorry to bother you, but I am seeking to set up a mysql database of the current parameter set of the Wolfson driver, that way I can serve (via LAMP) HTML pages showing the current status of the device and, using amixer calls, change driver settings.

            I can sed the output of "amixer contents" and import much of it into a mysql DB, but I have one great problem with this approach.  The first value in the "values" field is sometimes decimal and sometimes hex. This makes importation very difficult.  Is there some other way of accessing the parameter set?

            Many Thanks

            • 228. Re: New reworked driver for Wolfson/Cirrus Logic audio card
              marcelheijkoop

              Hi Matt,

               

              I am not a coroner but I too suspect the card is dead.

              Perhaps Mathias can confirm , with all my setups and boots   after the :

              [ xx ] LDO1: supplied by RPi-Cirrus 1v8

              your wolfsonchip should be recognized.:

              [ xx ] arizona spi0.1: WM5102 revision C.

               

              I am sorry for your loss.

               

              Regards M.

              • 229. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                pegodk

                Hello,

                 

                I am trying to get the Cirrus board to work on RPi 3, but I am also experiencing some problems. I have tried several approaches including the one described here.

                 

                I sincerely hope someone will be able to help. Please be aware that I am quite a newbie to RPi and Linux :-)

                 

                /boot/config.txt               https://paste.ubuntu.com/24847303/
                vcgencmd version               https://paste.ubuntu.com/24847306/
                sudo vcdbg log msg 2>&1        https://paste.ubuntu.com/24847316/
                dmesg                          https://paste.ubuntu.com/24847324/
                lsmod                          https://paste.ubuntu.com/24847328/
                aplay -l                       https://paste.ubuntu.com/24847329/

                 

                Best wishes,

                Peter

                 

                **Additionally** Since the Cirrus board has been discontinued, I am looking for another RPi sound card. I need as many digital inputs as possible and preferably 96kHz/24 bit. Does anyone have any suggestions?

                • 230. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                  marcelheijkoop

                  Hi Peter,

                  It seems your last 3 paste files contain the same.

                  From that I suspect the driver is not loaded properly ,but not sure what causes it .

                  I assume the red led on the Cirrus is lit after the full boot, and might be off during some period during the boot process.

                  You can try to manually unload reload a driver to try again:

                  If done from a script use :

                   

                  sudo modprobe -r arizona_spi

                  sleep 1

                  sudo modprobe arizona_spi

                  sleep 3

                   

                  Else you can omit the sleep statements.

                  If you read back in the trail I offered a prebuild image to Matt, It is still available to test the set with a preconfigured PiCorePlayer install.

                  Write it to a small SD and you should get a working install in minutes.

                  Greetz M

                   

                  • 231. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                    pegodk

                    Dear Marcel,

                    Thanks for your quick answer! I made a mistake when copying the links, but they should be updated now.

                    Actually, both LEDs are on all the time, even during reboot. I tried the commands you suggested, but I dont see any difference.

                    I will try the prebuild image you mention and report back with the results.

                     

                    Thanks for your help.

                    Peter

                    • 232. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                      monahancj

                      Hello.  First, thank you for all your work.

                       

                        I've got an RPI 2 B with an original Wolfson card.  I gave up trying to make it work for a few years, but after seeing your driver made it into the kernel I'm trying again.

                       

                      I followed the instructions from here: RPi Linux driver for Wolfson / Cirrus Logic Audio Card, using  the 2016-06-21 Jessie Lite.  I don't get any sound after trying the use scripts for headset, lineout, or speakers.  I tried before and after doing a "apt-get upgrade && apt-get dist-upgrade".  Below is a link to the troubleshooting information you specifiy in the instructions.

                       

                      https://pastebin.com/B8jX4xat

                       

                      tia to anyone who tries to help.

                       

                      -Chris

                      • 233. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                        hiassoft

                        I've got an RPI 2 B with an original Wolfson card. I gave up trying to make it work for a few years, but after seeing your driver made it into the kernel I'm trying again.

                        The Wolfson Card (for the old RPi1) won't work without modification on newer RPis. Read more about it here (and a few pages before and after): https://www.element14.com/community/message/217489/l/re-new-reworked-driver-for-wolfsoncirrus-logic-audio-card#217489

                         

                        so long,

                         

                        Hias

                        • 234. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                          analysis

                          Hello Matthias 

                           

                          could you upload a closer pic from up PCB

                           

                          Thanks  IMG_20170706_173702_BURST3.jpg

                          • 235. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                            hiassoft

                            could you upload a closer pic from up PCB

                            See the pics posted by hystrix: Re: New reworked driver for Wolfson/Cirrus Logic audio card

                             

                            so long,

                             

                            Hias

                            • 236. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                              wilsonkins

                              Thank you for all your work. Just followed you directions and updated my system.

                              I had been worried that I would soon lose my setup but you have saved me.

                              • 237. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                                eutopialabs

                                Hi folks, been having fun with this. Did the mods to the wolfson card to get it working with my RPi 3B and it works great.

                                 

                                Clipped the pogo pins with precision cutters and used a fabric pin to widen the remaining pogo pin portion to allow for soldering in the PCM wires. I used teflon/silver wire, twisted and wrapped in copper foil (for shielding) - soldered to one of the grounded pogo pins. insulated that with some milspec braided sleeve.

                                 

                                With some software configuration tweaks

                                I now have it capturing, recording, and playing back simultaneously at 192khz/24bit.

                                 

                                Thanks for everyone's input.

                                IMG_5503.JPG

                                • 238. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                                  analysis

                                  Hi John 

                                  I hope that this finds you well!! I see the revised PCB could you send me the file for PCB fab  requirements like dimension length X Width (mm), Layers, thickness,

                                  you have any picture to take a look the PCB assembly

                                   

                                  Thanks in advance  

                                  • 239. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                                    psyj

                                    Hi,

                                     

                                    Here is the KiCAD file that I used.  You may want to add to it,  feel free!  And if you are going to get some made with gold plated pads for the pogo connector, please let me know  ..... I would like to buy a couple if possible

                                     

                                    Regards

                                     

                                    John

                                    1 14 15 16 17 18 Previous Next