[Problem] TP-LINK 1043ND V2 OpenWRT Shairport

gary822

Neuer User
Mitglied seit
27 Aug 2014
Beiträge
3
Punkte für Reaktionen
0
Punkte
0
Hallo an alle :)

Hab mich grad mal Registriert und habe auch gleich eine Harte Nuss :gruebel:


ich habe folgendes Problem:

ich habe auf meinem TP-LINK 1043ND V2 OpenWRT installiert. Danach habe ich ein Shairport Paket mit den zuständigen Abhängigkeiten installiert.
Nun habe ich das Problem, dass sobald ich mich mit dem Server verbinden will ich in der Konsole folgende Ausgabe erhalte:

Code:
root@OpenWrt:~# shairport -a OpenWRT
Starting Shairport -dirty
Listening for connections.
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
FATAL: Alsa initialization failed: unable to open pcm device: No such file or directory

Ich habe keine Ahnung was mir das sagen soll bzw. was ich machen muss um den Fehler zu fixen.


Folgende Pakete habe ich installiert:

Code:
alsa-lib - 1.0.27.2-1
alsa-utils - 1.0.28-2
avahi-daemon - 0.6.31-6
base-files - 156-r42305
busybox - 1.22.1-2
dbus - 1.8.6-1
dnsmasq - 2.71-4
dropbear - 2014.65-2
firewall - 2014-08-11a
fstools - 2014-06-22-e0430f5c62f367e5a8e02755412977b02c3fc45e
hostapd-common - 2014-06-03-1
ip6tables - 1.4.21-1
iptables - 1.4.21-1
iw - 3.15-1
iwinfo - 51
jshn - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
kernel - 3.10.49-1-f6de7189ee57039cb8b4dca4b00f431e
kmod-ath - 3.10.49+2014-05-22-1
kmod-ath9k - 3.10.49+2014-05-22-1
kmod-ath9k-common - 3.10.49+2014-05-22-1
kmod-cfg80211 - 3.10.49+2014-05-22-1
kmod-crypto-aes - 3.10.49-1
kmod-crypto-arc4 - 3.10.49-1
kmod-crypto-core - 3.10.49-1
kmod-gpio-button-hotplug - 3.10.49-1
kmod-input-core - 3.10.49-1
kmod-ip6tables - 3.10.49-1
kmod-ipt-conntrack - 3.10.49-1
kmod-ipt-core - 3.10.49-1
kmod-ipt-nat - 3.10.49-1
kmod-ipt-nathelper - 3.10.49-1
kmod-ipv6 - 3.10.49-1
kmod-ledtrig-usbdev - 3.10.49-1
kmod-lib-crc-ccitt - 3.10.49-1
kmod-mac80211 - 3.10.49+2014-05-22-1
kmod-nls-base - 3.10.49-1
kmod-ppp - 3.10.49-1
kmod-pppoe - 3.10.49-1
kmod-pppox - 3.10.49-1
kmod-slhc - 3.10.49-1
kmod-sound-core - 3.10.49-1
kmod-usb-core - 3.10.49-1
kmod-usb-ohci - 3.10.49-1
kmod-usb2 - 3.10.49-1
libavahi - 0.6.31-6
libavahi-client - 0.6.31-6
libavahi-dbus-support - 0.6.31-6
libblobmsg-json - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
libc - 0.9.33.2-1
libdaemon - 0.14-4
libdbus - 1.8.6-1
libexpat - 2.1.0-1
libgcc - 4.8-linaro-1
libip4tc - 1.4.21-1
libip6tc - 1.4.21-1
libiwinfo - 51
libiwinfo-lua - 51
libjson-c - 0.11-2
libjson-script - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
liblua - 5.1.5-1
libncurses - 5.9-1
libnl-tiny - 0.1-3
libopenssl - 1.0.1i-1
libpthread - 0.9.33.2-1
librt - 0.9.33.2-1
libubox - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
libubus - 2014-07-03-f688c7ad0b2435a89bfd13f5496cabf596b54c8f
libubus-lua - 2014-07-03-f688c7ad0b2435a89bfd13f5496cabf596b54c8f
libuci - 2014-04-11.1-1
libuci-lua - 2014-04-11.1-1
libxtables - 1.4.21-1
lua - 5.1.5-1
luci - svn-r10521-1
luci-app-firewall - svn-r10521-1
luci-base - svn-r10521-1
luci-i18n-german - svn-r10521-1
luci-lib-nixio - svn-r10521-1
luci-mod-admin-full - svn-r10521-1
luci-proto-ppp - svn-r10521-1
luci-theme-bootstrap - svn-r10521-1
mtd - 20
netifd - 2014-08-13-732074385389b1bb766a0b09b967d6883c357813
odhcp6c - 2014-08-25-0300fe7589a1701361735ac068e4b57bb1a1896f
odhcpd - 2014-08-23-24452e1e3e9adfd9d8e183db1aa589f77727f5a7
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
ppp - 2.4.6-2
ppp-mod-pppoe - 2.4.6-2
procd - 2014-07-30-35e01a9601292b2f609e65c2ddb3990cba8f378e
shairport - 2014-08-22
swconfig - 10
terminfo - 5.9-1
uboot-envtools - 2014.07-1
ubox - 2014-05-30-c3d4118eee505f41c4d20a87f326479530837569
ubus - 2014-07-03-f688c7ad0b2435a89bfd13f5496cabf596b54c8f
ubusd - 2014-07-03-f688c7ad0b2435a89bfd13f5496cabf596b54c8f
uci - 2014-04-11.1-1
uhttpd - 2014-08-25-dabd7dea6445aaa0e5b8d9add1872fa7393b3a85
uhttpd-mod-ubus - 2014-08-25-dabd7dea6445aaa0e5b8d9add1872fa7393b3a85
wpad-mini - 2014-06-03-1
zlib - 1.2.8-1

dmesg gibt mir folgende Ausgabe:

Code:
root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.10.49 (openwrt@gb-13) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42305) ) #1 Wed Aug 27 07:07:47 UTC 2014
[    0.000000] MyLoader: sysp=afc585fb, boardp=34e91623, parts=f627b4e5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 rev 0
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80336b60, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    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: 16256
[    0.000000] Kernel command line:  board=TL-WR1043ND-v2 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61076k/65536k available (2375k kernel code, 4460k reserved, 623k data, 264k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.060000] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.070000] NET: Registered protocol family 16
[    0.070000] MIPS: machine is TP-LINK TL-WR1043ND v2
[    0.490000] bio: create slab <bio-0> at 0
[    0.490000] Switching to clocksource MIPS
[    0.500000] NET: Registered protocol family 2
[    0.500000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.510000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.520000] TCP: Hash tables configured (established 512 bind 512)
[    0.520000] TCP: reno registered
[    0.520000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.530000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.540000] NET: Registered protocol family 1
[    0.540000] PCI: CLS 0 bytes, default 32
[    0.550000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.560000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.570000] msgmni has been set to 119
[    0.570000] io scheduler noop registered
[    0.580000] io scheduler deadline registered (default)
[    0.580000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.610000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.620000] console [ttyS0] enabled, bootconsole disabled
[    0.630000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.640000] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.650000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.650000] 5 tp-link partitions found on MTD device spi0.0
[    0.660000] Creating 5 MTD partitions on "spi0.0":
[    0.660000] 0x000000000000-0x000000020000 : "u-boot"
[    0.670000] 0x000000020000-0x00000012efe0 : "kernel"
[    0.670000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.690000] 0x00000012efe0-0x0000007f0000 : "rootfs"
[    0.690000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.710000] mtd: device 2 (rootfs) set to be root filesystem
[    0.710000] 1 squashfs-split partitions found on MTD device rootfs
[    0.720000] 0x000000300000-0x0000007f0000 : "rootfs_data"
[    0.730000] 0x0000007f0000-0x000000800000 : "art"
[    0.730000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.770000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    2.020000] libphy: ag71xx_mdio: probed
[    2.580000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.590000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    3.140000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    3.150000] TCP: cubic registered
[    3.160000] NET: Registered protocol family 17
[    3.160000] Bridge firewalling registered
[    3.160000] 8021q: 802.1Q VLAN Support v1.8
[    3.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.180000] Freeing unused kernel memory: 264K (8034e000 - 80390000)
[    5.390000] usbcore: registered new interface driver usbfs
[    5.400000] usbcore: registered new interface driver hub
[    5.400000] usbcore: registered new device driver usb
[    5.410000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.420000] ehci-platform: EHCI generic platform driver
[    5.420000] ehci-platform ehci-platform.0: EHCI Host Controller
[    5.430000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    5.440000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    5.450000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    5.470000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    5.470000] hub 1-0:1.0: USB hub found
[    5.480000] hub 1-0:1.0: 1 port detected
[    5.480000] ehci-platform ehci-platform.1: EHCI Host Controller
[    5.490000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    5.500000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    5.500000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    5.530000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    5.530000] hub 2-0:1.0: USB hub found
[    5.540000] hub 2-0:1.0: 1 port detected
[    5.540000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.830000] usb 1-1: new full-speed USB device number 2 using ehci-platform
[    5.930000] eth1: link up (1000Mbps/Full duplex)
[    8.230000] jffs2: notice: (376) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 14 of xref (0 dead, 2 orphan) found.
[    8.280000] eth1: link down
[    9.920000] NET: Registered protocol family 10
[    9.960000] nf_conntrack version 0.5.0 (958 buckets, 3832 max)
[    9.980000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.000000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   10.010000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   10.020000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.050000] xt_time: kernel timezone is -0000
[   10.080000] cfg80211: Calling CRDA to update world regulatory domain
[   10.080000] cfg80211: World regulatory domain updated:
[   10.090000] cfg80211:  DFS Master region: unset
[   10.090000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   10.100000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.110000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.120000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   10.130000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[   10.130000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   10.140000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   10.150000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   10.160000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   10.200000] PPP generic driver version 2.4.2
[   10.220000] NET: Registered protocol family 24
[   10.270000] ath: EEPROM regdomain: 0x0
[   10.270000] ath: EEPROM indicates default country code should be used
[   10.270000] ath: doing EEPROM country->regdmn map search
[   10.270000] ath: country maps to regdmn code: 0x3a
[   10.270000] ath: Country alpha2 being used: US
[   10.270000] ath: Regpair used: 0x3a
[   10.280000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.290000] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[   10.300000] cfg80211: Calling CRDA for country: US
[   10.300000] cfg80211: Regulatory domain changed to country: US
[   10.310000] cfg80211:  DFS Master region: FCC
[   10.310000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   10.320000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   10.330000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   10.340000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   10.350000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   10.350000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   16.720000] eth1: link up (1000Mbps/Full duplex)
[   16.720000] device eth1 entered promiscuous mode
[   16.750000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   16.760000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.720000] br-lan: port 1(eth1) entered forwarding state
[   17.720000] br-lan: port 1(eth1) entered forwarding state
[   17.760000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   18.530000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   18.570000] device wlan0 entered promiscuous mode
[   18.570000] br-lan: port 2(wlan0) entered forwarding state
[   18.580000] br-lan: port 2(wlan0) entered forwarding state
[   18.690000] eth0: link up (1000Mbps/Full duplex)
[   18.710000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   18.720000] br-lan: port 2(wlan0) entered disabled state
[   19.090000] br-lan: port 2(wlan0) entered forwarding state
[   19.100000] br-lan: port 2(wlan0) entered forwarding state
[   19.100000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   19.720000] br-lan: port 1(eth1) entered forwarding state
[   21.100000] br-lan: port 2(wlan0) entered forwarding state
[  868.260000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[  878.360000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[  960.320000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[  999.030000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 1149.050000] ath: phy0: Failed to stop TX DMA, queues=0x007!
[ 1204.240000] ath: phy0: Failed to stop TX DMA, queues=0x004!
[ 1581.170000] ath: phy0: Failed to stop TX DMA, queues=0x004!

Ich hoffe das mir jemand im Forum helfen kann, da ich einfach nicht weiter weiß was ich Falsch mache bzw. was noch Konfiguriert werden muss.
Sollten weitere Informationen erforderlich sein bitte bescheid geben ^^

Ich bin kein Neuling in der Geschichte Linux aber auch kein Profi um mein Profil kurz zu vervollständigen :D

Bin offen für jede Anregung



Als Nachtrag folgt die Ausgabe von lsmod | grep 'snd'

Code:
root@OpenWrt:~# lsmod | grep 'snd'
input_core             24297  1 snd
snd                    42154  8 snd_compress
snd_compress            6175  0
snd_hwdep               4302  0
snd_mixer_oss          12377  1 snd_pcm_oss
snd_page_alloc          4497  1 snd_pcm
snd_pcm                56301  1 snd_pcm_oss
snd_pcm_oss            33537  0
snd_rawmidi            14963  0
snd_seq_device          4301  1 snd_rawmidi
snd_timer              14382  1 snd_pcm
soundcore               3788  1 snd
 
Zuletzt bearbeitet:
Dir fehlt eine Usb.Soundkarte bzw falls eine angeschlossen ist ist diese nicht eingerichtet.
 
Hallo und vielen Dank für die Antwort

ich habe eine dran und zwar ist das laut lsusb Bus 001 Device 002: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller

Die große frage die sich mir da jetzt stellt ist wie ich diese einrichten kann?
weil erkannt wird sie ja. Wie mach ich aber jetzt dem Server klar das der die Ausgabe auf dieser USB Karte leitet?
 
Hallo,

Ich habe jetzt meine Fehler gefunden. Es hat einfach nur das Paket kmod-usb-audio gefehlt.

Jetzt habe ich aber das Problem das ich mit der Software Airfoil keine synchrone Übertragung hinbekomme. Der Ton hängt dem Bild nach.
Dadurch ist es nicht möglich Filme zu schauen oder zu zocken.

Ist eine Software bekannt welche es hinbekommt den Ton in Echtzeit zu übertragen um oben genannte Anforderung zu erfüllen?

Mit freundlichen Grüßen
Gary822
 
Zuletzt bearbeitet:
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.