声音输入输出设备都为空
Tofloor
poster avatar
zuozhehao
deepin
2018-03-02 17:44
Author



Reply Favorite View the author
All Replies
avatar
yanbowen
deepin
Community Developer
2018-03-02 18:23
#1
'pacmd list-cards' 和 'pacmd list-sinks' 的输出
Reply View the author
avatar
zuozhehao
deepin
2018-03-02 18:50
#2
https://bbs.deepin.org/post/153719
'pacmd list-cards' 和 'pacmd list-sinks' 的输出

pacmd list-cards

  1. 1 card(s) available.
  2.     index: 0
  3.         name:
  4.         driver:
  5.         owner module: 6
  6.         properties:
  7.                 alsa.card = "0"
  8.                 alsa.card_name = "HDA Intel PCH"
  9.                 alsa.long_card_name = "HDA Intel PCH at 0xf7c30000 irq 34"
  10.                 alsa.driver_name = "snd_hda_intel"
  11.                 device.bus_path = "pci-0000:00:1b.0"
  12.                 sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
  13.                 device.bus = "pci"
  14.                 device.vendor.id = "8086"
  15.                 device.vendor.name = "Intel Corporation"
  16.                 device.product.id = "1e20"
  17.                 device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
  18.                 device.form_factor = "internal"
  19.                 device.string = "0"
  20.                 device.description = "内置音频"
  21.                 module-udev-detect.discovered = "1"
  22.                 device.icon_name = "audio-card-pci"
  23.         profiles:
  24.                 input:analog-stereo: 模拟立体声 输入 (priority 60, available: unknown)
  25.                 output:analog-stereo: 模拟立体声 输出 (priority 6000, available: unknown)
  26.                 output:analog-stereo+input:analog-stereo: 模拟立体声双工 (priority 6060, available: unknown)
  27.                 output:hdmi-stereo: Digital Stereo (HDMI) 输出 (priority 5400, available: no)
  28.                 output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) 输出 + 模拟立体声 输入 (priority 5460, available: unknown)
  29.                 output:hdmi-surround: Digital Surround 5.1 (HDMI) 输出 (priority 300, available: no)
  30.                 output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) 输出 + 模拟立体声 输入 (priority 360, available: unknown)
  31.                 output:hdmi-surround71: Digital Surround 7.1 (HDMI) 输出 (priority 300, available: no)
  32.                 output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) 输出 + 模拟立体声 输入 (priority 360, available: unknown)
  33.                 output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) 输出 (priority 5200, available: no)
  34.                 output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) 输出 + 模拟立体声 输入 (priority 5260, available: unknown)
  35.                 output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) 输出 (priority 100, available: no)
  36.                 output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) 输出 + 模拟立体声 输入 (priority 160, available: unknown)
  37.                 output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) 输出 (priority 100, available: no)
  38.                 output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) 输出 + 模拟立体声 输入 (priority 160, available: unknown)
  39.                 off: 关 (priority 0, available: unknown)
  40.         active profile:
  41.         sinks:
  42.                 alsa_output.pci-0000_00_1b.0.analog-stereo/#0: 内置音频 模拟立体声
  43.         sources:
  44.                 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of 内置音频 模拟立体声
  45.                 alsa_input.pci-0000_00_1b.0.analog-stereo/#1: 内置音频 模拟立体声
  46.         ports:
  47.                 analog-input-front-mic: 前麦克风 (priority 8500, latency offset 0 usec, available: unknown)
  48.                         properties:
  49.                                 device.icon_name = "audio-input-microphone"
  50.                 analog-input-internal-mic: 内部话筒 (priority 8900, latency offset 0 usec, available: unknown)
  51.                         properties:
  52.                                 device.icon_name = "audio-input-microphone"
  53.                 analog-input-linein: 输入插孔 (priority 8100, latency offset 0 usec, available: no)
  54.                         properties:
  55.                                
  56.                 analog-output-lineout: 线缆输出 (priority 9900, latency offset 0 usec, available: no)
  57.                         properties:
  58.                                
  59.                 analog-output-speaker: 扬声器 (priority 10000, latency offset 0 usec, available: unknown)
  60.                         properties:
  61.                                 device.icon_name = "audio-speakers"
  62.                 analog-output-headphones: 模拟耳机 (priority 9000, latency offset 0 usec, available: unknown)
  63.                         properties:
  64.                                 device.icon_name = "audio-headphones"
  65.                 hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
  66.                         properties:
  67.                                 device.icon_name = "video-display"
  68.                 hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
  69.                         properties:
  70.                                 device.icon_name = "video-display"
Copy the Code


pacmd list-sinks

  1. 1 sink(s) available.
  2.   * index: 0
  3.         name:
  4.         driver:
  5.         flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
  6.         state: SUSPENDED
  7.         suspend cause: IDLE
  8.         priority: 9959
  9.         volume: front-left: 49978 /  76% / -7.06 dB,   front-right: 49978 /  76% / -7.06 dB
  10.                 balance 0.00
  11.         base volume: 65536 / 100% / 0.00 dB
  12.         volume steps: 65537
  13.         muted: no
  14.         current latency: 0.00 ms
  15.         max request: 0 KiB
  16.         max rewind: 0 KiB
  17.         monitor source: 0
  18.         sample spec: s16le 2ch 44100Hz
  19.         channel map: front-left,front-right
  20.                      立体声
  21.         used by: 0
  22.         linked by: 0
  23.         configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
  24.         card: 0
  25.         module: 6
  26.         properties:
  27.                 alsa.resolution_bits = "16"
  28.                 device.api = "alsa"
  29.                 device.class = "sound"
  30.                 alsa.class = "generic"
  31.                 alsa.subclass = "generic-mix"
  32.                 alsa.name = "ALC892 Analog"
  33.                 alsa.id = "ALC892 Analog"
  34.                 alsa.subdevice = "0"
  35.                 alsa.subdevice_name = "subdevice #0"
  36.                 alsa.device = "0"
  37.                 alsa.card = "0"
  38.                 alsa.card_name = "HDA Intel PCH"
  39.                 alsa.long_card_name = "HDA Intel PCH at 0xf7c30000 irq 34"
  40.                 alsa.driver_name = "snd_hda_intel"
  41.                 device.bus_path = "pci-0000:00:1b.0"
  42.                 sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
  43.                 device.bus = "pci"
  44.                 device.vendor.id = "8086"
  45.                 device.vendor.name = "Intel Corporation"
  46.                 device.product.id = "1e20"
  47.                 device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
  48.                 device.form_factor = "internal"
  49.                 device.string = "front:0"
  50.                 device.buffering.buffer_size = "352800"
  51.                 device.buffering.fragment_size = "176400"
  52.                 device.access_mode = "mmap+timer"
  53.                 device.profile.name = "analog-stereo"
  54.                 device.profile.description = "模拟立体声"
  55.                 device.description = "内置音频 模拟立体声"
  56.                 alsa.mixer_name = "Realtek ALC892"
  57.                 alsa.components = "HDA:10ec0892,80862036,00100302 HDA:80862806,80860101,00100000"
  58.                 module-udev-detect.discovered = "1"
  59.                 device.icon_name = "audio-card-pci"
  60.         ports:
  61.                 analog-output-lineout: 线缆输出 (priority 9900, latency offset 0 usec, available: no)
  62.                         properties:
  63.                                
  64.                 analog-output-speaker: 扬声器 (priority 10000, latency offset 0 usec, available: unknown)
  65.                         properties:
  66.                                 device.icon_name = "audio-speakers"
  67.                 analog-output-headphones: 模拟耳机 (priority 9000, latency offset 0 usec, available: unknown)
  68.                         properties:
  69.                                 device.icon_name = "audio-headphones"
  70.         active port:
Copy the Code





Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-03-02 19:15
#3
这条命令的输出也贴一下
  1. qdbus --literal com.deepin.daemon.Audio /com/deepin/daemon/Audio com.deepin.daemon.Audio.Cards
Copy the Code
Reply View the author
avatar
zuozhehao
deepin
2018-03-02 19:15
#4
https://bbs.deepin.org/post/153719
这条命令的输出也贴一下
输出
  1. [Variant(QString): "null"]
Copy the Code
Reply View the author
avatar
mhlan
deepin
2018-03-02 19:32
#5
我显示了输入设备都用不了麦克风...
Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-03-02 19:47
#6

执行下
  1. killall dde-session-daemon; env DDE_DEBUG_MATCH="audio" /usr/lib/deepin-daemon/dde-session-daemon
Copy the Code


执行后程序不会终止,等待10s,然后把输出的内容贴一下
Reply View the author
avatar
zuozhehao
deepin
2018-03-02 20:06
#7
https://bbs.deepin.org/post/153719
执行下

执行后程序不会终止,等待10s,然后把输出的内容贴一下
  1. deepin@deepin-PC:/tmp$ killall dde-session-daemon; env DDE_DEBUG_MATCH="audio" /usr/lib/deepin-daemon/dde-session-daemon
  2. dde-session-daemon: 未找到进程

  3. ** (dde-session-daemon:5076): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
  4. main.go:77: Log level is none and debug env exists, so ignore cmd.loglevel
  5. audio_stub.go:129: Audio.update
  6. sink.go:170: sink #0 active port changed, old , new
  7. sink.go:175: Sink.update not found old port
  8. sink.go:180: oldPortUnavailable: true
  9. sink.go:187: [handleUnplugedEvent] Old port: true
  10. sink.go:188: [handleUnplugedEvent] New port:
  11. audio_stub.go:162: Audio.DefaultSink change to #0 alsa_output.pci-0000_00_1b.0.analog-stereo
  12. audio_stub.go:185: Audio.DefaultSource change to #1 alsa_input.pci-0000_00_1b.0.analog-stereo
  13. audio_stub.go:63: rebuildSinkInputList
  14. audio_config.go:76: Audio config sink validity: true alsa_output.pci-0000_00_1b.0.analog-stereo
  15. audio_config.go:103: Audio config source validity: true alsa_input.pci-0000_00_1b.0.analog-stereo
  16. sink.go:170: sink #0 active port changed, old , new
  17. sink.go:175: Sink.update not found old port
  18. sink.go:180: oldPortUnavailable: true
  19. sink.go:187: [handleUnplugedEvent] Old port: true
  20. sink.go:188: [handleUnplugedEvent] New port:
  21. audio_stub.go:162: Audio.DefaultSink change to #0 alsa_output.pci-0000_00_1b.0.analog-stereo
  22. audio_stub.go:185: Audio.DefaultSource change to #1 alsa_input.pci-0000_00_1b.0.analog-stereo

  23. (dde-session-daemon:5076): Gtk-WARNING **: Theme parsing error: gtk.css:3601:22: 'none' is not a valid color name
  24. org.freedesktop.NetworkManager.Settings.InvalidConnection:No connection with the UUID was found.
  25. org.freedesktop.NetworkManager.Settings.InvalidConnection:No connection with the UUID was found.
  26. get DDE_SESSION_PROCESS_COOKIE_ID failed
  27. org.bluez.Error.InProgress:Operation already in progress
  28. org.bluez.Error.InProgress:Operation already in progress
  29. Connect to pulseaudio timeout, terminate

Copy the Code
Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-03-02 21:06
#8

看着挺正常的啊,你观察下这样启动后程序会不会终止。

也去控制中心看下,声音里面应该有内容了
Reply View the author
avatar
zuozhehao
deepin
2018-03-02 21:42
#9
https://bbs.deepin.org/post/153719
看着挺正常的啊,你观察下这样启动后程序会不会终止。

也去控制中心看下,声音里面应该有内容了 ...
还是什么都没有


Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-03-02 22:06
#10

那个程序终止了吗?没有终止就在贴一次 qdbus --literal com.deepin.daemon.Audio /com/deepin/daemon/Audio com.deepin.daemon.Audio.Cards 的输出,然后看下那个进程有没有终止
Reply View the author
avatar
justforlxz
deepin
2018-03-02 22:11
#11
在声音界面停留一下再进去呢,不要在滚动的过程中就点进去。
Reply View the author
avatar
zuozhehao
deepin
2018-03-02 22:17
#12
https://bbs.deepin.org/post/153719
那个程序终止了吗?没有终止就在贴一次 qdbus --literal com.deepin.daemon.Audio /com/deepin/daemon/Au ...


Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-03-02 22:45
#13

你这个情况下,'pacmd list-cards' 和 'pacmd list-sinks' 就会和你之前贴的不同吧
Reply View the author
avatar
zuozhehao
deepin
2018-03-02 22:46
#14
https://bbs.deepin.org/post/153719
你这个情况下,'pacmd list-cards' 和 'pacmd list-sinks' 就会和你之前贴的不同吧
额,刚才看了下,确实是,为啥.我没做任何操作,就重启了下机器.
  1. deepin@deepin-PC:~/Desktop$ pacmd list-cards
  2. 0 card(s) available.
  3. deepin@deepin-PC:~/Desktop$ pacmd list-sinks
  4. 1 sink(s) available.
  5.   * index: 0
  6.         name:
  7.         driver:
  8.         flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
  9.         state: IDLE
  10.         suspend cause:
  11.         priority: 1000
  12.         volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
  13.                 balance 0.00
  14.         base volume: 65536 / 100% / 0.00 dB
  15.         volume steps: 65537
  16.         muted: no
  17.         current latency: 19.31 ms
  18.         max request: 6 KiB
  19.         max rewind: 6 KiB
  20.         monitor source: 0
  21.         sample spec: s16le 2ch 44100Hz
  22.         channel map: front-left,front-right
  23.                      立体声
  24.         used by: 0
  25.         linked by: 1
  26.         configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
  27.         module: 2
  28.         properties:
  29.                 device.description = "伪输出"
  30.                 device.class = "abstract"
  31.                 device.icon_name = "audio-card"
Copy the Code

Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-03-02 22:52
#15
https://bbs.deepin.org/post/153719
额,刚才看了下,确实是,为啥.我没做任何操作,就重启了下机器.

没有发现声卡,上传下此时的日志。

https://bbs.deepin.org/user/32991 麻烦看下
Reply View the author
avatar
zuozhehao
deepin
2018-03-03 00:09
#16
https://bbs.deepin.org/post/153719
没有发现声卡,上传下此时的日志。

@yangbo 麻烦看下

deepin-feedback-cli-Deepin-15.5-all-20180302-160851.tar.gz
Reply View the author
avatar
yangbo
deepin
2018-03-15 01:44
#17
看声卡的驱动日志没看到什么问题呀。。。
Reply View the author