Ok, guys. I've managed to install and run mpd on my flash drive. I run it with following audio_output settings in mpd.conf
Code: Select all
audio_output {
type "oss"
name "My OSS Device"
device "/dev/sound/dsp" # optional
format "44100:16:2" # optional
mixer_device "/dev/sound/mixer" # optional
mixer_control "PCM" # optional
}
it runs without a word, everything looks fine. I start Ario on my PC and push the play button. I see timer running in Ario and AIR led blinking on router. Led on the USB sound card doesn't blink as it should when working. And I can hear no sound.
I run mpc on router - and it gives me:
Code: Select all
root@OpenWrt:/mnt/usb/.mpd# mpc
volume: n/a repeat: off random: off single: off consume: off
I try mpc volume +10 and it gives me:
Code: Select all
root@OpenWrt:/mnt/usb/.mpd# mpc volume +10
error: ACK [52@0] {volume} problems setting volume
I'm using Asus WL-520GU (Backfire OpenWRT 10.03 brcm2.4), A4Tech USB Hub and plugged in it USB sound card (right this one:
http://www.ebay.com/itm/New-USB-2-0-to- ... 4ab86672b4).
I've tried to comment following lines in mpd.conf
Code: Select all
# mixer_device "/dev/sound/mixer" # optional
# mixer_control "PCM" # optional
but no luck
related dmesg part:
Code: Select all
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
PCI: Setting latency timer of device 00:03.1 to 64
ehci_hcd 00:03.1: PCI device 14e4:471a
ehci_hcd 00:03.1: irq 6, pci mem b8003800
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:03.1: illegal capability!
ehci_hcd 00:03.1: USB 0.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 2 ports detected
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 352 bytes per conntrack
hub.c: new USB device 00:03.1-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
SB USB20H init
SB COREREV: 2
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:471a
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
hub.c: new USB device 00:03.1-1.1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-32)
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
hub.c: new USB device 00:03.1-1.1, assigned address 4
usbaudio: device 4 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
usbaudio: device 4 interface 2 altsetting 1 channels 1 framesize 2 configured
usbaudio: valid input sample rate 48000
usbaudio: valid input sample rate 44100
usbaudio: device 4 interface 2 altsetting 1: format 0x00000010 sratelo 44100 sratehi 48000 attributes 0x01
usbaudio: device 4 interface 1 altsetting 0 does not have an endpoint
usbaudio: device 4 interface 1 altsetting 1 channels 2 framesize 2 configured
usbaudio: valid output sample rate 48000
usbaudio: valid output sample rate 44100
usbaudio: device 4 interface 1 altsetting 1: format 0x01000010 sratelo 44100 sratehi 48000 attributes 0x01
usbaudio: registered dsp 14,3
usbaudio: constructing mixer for Terminal 6 type 0x0301
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
usbaudio: warning: found 1 of 2 logical channels.
usbaudio: assuming that a stereo channel connected directly to a mixer is missing in search (got Labtec headset?). Should be fine.
usbaudio: registered mixer 14,0
usbaudio: constructing mixer for Terminal 7 type 0x0101
usbaudio: registered mixer 14,16
usb_audio_parsecontrol: usb_audio_state at 80a3c7a0
hub.c: new USB device 00:03.1-1.4, assigned address 5
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: JetFlash Model: TS1GJFV30 Rev: 8.07
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 1986560 512-byte hdwr sectors (1017 MB)
sda: Write Protect is off
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 5
opkg list-installed
Code: Select all
root@OpenWrt:/etc/modules.d# opkg list-installed
alsa-lib - 1.0.21a-1
base-files - 42-r20728
block-mount - 0.1.0-1
busybox - 1.15.3-2
dnsmasq - 2.52-2
dropbear - 0.52-4
fdisk - 2.13.0.1-4
firewall - 1-10
glib2 - 2.22.2-1
iptables - 1.4.6-2
iptables-mod-conntrack - 1.4.6-2
iptables-mod-nat - 1.4.6-2
kernel - 2.4.37.9-1
kmod-brcm-wl - 2.4.37.9+4.150.10.5.3-6
kmod-diag - 2.4.37.9-6
kmod-fs-ext2 - 2.4.37.9-1
kmod-fs-ext3 - 2.4.37.9-1
kmod-fs-vfat - 2.4.37.9-1
kmod-ipt-conntrack - 2.4.37.9-1
kmod-ipt-core - 2.4.37.9-1
kmod-ipt-nat - 2.4.37.9-1
kmod-ipt-nathelper - 2.4.37.9-1
kmod-ppp - 2.4.37.9-1
kmod-pppoe - 2.4.37.9-1
kmod-scsi-core - 2.4.37.9-1
kmod-sound-core - 2.4.37.9-1
kmod-switch - 2.4.37.9-3
kmod-usb-audio - 2.4.37.9-1
kmod-usb-core - 2.4.37.9-1
kmod-usb-ohci - 2.4.37.9-1
kmod-usb-storage - 2.4.37.9-1
kmod-usb-uhci - 2.4.37.9-1
kmod-usb2 - 2.4.37.9-1
kmod-wlcompat - 2.4.37.9+4.150.10.5.3-6
ldconfig - 0.9.30.1-42
libc - 0.9.30.1-42
libcurl - 7.19.6-1
libfaad2 - 2.7-1
libffmpeg - 20080419-2
libflac - 1.1.2-1
libgcc - 3.4.6-42
libiconv - 1.11-1
libid3tag - 0.15.1b-3
libintl - 0.17-1
libiptc - 1.4.6-2
liblua - 5.1.4-6
libmad - 0.15.1b-3
libmms - 0.5-1
libogg - 1.1.4-2
libopenssl - 0.9.8m-3
libpthread - 0.9.30.1-42
librt - 0.9.30.1-42
libshout - 2.2.2-1
libspeex - 1.2beta3.2-2
libsqlite3 - 3.6.20-2
libuci - 12012009.5-1
libuci-lua - 12012009.5-1
libvorbis - 1.2.3-1
libvorbisidec - 1.0.2+svn14261-1
libxtables - 1.4.6-2
lua - 5.1.4-6
luci - 0.9.0-1
luci-admin-core - 0.9.0-1
luci-admin-full - 0.9.0-1
luci-admin-mini - 0.9.0-1
luci-app-firewall - 0.9.0-1
luci-app-initmgr - 0.9.0-1
luci-cbi - 0.9.0-1
luci-core - 0.9.0-1
luci-http - 0.9.0-1
luci-i18n-english - 0.9.0-1
luci-ipkg - 0.9.0-1
luci-lmo - 0.9.0-1
luci-nixio - 0.9.0-1
luci-sgi-cgi - 0.9.0-1
luci-sys - 0.9.0-1
luci-theme-base - 0.9.0-1
luci-theme-openwrt - 0.9.0-1
luci-uci - 0.9.0-1
luci-uvl - 0.9.0-1
luci-web - 0.9.0-1
mdnsresponder - 107.6-1
mpc - 0.17-1
mpd - 0.15.8-2
mtd - 12
nas - 4.150.10.5.3-6
nvram - 5
opkg - 513-2
ppp - 2.4.4-5
ppp-mod-pppoe - 2.4.4-5
uci - 12012009.5-1
uhttpd - 7
wireless-tools - 29-4
wlc - 4.150.10.5.3-6
zlib - 1.2.3-5
I'm feeling I'm right near success and would appreciate your help.