
최근에 시스템을 업데이트했는데 이제 pulseaudio가 내 사운드 카드 사용을 거부합니다. pacmd list-cards
아래와 같이 존재한다는 것을 알고 있습니다 .
index: 2
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7210000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1e20"
device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: no)
output:analog-stereo: Analog Stereo Output (priority 6000, available: no)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: no)
off: Off (priority 0, available: unknown)
active profile: <off>
ports:
analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
properties:
analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
properties:
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
그러나 카드의 모든 포트에 대해 이것이 표시되며 available: no
이는 잭에 연결된 것이 있는지 자동으로 감지하는 것입니다. 사운드 카드의 잭 자동 감지가 깨지지 않는 한 괜찮습니다.
과거에는 "삽입되지 않음"으로 표시되어 출력하도록 선택할 수 있었습니다. 이제 pulseaudio는 수신기를 설정하지도 않습니다. pacmd list-sinks
비디오 카드의 HDMI/DP 출력용 수신기만 표시합니다.
잭 자동 감지를 끄거나 이러한 포트를 강제로 사용하려면 어떻게 해야 합니까?
답변1
이 문제에 대한 해결책을 찾았습니다. hda 드라이버에는 잭 감지를 비활성화하는 옵션이 있습니다. 부팅하기 전에 이를 시행하기 위해 udev 규칙을 만들었습니다.
/etc/udev/rules.d/jackDetect.rules:
ACTION=="add", SUBSYSTEM=="sound", ATTRS{chip_name}=="ALC898", ATTR{hints}="jack_detect=false"
ACTION=="add", SUBSYSTEM=="sound", ATTRS{chip_name}=="ALC898", ATTR{reconfig}="1"
/sys/class/sound/hwC?D?/chip_name에서 Chip_name을 찾거나 다른 것을 선택기로 사용할 수 있습니다...
자세한 내용은 이 페이지를 참조하세요.https://www.kernel.org/doc/html/latest/sound/hd-audio/notes.html#hd-audio-reconfiguration
답변2
카드가 많아요소개, 이는 무엇보다도 사용 가능한 입력 및 출력을 결정합니다. 귀하의 카드에는 다음과 같은 정보가 있습니다.
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: no)
output:analog-stereo: Analog Stereo Output (priority 6000, available: no)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: no)
off: Off (priority 0, available: unknown)
현재 활성화된 프로필은 다음과 같습니다.
active profile: <off>
pavucontrol
다음에서 프로필을 선택할 수 있습니다 .구성탭을 클릭하거나 다음 을 사용하여 pacmd set-card-profile
두 프로필 중 하나를 선택하세요.산출이름은 Analog Stereo Output Enabled여야 합니다.