mafian

Untitled

Nov 17th, 2015
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.55 KB | None | 0 0
  1. osmc@osmc:~$ sudo apt-get install pulseaudio pulseaudio-module-zeroconf alsa-uti ls avahi-daemon
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. avahi-daemon is already the newest version.
  6. avahi-daemon set to manually installed.
  7. The following packages were automatically installed and are no longer required:
  8. armv6l-libafpclient-osmc rbp1-image-3.18.13-1-osmc rbp1-image-4.1.3-2-osmc
  9. rbp1-image-4.1.5-1-osmc rbp1-image-4.2.1-1-osmc
  10. Use 'apt-get autoremove' to remove them.
  11. The following extra packages will be installed:
  12. libasound2-plugins libfftw3-single3 libgomp1 libjack-jackd2-0 libltdl7
  13. libpulsedsp libwebrtc-audio-processing-0 pulseaudio-utils
  14. Suggested packages:
  15. libfftw3-bin libfftw3-dev jackd2 pavumeter pavucontrol paman paprefs
  16. Recommended packages:
  17. pulseaudio-module-x11 rtkit
  18. The following NEW packages will be installed:
  19. alsa-utils libasound2-plugins libfftw3-single3 libgomp1 libjack-jackd2-0
  20. libltdl7 libpulsedsp libwebrtc-audio-processing-0 pulseaudio
  21. pulseaudio-module-zeroconf pulseaudio-utils
  22. 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
  23. Need to get 2772 kB of archives.
  24. After this operation, 8693 kB of additional disk space will be used.
  25. Do you want to continue? [Y/n] y
  26. Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libjack-jackd2-0 armhf 1.9.10+20140719git3eb0ae6a~dfsg-2 [148 kB]
  27. Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libasound2-plugin s armhf 1.0.28-1+b1 [62.2 kB]
  28. Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgomp1 armhf 4. 9.2-10 [34.7 kB]
  29. Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main libfftw3-single3 armhf 3.3.4-2+rpi1 [411 kB]
  30. Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libltdl7 armhf 2. 4.2-1.11 [42.5 kB]
  31. Get:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpulsedsp armhf 5.0-13 [36.4 kB]
  32. Get:7 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebrtc-audio-p rocessing-0 armhf 0.1-3 [81.6 kB]
  33. Get:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main alsa-utils armhf 1.0.28-1 [960 kB]
  34. Get:9 http://mirrordirector.raspbian.org/raspbian/ jessie/main pulseaudio-utils armhf 5.0-13 [67.5 kB]
  35. Get:10 http://mirrordirector.raspbian.org/raspbian/ jessie/main pulseaudio armhf 5.0-13 [892 kB]
  36. Get:11 http://mirrordirector.raspbian.org/raspbian/ jessie/main pulseaudio-modul e-zeroconf armhf 5.0-13 [35.9 kB]
  37. Fetched 2772 kB in 2s (1137 kB/s)
  38. Selecting previously unselected package libjack-jackd2-0:armhf.
  39. (Reading database ... 31808 files and directories currently installed.)
  40. Preparing to unpack .../libjack-jackd2-0_1.9.10+20140719git3eb0ae6a~dfsg-2_armhf .deb ...
  41. Unpacking libjack-jackd2-0:armhf (1.9.10+20140719git3eb0ae6a~dfsg-2) ...
  42. Selecting previously unselected package libasound2-plugins:armhf.
  43. Preparing to unpack .../libasound2-plugins_1.0.28-1+b1_armhf.deb ...
  44. Unpacking libasound2-plugins:armhf (1.0.28-1+b1) ...
  45. Selecting previously unselected package libgomp1:armhf.
  46. Preparing to unpack .../libgomp1_4.9.2-10_armhf.deb ...
  47. Unpacking libgomp1:armhf (4.9.2-10) ...
  48. Selecting previously unselected package libfftw3-single3:armhf.
  49. Preparing to unpack .../libfftw3-single3_3.3.4-2+rpi1_armhf.deb ...
  50. Unpacking libfftw3-single3:armhf (3.3.4-2+rpi1) ...
  51. Selecting previously unselected package libltdl7:armhf.
  52. Preparing to unpack .../libltdl7_2.4.2-1.11_armhf.deb ...
  53. Unpacking libltdl7:armhf (2.4.2-1.11) ...
  54. Selecting previously unselected package libpulsedsp:armhf.
  55. Preparing to unpack .../libpulsedsp_5.0-13_armhf.deb ...
  56. Unpacking libpulsedsp:armhf (5.0-13) ...
  57. Selecting previously unselected package libwebrtc-audio-processing-0:armhf.
  58. Preparing to unpack .../libwebrtc-audio-processing-0_0.1-3_armhf.deb ...
  59. Unpacking libwebrtc-audio-processing-0:armhf (0.1-3) ...
  60. Selecting previously unselected package alsa-utils.
  61. Preparing to unpack .../alsa-utils_1.0.28-1_armhf.deb ...
  62. Unpacking alsa-utils (1.0.28-1) ...
  63. Selecting previously unselected package pulseaudio-utils.
  64. Preparing to unpack .../pulseaudio-utils_5.0-13_armhf.deb ...
  65. Unpacking pulseaudio-utils (5.0-13) ...
  66. Selecting previously unselected package pulseaudio.
  67. Preparing to unpack .../pulseaudio_5.0-13_armhf.deb ...
  68. Unpacking pulseaudio (5.0-13) ...
  69. Selecting previously unselected package pulseaudio-module-zeroconf.
  70. Preparing to unpack .../pulseaudio-module-zeroconf_5.0-13_armhf.deb ...
  71. Unpacking pulseaudio-module-zeroconf (5.0-13) ...
  72. Processing triggers for systemd (215-17+deb8u2) ...
  73. Processing triggers for dbus (1.8.20-0+deb8u1) ...
  74. Setting up libjack-jackd2-0:armhf (1.9.10+20140719git3eb0ae6a~dfsg-2) ...
  75. Setting up libasound2-plugins:armhf (1.0.28-1+b1) ...
  76. Setting up libgomp1:armhf (4.9.2-10) ...
  77. Setting up libfftw3-single3:armhf (3.3.4-2+rpi1) ...
  78. Setting up libltdl7:armhf (2.4.2-1.11) ...
  79. Setting up libpulsedsp:armhf (5.0-13) ...
  80. Setting up libwebrtc-audio-processing-0:armhf (0.1-3) ...
  81. Setting up alsa-utils (1.0.28-1) ...
  82. Setting up pulseaudio-utils (5.0-13) ...
  83. Setting up pulseaudio (5.0-13) ...
  84. Adding user pulse to group audio
  85. Setting up pulseaudio-module-zeroconf (5.0-13) ...
  86. Processing triggers for libc-bin (2.19-18+deb8u1) ...
  87. Processing triggers for systemd (215-17+deb8u2) ...
  88. Processing triggers for dbus (1.8.20-0+deb8u1) ...
  89. osmc@osmc:~$ sudo w_scan -f t -c CZ -L > /tmp/channel.conf
  90. w_scan version 20130331 (compiled for DVB API 5.4)
  91. using settings for CZECH REPUBLIC
  92. DVB aerial
  93. DVB-T Europe
  94. scan type TERRESTRIAL, channellist 4
  95. output format vlc xspf playlist
  96. output charset 'UTF-8'
  97. Info: using DVB adapter auto detection.
  98. /dev/dvb/adapter0/frontend0 -> TERRESTRIAL "Afatech AF9033 (DVB-T)": goo d :-)
  99. Using TERRESTRIAL frontend (adapter /dev/dvb/adapter0/frontend0)
  100. -_-_-_-_ Getting frontend capabilities-_-_-_-_
  101. Using DVB API 5.a
  102. frontend 'Afatech AF9033 (DVB-T)' supports
  103. INVERSION_AUTO
  104. QAM_AUTO
  105. TRANSMISSION_MODE_AUTO
  106. GUARD_INTERVAL_AUTO
  107. HIERARCHY_AUTO
  108. FEC_AUTO
  109. FREQ (174.00MHz ... 862.00MHz)
  110. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  111. Scanning 7MHz frequencies...
  112. 177500: (time: 00:00)
  113. 184500: (time: 00:03)
  114. 191500: (time: 00:05)
  115. 198500: (time: 00:08)
  116. 205500: (time: 00:10)
  117. 212500: (time: 00:13)
  118. 219500: (time: 00:15)
  119. 226500: (time: 00:18)
  120. Scanning 8MHz frequencies...
  121. 474000: (time: 00:20)
  122. 482000: (time: 00:23)
  123. 490000: (time: 00:25)
  124. 498000: (time: 00:28)
  125. 506000: (time: 00:30)
  126. 514000: (time: 00:33)
  127. 522000: (time: 00:35)
  128. 530000: (time: 00:38)
  129. 538000: (time: 00:40)
  130. 546000: (time: 00:43)
  131. 554000: (time: 00:45)
  132. 562000: (time: 00:48)
  133. 570000: (time: 00:50)
  134. 578000: (time: 00:53)
  135. 586000: (time: 00:55)
  136. 594000: (time: 00:58)
  137. 602000: (time: 01:00)
  138. 610000: (time: 01:03)
  139. 618000: (time: 01:05)
  140. 626000: (time: 01:08)
  141. 634000: (time: 01:10)
  142. 642000: (time: 01:13)
  143. 650000: (time: 01:15)
  144. 658000: (time: 01:18)
  145. 666000: (time: 01:20)
  146. 674000: (time: 01:23)
  147. 682000: (time: 01:25)
  148. 690000: (time: 01:28) (time: 01:29)
  149. 698000: (time: 01:30) (time: 01:31) signal ok:
  150. QAM_AUTO f = 698000 kHz I999B8C999D999T999G999Y999
  151. new transponder:
  152. (QAM_64 f = 634000 kHz I999B8C23D0T8G4Y0) 0x405A
  153. 706000: (time: 01:44) (time: 01:46) signal ok:
  154. QAM_AUTO f = 706000 kHz I999B8C999D999T999G999Y999
  155. new transponder:
  156. (QAM_64 f = 778000 kHz I999B8C34D0T8G8Y0) 0x405A
  157. 714000: (time: 02:00) (time: 02:01) signal ok:
  158. QAM_AUTO f = 714000 kHz I999B8C999D999T999G999Y999
  159. new transponder:
  160. (QAM_64 f = 0 kHz I999B8C34D0T8G8Y0) 0x405A
  161. new transponder:
  162. (QAM_64 f = 658000 kHz I999B8C34D0T8G8Y0) 0x405A
  163. new transponder:
  164. (QAM_64 f = 754000 kHz I999B8C34D0T8G8Y0) 0x405A
  165. new transponder:
  166. (QAM_64 f = 666000 kHz I999B8C34D0T8G8Y0) 0x405A
  167. new transponder:
  168. (QAM_64 f = 506000 kHz I999B8C34D0T8G8Y0) 0x405A
  169. new transponder:
  170. (QAM_64 f = 642000 kHz I999B8C34D0T8G8Y0) 0x405A
  171. new transponder:
  172. (QAM_64 f = 810000 kHz I999B8C34D0T8G8Y0) 0x405A
  173. 722000: (time: 02:15)
  174. 730000: (time: 02:17)
  175. 738000: (time: 02:20)
  176. 746000: (time: 02:22)
  177. 754000: skipped (already known transponder)
  178. 762000: (time: 02:25)
  179. 770000: (time: 02:27)
  180. 778000: skipped (already known transponder)
  181. 786000: (time: 02:30)
  182. 794000: (time: 02:32)
  183. 802000: (time: 02:35)
  184. 810000: skipped (already known transponder)
  185. 818000: (time: 02:37)
  186. 826000: (time: 02:40)
  187. 834000: (time: 02:42)
  188. 842000: (time: 02:45)
  189. 850000: (time: 02:47)
  190. 858000: (time: 02:50)
  191. tune to: QAM_AUTO f = 698000 kHz I999B8C999D999T999G999Y999
  192. (time: 02:52) service = NOVA (CESKE RADIOKOMUNIKACE)
  193. service = NOVA CINEMA (CESKE RADIOKOMUNIKACE)
  194. service = Prima COOL (CESKE RADIOKOMUNIKACE)
  195. service = Prima (CESKE RADIOKOMUNIKACE)
  196. service = BARRANDOV TV (CESKE RADIOKOMUNIKACE)
  197. tune to: QAM_64 f = 634000 kHz I999B8C23D0T8G4Y0
  198. (time: 03:06) ----------no signal----------
  199. tune to: QAM_64 f = 634000 kHz I999B8C23D0T8G4Y0 (no signal)
  200. (time: 03:07) ----------no signal----------
  201. tune to: QAM_AUTO f = 706000 kHz I999B8C999D999T999G999Y999
  202. (time: 03:08) service = CT :D / CT art (CDG)
  203. service = Prima LOVE (CDG)
  204. service = Prima ZOOM (CDG)
  205. service = Prima MAX (CDG)
  206. service = Ocko (CDG)
  207. service = Ocko Gold (CDG)
  208. service = Barrandov Plus (CDG)
  209. service = Kino Barrandov (CDG)
  210. service = Slagr TV (CDG)
  211. service = Proglas (CDG)
  212. tune to: QAM_64 f = 778000 kHz I999B8C34D0T8G8Y0
  213. (time: 03:22) ----------no signal----------
  214. tune to: QAM_64 f = 778000 kHz I999B8C34D0T8G8Y0 (no signal)
  215. (time: 03:23) ----------no signal----------
  216. tune to: QAM_AUTO f = 714000 kHz I999B8C999D999T999G999Y999
  217. (time: 03:24) service = NOVA CINEMA (Digital Broadcasting s.r.o.)
  218. service = FANDA (Digital Broadcasting s.r.o.)
  219. service = SMICHOV (Digital Broadcasting s.r.o.)
  220. service = TELKA (Digital Broadcasting s.r.o.)
  221. service = RELAX (Digital Broadcasting s.r.o.)
  222. service = REBEL (Digital Broadcasting s.r.o.)
  223. service = MNAM TV (Digital Broadcasting s.r.o.)
  224. service = RADIO CAS (Digital Broadcasting s.r.o.)
  225. tune to: QAM_64 f = 0 kHz I999B8C34D0T8G8Y0
  226. (time: 03:38) skipped: (freq 640 unsupported by driver)
  227. tune to: QAM_64 f = 658000 kHz I999B8C34D0T8G8Y0
  228. (time: 03:38) ----------no signal----------
  229. tune to: QAM_64 f = 658000 kHz I999B8C34D0T8G8Y0 (no signal)
  230. (time: 03:39) ----------no signal----------
  231. tune to: QAM_64 f = 754000 kHz I999B8C34D0T8G8Y0
  232. (time: 03:40) ----------no signal----------
  233. tune to: QAM_64 f = 754000 kHz I999B8C34D0T8G8Y0 (no signal)
  234. (time: 03:41) ----------no signal----------
  235. tune to: QAM_64 f = 666000 kHz I999B8C34D0T8G8Y0
  236. (time: 03:42) ----------no signal----------
  237. tune to: QAM_64 f = 666000 kHz I999B8C34D0T8G8Y0 (no signal)
  238. (time: 03:43) ----------no signal----------
  239. tune to: QAM_64 f = 506000 kHz I999B8C34D0T8G8Y0
  240. (time: 03:44) ----------no signal----------
  241. tune to: QAM_64 f = 506000 kHz I999B8C34D0T8G8Y0 (no signal)
  242. (time: 03:45) ----------no signal----------
  243. tune to: QAM_64 f = 642000 kHz I999B8C34D0T8G8Y0
  244. (time: 03:46) ----------no signal----------
  245. tune to: QAM_64 f = 642000 kHz I999B8C34D0T8G8Y0 (no signal)
  246. (time: 03:47) ----------no signal----------
  247. tune to: QAM_64 f = 810000 kHz I999B8C34D0T8G8Y0
  248. (time: 03:48) ----------no signal----------
  249. tune to: QAM_64 f = 810000 kHz I999B8C34D0T8G8Y0 (no signal)
  250. (time: 03:49) ----------no signal----------
  251. dumping lists (23 services)
  252. Done.
  253. osmc@osmc:~$ vlc /tmp/channel.conf
  254. VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)
  255. [00fcf628] core interface error: no suitable interface module
  256. [00fbc0d0] core libvlc error: interface "globalhotkeys,none" initialization fail ed
  257. [00fcf628] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
  258. [00fcf628] core interface error: no suitable interface module
  259. [00fbc0d0] core libvlc error: interface "dbus,none" initialization failed
  260. [00fbc0d0] core libvlc: Running vlc with the default interface. Use 'cvlc' to us e vlc without interface.
  261. [00fcf628] qt4 interface error: Could not connect to X server
  262. [00fcf628] skins2 interface error: cannot initialize OSFactory
  263. [00fcf628] [cli] lua interface: Listening on host "*console".
  264. VLC media player 2.2.0-rc2 Weatherwax
  265. Command Line Interface initialized. Type `help' for help.
  266. > ^C
  267. Error in `' libvlc's "" is not a command
  268. Unknown command `'. Type `help' for help.
  269. > ^C[00fcf628] [cli] lua interface error: Error loading script /usr/lib/vlc/lua/ intf/cli.luac: lua/intf/modules/host.lua:279: Interrupted.
  270. osmc@osmc:~$ sudo modprobe snd-bcm2835
  271. osmc@osmc:~$ echo "snd-bcm2835" | sudo tee -a /etc/modules
  272. snd-bcm2835
  273. osmc@osmc:~$ sudo nano /etc/pulse/default.pa
  274. osmc@osmc:~$ pulseaudio -D
  275. E: [pulseaudio] main.c: Daemon startup failed.
  276. osmc@osmc:~$ sudo pulseaudio --system
  277. W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set!
  278. W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading no t set!
  279. N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode!
  280. N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle tim e!
  281. W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note th at you most likely shouldn't be doing that.
  282. W: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if thi ngs don't work as expected.
  283. W: [pulseaudio] main.c: Please read http://pulseaudio.org/wiki/WhatIsWrongWithSy stemMode for an explanation why system mode is usually a bad idea.
  284. W: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.config/pu lse/cookie': No such file or directory
  285. W: [pulseaudio] authkey.c: Failed to load authorization key '/var/run/pulse/.con fig/pulse/cookie': No such file or directory
  286. W: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.pulse-coo kie': No such file or directory
  287. W: [pulseaudio] authkey.c: Failed to load authorization key '/var/run/pulse/.pul se-cookie': No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment