Guest User

EC Debug

a guest
Jun 13th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.66 KB | None | 0 0
  1. aplay -l
  2. **** List of PLAYBACK Hardware Devices ****
  3. card 0: sun4icodec [sun4i-codec], device 0: CDC PCM Codec-0 []
  4. Subdevices: 0/1
  5. Subdevice #0: subdevice #0
  6.  
  7.  
  8. aplay -L
  9. null
  10. Discard all samples (playback) or generate zero samples (capture)
  11. pulse
  12. PulseAudio Sound Server
  13. default:CARD=sun4icodec
  14. sun4i-codec,
  15. Default Audio Device
  16. sysdefault:CARD=sun4icodec
  17. sun4i-codec,
  18. Default Audio Device
  19. dmix:CARD=sun4icodec,DEV=0
  20. sun4i-codec,
  21. Direct sample mixing device
  22. dsnoop:CARD=sun4icodec,DEV=0
  23. sun4i-codec,
  24. Direct sample snooping device
  25. hw:CARD=sun4icodec,DEV=0
  26. sun4i-codec,
  27. Direct hardware device without any conversions
  28. plughw:CARD=sun4icodec,DEV=0
  29. sun4i-codec,
  30. Hardware device with all software conversions
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. pactl list
  38.  
  39. Module #0
  40. Name: module-device-restore
  41. Argument:
  42. Usage counter: n/a
  43. Properties:
  44. module.author = "Lennart Poettering"
  45. module.description = "Automatically restore the volume/mute state of devices"
  46. module.version = "7.1"
  47.  
  48. Module #1
  49. Name: module-stream-restore
  50. Argument:
  51. Usage counter: n/a
  52. Properties:
  53. module.author = "Lennart Poettering"
  54. module.description = "Automatically restore the volume/mute/device state of streams"
  55. module.version = "7.1"
  56.  
  57. Module #2
  58. Name: module-card-restore
  59. Argument:
  60. Usage counter: n/a
  61. Properties:
  62. module.author = "Lennart Poettering"
  63. module.description = "Automatically restore profile of cards"
  64. module.version = "7.1"
  65.  
  66. Module #3
  67. Name: module-augment-properties
  68. Argument:
  69. Usage counter: n/a
  70. Properties:
  71. module.author = "Lennart Poettering"
  72. module.description = "Augment the property sets of streams with additional static information"
  73. module.version = "7.1"
  74.  
  75. Module #4
  76. Name: module-switch-on-port-available
  77. Argument:
  78. Usage counter: n/a
  79. Properties:
  80.  
  81.  
  82. Module #5
  83. Name: module-udev-detect
  84. Argument: tsched=0
  85. Usage counter: n/a
  86. Properties:
  87. module.author = "Lennart Poettering"
  88. module.description = "Detect available audio hardware and load matching drivers"
  89. module.version = "7.1"
  90.  
  91. Module #6
  92. Name: module-alsa-card
  93. Argument: device_id="0" name="platform-1c22c00.codec" card_name="alsa_card.platform-1c22c00.codec" namereg_fail=false tsched=no fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
  94. Usage counter: 2
  95. Properties:
  96. module.author = "Lennart Poettering"
  97. module.description = "ALSA Card"
  98. module.version = "7.1"
  99.  
  100. Module #7
  101. Name: module-native-protocol-unix
  102. Argument:
  103. Usage counter: n/a
  104. Properties:
  105. module.author = "Lennart Poettering"
  106. module.description = "Native protocol (UNIX sockets)"
  107. module.version = "7.1"
  108.  
  109. Module #8
  110. Name: module-default-device-restore
  111. Argument:
  112. Usage counter: n/a
  113. Properties:
  114. module.author = "Lennart Poettering"
  115. module.description = "Automatically restore the default sink and source"
  116. module.version = "7.1"
  117.  
  118. Module #9
  119. Name: module-rescue-streams
  120. Argument:
  121. Usage counter: n/a
  122. Properties:
  123. module.author = "Lennart Poettering"
  124. module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
  125. module.version = "7.1"
  126.  
  127. Module #10
  128. Name: module-always-sink
  129. Argument:
  130. Usage counter: n/a
  131. Properties:
  132. module.author = "Colin Guthrie"
  133. module.description = "Always keeps at least one sink loaded even if it's a null one"
  134. module.version = "7.1"
  135.  
  136. Module #11
  137. Name: module-intended-roles
  138. Argument:
  139. Usage counter: n/a
  140. Properties:
  141. module.author = "Lennart Poettering"
  142. module.description = "Automatically set device of streams based on intended roles of devices"
  143. module.version = "7.1"
  144.  
  145. Module #12
  146. Name: module-console-kit
  147. Argument:
  148. Usage counter: n/a
  149. Properties:
  150. module.author = "Lennart Poettering"
  151. module.description = "Create a client for each ConsoleKit session of this user"
  152. module.version = "7.1"
  153.  
  154. Module #13
  155. Name: module-systemd-login
  156. Argument:
  157. Usage counter: n/a
  158. Properties:
  159. module.author = "Lennart Poettering"
  160. module.description = "Create a client for each login session of this user"
  161. module.version = "7.1"
  162.  
  163. Module #14
  164. Name: module-position-event-sounds
  165. Argument:
  166. Usage counter: n/a
  167. Properties:
  168. module.author = "Lennart Poettering"
  169. module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
  170. module.version = "7.1"
  171.  
  172. Module #15
  173. Name: module-role-cork
  174. Argument:
  175. Usage counter: n/a
  176. Properties:
  177. module.author = "Lennart Poettering"
  178. module.description = "Mute & cork streams with certain roles while others exist"
  179. module.version = "7.1"
  180.  
  181. Module #16
  182. Name: module-filter-heuristics
  183. Argument:
  184. Usage counter: n/a
  185. Properties:
  186. module.author = "Colin Guthrie"
  187. module.description = "Detect when various filters are desirable"
  188. module.version = "7.1"
  189.  
  190. Module #17
  191. Name: module-filter-apply
  192. Argument:
  193. Usage counter: n/a
  194. Properties:
  195. module.author = "Colin Guthrie"
  196. module.description = "Load filter sinks automatically when needed"
  197. module.version = "7.1"
  198.  
  199. Module #18
  200. Name: module-echo-cancel
  201. Argument: source_name=baresip aec_method=webrtc aec_args="analog_gain_control=0 digital_gain_control=0" format=s16le rate=8000 channels=1
  202. Usage counter: 0
  203. Properties:
  204. module.author = "Wim Taymans"
  205. module.description = "Echo Cancellation"
  206. module.version = "7.1"
  207.  
  208. Sink #0
  209. State: RUNNING
  210. Name: alsa_output.platform-1c22c00.codec.analog-stereo
  211. Description: sun4i-codec Analog Stereo
  212. Driver: module-alsa-card.c
  213. Sample Specification: s16le 2ch 44100Hz
  214. Channel Map: front-left,front-right
  215. Owner Module: 6
  216. Mute: no
  217. Volume: front-left: 45876 / 70% / -9.29 dB, front-right: 45876 / 70% / -9.29 dB
  218. balance 0.00
  219. Base Volume: 65536 / 100% / 0.00 dB
  220. Monitor Source: alsa_output.platform-1c22c00.codec.analog-stereo.monitor
  221. Latency: 99748 usec, configured 99954 usec
  222. Flags: HARDWARE DECIBEL_VOLUME LATENCY
  223. Properties:
  224. alsa.resolution_bits = "16"
  225. device.api = "alsa"
  226. device.class = "sound"
  227. alsa.class = "generic"
  228. alsa.subclass = "generic-mix"
  229. alsa.name = ""
  230. alsa.id = "CDC PCM Codec-0"
  231. alsa.subdevice = "0"
  232. alsa.subdevice_name = "subdevice #0"
  233. alsa.device = "0"
  234. alsa.card = "0"
  235. alsa.card_name = "sun4i-codec"
  236. alsa.long_card_name = "sun4i-codec"
  237. alsa.driver_name = "sun4i_codec"
  238. device.bus_path = "platform-1c22c00.codec"
  239. sysfs.path = "/devices/platform/soc@01c00000/1c22c00.codec/sound/card0"
  240. device.string = "hw:0"
  241. device.buffering.buffer_size = "17632"
  242. device.buffering.fragment_size = "4408"
  243. device.access_mode = "mmap"
  244. device.profile.name = "analog-stereo"
  245. device.profile.description = "Analog Stereo"
  246. device.description = "sun4i-codec Analog Stereo"
  247. module-udev-detect.discovered = "1"
  248. device.icon_name = "audio-card"
  249. Ports:
  250. analog-output: Analog Output (priority: 9900)
  251. Active Port: analog-output
  252. Formats:
  253. pcm
  254.  
  255. Sink #1
  256. State: IDLE
  257. Name: alsa_output.platform-1c22c00.codec.analog-stereo.echo-cancel
  258. Description: sun4i-codec Analog Stereo (echo cancelled with sun4i-codec Analog Stereo)
  259. Driver: module-echo-cancel.c
  260. Sample Specification: s16le 1ch 8000Hz
  261. Channel Map: mono
  262. Owner Module: 18
  263. Mute: no
  264. Volume: mono: 45876 / 70%
  265. balance 0.00
  266. Base Volume: 65536 / 100%
  267. Monitor Source: alsa_output.platform-1c22c00.codec.analog-stereo.echo-cancel.monitor
  268. Latency: 99003 usec, configured 99954 usec
  269. Flags: HW_MUTE_CTRL LATENCY
  270. Properties:
  271. device.master_device = "alsa_output.platform-1c22c00.codec.analog-stereo"
  272. device.class = "filter"
  273. device.intended_roles = "phone"
  274. device.description = "sun4i-codec Analog Stereo (echo cancelled with sun4i-codec Analog Stereo)"
  275. device.icon_name = "audio-card"
  276. Formats:
  277. pcm
  278.  
  279. Source #0
  280. State: IDLE
  281. Name: alsa_output.platform-1c22c00.codec.analog-stereo.monitor
  282. Description: Monitor of sun4i-codec Analog Stereo
  283. Driver: module-alsa-card.c
  284. Sample Specification: s16le 2ch 44100Hz
  285. Channel Map: front-left,front-right
  286. Owner Module: 6
  287. Mute: no
  288. Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
  289. balance 0.00
  290. Base Volume: 65536 / 100% / 0.00 dB
  291. Monitor of Sink: alsa_output.platform-1c22c00.codec.analog-stereo
  292. Latency: 0 usec, configured 99954 usec
  293. Flags: DECIBEL_VOLUME LATENCY
  294. Properties:
  295. device.description = "Monitor of sun4i-codec Analog Stereo"
  296. device.class = "monitor"
  297. alsa.card = "0"
  298. alsa.card_name = "sun4i-codec"
  299. alsa.long_card_name = "sun4i-codec"
  300. alsa.driver_name = "sun4i_codec"
  301. device.bus_path = "platform-1c22c00.codec"
  302. sysfs.path = "/devices/platform/soc@01c00000/1c22c00.codec/sound/card0"
  303. device.string = "0"
  304. module-udev-detect.discovered = "1"
  305. device.icon_name = "audio-card"
  306. Formats:
  307. pcm
  308.  
  309. Source #1
  310. State: RUNNING
  311. Name: alsa_input.platform-1c22c00.codec.analog-stereo
  312. Description: sun4i-codec Analog Stereo
  313. Driver: module-alsa-card.c
  314. Sample Specification: s16le 2ch 48000Hz
  315. Channel Map: front-left,front-right
  316. Owner Module: 6
  317. Mute: no
  318. Volume: front-left: 45876 / 70% / -9.29 dB, front-right: 45876 / 70% / -9.29 dB
  319. balance 0.00
  320. Base Volume: 65536 / 100% / 0.00 dB
  321. Monitor of Sink: n/a
  322. Latency: 73 usec, configured 99954 usec
  323. Flags: HARDWARE DECIBEL_VOLUME LATENCY
  324. Properties:
  325. alsa.resolution_bits = "16"
  326. device.api = "alsa"
  327. device.class = "sound"
  328. alsa.class = "generic"
  329. alsa.subclass = "generic-mix"
  330. alsa.name = ""
  331. alsa.id = "CDC PCM Codec-0"
  332. alsa.subdevice = "0"
  333. alsa.subdevice_name = "subdevice #0"
  334. alsa.device = "0"
  335. alsa.card = "0"
  336. alsa.card_name = "sun4i-codec"
  337. alsa.long_card_name = "sun4i-codec"
  338. alsa.driver_name = "sun4i_codec"
  339. device.bus_path = "platform-1c22c00.codec"
  340. sysfs.path = "/devices/platform/soc@01c00000/1c22c00.codec/sound/card0"
  341. device.string = "hw:0"
  342. device.buffering.buffer_size = "17632"
  343. device.buffering.fragment_size = "4408"
  344. device.access_mode = "mmap"
  345. device.profile.name = "analog-stereo"
  346. device.profile.description = "Analog Stereo"
  347. device.description = "sun4i-codec Analog Stereo"
  348. module-udev-detect.discovered = "1"
  349. device.icon_name = "audio-card"
  350. Ports:
  351. analog-input: Analog Input (priority: 10000)
  352. Active Port: analog-input
  353. Formats:
  354. pcm
  355.  
  356. Source #2
  357. State: IDLE
  358. Name: baresip
  359. Description: sun4i-codec Analog Stereo (echo cancelled with sun4i-codec Analog Stereo)
  360. Driver: module-echo-cancel.c
  361. Sample Specification: s16le 1ch 8000Hz
  362. Channel Map: mono
  363. Owner Module: 18
  364. Mute: no
  365. Volume: mono: 45876 / 70%
  366. balance 0.00
  367. Base Volume: 65536 / 100%
  368. Monitor of Sink: n/a
  369. Latency: 910 usec, configured 99954 usec
  370. Flags: HW_MUTE_CTRL LATENCY
  371. Properties:
  372. device.master_device = "alsa_input.platform-1c22c00.codec.analog-stereo"
  373. device.class = "filter"
  374. device.intended_roles = "phone"
  375. device.description = "sun4i-codec Analog Stereo (echo cancelled with sun4i-codec Analog Stereo)"
  376. device.icon_name = "audio-input-microphone"
  377. Formats:
  378. pcm
  379.  
  380. Source #3
  381. State: IDLE
  382. Name: alsa_output.platform-1c22c00.codec.analog-stereo.echo-cancel.monitor
  383. Description: Monitor of sun4i-codec Analog Stereo (echo cancelled with sun4i-codec Analog Stereo)
  384. Driver: module-echo-cancel.c
  385. Sample Specification: s16le 1ch 8000Hz
  386. Channel Map: mono
  387. Owner Module: 18
  388. Mute: no
  389. Volume: mono: 65536 / 100% / 0.00 dB
  390. balance 0.00
  391. Base Volume: 65536 / 100% / 0.00 dB
  392. Monitor of Sink: alsa_output.platform-1c22c00.codec.analog-stereo.echo-cancel
  393. Latency: 0 usec, configured 99954 usec
  394. Flags: DECIBEL_VOLUME LATENCY
  395. Properties:
  396. device.description = "Monitor of sun4i-codec Analog Stereo (echo cancelled with sun4i-codec Analog Stereo)"
  397. device.class = "monitor"
  398. device.icon_name = "audio-input-microphone"
  399. Formats:
  400. pcm
  401.  
  402. Sink Input #0
  403. Driver: module-echo-cancel.c
  404. Owner Module: 18
  405. Client: n/a
  406. Sink: 0
  407. Sample Specification: s16le 1ch 8000Hz
  408. Channel Map: mono
  409. Format: pcm, format.sample_format = "\"s16le\"" format.rate = "8000" format.channels = "1" format.channel_map = "\"mono\""
  410. Corked: no
  411. Mute: no
  412. Volume: mono: 45876 / 70% / -9.29 dB
  413. balance 0.00
  414. Buffer Latency: 113 usec
  415. Sink Latency: 99082 usec
  416. Resample method: speex-fixed-1
  417. Properties:
  418. media.name = "Echo-Cancel Sink Stream"
  419. media.role = "filter"
  420. module-stream-restore.id = "sink-input-by-media-role:filter"
  421.  
  422. Source Output #0
  423. Driver: module-echo-cancel.c
  424. Owner Module: 18
  425. Client: n/a
  426. Source: 1
  427. Sample Specification: s16le 1ch 8000Hz
  428. Channel Map: mono
  429. Format: pcm, format.sample_format = "\"s16le\"" format.rate = "8000" format.channels = "1" format.channel_map = "\"mono\""
  430. Corked: no
  431. Mute: no
  432. Volume: mono: 45876 / 70% / -9.29 dB
  433. balance 0.00
  434. Buffer Latency: 0 usec
  435. Source Latency: 49 usec
  436. Resample method: speex-fixed-1
  437. Properties:
  438. media.name = "Echo-Cancel Source Stream"
  439. media.role = "filter"
  440. module-stream-restore.id = "source-output-by-media-role:filter"
  441.  
  442. Client #0
  443. Driver: module-systemd-login.c
  444. Owner Module: 13
  445. Properties:
  446. application.name = "Login Session 2"
  447. systemd-login.session = "2"
  448.  
  449. Client #7
  450. Driver: protocol-native.c
  451. Owner Module: 7
  452. Properties:
  453. application.name = "pactl"
  454. native-protocol.peer = "UNIX socket client"
  455. native-protocol.version = "30"
  456. application.process.id = "1210"
  457. application.process.user = "nombre"
  458. application.process.host = "lime"
  459. application.process.binary = "pactl"
  460. application.language = "C"
  461. application.process.machine_id = "064c6fbffd20484e85b6c8e85bf2352d"
  462. application.process.session_id = "2"
  463.  
  464. Card #0
  465. Name: alsa_card.platform-1c22c00.codec
  466. Driver: module-alsa-card.c
  467. Owner Module: 6
  468. Properties:
  469. alsa.card = "0"
  470. alsa.card_name = "sun4i-codec"
  471. alsa.long_card_name = "sun4i-codec"
  472. alsa.driver_name = "sun4i_codec"
  473. device.bus_path = "platform-1c22c00.codec"
  474. sysfs.path = "/devices/platform/soc@01c00000/1c22c00.codec/sound/card0"
  475. device.string = "0"
  476. device.description = "sun4i-codec"
  477. module-udev-detect.discovered = "1"
  478. device.icon_name = "audio-card"
  479. Profiles:
  480. input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority: 2, available: yes)
  481. input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
  482. output:analog-mono: Analog Mono Output (sinks: 1, sources: 0, priority: 200, available: yes)
  483. output:analog-mono+input:analog-mono: Analog Mono Duplex (sinks: 1, sources: 1, priority: 202, available: yes)
  484. output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 260, available: yes)
  485. output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
  486. output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (sinks: 1, sources: 1, priority: 6002, available: yes)
  487. output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
  488. off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
  489. Active Profile: output:analog-stereo+input:analog-stereo
  490. Ports:
  491. analog-input: Analog Input (priority: 10000, latency offset: 0 usec)
  492. Part of profile(s): input:analog-mono, input:analog-stereo, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo
  493. analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
  494. Part of profile(s): output:analog-mono, output:analog-mono+input:analog-mono, output:analog-mono+input:analog-stereo, output:analog-stereo, output:analog-stereo+input:analog-mono, output:analog-stereo+input:analog-stereo
Advertisement
Add Comment
Please, Sign In to add comment