ueghio |
01-11-2017 04:18 AM |
MPD - Alsa can't detect external usb audio card
Hello I hope you can help me to solve my problem.
I use Arch linux on an arm device, a Pogoplug E02.
I have a problem with a behringer sound card. Alsa can't unfortunately detect it.
Everything worked well before the last pacman update. Installed Music player daemon and I can connect to the server through mpd clients without ptoblems but can't start playing music.
When I try to detect sound cards this is the output:
Code:
[marco@alarm ~]$ aplay -l
aplay: device_list:270: no soundcards found...
Code:
[marco@alarm ~]$ alsamixer
cannot open mixer: No such file or directory
Code:
[marco@alarm ~]$ lsusb
Bus 001 Device 006: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Code:
[marco@alarm ~]$ sudo systemctl status mpd
* mpd.service - Music Player Daemon
Loaded: loaded (/usr/lib/systemd/system/mpd.service; disabled; vendor preset: disabled)
Active: active (running) since Mon 2017-01-09 14:32:14 UTC; 19s ago
Main PID: 306 (mpd)
CGroup: /system.slice/mpd.service
`-306 /usr/bin/mpd --no-daemon
Jan 09 14:32:26 alarm libsmbclient[306]: alsa_output: Failed to open "MPD ALSA" [alsa]: Failed to open ALSA device "hw:0,0": No such file or directory
Jan 09 14:32:26 alarm libsmbclient[306]: output: Failed to open audio output
This is the content of the original working version of /etc/mpd.conf
Code:
See: /usr/share/doc/mpd/mpdconf.example
music_directory "/mnt/hdd/music"
pid_file "/run/mpd/mpd.pid"
db_file "/var/lib/mpd/mpd.db"
state_file "/var/lib/mpd/mpdstate"
playlist_directory "/var/lib/mpd/playlists"
user "mpd"
audio_output {
type "alsa"
name "MPD ALSA"
device "hw:0,0"
mixer_control "PCM"
}
This is dmesg
Code:
[marco@alarm ~]$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.40-1-ARCH (builduser@leming) (gcc version 6.2.1 20160830 (GCC) ) #1 PREEMPT Sat Jan 7 05:38:35 MST 2017
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Pogoplug E02
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] free_area_init_node: node 0, pgdat c0918c14, node_mem_map cfdba000
[ 0.000000] Normal zone: 576 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 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: 64960
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sdb1 rw rootwait mtdparts=orion_nand:1M(u-boot),-(rootfs)
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 249516K/262144K available (6601K kernel code, 547K rwdata, 1876K rodata, 296K init, 725K bss, 12628K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc084f9dc (8479 kB)
.init : 0xc0850000 - 0xc089a000 ( 296 kB)
.data : 0xc089a000 - 0xc0922e4c ( 548 kB)
.bss : 0xc0922e4c - 0xc09d8418 ( 726 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:114
[ 0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[ 11.562417] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[ 11.562606] Console: colour dummy device 80x30
[ 11.562636] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 11.652506] pid_max: default: 32768 minimum: 301
[ 11.652604] Security Framework initialized
[ 11.652681] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 11.652700] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 11.653437] Initializing cgroup subsys io
[ 11.653471] Initializing cgroup subsys memory
[ 11.653525] Initializing cgroup subsys devices
[ 11.653554] Initializing cgroup subsys freezer
[ 11.653577] Initializing cgroup subsys net_cls
[ 11.653600] Initializing cgroup subsys perf_event
[ 11.653625] Initializing cgroup subsys net_prio
[ 11.653707] CPU: Testing write buffer coherency: ok
[ 11.654167] Setting up static identity map for 0x81e0 - 0x8238
[ 11.656103] devtmpfs: initialized
[ 11.658503] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 11.658948] pinctrl core: initialized pinctrl subsystem
[ 11.659724] NET: Registered protocol family 16
[ 11.660222] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 11.682507] cpuidle: using governor ladder
[ 11.712506] cpuidle: using governor menu
[ 11.712677] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 11.712703] Feroceon L2: Enabling L2
[ 11.712740] Feroceon L2: Cache support initialised.
[ 11.713489] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[ 11.713517] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[ 11.754006] vgaarb: loaded
[ 11.754339] SCSI subsystem initialized
[ 11.754528] libata version 3.00 loaded.
[ 11.754831] usbcore: registered new interface driver usbfs
[ 11.754908] usbcore: registered new interface driver hub
[ 11.754968] usbcore: registered new device driver usb
[ 11.755140] pps_core: LinuxPPS API ver. 1 registered
[ 11.755150] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 11.755184] PTP clock support registered
[ 11.756234] clocksource: Switched to clocksource orion_clocksource
[ 11.794564] FS-Cache: Loaded
[ 11.807798] NET: Registered protocol family 2
[ 11.808618] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 11.808658] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 11.808689] TCP: Hash tables configured (established 2048 bind 2048)
[ 11.808763] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 11.808786] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 11.808977] NET: Registered protocol family 1
[ 11.809309] RPC: Registered named UNIX socket transport module.
[ 11.809322] RPC: Registered udp transport module.
[ 11.809329] RPC: Registered tcp transport module.
[ 11.809335] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 11.809356] PCI: CLS 0 bytes, default 32
[ 11.811366] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 11.824132] VFS: Disk quotas dquot_6.6.0
[ 11.824399] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 11.826531] FS-Cache: Netfs 'nfs' registered for caching
[ 11.827646] NFS: Registering the id_resolver key type
[ 11.827703] Key type id_resolver registered
[ 11.827712] Key type id_legacy registered
[ 11.827799] jffs2: version 2.2. (NAND) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[ 11.829117] fuse init (API version 7.23)
[ 11.831347] aufs 4.4-20161219
[ 11.836772] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 11.836800] io scheduler noop registered
[ 11.836816] io scheduler deadline registered
[ 11.837091] io scheduler cfq registered
[ 11.837360] io scheduler bfq registered (default)
[ 11.837370] BFQ I/O-scheduler: v7r11
[ 11.837562] mv_xor mv_xor.0: Marvell shared XOR driver
[ 11.877497] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[ 11.877748] mv_xor mv_xor.1: Marvell shared XOR driver
[ 11.917532] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[ 11.923198] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 11.924319] console [ttyS0] disabled
[ 11.944432] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 12.497282] console [ttyS0] enabled
[ 12.516717] brd: module loaded
[ 12.527589] loop: module loaded
[ 12.531552] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[ 12.538042] nand: Hynix NAND 128MiB 3,3V 8-bit
[ 12.542506] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 12.550139] Scanning device for bad blocks
[ 12.631866] 2 cmdlinepart partitions found on MTD device orion_nand
[ 12.638180] Creating 2 MTD partitions on "orion_nand":
[ 12.643348] 0x000000000000-0x000000100000 : "u-boot"
[ 12.648831] 0x000000100000-0x000008000000 : "rootfs"
[ 12.661330] libphy: orion_mdio_bus: probed
[ 12.665551] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 13.747246] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:66:7e
[ 13.756130] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 13.762721] ehci-pci: EHCI PCI platform driver
[ 13.767273] ehci-orion: EHCI orion driver
[ 13.771375] orion-ehci orion-ehci.0: EHCI Host Controller
[ 13.776857] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 13.784608] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 13.806265] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 13.813188] hub 1-0:1.0: USB hub found
[ 13.817052] hub 1-0:1.0: 1 port detected
[ 13.821698] usbcore: registered new interface driver uas
[ 13.827233] usbcore: registered new interface driver usb-storage
[ 13.833320] usbcore: registered new interface driver ums-alauda
[ 13.839369] usbcore: registered new interface driver ums-cypress
[ 13.845459] usbcore: registered new interface driver ums-datafab
[ 13.851567] usbcore: registered new interface driver ums_eneub6250
[ 13.857851] usbcore: registered new interface driver ums-freecom
[ 13.863934] usbcore: registered new interface driver ums-isd200
[ 13.869955] usbcore: registered new interface driver ums-jumpshot
[ 13.876125] usbcore: registered new interface driver ums-karma
[ 13.882059] usbcore: registered new interface driver ums-onetouch
[ 13.888288] usbcore: registered new interface driver ums-realtek
[ 13.894376] usbcore: registered new interface driver ums-sddr09
[ 13.900398] usbcore: registered new interface driver ums-sddr55
[ 13.906422] usbcore: registered new interface driver ums-usbat
[ 13.912739] mousedev: PS/2 mouse device common for all mice
[ 14.136266] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 14.288872] hub 1-1:1.0: USB hub found
[ 14.292995] hub 1-1:1.0: 4 ports detected
[ 14.576260] usb 1-1.1: new full-speed USB device number 3 using orion-ehci
[ 14.776260] usb 1-1.2: new high-speed USB device number 4 using orion-ehci
[ 14.926256] rtc-mv rtc-mv: internal RTC not ticking
[ 14.931312] i2c /dev entries driver
[ 14.935427] sdhci: Secure Digital Host Controller Interface driver
[ 14.941700] sdhci: Copyright(c) Pierre Ossman
[ 14.946202] sdhci-pltfm: SDHCI platform and OF driver helper
[ 14.952662] ledtrig-cpu: registered to indicate activity on CPUs
[ 14.958945] usbcore: registered new interface driver r8712u
[ 14.964900] gre: GRE over IPv4 demultiplexor driver
[ 14.970397] NET: Registered protocol family 17
[ 14.975165] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 14.981645] Key type dns_resolver registered
[ 14.987155] registered taskstats version 1
[ 14.992259] scsi host0: usb-storage 1-1.2:1.0
[ 14.998737] Key type encrypted registered
[ 15.003346] console [netcon0] enabled
[ 15.007111] netconsole: network logging started
[ 15.011758] hctosys: unable to open rtc device (rtc0)
[ 15.018251] Waiting for root device /dev/sdb1...
[ 15.076270] usb 1-1.3: new high-speed USB device number 5 using orion-ehci
[ 15.188162] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 15.194751] scsi host1: usb-storage 1-1.3:1.0
[ 15.997333] scsi 0:0:0:0: Direct-Access ASMT 2115 0 PQ: 0 ANSI: 6
[ 16.006918] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 16.014817] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 16.020657] sd 0:0:0:0: [sda] Write Protect is off
[ 16.025491] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 16.026497] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 16.038967] sda: sda1
[ 16.044524] sd 0:0:0:0: [sda] Attached SCSI disk
[ 16.197577] scsi 1:0:0:0: Direct-Access SanDisk Cruzer Fit 1.27 PQ: 0 ANSI: 6
[ 16.207106] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 16.212667] sd 1:0:0:0: [sdb] 30529536 512-byte logical blocks: (15.6 GB/14.6 GiB)
[ 16.222152] sd 1:0:0:0: [sdb] Write Protect is off
[ 16.227067] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 16.227775] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 16.242839] sdb: sdb1
[ 16.248524] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[ 16.337664] EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibilities
[ 16.346782] EXT4-fs (sdb1): couldn't mount as ext2 due to feature incompatibilities
[ 16.363948] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[ 16.371805] VFS: Mounted root (ext4 filesystem) on device 8:17.
[ 16.381437] devtmpfs: mounted
[ 16.385372] Freeing unused kernel memory: 296K (c0850000 - c089a000)
[ 16.843126] systemd[1]: System time before build time, advancing clock.
[ 16.902392] random: systemd: uninitialized urandom read (16 bytes read, 46 bits of entropy available)
[ 16.929717] random: systemd: uninitialized urandom read (16 bytes read, 46 bits of entropy available)
[ 16.943650] systemd[1]: systemd 232 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 16.962215] systemd[1]: Detected architecture arm.
[ 16.997624] systemd[1]: Set hostname to <alarm>.
[ 17.145265] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 51 bits of entropy available)
[ 17.179937] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 51 bits of entropy available)
[ 17.200683] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 53 bits of entropy available)
[ 17.357867] random: systemd: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 17.367525] random: systemd: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 17.377547] random: systemd: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 17.387855] random: systemd: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 17.427073] random: systemd: uninitialized urandom read (16 bytes read, 60 bits of entropy available)
[ 17.441885] systemd[1]: [/usr/lib/systemd/system/mpd.service:23] Unknown lvalue 'RestrictNamespaces' in section 'Service'
[ 17.741852] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 17.773016] systemd[1]: Listening on Process Core Dump Socket.
[ 17.796979] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 17.826784] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 17.856785] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 17.886547] systemd[1]: Reached target Paths.
[ 17.906542] systemd[1]: Reached target Encrypted Volumes.
[ 17.936766] systemd[1]: Listening on udev Control Socket.
[ 17.966945] systemd[1]: Listening on Network Service Netlink Socket.
[ 17.996788] systemd[1]: Listening on Journal Socket (/dev/log).
[ 18.029426] systemd[1]: Created slice System Slice.
[ 18.060435] systemd[1]: Mounting POSIX Message Queue File System...
[ 18.098438] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 18.130777] systemd[1]: Mounting Debug File System...
[ 18.177798] systemd[1]: Created slice system-getty.slice.
[ 18.206886] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 18.236589] systemd[1]: Reached target Remote File Systems.
[ 18.267449] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 18.296785] systemd[1]: Listening on udev Kernel Socket.
[ 18.342160] systemd[1]: Listening on Journal Socket.
[ 18.370509] systemd[1]: Starting Journal Service...
[ 18.391024] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 18.483529] systemd[1]: Mounting FUSE Control File System...
[ 18.535095] systemd[1]: Starting Apply Kernel Variables...
[ 18.544216] systemd-journald[124]: File /var/log/journal/0ca20ca3aa0a4f1e9be99a9e593f67a6/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 18.580650] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 18.656692] systemd[1]: Reached target Swap.
[ 18.712388] systemd[1]: Mounting Temporary Directory...
[ 18.767672] systemd[1]: Created slice User and Session Slice.
[ 18.796825] systemd[1]: Reached target Slices.
[ 18.842764] systemd[1]: Mounted FUSE Control File System.
[ 18.866719] systemd[1]: Mounted Debug File System.
[ 18.886691] systemd[1]: Mounted POSIX Message Queue File System.
[ 18.906670] systemd[1]: Mounted Temporary Directory.
[ 18.929136] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 18.978672] systemd[1]: Started Apply Kernel Variables.
[ 18.998268] systemd[1]: Started Remount Root and Kernel File Systems.
[ 19.041661] systemd[1]: Starting udev Coldplug all Devices...
[ 19.090632] systemd[1]: Starting Load/Save Random Seed...
[ 19.131293] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 19.222209] systemd[1]: Started Journal Service.
[ 19.456881] systemd-journald[124]: Received request to flush runtime journal from PID 1
[ 20.141686] random: nonblocking pool is initialized
[ 21.332787] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 32.155498] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
The card works flawlessly if connected to my laptop.
Do you have any suggestion? Thank you in advance for your help.
Kind regards.
Marco.
|