+ -
当前位置:首页 → 问答吧 → [已解决]关于alsa声卡的设置,耳机有声音,外放没声音

[已解决]关于alsa声卡的设置,耳机有声音,外放没声音

时间:2009-03-01

来源:互联网

又见 HP

这个问题 lzjx 兄已经解决了,我也是用的他的方法,共享一下:
方法:
vi编辑/etc/modprobe.d/sound

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=laptop enable=1 index=0(加入这条)

在 ubuntu 下,不是改这个文件,而是改 /etc/modprobe.d/alsa-base
同样是加入最后一行.

如果这两个文件都找不到,就找找类似的文件.

作者: whitelilis   发布时间: 2009-03-01

关于声卡,看这里:
http://en.opensuse.org/SDB:AudioTroubleshooting
http://en.opensuse.org/SDB:Intel-HDA_sound_problems
一步一步照着检查应该可以解决绝大多数问题

packman的mplayer编译的时候指定realcodec的位置为/usr/lib/RealPlayer/codecs,做个链接到/usr/lib/win32即可,自己重编译mplayer也可以,加上nvidia的vdpau补丁效果不错

作者: struq   发布时间: 2009-03-01

声卡问题终于解决了,编辑/etc/modprobe.d/sound如下:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-m4 enable_msi=1

在google上搜了hp dv5 IDT 92HD71B7X声卡(Intel 82801IB ICH9)的相关信息,添加了model=hp-m4,虽然找了半天没找到hp-m4从那来的,尝试修改了一次,重启后设置了下kmix就OK了,外放、耳机都正常了。
很感谢楼上两位朋友的帮助,现在轻松多了,再把mplayer的问题解决后系统就没什么大问题了。

作者: wgxg520   发布时间: 2009-03-01

lz不错呢

我插了耳机它音响和耳机一起响~~

作者: shentianhua   发布时间: 2009-03-02

引用:
作者: shentianhua
lz不错呢

我插了耳机它音响和耳机一起响~~
选alsa mixer 把其中一个静音即可

作者: uengfyj   发布时间: 2009-03-03

引用:
作者: shentianhua
lz不错呢

我插了耳机它音响和耳机一起响~~
你这个问题比较好解决,
解决方法和楼主的解决方法一样,
加上model项即可,
具体的model请对应你的硬件进行选择,
这里有一份model的对照表:
769 Model name Description
770 ---------- -----------
771 ALC880
772 3stack 3-jack in back and a headphone out
773 3stack-digout 3-jack in back, a HP out and a SPDIF out
774 5stack 5-jack in back, 2-jack in front
775 5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
776 6stack 6-jack in back, 2-jack in front
777 6stack-digout 6-jack with a SPDIF out
778 w810 3-jack
779 z71v 3-jack (HP shared SPDIF)
780 asus 3-jack (ASUS Mobo)
781 asus-w1v ASUS W1V
782 asus-dig ASUS with SPDIF out
783 asus-dig2 ASUS with SPDIF out (using GPIO2)
784 uniwill 3-jack
785 fujitsu Fujitsu Laptops (Pi1536)
786 F1734 2-jack
787 lg LG laptop (m1 express dual)
788 lg-lw LG LW20/LW25 laptop
789 tcl TCL S700
790 clevo Clevo laptops (m520G, m665n)
791 test for testing/debugging purpose, almost all controls can be
792 adjusted. Appearing only when compiled with
793 $CONFIG_SND_DEBUG=y
794 auto auto-config reading BIOS (default)
795
796 ALC260
797 hp HP machines
798 hp-3013 HP machines (3013-variant)
799 fujitsu Fujitsu S7020
800 acer Acer TravelMate
801 will Will laptops (PB V7900)
802 replacer Replacer 672V
803 basic fixed pin assignment (old default model)
804 test for testing/debugging purpose, almost all controls can
805 adjusted. Appearing only when compiled with
806 $CONFIG_SND_DEBUG=y
807 auto auto-config reading BIOS (default)
808
809 ALC262
810 fujitsu Fujitsu Laptop
811 hp-bpc HP xw4400/6400/8400/9400 laptops
812 hp-bpc-d7000 HP BPC D7000
813 hp-tc-t5735 HP Thin Client T5735
814 hp-rp5700 HP RP5700
815 benq Benq ED8
816 benq-t31 Benq T31
817 hippo Hippo (ATI) with jack detection, Sony UX-90s
818 hippo_1 Hippo (Benq) with jack detection
819 sony-assamd Sony ASSAMD
820 ultra Samsung Q1 Ultra Vista model
821 basic fixed pin assignment w/o SPDIF
822 auto auto-config reading BIOS (default)
823
824 ALC268
825 3stack 3-stack model
826 toshiba Toshiba A205
827 acer Acer laptops
828 dell Dell OEM laptops (Vostro 1200)
829 test for testing/debugging purpose, almost all controls can
830 adjusted. Appearing only when compiled with
831 $CONFIG_SND_DEBUG=y
832 auto auto-config reading BIOS (default)
833
834 ALC662
835 3stack-dig 3-stack (2-channel) with SPDIF
836 3stack-6ch 3-stack (6-channel)
837 3stack-6ch-dig 3-stack (6-channel) with SPDIF
838 6stack-dig 6-stack with SPDIF
839 lenovo-101e Lenovo laptop
840 eeepc-p701 ASUS Eeepc P701
841 eeepc-ep20 ASUS Eeepc EP20
842 auto auto-config reading BIOS (default)
843
844 ALC882/885
845 3stack-dig 3-jack with SPDIF I/O
846 6stack-dig 6-jack digital with SPDIF I/O
847 arima Arima W820Di1
848 targa Targa T8, MSI-1049 T8
849 asus-a7j ASUS A7J
850 asus-a7m ASUS A7M
851 macpro MacPro support
852 mbp3 Macbook Pro rev3
853 imac24 iMac 24'' with jack detection
854 w2jc ASUS W2JC
855 auto auto-config reading BIOS (default)
856
857 ALC883/888
858 3stack-dig 3-jack with SPDIF I/O
859 6stack-dig 6-jack digital with SPDIF I/O
860 3stack-6ch 3-jack 6-channel
861 3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
862 6stack-dig-demo 6-jack digital for Intel demo board
863 acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
864 acer-aspire Acer Aspire 9810
865 medion Medion Laptops
866 medion-md2 Medion MD2
867 targa-dig Targa/MSI
868 targa-2ch-dig Targs/MSI with 2-channel
869 laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
870 lenovo-101e Lenovo 101E
871 lenovo-nb0763 Lenovo NB0763
872 lenovo-ms7195-dig Lenovo MS7195
873 haier-w66 Haier W66
874 6stack-hp HP machines with 6stack (Nettle boards)
875 3stack-hp HP machines with 3stack (Lucknow, Samba boards)
876 6stack-dell Dell machines with 6stack (Inspiron 530)
877 mitac Mitac 8252D
878 auto auto-config reading BIOS (default)
879
880 ALC861/660
881 3stack 3-jack
882 3stack-dig 3-jack with SPDIF I/O
883 6stack-dig 6-jack with SPDIF I/O
884 3stack-660 3-jack (for ALC660)
885 uniwill-m31 Uniwill M31 laptop
886 toshiba Toshiba laptop support
887 asus Asus laptop support
888 asus-laptop ASUS F2/F3 laptops
889 auto auto-config reading BIOS (default)
890
891 ALC861VD/660VD
892 3stack 3-jack
893 3stack-dig 3-jack with SPDIF OUT
894 6stack-dig 6-jack with SPDIF OUT
895 3stack-660 3-jack (for ALC660VD)
896 3stack-660-digout 3-jack with SPDIF OUT (for ALC660VD)
897 lenovo Lenovo 3000 C200
898 dallas Dallas laptops
899 hp HP TX1000
900 auto auto-config reading BIOS (default)
901
902 CMI9880
903 minimal 3-jack in back
904 min_fp 3-jack in back, 2-jack in front
905 full 6-jack in back, 2-jack in front
906 full_dig 6-jack in back, 2-jack in front, SPDIF I/O
907 allout 5-jack in back, 2-jack in front, SPDIF out
908 auto auto-config reading BIOS (default)
909
910 AD1882
911 3stack 3-stack mode (default)
912 6stack 6-stack mode
913
914 AD1884
915 N/A
916
917 AD1981
918 basic 3-jack (default)
919 hp HP nx6320
920 thinkpad Lenovo Thinkpad T60/X60/Z60
921 toshiba Toshiba U205
922
923 AD1983
924 N/A
925
926 AD1984
927 basic default configuration
928 thinkpad Lenovo Thinkpad T61/X61
929 dell Dell T3400
930
931 AD1986A
932 6stack 6-jack, separate surrounds (default)
933 3stack 3-stack, shared surrounds
934 laptop 2-channel only (FSC V2060, Samsung M50)
935 laptop-eapd 2-channel with EAPD (Samsung R65, ASUS A6J)
936 laptop-automute 2-channel with EAPD and HP-automute (Lenovo N100)
937 ultra 2-channel with EAPD (Samsung Ultra tablet PC)
938
939 AD1988
940 6stack 6-jack
941 6stack-dig ditto with SPDIF
942 3stack 3-jack
943 3stack-dig ditto with SPDIF
944 laptop 3-jack with hp-jack automute
945 laptop-dig ditto with SPDIF
946 auto auto-config reading BIOS (default)
947
948 Conexant 5045
949 laptop-hpsense Laptop with HP sense (old model laptop)
950 laptop-micsense Laptop with Mic sense (old model fujitsu)
951 laptop-hpmicsense Laptop with HP and Mic senses
952 benq Benq R55E
953 test for testing/debugging purpose, almost all controls
954 can be adjusted. Appearing only when compiled with
955 $CONFIG_SND_DEBUG=y
956
957 Conexant 5047
958 laptop Basic Laptop config
959 laptop-hp Laptop config for some HP models (subdevice 30A5)
960 laptop-eapd Laptop config with EAPD support
961 test for testing/debugging purpose, almost all controls
962 can be adjusted. Appearing only when compiled with
963 $CONFIG_SND_DEBUG=y
964
965 Conexant 5051
966 laptop Basic Laptop config (default)
967 hp HP Spartan laptop
968
969 STAC9200
970 ref Reference board
971 dell-d21 Dell (unknown)
972 dell-d22 Dell (unknown)
973 dell-d23 Dell (unknown)
974 dell-m21 Dell Inspiron 630m, Dell Inspiron 640m
975 dell-m22 Dell Latitude D620, Dell Latitude D820
976 dell-m23 Dell XPS M1710, Dell Precision M90
977 dell-m24 Dell Latitude 120L
978 dell-m25 Dell Inspiron E1505n
979 dell-m26 Dell Inspiron 1501
980 dell-m27 Dell Inspiron E1705/9400
981 gateway Gateway laptops with EAPD control
982
983 STAC9205/9254
984 ref Reference board
985 dell-m42 Dell (unknown)
986 dell-m43 Dell Precision
987 dell-m44 Dell Inspiron
988
989 STAC9220/9221
990 ref Reference board
991 3stack D945 3stack
992 5stack D945 5stack + SPDIF
993 intel-mac-v1 Intel Mac Type 1
994 intel-mac-v2 Intel Mac Type 2
995 intel-mac-v3 Intel Mac Type 3
996 intel-mac-v4 Intel Mac Type 4
997 intel-mac-v5 Intel Mac Type 5
998 macmini Intel Mac Mini (equivalent with type 3)
999 macbook Intel Mac Book (eq. type 5)
1000 macbook-pro-v1 Intel Mac Book Pro 1st generation (eq. type 3)
1001 macbook-pro Intel Mac Book Pro 2nd generation (eq. type 3)
1002 imac-intel Intel iMac (eq. type 2)
1003 imac-intel-20 Intel iMac (newer version) (eq. type 3)
1004 dell-d81 Dell (unknown)
1005 dell-d82 Dell (unknown)
1006 dell-m81 Dell (unknown)
1007 dell-m82 Dell XPS M1210
1008
1009 STAC9202/9250/9251
1010 ref Reference board, base config
1011 m2-2 Some Gateway MX series laptops
1012 m6 Some Gateway NX series laptops
1013 pa6 Gateway NX860 series
1014
1015 STAC9227/9228/9229/927x
1016 ref Reference board
1017 3stack D965 3stack
1018 5stack D965 5stack + SPDIF
1019 dell-3stack Dell Dimension E520
1020
1021 STAC9872
1022 vaio Setup for VAIO FE550G/SZ110
1023 vaio-ar Setup for VAIO AR

作者: realasking   发布时间: 2009-03-03