No soundcards found

Hi there. I’m using a raspberry Pi 3b with DietPi, primarily it has been used for AdGuard Home. No I wanted to add Darkice / Icecast to the DietPi in order to connect my turntable via USB to stream to my SONOS.

However, “arecord -l” always states “no sound cards found”.
In the “dmesg log” is can see “usbcore: registered new interface driver snd-usb-audio”.

I went to the dietpi-config → Audio Options and selected “CODEC USB AUDIO” as the sound card, but no change.
Any ideas how I get it to work?

@MichaIng can you have a look pls

1 Like

Adding to this: I have tried directly with the Audio-Technica 120 turntable, which has built-in USB, and also with an external audio interface. Pretty sure the issue is on the Pi-side… all tutorials for getting it to work never mention any possible issue in this step. It‘s more like „type arecord -l and note down the device number“. Seems like I’m the first person where that step does not work. :grinning:
One additional issue: as I also need to edit the darkice.cfg I did so already and tried running darkice. However it quits and says something like „no section ‚general‘ found in config file“ but that is indeed there. It‘s probably the next issue I need help with. If I can’t get it to work I will have to switch back to Raspbian (no issue there).

Please help :frowning:

Be patient. We are an open source project where people work on their free spare time. Actually we have Christmas and New years period where people are out, on vacation and not sitting next to their computer.

Sorry :slight_smile: Wasn’t trying to rush anyone. I’m just sad

Hmm, since dietpi-config shows the USB DAC, I guess aplay -l lists it as well?

So the playback device was found, but not the capture/recording device, despite there is a microphone/headset 3.5mm jack with a microphone/headset or other/digital audio input jack?

The vendor does not provide instructions and/or a driver for Linux to get the capture device up? Does the kernel probably report related errors, e.g. tha some firmware is missing?

dmesg -l 0,1,2,3

Correct, diet-config SHOWS USB DAC, but in fact I have selected hw:0,0: CODEC USB AUDIO. My understanding here was, that it in fact recognises it, that’s why it says hw0:0. play -lshows aplay: device_list:274: no soundcards found....
The Pi itself has a headphone jack but is is not used. The device (turntable / audio interface) is connected via USB. There is no driver from the vendor.
The command you posted does not bring up anything. If I just use dmesg I get the following:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.21-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000003a400000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003e5fffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003e5fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003e5fffff]
[    0.000000] On node 0, zone DMA: 6656 pages in unavailable ranges
[    0.000000] percpu: Embedded 29 pages/cpu s78504 r8192 d32088 u118784
[    0.000000] pcpu-alloc: s78504 r8192 d32088 u118784 alloc=29*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 251496
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0 bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  root=PARTUUID=a0998a78-02 rootfstype=ext4 rootwait net.ifnames=0 logo.nologo console=tty1
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 912836K/1021952K available (11776K kernel code, 2106K rwdata, 3688K rodata, 4160K init, 1077K bss, 43580K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 39744 entries in 156 pages
[    0.000000] ftrace: allocated 156 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: bcm2836_arm_irqchip_handle_irq
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: 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.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000224] Console: colour dummy device 80x25
[    0.000730] printk: console [tty1] enabled
[    0.000779] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.000813] pid_max: default: 32768 minimum: 301
[    0.000920] LSM: Security Framework initializing
[    0.001081] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.001118] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002164] cgroup: Disabling memory control group subsystem
[    0.003912] cblist_init_generic: Setting adjustable number of callback queues.
[    0.003986] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.004138] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.004288] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.004648] rcu: Hierarchical SRCU implementation.
[    0.004668] rcu: 	Max phase no-delay instances is 1000.
[    0.005644] EFI services will not be available.
[    0.006050] smp: Bringing up secondary CPUs ...
[    0.006911] Detected VIPT I-cache on CPU1
[    0.007029] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.007956] Detected VIPT I-cache on CPU2
[    0.008049] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.008934] Detected VIPT I-cache on CPU3
[    0.009014] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.009132] smp: Brought up 1 node, 4 CPUs
[    0.009218] SMP: Total of 4 processors activated.
[    0.009236] CPU features: detected: 32-bit EL0 Support
[    0.009253] CPU features: detected: 32-bit EL1 Support
[    0.009272] CPU features: detected: CRC32 instructions
[    0.009375] CPU: All CPU(s) started at EL2
[    0.009403] alternatives: applying system-wide alternatives
[    0.010916] devtmpfs: initialized
[    0.023606] Enabled cp15_barrier support
[    0.023658] Enabled setend support
[    0.023852] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.023893] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.025940] pinctrl core: initialized pinctrl subsystem
[    0.026726] DMI not present or invalid.
[    0.027315] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.033609] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.033876] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.034687] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.034805] audit: initializing netlink subsys (disabled)
[    0.035072] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
[    0.035639] thermal_sys: Registered thermal governor 'step_wise'
[    0.035711] cpuidle: using governor menu
[    0.036084] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.036278] ASID allocator initialised with 32768 entries
[    0.036443] Serial: AMBA PL011 UART driver
[    0.042608] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.052202] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:53:00, variant start_cd
[    0.056211] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54
[    0.064873] KASLR enabled
[    0.097215] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.100697] SCSI subsystem initialized
[    0.100917] usbcore: registered new interface driver usbfs
[    0.100987] usbcore: registered new interface driver hub
[    0.101053] usbcore: registered new device driver usb
[    0.101332] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.101534] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[    0.101781] pps_core: LinuxPPS API ver. 1 registered
[    0.101801] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.101837] PTP clock support registered
[    0.102819] vgaarb: loaded
[    0.103513] clocksource: Switched to clocksource arch_sys_counter
[    0.104085] VFS: Disk quotas dquot_6.6.0
[    0.104158] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.104329] FS-Cache: Loaded
[    0.104494] CacheFiles: Loaded
[    0.111904] NET: Registered PF_INET protocol family
[    0.112389] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.113819] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.113865] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.113902] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.113983] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.114222] TCP: Hash tables configured (established 8192 bind 8192)
[    0.114398] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.114452] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.114660] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.115252] RPC: Registered named UNIX socket transport module.
[    0.115276] RPC: Registered udp transport module.
[    0.115294] RPC: Registered tcp transport module.
[    0.115311] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.115341] PCI: CLS 0 bytes, default 64
[    0.116936] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.117195] kvm [1]: IPA Size Limit: 40 bits
[    0.118127] kvm [1]: Hyp mode initialized successfully
[    1.003693] Initialise system trusted keyrings
[    1.004096] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    1.010829] zbud: loaded
[    1.013331] NFS: Registering the id_resolver key type
[    1.013383] Key type id_resolver registered
[    1.013402] Key type id_legacy registered
[    1.013524] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.013549] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.014691] Key type asymmetric registered
[    1.014715] Asymmetric key parser 'x509' registered
[    1.014794] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.015073] io scheduler mq-deadline registered
[    1.015097] io scheduler kyber registered
[    1.020868] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.027965] Console: switching to colour frame buffer device 90x30
[    1.029194] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 720x480
[    1.034508] bcm2835-rng 3f104000.rng: hwrng registered
[    1.035043] vc-mem: phys_addr:0x00000000 mem_base=0x3f000000 mem_size:0x3f600000(1014 MiB)
[    1.036170] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    1.048148] brd: module loaded
[    1.056342] loop: module loaded
[    1.057614] Loading iSCSI transport class v2.0-870.
[    1.062237] usbcore: registered new interface driver r8152
[    1.063033] usbcore: registered new interface driver lan78xx
[    1.063798] usbcore: registered new interface driver smsc95xx
[    1.064785] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.793601] Core Release: 2.80a
[    1.794280] Setting default values for core params
[    1.794962] Finished setting default values for core params
[    1.995936] Using Buffer DMA mode
[    1.996603] Periodic Transfer Interrupt Enhancement - disabled
[    1.997281] Multiprocessor Interrupt Enhancement - disabled
[    1.997967] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.998647] Dedicated Tx FIFOs mode
[    1.999703] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = ffffffc008459000 dma = 0x00000000fa810000 len=9024
[    2.001688] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    2.004919] dwc_otg: Microframe scheduler enabled
[    2.004960] WARN::hcd_init_fiq:497: MPHI regs_base at ffffffc00806d000
[    2.006290] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.006951] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.007647] dwc_otg 3f980000.usb: irq 74, io mem 0x00000000
[    2.008311] Init: Port Power? op_state=1
[    2.008917] Init: Power Port (0)
[    2.009779] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    2.011005] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.011680] usb usb1: Product: DWC OTG Controller
[    2.012341] usb usb1: Manufacturer: Linux 6.1.21-v8+ dwc_otg_hcd
[    2.013016] usb usb1: SerialNumber: 3f980000.usb
[    2.014273] hub 1-0:1.0: USB hub found
[    2.014974] hub 1-0:1.0: 1 port detected
[    2.016310] dwc_otg: FIQ enabled
[    2.016320] dwc_otg: NAK holdoff enabled
[    2.016328] dwc_otg: FIQ split-transaction FSM enabled
[    2.016346] Module dwc_common_port init
[    2.016786] usbcore: registered new interface driver uas
[    2.017520] usbcore: registered new interface driver usb-storage
[    2.018398] mousedev: PS/2 mouse device common for all mice
[    2.022395] sdhci: Secure Digital Host Controller Interface driver
[    2.023063] sdhci: Copyright(c) Pierre Ossman
[    2.024214] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.027111] ledtrig-cpu: registered to indicate activity on CPUs
[    2.028149] hid: raw HID events driver (C) Jiri Kosina
[    2.028966] usbcore: registered new interface driver usbhid
[    2.029603] usbhid: USB HID core driver
[    2.035092] NET: Registered PF_PACKET protocol family
[    2.035929] Key type dns_resolver registered
[    2.037745] registered taskstats version 1
[    2.038454] Loading compiled-in X.509 certificates
[    2.039897] Key type .fscrypt registered
[    2.040539] Key type fscrypt-provisioning registered
[    2.055452] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.056287] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 99, base_baud = 0) is a PL011 rev2
[    2.061242] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.062292] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.064704] sdhost: log_buf @ 00000000ba2a6b59 (c270f000)
[    2.115756] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.119086] of_cfs_init
[    2.119893] of_cfs_init: OK
[    2.121509] Waiting for root device PARTUUID=a0998a78-02...
[    2.127644] Indeed it is in host mode hprt0 = 00021501
[    2.149070] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.152811] mmc0: new high speed SDHC card at address 0001
[    2.154432] mmcblk0: mmc0:0001 SD16G 14.6 GiB 
[    2.158258]  mmcblk0: p1 p2
[    2.159420] mmcblk0: mmc0:0001 SD16G 14.6 GiB (quirks 0x80000000)
[    2.184591] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[    2.186049] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.195926] devtmpfs: mounted
[    2.203347] Freeing unused kernel memory: 4160K
[    2.204250] Run /sbin/init as init process
[    2.204951]   with arguments:
[    2.204959]     /sbin/init
[    2.204967]   with environment:
[    2.204975]     HOME=/
[    2.204983]     TERM=linux
[    2.323540] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.324516] Indeed it is in host mode hprt0 = 00001101
[    2.531880] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[    2.533397] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.534868] hub 1-1:1.0: USB hub found
[    2.535784] hub 1-1:1.0: 5 ports detected
[    2.827546] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.868295] systemd[1]: System time before build time, advancing clock.
[    2.927873] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[    2.929422] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.932907] smsc95xx v2.0.0
[    3.053784] SMSC LAN8700 usb-001:003:01: attached PHY driver (mii_bus:phy_addr=usb-001:003:01, irq=184)
[    3.056120] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:01:be:bd
[    3.067432] NET: Registered PF_INET6 protocol family
[    3.069879] Segment Routing with IPv6
[    3.070754] In-situ OAM (IOAM) with IPv6
[    3.117041] systemd[1]: systemd 247.3-7+deb11u4 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    3.120420] systemd[1]: Detected architecture arm64.
[    3.135545] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
[    3.152060] systemd[1]: Set hostname to <DietPi>.
[    3.258092] usb 1-1.4: New USB device found, idVendor=08bb, idProduct=29c0, bcdDevice= 1.00
[    3.259957] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.260926] usb 1-1.4: Product: USB AUDIO  CODEC
[    3.261880] usb 1-1.4: Manufacturer: BurrBrown from Texas Instruments
[    3.267040] input: BurrBrown from Texas Instruments USB AUDIO  CODEC as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.3/0003:08BB:29C0.0001/input/input0
[    3.332072] hid-generic 0003:08BB:29C0.0001: input,hidraw0: USB HID v1.00 Device [BurrBrown from Texas Instruments USB AUDIO  CODEC] on usb-3f980000.usb-1.4/input3
[    3.829530] systemd[1]: Queued start job for default target Graphical Interface.
[    3.848903] systemd[1]: Created slice system-getty.slice.
[    3.852234] systemd[1]: Created slice system-modprobe.slice.
[    3.855203] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    3.857679] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    3.859990] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.862850] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    3.866027] systemd[1]: Reached target Local Encrypted Volumes.
[    3.868204] systemd[1]: Reached target Paths.
[    3.870191] systemd[1]: Reached target Remote File Systems.
[    3.872236] systemd[1]: Reached target Slices.
[    3.874902] systemd[1]: Listening on fsck to fsckd communication Socket.
[    3.877324] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.880463] systemd[1]: Listening on Journal Audit Socket.
[    3.883156] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.885984] systemd[1]: Listening on Journal Socket.
[    3.890442] systemd[1]: Listening on udev Control Socket.
[    3.893149] systemd[1]: Listening on udev Kernel Socket.
[    3.895137] systemd[1]: Reached target Sockets.
[    3.897790] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    3.919984] systemd[1]: Mounting POSIX Message Queue File System...
[    3.926340] systemd[1]: Mounting Kernel Debug File System...
[    3.933143] systemd[1]: Mounting Kernel Trace File System...
[    3.945515] systemd[1]: Starting Restore / save the current clock...
[    3.960401] systemd[1]: Starting Set the console keyboard layout...
[    3.966932] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    3.974934] systemd[1]: Starting Load Kernel Module configfs...
[    3.982364] systemd[1]: Starting Load Kernel Module fuse...
[    3.989997] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    3.996383] systemd[1]: Starting File System Check on Root Device...
[    4.006530] systemd[1]: Starting Journal Service...
[    4.020897] systemd[1]: Starting Load Kernel Modules...
[    4.028352] systemd[1]: Starting Coldplug All udev Devices...
[    4.055170] systemd[1]: Mounted POSIX Message Queue File System.
[    4.068552] fuse: init (API version 7.37)
[    4.074989] systemd[1]: Mounted Kernel Debug File System.
[    4.078035] systemd[1]: Mounted Kernel Trace File System.
[    4.081877] systemd[1]: Finished Restore / save the current clock.
[    4.086185] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    4.090827] systemd[1]: modprobe@configfs.service: Succeeded.
[    4.093324] systemd[1]: Finished Load Kernel Module configfs.
[    4.097545] systemd[1]: modprobe@fuse.service: Succeeded.
[    4.099666] systemd[1]: Finished Load Kernel Module fuse.
[    4.103718] systemd[1]: Finished Load Kernel Modules.
[    4.132303] systemd[1]: Mounting FUSE Control File System...
[    4.139228] systemd[1]: Mounting Kernel Configuration File System...
[    4.146079] systemd[1]: Started File System Check Daemon to report status.
[    4.153820] systemd[1]: Starting Apply Kernel Variables...
[    4.161965] systemd[1]: Mounted FUSE Control File System.
[    4.165071] systemd[1]: Mounted Kernel Configuration File System.
[    4.244017] systemd[1]: Finished Apply Kernel Variables.
[    4.278517] systemd[1]: Started Journal Service.
[    4.480314] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[    4.556826] Adding 1115132k swap on /var/swap.  Priority:-2 extents:5 across:1516540k SSFS
[    4.804783] systemd-journald[137]: Received client request to flush runtime journal.
[    5.496616] mc: Linux media interface: v0.10
[    5.645746] usbcore: registered new interface driver snd-usb-audio
[    7.250351] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    7.252733] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off

Can you repeat the kernel log with the options I added:

dmesg -l 0,1,2,3

Without colors, it is otherwise hard to extract errors among the full kernel logs.

Hmm, if aplay -l does not list any sound card now, then dietpi-config does not anymore either, right? So it was there at first, and vanished now. I see you have some more USB devices attached, one storage device, if I see it correctly? If this is a 2.5" SSD or HDD; how is it powered?

The idea I have is that all USB devices together draw more then 1.2A/6W, at least temporarily, which is more than the RPi 1-4 USB ports can give (combined). So probably when one device draws more power temporarily, another one gets disconnected due to voltage drop, which could the USB DAC. In case of a 2.5" drive, an external PSU is quite mandatory for stable operation on RPi. If it is not among them, please still try to disconnect all other USB devices, reboot, and check again whether aplay -l and arecord -l do now list the sound card.

I just rebooted, just to be safe. The kernel log dmesg -l 0,1,2,3 does not output anything:

dietpi@DietPi:~$ dmesg -l 0,1,2,3
dietpi@DietPi:~$

Like, nothing happens at all. aplay -l and arecord -l still show “no sound card found”. dietpi-config → Audio Options shows (under auto detection, at the bottom):

usb-dac : USB Audio DAC (any)
hw:0,0 : CODEC USB Audio

The selected one (I think by me) is hw:0,0-plug.
There is no other USB device connected to the Pi. One USB device (the turntable / audio interface), one Ethernet cable, one power chord. That’s it.

Okay very strange indeed. dietpi-config in fact auto-detects cards from /proc/asound/card. But I was sure that this is the exact same source where aplay/arecord are getting them from, respectively that if a sound card exists below /proc/asound/card, the two commands implicitly list them, as both are coming from the same ALSA source packages.

Do you have another Linux system where you can test this card? USB DACs usually just work with the default Linux driver, at least with basic/generic features. Probably this one is somehow different. But a test on another Linux system could verify it. The idea to check whether the vendor provides some Linux instructions or driver stands.

I do have another system, or another SD card that I can use on the exact same Pi 3B. I did install Raspberry Pi OS (64 Bit, Lite) to test via the official Raspberry Pi Imager.
After rebooting with this OS, plugin in the turntable via USB again, and typing
arecord -l I get this as an output:

**** List of CAPTURE Hardware Devices ****
card 1: CODEC [USB AUDIO CODEC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

Works out of the box… So… How do we fix this now :smiley: I want to keep using DietPi…

just to ensure, you updated RPi OS to same latest version, like kernel aso, as we use on DietPi?

I installed RPi OS via the Installer, but did not do any updates afterwards.

try to update all packages to latest version. Maybe some kernel package has an influence? :thinking:

Will try later today! Even though I’m quite happy that it is running now :joy:

No need to rush, there is still plenty of time next year :wink:

Quick question :smiley: how do I update all packages via SSH?

apt-get update
apt-get upgrade

And that’s it? Sorry, haven’t used Linux in quite some time…

Well, just as if you were connected locally :smiley: there is no SSH way :stuck_out_tongue:
but yes, apt update && apt upgrade would do the update for all apt managed packages. Keep in mind, there are some software titles who have own individual update feature (like NextCloud) or require a reinstall (like Vaultwarden).

Hi guys, I never responded again. It worked well since I installed Raspian and I don’t want the hassle again. It would actually help A LOT if it worked on DietPi, because otherwise I need another Pi, but “never change a running system”.