7 Replies Latest reply on Jun 22, 2017 3:16 AM by hiassoft

    Having trouble w/ Wolfson card playback

    demosense

      Hello board!

       

      I need help getting Wolfson card to output audio from system (mplayer and etc). I followed the instructions, and checked, driver is loading,

      but i can't get any audio out of mplayer. Looks like audio driver gets stuck trying to play a file:

       

       

      pi@raspberrypi:~ $ mplayer brobob.mp3

      MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team

      Cannot open file '/home/pi/.mplayer/input.conf': No such file or directory

      Failed to open /home/pi/.mplayer/input.conf.

      Cannot open file '/etc/mplayer/input.conf': No such file or directory

      Failed to open /etc/mplayer/input.conf.

       

       

      Playing brobob.mp3.

      Detected file format: MP2/3 (MPEG audio layer 2/3) (libavformat)

      [mp3 @ 0x75b795b8]max_analyze_duration 5000000 reached

      [mp3 @ 0x75b795b8]Estimating duration from bitrate, this may be inaccurate

      [lavf] stream 0: audio (mp3), -aid 0

      Load subtitles in .

      Selected audio codec: MPEG 1.0/2.0/2.5 layers I, II, III [mpg123]

      AUDIO: 32000 Hz, 2 ch, s16le, 96.0 kbit/9.38% (ratio: 12000->128000)

      AO: [pulse] Init failed: Connection refused

      AO: [alsa] 32000Hz 2ch s16le (2 bytes per sample)

      [AO_ALSA] Unable to find simple control 'Master',0.

      Video: no video

      Starting playback...

      A:   0.0 (00.0) of 29.7 (29.6) ??,?%

       

      Thanks,

       

      kindly

       

      -----------------------------------------------------------------------------------------------------------------------------------------------------------

       

      pi@raspberrypi:~ $ uname -a

      Linux raspberrypi 4.9.33-v7+ #1010 SMP Sat Jun 17 17:13:15 BST 2017 armv7l GNU/Linux

       

      --------------------------------------

       

      pi@raspberrypi:~ $ paste /boot/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

       

       

      # Uncomment this to enable the lirc-rpi module

      #dtoverlay=lirc-rpi

      dtoverlay=rpi-cirrus-wm5102

       

       

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

       

       

      # Enable audio (loads snd_bcm2835)

      # dtparam=audio=on

      lcd_rotate=2

       

       

      dtdebug=1

       

      ------------------------------------------

       

      pi@raspberrypi:~ $ vcgencmd version

      Jun 13 2017 14:49:57

      Copyright (c) 2012 Broadcom

      version 22340f772ce101854acbc46045358dae832dd513 (tainted) (release)

       

      ----------------------------------------------

      pi@raspberrypi:~ $ sudo vcdbg log msg 2>&1

      001019.979: brfs: File read: /mfs/sd/config.txt

      001020.945: brfs: File read: 1689 bytes

      001041.231: HDMI:EDID version 1.3, 1 extensions, screen size 70x39 cm

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

      001041.356: HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16)

      001041.433: HDMI:EDID found DMT detail timing format: 1366x768p @ 60 Hz (81)

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

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

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

      001041.643: HDMI:EDID standard timings block x 8: 0x8180 B300 D1C0 A9C0 9500 0101 0101 0101

      001041.695: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 0

      001041.746: HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 1

      001041.799: HDMI:EDID found DMT format: code 82, 1920x1080p @ 60 Hz (16:9) in standard timing 2

      001041.850: HDMI:EDID found DMT format: code 83, 1600x900p @ 60 Hz (16:9) in standard timing 3

      001041.902: HDMI:EDID found DMT format: code 47, 1440x900p @ 60 Hz (16:10) in standard timing 4

      001054.914: HDMI:EDID parsing v3 CEA extension 0

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

      001054.993: HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16)

      001055.034: HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)

      001055.076: HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)

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

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

      001055.184: HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz

      001055.218: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz

      001055.250: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz

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

      001055.312: HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz

      001055.343: HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz

      001055.376: HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz

      001055.409: HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz

      001055.443: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz

      001055.475: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz

      001055.508: HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz

      001055.542: HDMI:EDID found CEA format: code 32, 1920x1080p @ 24Hz

      001055.574: HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz

      001055.607: HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz

      001055.640: HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz

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

      001055.712: HDMI:EDID found HDMI VSDB length 7

      001055.737: HDMI:EDID HDMI VSDB has physical address 1.0.0.0

      001055.759: HDMI:EDID HDMI VSDB supports AI:no, dual link DVI:no

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

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

      001055.826: HDMI:EDID HDMI VSDB has no latency information

      001055.856: HDMI:EDID extended data block tag 0x05 length 3 not supported

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

      001056.062: HDMI:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz

      001069.393: brfs: File read: /mfs/sd/config.txt

      001070.231: HDMI:Setting property pixel encoding to Default

      001070.250: HDMI:Setting property pixel clock type to PAL

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

      001070.288: HDMI:Setting property fuzzy format match to enabled

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

      001323.624: hdmi: HDMI:EDID version 1.3, 1 extensions, screen size 70x39 cm

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

      001323.755: hdmi: HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16)

      001323.840: hdmi: HDMI:EDID found DMT detail timing format: 1366x768p @ 60 Hz (81)

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

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

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

      001324.064: hdmi: HDMI:EDID standard timings block x 8: 0x8180 B300 D1C0 A9C0 9500 0101 0101 0101

      001324.120: hdmi: HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 0

      001324.174: hdmi: HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 1

      001324.230: hdmi: HDMI:EDID found DMT format: code 82, 1920x1080p @ 60 Hz (16:9) in standard timing 2

      001324.286: hdmi: HDMI:EDID found DMT format: code 83, 1600x900p @ 60 Hz (16:9) in standard timing 3

      001324.341: hdmi: HDMI:EDID found DMT format: code 47, 1440x900p @ 60 Hz (16:10) in standard timing 4

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

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

      001337.444: hdmi: HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16)

      001337.488: hdmi: HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)

      001337.533: hdmi: HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)

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

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

      001337.653: hdmi: HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz

      001337.689: hdmi: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz

      001337.725: hdmi: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz

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

      001337.795: hdmi: HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz

      001337.830: hdmi: HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz

      001337.866: hdmi: HDMI:EDID found CEA format: code 1, 640x480p @ 60Hz

      001337.903: hdmi: HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz

      001337.940: hdmi: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz

      001337.974: hdmi: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz

      001338.012: hdmi: HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz

      001338.048: hdmi: HDMI:EDID found CEA format: code 32, 1920x1080p @ 24Hz

      001338.083: hdmi: HDMI:EDID found CEA format: code 21, 1440x576i @ 50Hz

      001338.119: hdmi: HDMI:EDID found CEA format: code 17, 720x576p @ 50Hz

      001338.155: hdmi: HDMI:EDID found CEA format: code 6, 1440x480i @ 60Hz

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

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

      001338.262: hdmi: HDMI:EDID HDMI VSDB has physical address 1.0.0.0

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

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

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

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

      001338.395: hdmi: HDMI:EDID extended data block tag 0x05 length 3 not supported

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

      001338.607: hdmi: HDMI:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz

      001338.631: hdmi: HDMI: hotplug attached with HDMI support

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

      001341.084: hdmi: HDMI: power_on to CEA mode 1080p60

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

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

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

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

      001396.852: *** Restart logging

      001396.879: brfs: File read: 1689 bytes

      001398.908: brfs: File read: /mfs/sd/cmdline.txt

      001398.987: 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

      001399.260: brfs: File read: 181 bytes

      001681.035: brfs: File read: /mfs/sd/kernel7.img

      001681.060: Loading 'kernel7.img' to 0x8000 size 0x45d928

      001684.709: No kernel trailer - assuming DT-capable

      001684.740: brfs: File read: 4577576 bytes

      001691.993: brfs: File read: /mfs/sd/bcm2710-rpi-3-b.dtb

      001692.019: Loading 'bcm2710-rpi-3-b.dtb' to 0x465928 size 0x44d8

      001704.503: dtdebug: delete_node(/__local_fixups__)

      001713.199: dtdebug: /aliases:i2c_vc=i2c0

      001719.474: dtdebug: /__symbols__:i2c_vc=i2c0

      001724.427: dtdebug: /__overrides__:i2c_vc=i2c0

      001737.071: dtdebug: /__overrides__:i2c_vc_baudrate=i2c0_baudrate

      001742.151: dtdebug: /aliases:i2c=i2c1

      001748.583: dtdebug: /__symbols__:i2c=i2c1

      001753.633: dtdebug: /__overrides__:i2c=i2c1

      001758.759: dtdebug: /aliases:i2c_arm=i2c1

      001765.201: dtdebug: /__symbols__:i2c_arm=i2c1

      001770.263: dtdebug: /__overrides__:i2c_arm=i2c1

      001783.045: dtdebug: /__overrides__:i2c_baudrate=i2c1_baudrate

      001795.950: dtdebug: /__overrides__:i2c_arm_baudrate=i2c1_baudrate

      001795.985: dtparam: uart0_clkrate=48000000

      001799.546: dtdebug: /__overrides__ has no uart0_clkrate property

      001799.559: Unknown dtparam 'uart0_clkrate' - ignored

      001799.584: brfs: File read: 17624 bytes

      001804.457: brfs: File read: /mfs/sd/config.txt

      001805.093: brfs: File read: 1689 bytes

      001819.603: dtdebug: Opened overlay file 'overlays/rpi-cirrus-wm5102.dtbo'

      001824.756: brfs: File read: /mfs/sd/overlays/rpi-cirrus-wm5102.dtbo

      001853.966: Loaded overlay 'rpi-cirrus-wm5102'

      001854.093: dtdebug: Found fragment 0 (offset 60)

      001857.543: dtdebug: merge_fragment(/soc/i2s@7e203000,/fragment@0/__overlay__)

      001857.571: dtdebug:   +prop(status)

      001859.400: dtdebug: merge_fragment() end

      001859.458: dtdebug: Found fragment 1 (offset 136)

      001861.241: dtdebug: merge_fragment(/soc/gpio@7e200000,/fragment@1/__overlay__)

      001864.657: dtdebug: merge_fragment(/soc/gpio@7e200000/wlf_pins,/fragment@1/__overlay__/wlf_pins)

      001864.683: dtdebug:   +prop(brcm,pins)

      001866.690: dtdebug:   +prop(brcm,function)

      001868.712: dtdebug:   +prop(phandle)

      001870.704: dtdebug: merge_fragment() end

      001870.732: dtdebug: merge_fragment() end

      001870.805: dtdebug: Found fragment 2 (offset 284)

      001871.007: dtdebug: merge_fragment(/,/fragment@2/__overlay__)

      001880.810: dtdebug: merge_fragment(/rpi_cirrus_reg_1v8,/fragment@2/__overlay__/rpi_cirrus_reg_1v8)

      001880.841: dtdebug:   +prop(compatible)

      001882.965: dtdebug:   +prop(regulator-name)

      001885.283: dtdebug:   +prop(regulator-min-microvolt)

      001887.620: dtdebug:   +prop(regulator-max-microvolt)

      001889.980: dtdebug:   +prop(regulator-always-on)

      001892.356: dtdebug:   +prop(phandle)

      001894.598: dtdebug: merge_fragment() end

      001894.634: dtdebug: merge_fragment() end

      001894.720: dtdebug: Found fragment 3 (offset 484)

      001898.879: dtdebug: merge_fragment(/soc/spi@7e204000,/fragment@3/__overlay__)

      001898.906: dtdebug:   +prop(#address-cells)

      001900.704: dtdebug:   +prop(#size-cells)

      001902.510: dtdebug:   +prop(status)

      001906.038: dtdebug: merge_fragment(/soc/spi@7e204000/spidev@0,/fragment@3/__overlay__/spidev@0)

      001906.064: dtdebug:   +prop(status)

      001907.961: dtdebug: merge_fragment() end

      001909.810: dtdebug: merge_fragment(/soc/spi@7e204000/spidev@1,/fragment@3/__overlay__/spidev@1)

      001909.835: dtdebug:   +prop(status)

      001911.731: dtdebug: merge_fragment() end

      001915.508: dtdebug: merge_fragment(/soc/spi@7e204000/wm5102@1,/fragment@3/__overlay__/wm5102@1)

      001915.534: dtdebug:   +prop(compatible)

      001917.282: dtdebug:   +prop(reg)

      001919.065: dtdebug:   +prop(spi-max-frequency)

      001920.942: dtdebug:   +prop(interrupt-parent)

      001922.732: dtdebug:   +prop(interrupts)

      001924.555: dtdebug:   +prop(interrupt-controller)

      001926.411: dtdebug:   +prop(#interrupt-cells)

      001928.295: dtdebug:   +prop(gpio-controller)

      001930.191: dtdebug:   +prop(#gpio-cells)

      001932.103: dtdebug:   +prop(LDOVDD-supply)

      001934.382: dtdebug:   +prop(AVDD-supply)

      001936.688: dtdebug:   +prop(DBVDD1-supply)

      001939.003: dtdebug:   +prop(DBVDD2-supply)

      001941.335: dtdebug:   +prop(DBVDD3-supply)

      001943.687: dtdebug:   +prop(CPVDD-supply)

      001946.070: dtdebug:   +prop(SPKVDDL-supply)

      001948.453: dtdebug:   +prop(SPKVDDR-supply)

      001950.856: dtdebug:   +prop(DCVDD-supply)

      001953.276: dtdebug:   +prop(wlf,reset)

      001955.723: dtdebug:   +prop(wlf,ldoena)

      001958.180: dtdebug:   +prop(wlf,gpio-defaults)

      001960.657: dtdebug:   +prop(wlf,micd-configs)

      001963.160: dtdebug:   +prop(wlf,dmic-ref)

      001965.681: dtdebug:   +prop(wlf,inmode)

      001968.216: dtdebug:   +prop(status)

      001974.221: dtdebug: merge_fragment(/soc/spi@7e204000/wm5102@1/ldo1,/fragment@3/__overlay__/wm5102@1/ldo1)

      001974.245: dtdebug:   +prop(regulator-name)

      001976.197: dtdebug:   +prop(regulator-min-microvolt)

      001978.173: dtdebug:   +prop(regulator-max-microvolt)

      001980.158: dtdebug:   +prop(phandle)

      001981.991: dtdebug: merge_fragment() end

      001982.019: dtdebug: merge_fragment() end

      001982.094: dtdebug: merge_fragment() end

      001982.248: dtdebug: Found fragment 4 (offset 1256)

      001990.390: dtdebug: merge_fragment(/soc/i2c@7e804000,/fragment@4/__overlay__)

      001990.418: dtdebug:   +prop(status)

      001991.934: dtdebug:   +prop(#address-cells)

      001993.434: dtdebug:   +prop(#size-cells)

      001999.415: dtdebug: merge_fragment(/soc/i2c@7e804000/wm8804@3b,/fragment@4/__overlay__/wm8804@3b)

      001999.440: dtdebug:   +prop(compatible)

      002000.891: dtdebug:   +prop(reg)

      002002.378: dtdebug:   +prop(status)

      002003.947: dtdebug:   +prop(PVDD-supply)

      002005.875: dtdebug:   +prop(DVDD-supply)

      002007.848: dtdebug:   +prop(wlf,reset-gpio)

      002009.854: dtdebug: merge_fragment() end

      002009.888: dtdebug: merge_fragment() end

      002009.971: dtdebug: Found fragment 5 (offset 1500)

      002022.718: dtdebug: merge_fragment(/soc/sound,/fragment@5/__overlay__)

      002022.744: dtdebug:   +prop(compatible)

      002023.793: dtdebug:   +prop(i2s-controller)

      002025.349: dtdebug:   +prop(status)

      002026.402: dtdebug: merge_fragment() end

      002042.692: dtdebug: /aliases:serial0=uart1

      002048.167: dtdebug: /aliases:serial1=uart0

      002057.739: dtparam: uart1=off

      002061.353: dtdebug: Found override uart1

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

      003043.402: dtparam: arm_freq=1200000000

      003047.086: dtdebug: Found override arm_freq

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

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

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

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

      003095.404: dtparam: core_freq=400000000

      003099.322: dtdebug: /__overrides__ has no core_freq property

      003099.334: Unknown dtparam 'core_freq' - ignored

      003099.354: dtparam: cache_line_size=64

      003103.003: dtdebug: Found override cache_line_size

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

      003122.418: dtdebug: delete_node(/hat)

      003131.109: Device tree loaded to 0x2effb100 (size 0x4e2d)

      003136.697: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined

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

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

      004428.864: TV service:host side not connected, dropping notification 0x00000002, 0x00000001, 0x00000010

       

      --------------------------------------------------

       

       

      pi@raspberrypi:~ $ dmesg | paste

      [    0.000000] Booting Linux on physical CPU 0x0

      [    0.000000] Linux version 4.9.33-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1010 SMP Sat Jun 17 17:13:15 BST 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 80c6edc0, 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 @b9f63000 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=1920 bcm2708_fb.fbheight=1080 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: 936296K/966656K available (7168K kernel code, 483K rwdata, 2012K rodata, 1024K init, 778K bss, 22168K 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 - 0x80c78f94   ( 484 kB)

             .bss : 0x80c7a000 - 0x80d3ca64   ( 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.000020] Switching to timer-based delay loop, resolution 52ns

      [    0.000318] Console: colour dummy device 80x30

      [    0.000338] console [tty1] enabled

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

      [    0.000378] pid_max: default: 32768 minimum: 301

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

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

      [    0.001711] Disabling cpuset control group subsystem

      [    0.001874] CPU: Testing write buffer coherency: ok

      [    0.001915] ftrace: allocating 22389 entries in 66 pages

      [    0.054478] CPU0: update cpu_capacity 1024

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

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

      [    0.056799] CPU1: update cpu_capacity 1024

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

      [    0.057526] CPU2: update cpu_capacity 1024

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

      [    0.058203] CPU3: update cpu_capacity 1024

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

      [    0.058293] Brought up 4 CPUs

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

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

      [    0.058311] CPU: Virtualization extensions available.

      [    0.059106] devtmpfs: initialized

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

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

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

      [    0.071683] pinctrl core: initialized pinctrl subsystem

      [    0.072577] NET: Registered protocol family 16

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

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

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

      [    0.084133] Serial: AMBA PL011 UART driver

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

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

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

      [    0.156887] SCSI subsystem initialized

      [    0.157047] usbcore: registered new interface driver usbfs

      [    0.157123] usbcore: registered new interface driver hub

      [    0.157213] usbcore: registered new device driver usb

      [    0.164008] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-06-13 14:49

      [    0.165496] clocksource: Switched to clocksource arch_sys_counter

      [    0.212199] VFS: Disk quotas dquot_6.6.0

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

      [    0.212481] FS-Cache: Loaded

      [    0.212724] CacheFiles: Loaded

      [    0.224813] NET: Registered protocol family 2

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

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

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

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

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

      [    0.226358] NET: Registered protocol family 1

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

      [    0.226767] RPC: Registered udp transport module.

      [    0.226771] RPC: Registered tcp transport module.

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

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

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

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

      [    0.247186] NFS: Registering the id_resolver key type

      [    0.247218] Key type id_resolver registered

      [    0.247223] Key type id_legacy registered

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

      [    0.249658] io scheduler noop registered

      [    0.249663] io scheduler deadline registered (default)

      [    0.249923] io scheduler cfq registered

      [    0.255661] BCM2708FB: allocated DMA memory fa910000

      [    0.255685] BCM2708FB: allocated DMA channel 0 @ bb80f000

      [    0.315411] Console: switching to colour frame buffer device 240x67

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

      [    0.350795] vc-cma: Videocore CMA driver

      [    0.350801] vc-cma: vc_cma_base      = 0x00000000

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

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

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

      [    0.366673] brd: module loaded

      [    0.375649] loop: module loaded

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

      [    0.376227] usbcore: registered new interface driver smsc95xx

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

      [    0.604326] Core Release: 2.80a

      [    0.604335] Setting default values for core params

      [    0.604368] Finished setting default values for core params

      [    0.804763] Using Buffer DMA mode

      [    0.804768] Periodic Transfer Interrupt Enhancement - disabled

      [    0.804773] Multiprocessor Interrupt Enhancement - disabled

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

      [    0.804790] Dedicated Tx FIFOs mode

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

      [    0.805185] FIQ FSM acceleration enabled for :

      Non-periodic Split Transactions

      Periodic Split Transactions

      High-Speed Isochronous Endpoints

      Interrupt/Control Split Transaction hack enabled

      [    0.805191] dwc_otg: Microframe scheduler enabled

      [    0.805234] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8058eba8

      [    0.805243] WARN::hcd_init_fiq:460: FIQ ASM at 0x8058ef18 length 36

      [    0.805256] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb87a000

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

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

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

      [    0.805426] Init: Port Power? op_state=1

      [    0.805430] Init: Power Port (0)

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

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

      [    0.805673] usb usb1: Product: DWC OTG Controller

      [    0.805680] usb usb1: Manufacturer: Linux 4.9.33-v7+ dwc_otg_hcd

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

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

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

      [    0.807233] dwc_otg: FIQ enabled

      [    0.807238] dwc_otg: NAK holdoff enabled

      [    0.807242] dwc_otg: FIQ split-transaction FSM enabled

      [    0.807255] Module dwc_common_port init

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

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

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

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

      [    0.809347] sdhci: Secure Digital Host Controller Interface driver

      [    0.809352] sdhci: Copyright(c) Pierre Ossman

      [    0.809641] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe

      [    0.811829] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe

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

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

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

      [    0.819613] usbcore: registered new interface driver usbhid

      [    0.819617] usbhid: USB HID core driver

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

      [    0.827177] Initializing XFRM netlink socket

      [    0.827200] NET: Registered protocol family 17

      [    0.827337] Key type dns_resolver registered

      [    0.827840] Registering SWP/SWPB emulation handler

      [    0.828578] registered taskstats version 1

      [    0.828933] vc-sm: Videocore shared memory driver

      [    0.828943] [vc_sm_connected_init]: start

      [    0.836521] [vc_sm_connected_init]: end - returning 0

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

      [    0.844145] sdhost: log_buf @ ba907000 (fa907000)

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

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

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

      [    0.975593] of_cfs_init

      [    0.975681] of_cfs_init: OK

      [    0.976218] Waiting for root device /dev/mmcblk0p2...

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

      [    0.989124] mmc0: new high speed SDHC card at address 0001

      [    0.989830] mmcblk0: mmc0:0001 00000 7.32 GiB

      [    0.991919]  mmcblk0: p1 p2

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

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

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

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

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

      [    1.093385] random: fast init done

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

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

      [    1.110362] devtmpfs: mounted

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

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

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

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

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

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

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

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

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

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

      [    1.558629] NET: Registered protocol family 10

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

      [    1.562321] systemd[1]: Set hostname to <raspberrypi>.

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

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

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

      [    1.918770] smsc95xx v1.0.5

      [    2.006877] 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.

      [    2.009849] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:50:64:5f

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

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

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

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

      [    2.011035] systemd[1]: Starting Encrypted Volumes.

      [    2.189701] fuse init (API version 7.26)

      [    2.219446] i2c /dev entries driver

      [    2.305583] usb 1-1.3: new full-speed USB device number 4 using dwc_otg

      [    2.460875] usb 1-1.3: New USB device found, idVendor=0a5c, idProduct=21e8

      [    2.460904] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3

      [    2.460923] usb 1-1.3: Product: BCM20702A0

      [    2.460939] usb 1-1.3: Manufacturer: Broadcom Corp

      [    2.460956] usb 1-1.3: SerialNumber: 5CF370815AED

      [    2.486292] systemd-udevd[146]: starting version 215

      [    2.565627] usb 1-1.5: new high-speed USB device number 5 using dwc_otg

      [    2.696523] usb 1-1.5: New USB device found, idVendor=0409, idProduct=005a

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

      [    2.697476] hub 1-1.5:1.0: USB hub found

      [    2.697600] hub 1-1.5:1.0: 4 ports detected

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

      [    3.015606] usb 1-1.5.1: new high-speed USB device number 6 using dwc_otg

      [    3.022346] snd-rpi-cirrus soc:sound: ASoC: CPU DAI (null) not registered - will retry

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

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

      [    3.147314] usb 1-1.5.1: New USB device found, idVendor=0bda, idProduct=8176

      [    3.147333] usb 1-1.5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

      [    3.147342] usb 1-1.5.1: Product: 802.11n WLAN Adapter

      [    3.147350] usb 1-1.5.1: Manufacturer: Realtek

      [    3.147358] usb 1-1.5.1: SerialNumber: 00e04c000001

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

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

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

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

      [    3.248081] usb 1-1.5.4: new low-speed USB device number 7 using dwc_otg

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

      [    3.257733] arizona spi0.1: WM5102 revision C

      [    3.291961] Adding alias for supply MICVDD,(null) -> MICVDD,spi0.1

      [    3.292520] Adding alias for supply MICVDD,(null) -> MICVDD,spi0.1

      [    3.292529] Adding alias for supply DBVDD2,(null) -> DBVDD2,spi0.1

      [    3.292536] Adding alias for supply DBVDD3,(null) -> DBVDD3,spi0.1

      [    3.292541] Adding alias for supply CPVDD,(null) -> CPVDD,spi0.1

      [    3.292547] Adding alias for supply SPKVDDL,(null) -> SPKVDDL,spi0.1

      [    3.292553] Adding alias for supply SPKVDDR,(null) -> SPKVDDR,spi0.1

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

      [    3.311933] Bluetooth: Core ver 2.22

      [    3.312043] NET: Registered protocol family 31

      [    3.312054] Bluetooth: HCI device and connection manager initialized

      [    3.312084] Bluetooth: HCI socket layer initialized

      [    3.312101] Bluetooth: L2CAP socket layer initialized

      [    3.312145] Bluetooth: SCO socket layer initialized

      [    3.332884] MICVDD: supplied by RPi-Cirrus 1v8

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

      [    3.347698] wm8804 1-003b: revision E

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

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

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

      [    3.366976] usbcore: registered new interface driver brcmfmac

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

      [    3.388405] usb 1-1.5.4: New USB device found, idVendor=05ac, idProduct=0304

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

      [    3.388429] usb 1-1.5.4: Product: Apple Optical USB Mouse

      [    3.388437] usb 1-1.5.4: Manufacturer: Primax Electronics

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

      [    3.440970] usbcore: registered new interface driver btusb

      [    3.446216] Bluetooth: hci0: BCM: chip id 63

      [    3.462248] Bluetooth: hci0: BCM20702A

      [    3.463220] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000

      [    3.463310] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e8.hcd failed with error -2

      [    3.463318] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e8.hcd not found

      [    3.512549] input: Primax Electronics Apple Optical USB Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.4/1-1.5.4:1.0/0003:05AC:0304.0001/input/input0

      [    3.513121] apple 0003:05AC:0304.0001: input,hidraw0: USB HID v1.10 Mouse [Primax Electronics Apple Optical USB Mouse] on usb-3f980000.usb-1.5.4/input0

      [    3.572525] snd-rpi-cirrus soc:sound: wm5102-aif1 <-> 3f203000.i2s mapping ok

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

      [    3.695614] usb 1-1.5.3: new low-speed USB device number 8 using dwc_otg

      [    3.840027] usb 1-1.5.3: New USB device found, idVendor=1a2c, idProduct=0c23

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

      [    3.840084] usb 1-1.5.3: Product: USB Keyboard

      [    3.840101] usb 1-1.5.3: Manufacturer: USB

      [    3.848296] input: USB USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.3/1-1.5.3:1.0/0003:1A2C:0C23.0002/input/input1

      [    3.916766] hid-generic 0003:1A2C:0C23.0002: input,hidraw1: USB HID v1.10 Keyboard [USB USB Keyboard] on usb-3f980000.usb-1.5.3/input0

      [    3.923487] input: USB USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.3/1-1.5.3:1.1/0003:1A2C:0C23.0003/input/input2

      [    3.935792] systemd-journald[140]: Received request to flush runtime journal from PID 1

      [    3.986319] hid-generic 0003:1A2C:0C23.0003: input,hidraw2: USB HID v1.10 Device [USB USB Keyboard] on usb-3f980000.usb-1.5.3/input1

      [    4.543894] rtl8192cu: Chip version 0x10

      [    4.562112] random: crng init done

      [    4.607126] systemd-journald[140]: Received request to flush runtime journal from PID 1

      [    4.657399] rtl8192cu: Board Type 0

      [    4.657575] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1

      [    4.657683] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin

      [    4.678176] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'

      [    4.681219] usbcore: registered new interface driver rtl8192cu

      [    4.742045] Error: Driver 'rtl8192cu' is already registered, aborting...

      [    4.848339] Error: Driver 'rtl8192cu' is already registered, aborting...

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

      [    5.725975] brcmfmac: power management disabled

      [    5.736002] rtl8192cu: MAC auto ON okay!

      [    5.754670] rtl8192cu: Tx queue select: 0x05

      [    6.244533] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready

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

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

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

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

      [    7.888189] wlan1: authenticate with c4:b3:01:de:72:30

      [    7.916795] wlan1: send auth to c4:b3:01:de:72:30 (try 1/3)

      [    8.009712] wlan1: authenticated

      [    8.015593] wlan1: associate with c4:b3:01:de:72:30 (try 1/3)

      [    8.106910] wlan1: RX AssocResp from c4:b3:01:de:72:30 (capab=0x1411 status=0 aid=6)

      [    8.126828] wlan1: associated

      [    8.127166] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready

      [    8.373482] wlan1: Limiting TX power to 30 (30 - 0) dBm as advertised by c4:b3:01:de:72:30

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

      [   10.982109] Bluetooth: HCI UART driver ver 2.3

      [   10.982126] Bluetooth: HCI UART protocol H4 registered

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

      [   10.982384] Bluetooth: HCI UART protocol Broadcom registered

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

      [   11.114305] Bluetooth: BNEP filters: protocol multicast

      [   11.114321] Bluetooth: BNEP socket layer initialized

      [   14.687129] bcm2835-i2s 3f203000.i2s: I2S SYNC error!

      [   14.837883] bcm2835-i2s 3f203000.i2s: I2S SYNC error!

      [   15.045378] bcm2835-i2s 3f203000.i2s: I2S SYNC error!

      [   15.093029] bcm2835-i2s 3f203000.i2s: I2S SYNC error!

      [   17.229659] bcm2835-dma 3f007000.dma: DMA transfer could not be terminated

      [   17.232988] bcm2835-dma 3f007000.dma: DMA transfer could not be terminated

      [   31.580428] bcm2835-i2s 3f203000.i2s: I2S SYNC error!

      [   31.580982] bcm2835-i2s 3f203000.i2s: I2S SYNC error!

      [   31.707919] arizona spi0.1: ASRC underclocked

      [   42.437770] bcm2835-dma 3f007000.dma: DMA transfer could not be terminated

      pi@raspberrypi:~ $

       

       

      -----------------------------------------------------------------------------

       

      pi@raspberrypi:~ $ lsmod

      Module                  Size  Used by

      bnep                   12051  2

      hci_uart               20020  1

      ctr                     4263  6

      ccm                     9009  3

      arc4                    2211  2

      rtl8192cu              81479  0

      rtl_usb                12644  1 rtl8192cu

      rtl8192c_common        59298  1 rtl8192cu

      rtlwifi                88937  3 rtl_usb,rtl8192c_common,rtl8192cu

      mac80211              655416  3 rtl_usb,rtlwifi,rtl8192cu

      joydev                  9988  0

      evdev                  12423  6

      hid_apple               6008  0

      btusb                  30139  0

      snd_soc_wm5102        373351  1

      btrtl                   5500  1 btusb

      btintel                10199  1 btusb

      brcmfmac              222874  0

      gpio_arizona            2360  0

      btbcm                   7916  2 hci_uart,btusb

      snd_soc_wm8804_i2c      2006  1

      snd_soc_wm_adsp        31426  1 snd_soc_wm5102

      arizona_micsupp         3467  1

      snd_soc_wm8804         10171  1 snd_soc_wm8804_i2c

      snd_soc_arizona        39299  1 snd_soc_wm5102

      bluetooth             365511  40 btrtl,hci_uart,btintel,bnep,btbcm,btusb

      brcmutil                9092  1 brcmfmac

      arizona_spi             2111  0

      cfg80211              543027  3 mac80211,rtlwifi,brcmfmac

      arizona_ldo1            3867  1

      rfkill                 20851  5 bluetooth,cfg80211

      snd_soc_bcm2835_i2s     6546  2

      snd_soc_rpi_cirrus     14063  1

      snd_soc_core          179915  7 snd_soc_wm8804,snd_soc_rpi_cirrus,snd_soc_wm5102,arizona_micsupp,snd_soc_bcm2835_i2s,snd_soc_arizona,snd_soc_wm_adsp

      snd_compress           10384  2 snd_soc_core,snd_soc_wm_adsp

      snd_pcm_dmaengine       5894  1 snd_soc_core

      snd_pcm                98501  5 snd_soc_wm8804,snd_soc_rpi_cirrus,snd_pcm_dmaengine,snd_soc_arizona,snd_soc_core

      snd_timer              23968  1 snd_pcm

      snd                    70032  7 snd_compress,snd_soc_rpi_cirrus,snd_timer,snd_soc_core,snd_pcm

      i2c_bcm2835             7167  0

      spi_bcm2835             7596  0

      bcm2835_gpiomem         3940  0

      fixed                   3285  11

      uio_pdrv_genirq         3923  0

      uio                    10204  1 uio_pdrv_genirq

      i2c_dev                 6913  0

      fuse                   99603  3

      ipv6                  408971  68

      pi@raspberrypi:~ $

       

       

      ----------------------------------------------------------

       

       

      pi@raspberrypi:~ $ aplay -l

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

      card 0: RPiCirrus [RPi-Cirrus], device 0: WM5102 AiFi wm5102-aif1-0 []

        Subdevices: 1/1

        Subdevice #0: subdevice #0

      pi@raspberrypi:~ $

          • Re: Having trouble w/ Wolfson card playback
            demosense

            i ran Reset_Paths and Playback_to_Headset, plugged headphones in, and driver just hangs on mplayer. I launched pulseaudio -D to start pulse for mplayer. I have Wolfson card and RPi3. I can get wolfsonmixer to output 1Khz wave and noise works, just no audio from the driver. I also tried earlier builds of kernel with older Wolfson driver still no luck! Whats up with this, Cirrus!

              • Re: Having trouble w/ Wolfson card playback
                hiassoft

                OK, this is odd. Just tested on RPi3, Rasbpian, latest rpi-update kernel (same kernel/fw as you) and it worked fine.

                 

                The issue seems to be that somehow the I2S clock is not running (either bcm2835 not receiving it or wm5102 clocks not starting up correctly) - indication for that is the "DMA transfer could not be terminated" messages in dmesg.

                 

                If you have a scope or logic probe you could check I2S BCLK on the GPIO connector and look if it's toggling a few MHz (depending on sample rate).

                 

                Other than that: Could you test without the USB WIFI dongle and USB mouse? Do you have another RPi you could test with?

                 

                Another interesting test to narrow it down would be to run LibreELEC (latest release is 8.0.2) from another sd-card. Editing config.txt is a bit different than on Raspbian, see here: https://wiki.libreelec.tv/index.php?title=Config.txt  After a reboot change the audio output device from the default HDMI to RPi Cirrus in the Settings, after that you should hear clicks when navigating in the menu.

                 

                so long,

                 

                Hias

                1 of 1 people found this helpful
                  • Re: Having trouble w/ Wolfson card playback
                    demosense

                    Hias-

                     

                    appreciate the response. I don't have a scope to test the pin you recommended. I will try loading LibreELEC and see what happens. I do have 4 RPi 3 and 4 Wolfson soundcards. I tested multiple cards on multiple boards, same exact result! BTW- I tested on 4.4 kernel, same problem. Question- does the power input on the Wolfson card have to be connected for the Wolfson to work or is that strictly for speaker outs preamps? I don't have power connected to it- I may be wrong on this- but I thought GPIO pins should provide power since the lights do light up and the chip is running. Also Wolfson card has as it looks like other pins for older GPIO and they just touch the board is that ok or should they be trimmed (I did look and they touch plastic paint part of the board)? Also, I can make HDMI output work no problem, it is just when I select Wolfson driver, it doesn't work.

                     

                    Demos

                      • Re: Having trouble w/ Wolfson card playback
                        hiassoft

                        Also Wolfson card has as it looks like other pins for older GPIO and they just touch the board is that ok or should they be trimmed (I did look and they touch plastic paint part of the board)?

                        Ah, OK, so you have the original Wolfson card that was designed for the older RPis, not the later Cirrus card for RPi2/3.

                         

                        Without modification that card won't work on RPi2/3, these older GPIO connectors provide the I2S audio signals - that explains the errors you get, card is detected and can be configured, but you get no sound.

                         

                        See this posting, plus the postings a few pages before and after that, for more details how you can modify the card to work on RPi2/3:

                        https://www.element14.com/community/message/217489/l/re-new-reworked-driver-for-wolfsoncirrus-logic-audio-card#217489

                         

                        so long,

                         

                        Hias

                        1 of 1 people found this helpful
                          • Re: Having trouble w/ Wolfson card playback
                            demosense

                            Well that explains everything! I knew there was something radically wrong. Where do I get the wires / taps to modify the board? Or should we just return these? I didn't notice box / newegg/ebay listing saying that they were for RPi 1 only.  Another problem we experienced is buying these cards. They seemed to be out everywhere!  We barely got ahold of a few, and had to wait forever to get them.

                              • Re: Having trouble w/ Wolfson card playback
                                hiassoft

                                The Cirrus card went out of production and all stock seems to have been sold a few months ago - which is a pity as IMO the Wolfson/Cirrus cards are the most versatile soundcards for the RPi.

                                 

                                Farnell/Element14 still has quite some of the older Wolfson cards in stock, so if you have some experience with a soldering iron modifying it is a viable option to get an excellent soundcard for your RPi2/3.

                                 

                                The trickiest parts are desoldering the zero-ohm SMD resistor on the back and the pogo pin connector. You can get away with the latter if you just isolate the pogo pins and even get away with the former if you build some adapter board - details are in the thread above.

                                 

                                For my mod I used some male-to-female "du-pont" cables I had sitting on the shelf - these cables are really handy and you can get them dirt cheap from China on ebay. But just be creative and use what you have at home, you can also just solder 3 wires to the RPi GPIO connector.

                                 

                                so long,

                                 

                                Hias

                                2 of 2 people found this helpful