[Alsa-user] Unbind builtin module to use external one.
Brought to you by:
perex
|
From: <nut...@gm...> - 2015-01-04 16:11:26
|
Hi, I can't use internal snd_intel_sst, it is android kernel without source. I tryed everything, alsa does not work with internal module. So if it is possible unbind internal module I build another with source from www.kernel.org same version 3.10.20 and perhaps ... it works. Now from dmesg: snd_intel_sst: INFO: ******** SST DRIVER loading.. Ver: 3.0.8 snd_byt_bl_rt5642: Baytrail Machine Driver byt_rt5642 registerd byt_rt5642 AMCR0F28:00: snd-soc-dummy-dai <-> ssp-bt-cpu-dai mapping ok byt_rt5642 AMCR0F28:00: snd-soc-dummy-dai <-> ssp-modem-cpu-dai mapping ok snd_byt_bl_rt5642: snd_byt_mc_probe successful I executed: root@clock:~# cd /sys/bus/pci/drivers/intel_sst_driver root@clock:/sys/bus/pci/drivers/intel_sst_driver# ll total 0 --w------- 1 root root 4096 Jan 4 15:53 bind lrwxrwxrwx 1 root root 0 Jan 4 15:53 module -> ../../../../module/snd_intel_sst --w------- 1 root root 4096 Jan 4 15:53 new_id --w------- 1 root root 4096 Jan 4 15:53 remove_id --w------- 1 root root 4096 Jan 4 15:53 uevent --w------- 1 root root 4096 Jan 4 16:43 unbind root@blacktile:...# echo "AMCR0F28:00" > unbind -su: echo: write error: No such device I googled but no documentation about string to use for unbind. Thanks lspci 00:00.0 Host bridge: Intel Corporation ValleyView SSA-CUnit (rev 0f) 00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0f) 00:03.0 Multimedia controller: Intel Corporation ValleyView ISP (rev 0f) 00:14.0 USB controller: Intel Corporation ValleyView USB xHCI Host Controller (rev 0f) 00:16.0 USB controller: Intel Corporation ValleyView OTG (rev 0f) 00:1a.0 Encryption controller: Intel Corporation ValleyView SEC (rev 0f) 00:1f.0 ISA bridge: Intel Corporation ValleyView Power Control Unit (rev 0f) |