0

Raspbian 3.18.5+ DAC+ : sound card not listed

Hi,

I have a raspberry modelB recently bought and uses raspbian, and a DAC+ (HW 1.0). This DAC has absolutely no LED anywhere visible: I plugged it on top of raspberry, on the large connector (only place it will clearly fit).
I have the RCA version.

I followed instructions at https://www.hifiberry.com/guides/configuring-linux-3-18-x/
for configuring the DAC+ on a 3.18.* kernel
However, my problem is that the DAC+ is not detected (I mean, no soundcards are listed): I can't use it.

I would really appreciate any help with this.

I think issue is visible on dmesg (see later for complete log):

[ 5.761989] bcm2708_i2c_init_pinmode(1,2)
[ 5.830524] bcm2708_i2c_init_pinmode(1,3)
[ 6.129831] pcm512x 1-004d: Failed to reset device: -5
[ 6.358271] pcm512x: probe of 1-004d failed with error -5
[ 6.553519] bcm2708_i2c 20804000.i2c: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[ 6.854857] snd-rpi-hifiberry-dacplus sound: ASoC: CODEC DAI pcm512x-hifi not registered
[ 6.939920] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 7.000120] platform sound: Driver snd-rpi-hifiberry-dacplus requests probe deferral


volumio@volumio:~$ cat /etc/modprobe.d/* |grep blacklist |grep snd
# blacklist snd-atiixp-modem
# blacklist snd-intel8x0m
# blacklist snd-via82xx-modem
blacklist snd-pcsp




cat /etc/modprobe.d/* |grep blacklist |grep i2c_
"Nothing here"




volumio@volumio:~$ cat /etc/modules 
#snd-bcm2835




volumio@volumio:~$ cat /etc/asound.conf 
pcm.!default {
type hw card 0
}
ctl.!default {
type hw card 0
}




volumio@volumio:~$ cat /boot/config.txt 
gpu_mem=16
hdmi_drive=2
device_tree_overlay=overlays/hifiberry-dacplus-overlay.dtb




volumio@volumio:~$ uname -a
Linux volumio 3.18.5+ #744 PREEMPT Fri Jan 30 18:19:07 GMT 2015 armv6l GNU/Linux




dmesg:
volumio@volumio:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.5+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #744 PREEMPT Fri Jan 30 18:19:07 GMT 2015
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi Model B
[ 0.000000] cma: Reserved 8 MiB at 0x1e800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 126976
[ 0.000000] free_area_init_node: node 0, pgdat c084d794, node_mem_map de414000
[ 0.000000] Normal zone: 992 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 126976 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125984
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x46245149 smsc95xx.macaddr=B8:27:EB:24:51:49 bcm2708_fb.fbswap=1 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000 force_turbo=1 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p3 elevator=noop rootfstype=ext4 rootwait smsc95xx.turbo_mode=N dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 485976K/507904K available (5926K kernel code, 358K rwdata, 1876K rodata, 340K init, 734K bss, 21928K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 0.000000] vmalloc : 0xdf800000 - 0xff000000 ( 504 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdf000000 ( 496 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc07a6a60 (7803 kB)
[ 0.000000] .init : 0xc07a7000 - 0xc07fc000 ( 340 kB)
[ 0.000000] .data : 0xc07fc000 - 0xc085582c ( 359 kB)
[ 0.000000] .bss : 0xc085582c - 0xc090d0c8 ( 735 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:522
[ 0.000025] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[ 0.000076] Switching to timer-based delay loop, resolution 1000ns
[ 0.000361] Console: colour dummy device 80x30
[ 0.001459] console [tty1] enabled
[ 0.001507] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.001585] pid_max: default: 32768 minimum: 301
[ 0.001962] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002028] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003038] Initializing cgroup subsys memory
[ 0.003129] Initializing cgroup subsys devices
[ 0.003187] Initializing cgroup subsys freezer
[ 0.003239] Initializing cgroup subsys net_cls
[ 0.003291] Initializing cgroup subsys blkio
[ 0.003414] CPU: Testing write buffer coherency: ok
[ 0.003528] ftrace: allocating 19476 entries in 58 pages
[ 0.111326] Setting up static identity map for 0x55c8f8 - 0x55c954
[ 0.114166] devtmpfs: initialized
[ 0.132124] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.135287] pinctrl core: initialized pinctrl subsystem
[ 0.137912] NET: Registered protocol family 16
[ 0.143568] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.171092] cpuidle: using governor ladder
[ 0.201151] cpuidle: using governor menu
[ 0.201823] bcm2708.uart_clock = 3000000
[ 0.205405] No ATAGs?
[ 0.205469] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.205531] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.205596] mailbox: Broadcom VideoCore Mailbox driver
[ 0.205764] bcm2708_vcio: mailbox at f200b880
[ 0.205913] bcm_power: Broadcom power driver
[ 0.205960] bcm_power_open() -> 0
[ 0.205990] bcm_power_request(0, 8)
[ 0.706733] bcm_mailbox_read -> 00000080, 0
[ 0.706780] bcm_power_request -> 0
[ 0.706976] Serial: AMBA PL011 UART driver
[ 0.707218] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[ 1.107458] console [ttyAMA0] enabled
[ 1.180528] SCSI subsystem initialized
[ 1.184647] usbcore: registered new interface driver usbfs
[ 1.190439] usbcore: registered new interface driver hub
[ 1.195940] usbcore: registered new device driver usb
[ 1.203273] Switched to clocksource stc
[ 1.235152] FS-Cache: Loaded
[ 1.238463] CacheFiles: Loaded
[ 1.258747] NET: Registered protocol family 2
[ 1.264708] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.271884] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.278670] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.285186] TCP: reno registered
[ 1.288454] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.294380] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.301065] NET: Registered protocol family 1
[ 1.306138] RPC: Registered named UNIX socket transport module.
[ 1.312108] RPC: Registered udp transport module.
[ 1.316950] RPC: Registered tcp transport module.
[ 1.321682] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.329600] bcm2708_dma: DMA manager at f2007000
[ 1.334651] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[ 1.344562] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 1.350825] audit: initializing netlink subsys (disabled)
[ 1.356536] audit: type=2000 audit(1.100:1): initialized
[ 1.377379] VFS: Disk quotas dquot_6.5.2
[ 1.381732] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.391260] FS-Cache: Netfs 'nfs' registered for caching
[ 1.398444] NFS: Registering the id_resolver key type
[ 1.403754] Key type id_resolver registered
[ 1.407971] Key type id_legacy registered
[ 1.413528] msgmni has been set to 965
[ 1.419795] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.427809] io scheduler noop registered (default)
[ 1.432660] io scheduler deadline registered
[ 1.437513] io scheduler cfq registered
[ 1.444112] BCM2708FB: allocated DMA memory 5ec00000
[ 1.449179] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 1.460529] Console: switching to colour frame buffer device 82x26
[ 1.472726] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[ 1.482411] uart-pl011 dev:f1: no DMA platform data
[ 1.489143] kgdb: Registered I/O driver kgdboc.
[ 1.524155] vc-cma: Videocore CMA driver
[ 1.529724] vc-cma: vc_cma_base = 0x00000000
[ 1.536137] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.543097] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.563811] brd: module loaded
[ 1.575693] loop: module loaded
[ 1.580786] vchiq: vchiq_init_state: slot_zero = 0xde800000, is_master = 0
[ 1.590425] Loading iSCSI transport class v2.0-870.
[ 1.598419] usbcore: registered new interface driver smsc95xx
[ 1.606058] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.813684] Core Release: 2.80a
[ 1.818351] Setting default values for core params
[ 1.824742] Finished setting default values for core params
[ 2.032006] Using Buffer DMA mode
[ 2.036930] Periodic Transfer Interrupt Enhancement - disabled
[ 2.044370] Multiprocessor Interrupt Enhancement - disabled
[ 2.051528] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 2.057554] Dedicated Tx FIFOs mode
[ 2.063022] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xdec14000 dma = 0x5ec14000 len=9024
[ 2.076051] FIQ FSM acceleration enabled for :
[ 2.076051] Non-periodic Split Transactions
[ 2.076051] Periodic Split Transactions
[ 2.093178] dwc_otg: Microframe scheduler enabled
[ 2.093330] WARN::hcd_init:473: FIQ at 0xc0400a24
[ 2.099688] WARN::hcd_init:474: FIQ ASM at 0xc0400cfc length 36
[ 2.107304] WARN::hcd_init:500: MPHI regs_base at 0xdf806000
[ 2.114694] dwc_otg bcm2708_usb: DWC OTG Controller
[ 2.121263] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 2.130249] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 2.137444] Init: Port Power? op_state=1
[ 2.142953] Init: Power Port (0)
[ 2.148174] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.156680] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.165585] usb usb1: Product: DWC OTG Controller
[ 2.171880] usb usb1: Manufacturer: Linux 3.18.5+ dwc_otg_hcd
[ 2.179253] usb usb1: SerialNumber: bcm2708_usb
[ 2.186572] hub 1-0:1.0: USB hub found
[ 2.192017] hub 1-0:1.0: 1 port detected
[ 2.198268] dwc_otg: FIQ enabled
[ 2.198293] dwc_otg: NAK holdoff enabled
[ 2.198306] dwc_otg: FIQ split-transaction FSM enabled
[ 2.198365] Module dwc_common_port init
[ 2.198946] usbcore: registered new interface driver usb-storage
[ 2.207213] mousedev: PS/2 mouse device common for all mice
[ 2.215395] bcm2835-cpufreq: min=700000 max=700000
[ 2.222140] sdhci: Secure Digital Host Controller Interface driver
[ 2.230029] sdhci: Copyright(c) Pierre Ossman
[ 2.236329] DMA channels allocated for the MMC driver
[ 2.273363] Load BCM2835 MMC driver
[ 2.280407] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.296208] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.304294] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.315023] usbcore: registered new interface driver usbhid
[ 2.324414] usbhid: USB HID core driver
[ 2.332434] TCP: cubic registered
[ 2.338659] Initializing XFRM netlink socket
[ 2.346819] NET: Registered protocol family 17
[ 2.353154] Key type dns_resolver registered
[ 2.361124] registered taskstats version 1
[ 2.367214] vc-sm: Videocore shared memory driver
[ 2.373667] [vc_sm_connected_init]: start
[ 2.379792] vc_vchi_sm_init: failed to open VCHI service (-1)
[ 2.385784] [vc_sm_connected_init]: failed to initialize shared memory service
[ 2.396700] Indeed it is in host mode hprt0 = 00021501
[ 2.403625] [vc_sm_connected_init]: end - returning -1
[ 2.425082] Waiting for root device /dev/mmcblk0p3...
[ 2.434023] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.465645] mmc0: new high speed SDHC card at address 0007
[ 2.483590] mmcblk0: mmc0:0007 SD16G 14.4 GiB
[ 2.494936] mmcblk0: p1 p3
[ 2.548080] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 2.559878] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[ 2.580459] devtmpfs: mounted
[ 2.586495] Freeing unused kernel memory: 340K (c07a7000 - c07fc000)
[ 2.623526] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.632525] Indeed it is in host mode hprt0 = 00001101
[ 2.843833] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.855240] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.868682] hub 1-1:1.0: USB hub found
[ 2.875827] hub 1-1:1.0: 5 ports detected
[ 3.163669] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.273973] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.282937] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.299616] smsc95xx v1.0.4
[ 3.370944] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:24:51:49
[ 4.369280] udevd[158]: starting version 175
[ 5.761989] bcm2708_i2c_init_pinmode(1,2)
[ 5.830524] bcm2708_i2c_init_pinmode(1,3)
[ 6.129831] pcm512x 1-004d: Failed to reset device: -5
[ 6.358271] pcm512x: probe of 1-004d failed with error -5
[ 6.553519] bcm2708_i2c 20804000.i2c: BSC1 Controller at 0x20804000 (irq 79) (baudrate 100000)
[ 6.854857] snd-rpi-hifiberry-dacplus sound: ASoC: CODEC DAI pcm512x-hifi not registered
[ 6.939920] snd-rpi-hifiberry-dacplus sound: snd_soc_register_card() failed: -517
[ 7.000120] platform sound: Driver snd-rpi-hifiberry-dacplus requests probe deferral
[ 9.827322] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[ 9.988050] random: nonblocking pool is initialized
[ 10.188936] EXT4-fs (mmcblk0p3): Mount option "nouser_xattr" will be removed by 3.5
[ 10.188936] Contact linux-ext4@vger.kernel.org if you think we should keep it.
[ 10.188936]
[ 10.215352] EXT4-fs (mmcblk0p3): re-mounted. Opts: nouser_xattr,errors=remount-ro
[ 16.283743] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 19.097624] NET: Registered protocol family 10
[ 19.506727] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 19.524254] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 21.038949] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 21.051999] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 30.700003] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).




lsmod:
volumio@volumio:~$ lsmod
Module Size Used by
rpcsec_gss_krb5 22259 0
nfsd 276617 2
ipv6 351566 40
snd_soc_hifiberry_dacplus 3382 0
snd_soc_hifiberry_dac 2963 0
snd_soc_bcm2708_i2s 7539 0
regmap_mmio 3548 1 snd_soc_bcm2708_i2s
snd_seq 61097 0
snd_seq_device 7209 1 snd_seq
snd_soc_pcm512x_i2c 2130 0
snd_soc_pcm512x 8468 1 snd_soc_pcm512x_i2c
snd_soc_core 177920 4 snd_soc_pcm512x,snd_soc_hifiberry_dac,snd_soc_hifiberry_dacplus,snd_soc_bcm2708_i2s
snd_compress 8698 1 snd_soc_core
snd_pcm_dmaengine 5850 1 snd_soc_core
snd_pcm 93100 3 snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine
snd_timer 23007 2 snd_pcm,snd_seq
regmap_i2c 2944 1 snd_soc_pcm512x_i2c
snd 67211 6 snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_compress
i2c_bcm2708 6004 0
uio_pdrv_genirq 3666 0
uio 9897 1 uio_pdrv_genirq




aplay -l:
volumio@volumio:~$ aplay -l
aplay: device_list:252: no soundcards found...

3 comments

Please sign in to leave a comment.