View previous topic :: View next topic |
Author |
Message |
foxroot n00b
Joined: 01 Dec 2017 Posts: 26
|
Posted: Fri Dec 01, 2017 5:56 pm Post subject: sound over PC Speaker |
|
|
good day! Please help me!!
sound was played across PC Speaker Why ?
Code: | lspci -v | grep -i audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
Subsystem: Hewlett-Packard Company 5 Series/3400 Series Chipset High Definition Audio |
Code: | cat /sys/class/sound/card*/id
Dummy
Loopback
VirMIDI
port
pcsp
MID
AF
|
NEED five sound card
Code: | cat /proc/asound/cards
0 [Dummy ]: Dummy - Dummy
Dummy 1
1 [Loopback ]: Loopback - Loopback
Loopback 1
2 [VirMIDI ]: VirMIDI - VirMIDI
Virtual MIDI Card 1
3 [port ]: MTPAV - MTPAV on parallel port
MTPAV on parallel port at 0x378
4 [pcsp ]: PC-Speaker - pcsp
Internal PC-Speaker at port 0x61
5 [MID ]: HDA-Intel - HDA Intel MID
HDA Intel MID at 0xfa7f4000 irq 22
6 [AF ]: USB-Audio - VF0560 Live! Cam Optia AF
Creative Labs VF0560 Live! Cam Optia AF at usb-0000:00:1d.0-1.5, high speed
|
Code: | # Alsa kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
alias snd-card-5 snd-hda-intel
alias snd-card-5 snd-hda-intel
options snd-hda-intel index=1,2
#added by me to select default card
#options snd_ca0106 index=0
#options snd_hda_intel index=1
#options saa7134_alsa index=2
#options snd_hda_intel index=3
#options snd-usb-audio index=4
# You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
#alias snd-card-0 snd-interwave
alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-5
alias sound-slot-1 snd-card-5
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
#options snd-hda-intel id=PCH,HDMI index=0,1
#alias snd-card-1 snd-hda-intel
#options snd-hda-intel index=5
options snd cards_limit=5
|
Code: | cat .config | grep -i Intel
# CONFIG_INTEL_RDT_A is not set
# CONFIG_X86_INTEL_MID is not set
# CONFIG_X86_INTEL_QUARK is not set
# CONFIG_X86_INTEL_LPSS is not set
CONFIG_CPU_SUP_INTEL=y
CONFIG_X86_MCE_INTEL=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_PERF_EVENTS_INTEL_RAPL=y
CONFIG_PERF_EVENTS_INTEL_CSTATE=y
CONFIG_MICROCODE_INTEL=y
# CONFIG_X86_INTEL_MPX is not set
CONFIG_X86_INTEL_PSTATE=y
# CONFIG_INTEL_IDLE is not set
# CONFIG_INTEL_MEI is not set
# CONFIG_INTEL_MEI_ME is not set
# CONFIG_INTEL_MEI_TXE is not set
# Intel MIC Bus Driver
# Intel MIC Host Driver
# Intel MIC Card Driver
# Intel MIC Coprocessor State Management (COSM) Drivers
CONFIG_NET_VENDOR_INTEL=y
# CONFIG_INTEL_XWAY_PHY is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_INTEL_POWERCLAMP is not set
# CONFIG_INTEL_SOC_DTS_THERMAL is not set
# CONFIG_INTEL_PCH_THERMAL is not set
# CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not set
# CONFIG_INTEL_SOC_PMIC is not set
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set
CONFIG_AGP_INTEL=y
CONFIG_INTEL_GTT=y
CONFIG_SND_INTEL8X0=y
CONFIG_SND_INTEL8X0M=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_SOC_INTEL_SST=y
CONFIG_SND_SOC_INTEL_SST_ACPI=y
CONFIG_SND_SOC_INTEL_SST_MATCH=y
CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH=y
CONFIG_SND_SOC_INTEL_BXT_RT298_MACH=y
CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=y
CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=y
CONFIG_SND_SOC_INTEL_SKYLAKE=y
CONFIG_SND_SOC_INTEL_SKL_RT286_MACH=y
# CONFIG_LEDS_INTEL_SS4200 is not set
# CONFIG_INTEL_IDMA64 is not set
# CONFIG_INTEL_MENLOW is not set
# CONFIG_INTEL_CHT_INT33FE is not set
# CONFIG_INTEL_HID_EVENT is not set
# CONFIG_INTEL_VBTN is not set
# CONFIG_INTEL_IPS is not set
# CONFIG_INTEL_PMC_CORE is not set
# CONFIG_INTEL_OAKTRAIL is not set
# CONFIG_INTEL_RST is not set
# CONFIG_INTEL_SMARTCONNECT is not set
# CONFIG_INTEL_PMC_IPC is not set
# CONFIG_INTEL_PUNIT_IPC is not set
# CONFIG_INTEL_TH is not set
# CONFIG_CRYPTO_CRC32C_INTEL is not set
# CONFIG_CRYPTO_AES_NI_INTEL is not set |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9645 Location: almost Mile High in the USA
|
Posted: Fri Dec 01, 2017 6:45 pm Post subject: |
|
|
You have CONFIG_SND_PCSP enabled in your kernel.
You have multiple options:
-disable it in kernel
-ensure it's a module and
blacklist snd_pcsp
-or make sure you select the right sound card is being used using hw:5,0 or something like that in your applications. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
foxroot n00b
Joined: 01 Dec 2017 Posts: 26
|
Posted: Fri Dec 01, 2017 6:50 pm Post subject: |
|
|
hi
CONFIG_SND_PCSP enable kernel is module? or CONFIG_SND_PCSP=x
I forced him out of the kernel turned off because sound is reproduced PC SPEAKER
i want disable sound PC Speaker and enable sound music column |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9645 Location: almost Mile High in the USA
|
Posted: Fri Dec 01, 2017 6:58 pm Post subject: |
|
|
If you never want to use PCSP then all you need to do is ensure
CONFIG_SND_PCSP=N
Then you have the next problem and ensure your regular sound card and not your USB device is being selected first. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
foxroot n00b
Joined: 01 Dec 2017 Posts: 26
|
Posted: Fri Dec 01, 2017 7:06 pm Post subject: |
|
|
how choose me regular sound card after make kernel with CONFIG_SND_PCSP=N ? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9645 Location: almost Mile High in the USA
|
Posted: Fri Dec 01, 2017 7:51 pm Post subject: |
|
|
That's software dependent... you have to tell whatever software you're using the correct hardware.
You could also make sure your card is index 0.
If you're using pulseaudio you should be able to select the output you want to use via GUI. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
foxroot n00b
Joined: 01 Dec 2017 Posts: 26
|
Posted: Fri Dec 01, 2017 8:07 pm Post subject: |
|
|
I use pulseaudio and alsa
i choose also-mixer sound card.
Code: | cat /proc/asound/cards
0 [Dummy ]: Dummy - Dummy
Dummy 1
1 [Loopback ]: Loopback - Loopback
Loopback 1
2 [VirMIDI ]: VirMIDI - VirMIDI
Virtual MIDI Card 1
3 [port ]: MTPAV - MTPAV on parallel port
MTPAV on parallel port at 0x378
4 [MID ]: HDA-Intel - HDA Intel MID
HDA Intel MID at 0xfa7f4000 irq 22
5 [AF ]: USB-Audio - VF0560 Live! Cam Optia AF
Creative Labs VF0560 Live! Cam Optia AF at usb-0000:00:1d.0-1.5, high speed
|
PCSP is disable.
how can I disable other sound card (Dummy Loopback VirMIDI port AF ) ?
need stay only MID (HDA-Intel - HDA Intel MID)
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9645 Location: almost Mile High in the USA
|
Posted: Fri Dec 01, 2017 11:53 pm Post subject: |
|
|
Can you revert your alsa module options file? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
foxroot n00b
Joined: 01 Dec 2017 Posts: 26
|
Posted: Sat Dec 02, 2017 4:18 am Post subject: |
|
|
i have
nano /etc/modprobe.d/alsa.conf
Code: | alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0
options snd cards_limit=2 |
_____
but i do not use HD-intel how module
i use driver HD-intel how enable kernel
that is why i create file /etc/asound.conf
Code: | alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0
options snd cards_limit=2 |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
foxroot n00b
Joined: 01 Dec 2017 Posts: 26
|
Posted: Sat Dec 02, 2017 5:51 am Post subject: |
|
|
checked works!
thanks for the tips |
|
Back to top |
|
|
|