1 5 6 7 8 9 385 Replies Latest reply on May 19, 2020 7:08 AM by sabreur Go to original post
      • 90. Re: New reworked driver for Wolfson/Cirrus Logic audio card
        0d0a

        Saved to important

         

        the white rider

        (Het leuke van ... is

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

          Hias

           

          Bravo!

           

          Yes, it was pretty much that I was planning to do (see my previous post).  I have ordered a prototyping piggy back board to intercept the link to pin 12.  Taking out R39 has the same effect, but it is a tiny component!  Did you manage to tack a wire onto the R39 pad so that the 8814 is still connected to GPIO? If so you have better eyes and a steadier hand than me!

           

          I ordered a desoldering iron specially for the pogo pins, a solder sucker with a soldering iron built round it! Hopefully that will make life easier  ..... though I note that leaving the pogo pins on the wolfson board and insulating the pi board is a less elegant solution.

           

          But the really important thing is, thank you, it is always much easier to undertake these things when somebody has already proved it possible.

           

          Can we expect a run on the remaining Farnell stock of boards  now ;-)

           

          John

          1 of 1 people found this helpful
          • 92. Re: New reworked driver for Wolfson/Cirrus Logic audio card
            hiassoft

            Did you manage to tack a wire onto the R39 pad so that the 8814 is still connected to GPIO? If so you have better eyes and a steadier hand than me!

            I haven't bothered to do that, that GPIO isn't used by the driver, it's configured as an input by the RPi firmware, and there's a pullup (R30) as well. Just removing R39 is enough.

             

            If you want to solder a wire and hook it up to GPIO pin 33 it'd probably be easiest to do that on R30 - or R30 and the cleared pad of R39.

            I ordered a desoldering iron specially for the pogo pins, a solder sucker with a soldering iron built round it! Hopefully that will make life easier ..... though I note that leaving the pogo pins on the wolfson board and insulating the pi board is a less elegant solution.

            I used a larger (3mm or so) chisel tip, a lot of solder and heated up all 8 pins at the same time. Pins 7+8 seem to connect to a ground plane and my good old weller WS50 wasn't quite up to it so I had to crank up the temperature to 375°C. Then I was able to gently pry the pogo pins out and after that cleared the holes with a solder sucker.

             

            As it was already 1 AM I just used some breadboard connector cables, soldered the male end into the P5 holes and plugged the female ends onto the GPIO headers. Of course, being already too tired, I swapped the I2S data in and out pins and got no sound on the first try. But that was easily solved

             

            Here's a picture of my "Frankenson" audio card:

             

            Frankenson audio card in RPi2

             

            so long,

             

            Hias

            1 of 1 people found this helpful
            • 93. Re: New reworked driver for Wolfson/Cirrus Logic audio card
              psyj

              Hias,

               

              Huh! ;-) Your "Frankenson" is of higher quality than most peoples finished product.  (Mine included) I will post my version when I get the prototype board, but thanks for the R39 tip, I had no idea that the pin on the 8814 was not in use.  I am hoping that the prototype board has plated through holes where the pogo pins go (hence making zero modification to either card) .... if not it would be more logical to do a carbon copy of your approach,  And frankly for anybody else reading this, I think your approach is the more sensible one, I have already had poor connection problems with the pogos.

              • 94. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                hystrix

                Hi Hias,

                 

                Your work on the Cirrus Logic driver is amazing. I'm going to give the re-worked driver a go, hopefully later today if I can find a spare microSD card.

                 

                My project uses mic bias, and until now I have been using the headphone mic bias, but I have just swapped over to LineIn mic bias (because soldering wires to a 3 pole jack is way easier than those 4 pole jacks!). 

                 

                Your website notes say that there has been a bugfix to the micbias setting on LineIn.  What was the bug?  I'm interested since I haven't noticed any issues with using LineIn mic bias.

                 

                Many thanks, and I'll provide feedback when I try the re-worked driver.

                 

                Hystrix

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

                  Thanks - but this was just a quick proof-of-concept test.

                   

                  The long cables are not quite ideal, they are carrying high frequency digital signals and if they are bent down near to the analog circuit noise could couple in. I guess it would be better to run them on the bottom side of the PCB, next to the GPIO connector, or maybe use shielded cables.

                   

                  so long,

                   

                  Hias

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

                    Your website notes say that there has been a bugfix to the micbias setting on LineIn. What was the bug? I'm interested since I haven't noticed any issues with using LineIn mic bias.

                     

                    The bug was that micbias was always enabled on linein - probably not a problem for your case when you want the bias voltage, but it caused issues with gear that wasn't prepared to be connected to a DC biased input.

                     

                    so long,

                     

                    Hias

                    2 of 2 people found this helpful
                    • 97. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                      hystrix

                      @Hias: Thanks for clarifying the micbias thing.

                       

                      I'm just playing with the reworked driver right now.  I haven't been able to record yet, so I'm currently troubleshooting.

                       

                      UPDATE:  Got it working on Linux raspberrypi 4.9.13-v7+ #974 SMP Wed Mar 1 20:09:48 GMT 2017 armv7l GNU/Linux

                       

                      I had to go back to my old usecase script, though, and make a change to the card name, for example:

                       

                      Before:

                       

                      amixer $1 -Dhw:sndrpiwsp cset name='IN3L Volume' 30

                       

                      After:

                       

                      amixer $1 -Dhw:RPiCirrus cset name='IN3L Volume' 30

                       

                      I couldn't get the new Record_from_Linein_Micbias.sh to work for some reason.

                      1 of 1 people found this helpful
                      • 98. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                        hiassoft

                        I had to go back to my old usecase script, though, and make a change to the card name, for example:

                         

                        Before:

                         

                        amixer $1 -Dhw:sndrpiwsp cset name='IN3L Volume' 30

                         

                        After:

                         

                        amixer $1 -Dhw:RPiCirrus cset name='IN3L Volume' 30

                         

                        I couldn't get the new Record_from_Linein_Micbias.sh to work for some reason.

                        What didn't work with the new mixer script?

                         

                        If the input volume was too low you can just enter the mixer command above (plus the same for IN3R) or you can change Record_from_Linein_Micbias.sh and add "30" after the record_from_linein_micbias call:

                        #!/bin/sh
                        
                        MYDIR=$(dirname "$0")
                        . "${MYDIR}/rpi-cirrus-functions.sh"
                        
                        record_from_linein_micbias 30
                        
                        

                         

                        Of course you can use your own scripts if you prefer, in that case you should probably add this mixer setting to set micbias (use "on" or "off"):

                        amixer -q -c RPiCirrus cset name="Line Input Micbias" on
                        

                         

                        so long,

                         

                        Hias

                        • 99. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                          jezzas

                          Hi,

                          I am relatively new to this so  I am fast becoming frustrated with the installation of this card so need a some help. I thought I had run through everything  you said word for word but seem to get stuck at aplay -1. Thanking you in advance for anything you can shed light on.

                           

                          ###config.txt###

                          # For more options and information see

                          # http://www.raspberrypi.org/documentation/configuration/config-txt.md

                          # Some settings may impact device functionality. See link above for details

                           

                           

                          # uncomment if you get no picture on HDMI for a default "safe" mode

                          #hdmi_safe=1

                           

                           

                          # uncomment this if your display has a black border of unused pixels visible

                          # and your display can output without overscan

                          #disable_overscan=1

                           

                           

                          # uncomment the following to adjust overscan. Use positive numbers if console

                          # goes off screen, and negative if there is too much border

                          #overscan_left=16

                          #overscan_right=16

                          #overscan_top=16

                          #overscan_bottom=16

                           

                           

                          # uncomment to force a console size. By default it will be display's size minus

                          # overscan.

                          #framebuffer_width=1280

                          #framebuffer_height=720

                           

                           

                          # uncomment if hdmi display is not detected and composite is being output

                          #hdmi_force_hotplug=1

                           

                           

                          # uncomment to force a specific HDMI mode (this will force VGA)

                          #hdmi_group=1

                          #hdmi_mode=1

                           

                           

                          # uncomment to force a HDMI mode rather than DVI. This can make audio work in

                          # DMT (computer monitor) modes

                          #hdmi_drive=2

                           

                           

                          # uncomment to increase signal to HDMI, if you have interference, blanking, or

                          # no display

                          #config_hdmi_boost=4

                           

                           

                          # uncomment for composite PAL

                          #sdtv_mode=2

                           

                           

                          #uncomment to overclock the arm. 700 MHz is the default.

                          #arm_freq=800

                           

                           

                          # Uncomment some or all of these to enable the optional hardware interfaces

                          #dtparam=i2c_arm=on

                          #dtparam=i2s=on

                          #dtparam=spi=on

                          dtoverlay=rpi-cirrus-wm1502

                          dtdebug=1

                           

                           

                          # Uncomment this to enable the lirc-rpi module

                          #dtoverlay=lirc-rpi

                           

                           

                          # Additional overlays and parameters are documented /boot/overlays/README

                           

                           

                          # Enable audio (loads snd_bcm2835)

                          dtparam=audio=on

                          start_x=0

                           

                          ###vcgencmd version###

                          Mar  2 2017 15:32:36

                          Copyright (c) 2012 Broadcom

                          version a867bcec14cd829107be1c03c0953a076919f4d7 (clean) (release)

                           

                          ###sudo vcdbg log msg 2>&1###

                           

                          000922.857: HDMI:EDID version 1.3, 1 extensions, unknown aspect ratio

                          000922.921: HDMI:EDID features - videodef 0x80 standby suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is not native; does not support GTF

                          000922.999: HDMI:EDID found preferred DMT detail timing format: 1360x768p @ 60 Hz (39)

                          000923.040: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II

                          000923.076: HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II

                          000923.115: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II

                          000923.153: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II

                          000923.191: HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II

                          000923.227: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II

                          000923.265: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II

                          000923.301: HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II

                          000923.341: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II

                          000923.432: HDMI:EDID standard timings block x 8: 0x0101 0101 0101 0101 0101 0101 0101 0101

                          000936.446: HDMI:EDID parsing v3 CEA extension 0

                          000936.485: HDMI:EDID monitor support - underscan IT formats:no, basic audio:yes, yuv444:yes, yuv422:no, #native DTD:1

                          000936.527: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)

                          000936.585: HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16|20|24 bits

                          000936.604: HDMI:EDID found HDMI VSDB length 7

                          000936.630: HDMI:EDID HDMI VSDB has physical address 2.0.0.0

                          000936.652: HDMI:EDID HDMI VSDB supports AI:yes, dual link DVI:no

                          000936.683: HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:no 30-bit:no DC_yuv444:no

                          000936.700: HDMI:EDID HDMI VSDB max TMDS clock 225 MHz

                          000936.715: HDMI:EDID HDMI VSDB has no latency information

                          000936.756: HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz (native)

                          000936.788: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz (native)

                          000936.822: HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz

                          000936.838: HDMI:EDID found Video Capability DB length 2

                          000936.864: HDMI:EDID video capability: CE:3 IT:3 PT:0 QS:0

                          000936.900: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023

                          000937.029: HDMI:EDID preferred mode remained as DMT (39) 1360x768p @ 60 Hz with pixel clock 85 MHz

                          000951.502: HDMI:Setting property pixel encoding to Default

                          000951.521: HDMI:Setting property pixel clock type to PAL

                          000951.542: HDMI:Setting property content type flag to No data

                          000951.560: HDMI:Setting property fuzzy format match to enabled

                          001195.292: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<<

                          001207.350: hdmi: HDMI:EDID version 1.3, 1 extensions, unknown aspect ratio

                          001207.420: hdmi: HDMI:EDID features - videodef 0x80 standby suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is not native; does not support GTF

                          001207.501: hdmi: HDMI:EDID found preferred DMT detail timing format: 1360x768p @ 60 Hz (39)

                          001207.547: hdmi: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II

                          001207.589: hdmi: HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II

                          001207.630: hdmi: HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II

                          001207.673: hdmi: HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II

                          001207.712: hdmi: HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II

                          001207.755: hdmi: HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II

                          001207.798: hdmi: HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II

                          001207.841: hdmi: HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II

                          001207.881: hdmi: HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II

                          001207.978: hdmi: HDMI:EDID standard timings block x 8: 0x0101 0101 0101 0101 0101 0101 0101 0101

                          001220.995: hdmi: HDMI:EDID parsing v3 CEA extension 0

                          001221.036: hdmi: HDMI:EDID monitor support - underscan IT formats:no, basic audio:yes, yuv444:yes, yuv422:no, #native DTD:1

                          001221.080: hdmi: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)

                          001221.140: hdmi: HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16|20|24 bits

                          001221.161: hdmi: HDMI:EDID found HDMI VSDB length 7

                          001221.190: hdmi: HDMI:EDID HDMI VSDB has physical address 2.0.0.0

                          001221.214: hdmi: HDMI:EDID HDMI VSDB supports AI:yes, dual link DVI:no

                          001221.246: hdmi: HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:no 30-bit:no DC_yuv444:no

                          001221.270: hdmi: HDMI:EDID HDMI VSDB max TMDS clock 225 MHz

                          001221.290: hdmi: HDMI:EDID HDMI VSDB has no latency information

                          001221.334: hdmi: HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz (native)

                          001221.372: hdmi: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz (native)

                          001221.407: hdmi: HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz

                          001221.430: hdmi: HDMI:EDID found Video Capability DB length 2

                          001221.461: hdmi: HDMI:EDID video capability: CE:3 IT:3 PT:0 QS:0

                          001221.503: hdmi: HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023

                          001221.634: hdmi: HDMI:EDID preferred mode remained as DMT (39) 1360x768p @ 60 Hz with pixel clock 85 MHz

                          001221.656: hdmi: HDMI: hotplug attached with HDMI support

                          001221.693: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead

                          001224.105: hdmi: HDMI: power_on to DMT mode 1360x768@60

                          001227.284: hdmi: HDMI: Action callback added to queue to happen at frame 2

                          001227.308: hdmi: HDMI: Action stop_3d_mode added to queue to happen at frame 2

                          001227.331: hdmi: HDMI: Action unmute added to queue to happen at frame 3

                          001227.357: hdmi: HDMI: Action cec_init added to queue to happen at frame 3

                          001279.752: *** Restart logging

                          001281.457: Read command line from file 'cmdline.txt'

                          dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

                          001559.187: Loading 'kernel7.img' to 0x8000 size 0x45d5b0

                          001562.845: No kernel trailer (run mkknlimg to fix) - assuming DT-capable

                          001569.324: Loading 'bcm2710-rpi-3-b.dtb' to 0x4655b0 size 0x442f

                          001581.513: dtdebug: delete_node(/__local_fixups__)

                          001590.041: dtdebug: /aliases:i2c_vc=i2c0

                          001596.219: dtdebug: /__symbols__:i2c_vc=i2c0

                          001601.114: dtdebug: /__overrides__:i2c_vc=i2c0

                          001613.506: dtdebug: /__overrides__:i2c_vc_baudrate=i2c0_baudrate

                          001618.518: dtdebug: /aliases:i2c=i2c1

                          001624.830: dtdebug: /__symbols__:i2c=i2c1

                          001629.830: dtdebug: /__overrides__:i2c=i2c1

                          001634.875: dtdebug: /aliases:i2c_arm=i2c1

                          001641.227: dtdebug: /__symbols__:i2c_arm=i2c1

                          001646.265: dtdebug: /__overrides__:i2c_arm=i2c1

                          001658.822: dtdebug: /__overrides__:i2c_baudrate=i2c1_baudrate

                          001673.781: dtdebug: /__overrides__:i2c_arm_baudrate=i2c1_baudrate

                          001673.816: dtparam: uart0_clkrate=48000000

                          001677.337: dtdebug: /__overrides__ has no uart0_clkrate property

                          001677.350: Unknown dtparam 'uart0_clkrate' - ignored

                          001693.781: dtdebug: Failed to open overlay file 'overlays/rpi-cirrus-wm1502.dtbo'

                          001704.690: dtdebug: Failed to open overlay file 'overlays/rpi-cirrus-wm1502-overlay.dtb'

                          001715.594: dtdebug: Failed to open overlay file 'overlays/rpi-cirrus-wm1502.dtb'

                          001715.610: Failed to load overlay 'rpi-cirrus-wm1502'

                          001715.716: dtparam: audio=on

                          001719.190: dtdebug: Found override audio

                          001719.227: dtdebug:   override audio: string target 'status'

                          001742.293: dtdebug: /aliases:serial0=uart1

                          001747.373: dtdebug: /aliases:serial1=uart0

                          001762.536: dtparam: uart1=off

                          001765.849: dtdebug: Found override uart1

                          001765.885: dtdebug:   override uart1: string target 'status'

                          002648.343: dtparam: arm_freq=1200000000

                          002651.675: dtdebug: Found override arm_freq

                          002651.727: dtdebug:   override arm_freq: cell target clock-frequency @ offset 0 (size 4)

                          002662.450: dtdebug:   override arm_freq: cell target clock-frequency @ offset 0 (size 4)

                          002673.250: dtdebug:   override arm_freq: cell target clock-frequency @ offset 0 (size 4)

                          002684.136: dtdebug:   override arm_freq: cell target clock-frequency @ offset 0 (size 4)

                          002695.132: dtparam: core_freq=400000000

                          002698.694: dtdebug: /__overrides__ has no core_freq property

                          002698.708: Unknown dtparam 'core_freq' - ignored

                          002698.727: dtparam: cache_line_size=64

                          002702.022: dtdebug: Found override cache_line_size

                          002702.071: dtdebug:   override cache_line_size: cell target cache-line-size @ offset 0 (size 4)

                          002721.339: dtdebug: delete_node(/hat)

                          002729.440: Device tree loaded to 0x2effb700 (size 0x4856)

                          002735.006: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined

                          004132.356: vchiq_core: vchiq_init_state: slot_zero = 0xfa980000, is_master = 1

                          004136.802: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead

                          004142.295: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x00000027

                           

                          ###dmesg###

                          [    0.000000] Booting Linux on physical CPU 0x0

                          [    0.000000] Linux version 4.9.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #974 SMP Wed Mar 1 20:09:48 GMT 2017

                          [    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d

                          [    0.000000] CPU: div instructions available: patching division code

                          [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

                          [    0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Rev 1.2

                          [    0.000000] cma: Reserved 8 MiB at 0x3a800000

                          [    0.000000] Memory policy: Data cache writealloc

                          [    0.000000] On node 0 totalpages: 241664

                          [    0.000000] free_area_init_node: node 0, pgdat 80c6ed80, node_mem_map b9faa000

                          [    0.000000]   Normal zone: 2124 pages used for memmap

                          [    0.000000]   Normal zone: 0 pages reserved

                          [    0.000000]   Normal zone: 241664 pages, LIFO batch:31

                          [    0.000000] percpu: Embedded 14 pages/cpu @b9f64000 s25600 r8192 d23552 u57344

                          [    0.000000] pcpu-alloc: s25600 r8192 d23552 u57344 alloc=14*4096

                          [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3

                          [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 239540

                          [    0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1360 bcm2708_fb.fbheight=768 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

                          [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

                          [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

                          [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

                          [    0.000000] Memory: 936304K/966656K available (7168K kernel code, 483K rwdata, 2012K rodata, 1024K init, 778K bss, 22160K reserved, 8192K cma-reserved)

                          [    0.000000] Virtual kernel memory layout:

                              vector  : 0xffff0000 - 0xffff1000   (   4 kB)

                              fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

                              vmalloc : 0xbb800000 - 0xff800000   (1088 MB)

                              lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)

                              modules : 0x7f000000 - 0x80000000   (  16 MB)

                                .text : 0x80008000 - 0x80800000   (8160 kB)

                                .init : 0x80b00000 - 0x80c00000   (1024 kB)

                                .data : 0x80c00000 - 0x80c78f6c   ( 484 kB)

                                 .bss : 0x80c7a000 - 0x80d3cb64   ( 779 kB)

                          [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

                          [    0.000000] Hierarchical RCU implementation.

                          [    0.000000] Build-time adjustment of leaf fanout to 32.

                          [    0.000000] NR_IRQS:16 nr_irqs:16 16

                          [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys).

                          [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns

                          [    0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns

                          [    0.000021] Switching to timer-based delay loop, resolution 52ns

                          [    0.000323] Console: colour dummy device 80x30

                          [    0.000343] console [tty1] enabled

                          [    0.000368] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)

                          [    0.000385] pid_max: default: 32768 minimum: 301

                          [    0.000718] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

                          [    0.000728] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

                          [    0.001707] Disabling cpuset control group subsystem

                          [    0.001868] CPU: Testing write buffer coherency: ok

                          [    0.001911] ftrace: allocating 22388 entries in 66 pages

                          [    0.053391] CPU0: update cpu_capacity 1024

                          [    0.053406] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

                          [    0.053478] Setting up static identity map for 0x100000 - 0x100034

                          [    0.055729] CPU1: update cpu_capacity 1024

                          [    0.055737] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

                          [    0.056469] CPU2: update cpu_capacity 1024

                          [    0.056476] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002

                          [    0.057153] CPU3: update cpu_capacity 1024

                          [    0.057159] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003

                          [    0.057243] Brought up 4 CPUs

                          [    0.057253] SMP: Total of 4 processors activated (153.60 BogoMIPS).

                          [    0.057257] CPU: All CPU(s) started in HYP mode.

                          [    0.057261] CPU: Virtualization extensions available.

                          [    0.058054] devtmpfs: initialized

                          [    0.069480] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4

                          [    0.069763] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

                          [    0.069780] futex hash table entries: 1024 (order: 4, 65536 bytes)

                          [    0.070322] pinctrl core: initialized pinctrl subsystem

                          [    0.071224] NET: Registered protocol family 16

                          [    0.073604] DMA: preallocated 1024 KiB pool for atomic coherent allocations

                          [    0.082811] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

                          [    0.082817] hw-breakpoint: maximum watchpoint size is 8 bytes.

                          [    0.082964] Serial: AMBA PL011 UART driver

                          [    0.086588] bcm2835-mbox 3f00b880.mailbox: mailbox enabled

                          [    0.087116] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe

                          [    0.164009] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80f000, dmachans=0x1

                          [    0.165854] SCSI subsystem initialized

                          [    0.166008] usbcore: registered new interface driver usbfs

                          [    0.166090] usbcore: registered new interface driver hub

                          [    0.166182] usbcore: registered new device driver usb

                          [    0.172957] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-03-02 15:32

                          [    0.174485] clocksource: Switched to clocksource arch_sys_counter

                          [    0.221410] VFS: Disk quotas dquot_6.6.0

                          [    0.221484] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

                          [    0.221683] FS-Cache: Loaded

                          [    0.221927] CacheFiles: Loaded

                          [    0.234330] NET: Registered protocol family 2

                          [    0.235224] TCP established hash table entries: 8192 (order: 3, 32768 bytes)

                          [    0.235333] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

                          [    0.235518] TCP: Hash tables configured (established 8192 bind 8192)

                          [    0.235605] UDP hash table entries: 512 (order: 2, 16384 bytes)

                          [    0.235646] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

                          [    0.235856] NET: Registered protocol family 1

                          [    0.236259] RPC: Registered named UNIX socket transport module.

                          [    0.236265] RPC: Registered udp transport module.

                          [    0.236269] RPC: Registered tcp transport module.

                          [    0.236273] RPC: Registered tcp NFSv4.1 backchannel transport module.

                          [    0.237330] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available

                          [    0.239642] workingset: timestamp_bits=14 max_order=18 bucket_order=4

                          [    0.256234] FS-Cache: Netfs 'nfs' registered for caching

                          [    0.257222] NFS: Registering the id_resolver key type

                          [    0.257249] Key type id_resolver registered

                          [    0.257254] Key type id_legacy registered

                          [    0.259712] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)

                          [    0.259815] io scheduler noop registered

                          [    0.259821] io scheduler deadline registered (default)

                          [    0.260133] io scheduler cfq registered

                          [    0.265892] BCM2708FB: allocated DMA memory fa910000

                          [    0.265916] BCM2708FB: allocated DMA channel 0 @ bb80f000

                          [    0.295471] Console: switching to colour frame buffer device 170x48

                          [    0.314053] bcm2835-rng 3f104000.rng: hwrng registered

                          [    0.314159] vc-cma: Videocore CMA driver

                          [    0.314167] vc-cma: vc_cma_base      = 0x00000000

                          [    0.314172] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)

                          [    0.314177] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)

                          [    0.314384] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)

                          [    0.329966] brd: module loaded

                          [    0.339021] loop: module loaded

                          [    0.339034] Loading iSCSI transport class v2.0-870.

                          [    0.339637] usbcore: registered new interface driver smsc95xx

                          [    0.339652] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)

                          [    0.565711] Core Release: 2.80a

                          [    0.565721] Setting default values for core params

                          [    0.565750] Finished setting default values for core params

                          [    0.766149] Using Buffer DMA mode

                          [    0.766154] Periodic Transfer Interrupt Enhancement - disabled

                          [    0.766159] Multiprocessor Interrupt Enhancement - disabled

                          [    0.766164] OTG VER PARAM: 0, OTG VER FLAG: 0

                          [    0.766178] Dedicated Tx FIFOs mode

                          [    0.766526] WARN::dwc_otg_hcd_init:1053: FIQ DMA bounce buffers: virt = 0xba904000 dma = 0xfa904000 len=9024

                          [    0.766550] FIQ FSM acceleration enabled for :

                          Non-periodic Split Transactions

                          Periodic Split Transactions

                          High-Speed Isochronous Endpoints

                          Interrupt/Control Split Transaction hack enabled

                          [    0.766556] dwc_otg: Microframe scheduler enabled

                          [    0.766605] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8058e200

                          [    0.766614] WARN::hcd_init_fiq:460: FIQ ASM at 0x8058e570 length 36

                          [    0.766625] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87c000

                          [    0.766683] dwc_otg 3f980000.usb: DWC OTG Controller

                          [    0.766718] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1

                          [    0.766749] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000

                          [    0.766796] Init: Port Power? op_state=1

                          [    0.766800] Init: Power Port (0)

                          [    0.767008] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

                          [    0.767018] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

                          [    0.767027] usb usb1: Product: DWC OTG Controller

                          [    0.767034] usb usb1: Manufacturer: Linux 4.9.13-v7+ dwc_otg_hcd

                          [    0.767042] usb usb1: SerialNumber: 3f980000.usb

                          [    0.767902] hub 1-0:1.0: USB hub found

                          [    0.767942] hub 1-0:1.0: 1 port detected

                          [    0.768641] dwc_otg: FIQ enabled

                          [    0.768646] dwc_otg: NAK holdoff enabled

                          [    0.768650] dwc_otg: FIQ split-transaction FSM enabled

                          [    0.768664] Module dwc_common_port init

                          [    0.768900] usbcore: registered new interface driver usb-storage

                          [    0.769132] mousedev: PS/2 mouse device common for all mice

                          [    0.770152] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer

                          [    0.770427] bcm2835-cpufreq: min=600000 max=1200000

                          [    0.770816] sdhci: Secure Digital Host Controller Interface driver

                          [    0.770821] sdhci: Copyright(c) Pierre Ossman

                          [    0.771199] sdhost: log_buf @ ba907000 (fa907000)

                          [    0.844520] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)

                          [    0.866852] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0

                          [    0.866860] mmc-bcm2835 3f300000.mmc: DMA channel allocated

                          [    0.911676] mmc0: host does not support reading read-only switch, assuming write-enable

                          [    0.913638] mmc0: new high speed SDHC card at address 0007

                          [    0.914249] mmcblk0: mmc0:0007 SD16G 14.5 GiB

                          [    0.915778]  mmcblk0: p1 p2

                          [    0.924629] sdhci-pltfm: SDHCI platform and OF driver helper

                          [    0.932440] ledtrig-cpu: registered to indicate activity on CPUs

                          [    0.940721] hidraw: raw HID events driver (C) Jiri Kosina

                          [    0.940902] usbcore: registered new interface driver usbhid

                          [    0.940906] usbhid: USB HID core driver

                          [    0.941684] vchiq: vchiq_init_state: slot_zero = 0xba980000, is_master = 0

                          [    0.943457] Initializing XFRM netlink socket

                          [    0.943480] NET: Registered protocol family 17

                          [    0.943593] Key type dns_resolver registered

                          [    0.944106] Registering SWP/SWPB emulation handler

                          [    0.944929] registered taskstats version 1

                          [    0.948144] vc-sm: Videocore shared memory driver

                          [    0.948154] [vc_sm_connected_init]: start

                          [    0.948192] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)

                          [    0.949753] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

                          [    0.951300] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

                          [    0.952423] [vc_sm_connected_init]: end - returning 0

                          [    0.953610] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2

                          [    0.953955] of_cfs_init

                          [    0.954040] of_cfs_init: OK

                          [    0.955804] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)

                          [    0.970761] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

                          [    0.970804] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.

                          [    0.980624] devtmpfs: mounted

                          [    0.982469] Freeing unused kernel memory: 1024K (80b00000 - 80c00000)

                          [    0.984617] Indeed it is in host mode hprt0 = 00021501

                          [    1.049155] random: fast init done

                          [    1.112688] mmc1: new high speed SDIO card at address 0001

                          [    1.184543] usb 1-1: new high-speed USB device number 2 using dwc_otg

                          [    1.184697] Indeed it is in host mode hprt0 = 00001101

                          [    1.272693] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)

                          [    1.273042] systemd[1]: Detected architecture 'arm'.

                          [    1.401917] NET: Registered protocol family 10

                          [    1.403356] systemd[1]: Inserted module 'ipv6'

                          [    1.405107] systemd[1]: Set hostname to <SonicPi>.

                          [    1.414847] usb 1-1: New USB device found, idVendor=0424, idProduct=9514

                          [    1.414862] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

                          [    1.415698] hub 1-1:1.0: USB hub found

                          [    1.415792] hub 1-1:1.0: 5 ports detected

                          [    1.744540] usb 1-1.1: new high-speed USB device number 3 using dwc_otg

                          [    1.797914] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.

                          [    1.801197] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.

                          [    1.801534] systemd[1]: Started Forward Password Requests to Wall Directory Watch.

                          [    1.801606] systemd[1]: Starting Remote File Systems (Pre).

                          [    1.801765] systemd[1]: Reached target Remote File Systems (Pre).

                          [    1.801910] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.

                          [    1.894872] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00

                          [    1.894888] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

                          [    1.897845] smsc95xx v1.0.5

                          [    1.990568] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:15:f5:5a

                          [    2.021304] fuse init (API version 7.26)

                          [    2.070018] i2c /dev entries driver

                          [    2.084570] usb 1-1.4: new low-speed USB device number 4 using dwc_otg

                          [    2.211902] systemd-udevd[141]: starting version 215

                          [    2.233076] usb 1-1.4: New USB device found, idVendor=413c, idProduct=2003

                          [    2.233092] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0

                          [    2.233100] usb 1-1.4: Product: Dell USB Keyboard

                          [    2.233108] usb 1-1.4: Manufacturer: Dell

                          [    2.253828] input: Dell Dell USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:413C:2003.0001/input/input0

                          [    2.324702] hid-generic 0003:413C:2003.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-3f980000.usb-1.4/input0

                          [    2.424641] usb 1-1.5: new low-speed USB device number 5 using dwc_otg

                          [    2.564158] usb 1-1.5: New USB device found, idVendor=413c, idProduct=3010

                          [    2.564181] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0

                          [    2.576889] input: HID 413c:3010 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:413C:3010.0002/input/input1

                          [    2.577434] hid-generic 0003:413C:3010.0002: input,hidraw1: USB HID v1.00 Mouse [HID 413c:3010] on usb-3f980000.usb-1.5/input0

                          [    2.915471] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

                          [    3.775813] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000

                          [    4.038983] usbcore: registered new interface driver brcmfmac

                          [    4.195976] brcmfmac: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7

                          [    4.493157] systemd-journald[126]: Received request to flush runtime journal from PID 1

                          [    6.478415] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

                          [    6.478468] brcmfmac: power management disabled

                          [    6.544853] uart-pl011 3f201000.serial: no DMA platform data

                          [    6.837437] Adding 102396k swap on /var/swap.  Priority:-1 extents:3 across:208896k SSFS

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

                          [    7.446086] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

                          [    7.751172] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

                          [    8.659119] IPv6: wlan0: IPv6 duplicate address fe80::b9bc:f350:f578:952c detected!

                          [   11.177445] Bluetooth: Core ver 2.22

                          [   11.177494] NET: Registered protocol family 31

                          [   11.177497] Bluetooth: HCI device and connection manager initialized

                          [   11.177630] Bluetooth: HCI socket layer initialized

                          [   11.177641] Bluetooth: L2CAP socket layer initialized

                          [   11.177661] Bluetooth: SCO socket layer initialized

                          [   11.191235] Bluetooth: HCI UART driver ver 2.3

                          [   11.191242] Bluetooth: HCI UART protocol H4 registered

                          [   11.191245] Bluetooth: HCI UART protocol Three-wire (H5) registered

                          [   11.191351] Bluetooth: HCI UART protocol Broadcom registered

                          [   11.482577] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

                          [   11.482584] Bluetooth: BNEP filters: protocol multicast

                          [   11.482597] Bluetooth: BNEP socket layer initialized

                          [   32.888357] random: crng init done

                           

                          ###lsmod###

                          Module                  Size  Used by

                          bnep                   12051  2

                          hci_uart               19956  1

                          btbcm                   7916  1 hci_uart

                          bluetooth             365511  22 hci_uart,bnep,btbcm

                          brcmfmac              222720  0

                          brcmutil                9092  1 brcmfmac

                          cfg80211              542899  1 brcmfmac

                          evdev                  12423  4

                          rfkill                 20851  4 bluetooth,cfg80211

                          snd_bcm2835            24427  1

                          snd_pcm                97226  1 snd_bcm2835

                          snd_timer              23840  1 snd_pcm

                          snd                    70032  5 snd_timer,snd_bcm2835,snd_pcm

                          bcm2835_gpiomem         3940  0

                          uio_pdrv_genirq         3923  0

                          uio                    10204  1 uio_pdrv_genirq

                          fixed                   3285  0

                          i2c_dev                 6913  0

                          fuse                   99603  3

                          ipv6                  406215  58

                           

                          ###aplay -1###

                           

                          pi@SonicPi:~ $ aplay -1

                          aplay: invalid option -- '1'

                          Try `aplay --help' for more information.

                          • 100. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                            0d0a

                            IT looks Like your output goes to hdmi

                             

                            the white rider

                            (Het leuke van ... is

                            • 101. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                              jezzas

                              Hi Michel,

                               

                              Thank you for the quick reply, am I to assume you are looking at the config.txt part of my original post as I only see that HDMI has been commented out. What do I do to stop the output to HDMI?

                               

                              Jerry

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

                                Hi Jerry!

                                Thank you for the quick reply, am I to assume you are looking at the config.txt part of my original post as I only see that HDMI has been commented out. What do I do to stop the output to HDMI?

                                 

                                Comment out (or remove) the "dtparam=audio=on" line at the end of config txt, then the only audio device in your system will be the cirrus card.

                                 

                                Edit: ah, and you seem to have a typo in the dtoverlay=rpi-cirrus-wm5102 line (you have 1502 there instead of 5102) - so the cirrus driver won't load at all.

                                 

                                so long,

                                 

                                Hias

                                1 of 1 people found this helpful
                                • 103. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                                  jezzas

                                  Hi Hias,

                                  I am really frustrated now as I removed "dtparam=audio=on" completely and after a reboot the sound card wasn't seen (red X over the sound icon in Jessie). I put the line back and obviously the onboard card was seen.

                                   

                                  Just so I am not going completely mad can you confirm the correct syntax to start these please?

                                   

                                  ./Reset_paths.sh
                                  ./Playback_to_Lineout.sh
                                  ./Playback_to_SPDIF.sh
                                  ./Record_from_Linein.sh

                                   

                                  I apologise for the nooby question but it is the only thing I can think of that is not working after going line by line on the instructions.

                                   

                                  Jerry

                                  • 104. Re: New reworked driver for Wolfson/Cirrus Logic audio card
                                    0d0a

                                    hiassoft noted a typo in your load statement. See his reply for detail!| Check also if alsamixer has the right board selected (after implementing hiassoft's answers!

                                    1 5 6 7 8 9