安装声卡过程
openwrt吧
全部回复
仅看楼主
level 5
yungenlan 楼主
先安装: kmod-input-core
kmod-sound-core
kmod-usb-audio
查询声卡是否有:
root@OpenWrt:/usr/bin# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0a05:7211
Bus 002 Device 004: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 002 Device 005: ID 18c3:6255
root@OpenWrt:/usr/bin# ls /dev/dsp
/dev/dsp
root@OpenWrt:/usr/bin# ls /dev/audio
/dev/audio
root@OpenWrt:/usr/bin# ls /dev/mixer
/dev/mixer
说明成功挂载:
再安装播放器madplay
opkg install libmad
opkg install libid3tag
opkg install madplay
3:要安装mpd
2014年11月08日 13点11分 1
level 5
yungenlan 楼主
测试可以播放音乐了,可是手机端无法连接,用这个命令时出现没有库文件啥意思了?
root@OpenWrt:/usr/bin# /usr/bin/mpd --create-db
/usr/bin/mpd: can*t load library *libnsl.so.0*
2014年11月09日 07点11分 2
缺少库文件需要重新安装
2014年11月10日 13点11分
level 5
yungenlan 楼主
U盘已经挂载
root@OpenWrt:/# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0a05:7211
Bus 002 Device 005: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
2014年11月09日 08点11分 3
level 5
yungenlan 楼主
强制安装mpd播放器,结果如下
root@OpenWrt:/# opkg update
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
root@OpenWrt:/# opkg install mpd-full --force-depends
Installing mpd-full (0.16.5-2) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/mpd-full_0.16.5-2_brcm63xx.ipk.
Installing libflac (1.2.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libflac_1.2.1-1_brcm63xx.ipk.
Installing libvorbisidec (1.0.2+svn14261-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libvorbisidec_1.0.2+svn14261-1_brcm63xx.ipk.
Installing alsa-lib (1.0.24.1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/alsa-lib_1.0.24.1-1_brcm63xx.ipk.
Installing libaudiofile (0.2.7-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libaudiofile_0.2.7-1_brcm63xx.ipk.
Installing libfaad2 (2.7-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libfaad2_2.7-1_brcm63xx.ipk.
Installing libffmpeg-mini (0.8.7-2) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libffmpeg-mini_0.8.7-2_brcm63xx.ipk.
Installing libbz2 (1.0.6-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libbz2_1.0.6-1_brcm63xx.ipk.
Installing libmms (0.6-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libmms_0.6-1_brcm63xx.ipk.
Installing libogg (1.1.4-2) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libogg_1.1.4-2_brcm63xx.ipk.
Installing libshout (2.2.2-2) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libshout_2.2.2-2_brcm63xx.ipk.
Installing libspeex (1.2rc1-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libspeex_1.2rc1-1_brcm63xx.ipk.
Installing libtheora (1.0-3) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libtheora_1.0-3_brcm63xx.ipk.
Installing libvorbis (1.2.3-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libvorbis_1.2.3-1_brcm63xx.ipk.
Installing libsndfile (1.0.25-2) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/packages/libsndfile_1.0.25-2_brcm63xx.ipk.
Configuring libogg.
Configuring libtheora.
Configuring alsa-lib.
Configuring libvorbisidec.
Configuring libmms.
Configuring libaudiofile.
Configuring libflac.
Configuring libspeex.
Configuring libvorbis.
Configuring libfaad2.
Configuring libbz2.
Configuring libffmpeg-mini.
Configuring libshout.
Configuring libsndfile.
Configuring mpd-full.
2014年11月09日 08点11分 4
level 5
yungenlan 楼主
晕运行一段时间就没有空间了。。。
root@OpenWrt:/# /etc/init.d/mpd enable
ln: /etc/rc.d/S93mpd: No space left on device
2014年11月10日 13点11分 5
level 3
前排
支持
2014年11月12日 07点11分 6
level 3
[啊]然后 就没有 然后了 ?
2015年11月16日 11点11分 7
level 9
路由器要什么声卡,我的x86软路由就没编译显卡和声卡驱动
2015年11月16日 15点11分 8
请问你编译好声卡驱动了吗 同是x86的
2017年05月19日 14点05分
@啦不倒 编译了啊,怎么了
2017年05月20日 14点05分
@机械果冻 编译的时候是在"Kernel modules"---"Sound Support"里选中吗 我把这个里面的都选了,结果还是识别不到声卡
2017年05月24日 03点05分
@啦不倒 也就是说openwrt本身只支持了很少的声卡驱动,需要自行在Sound Support添加自己想要的驱动
2017年05月24日 05点05分
level 1
2017年05月24日 05点05分 9
1