summaryrefslogtreecommitdiffstats
path: root/content/posts/xbmc-upgrade.rst
blob: 62cf1ca5483be288107997c26f002a11cc622e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
Upgrading XBMC
##################################
:date: 2014-07-24 00:00
:tags: xbmc,lirc
:status: draft

* using usbmce
* using ir-blaster
  everything worked under linux
* having multi-remotes
* kernel 3.2 - blaster does not work, `do-release-upgrade -d`
* using irexec
* Lircmap.xml

.. code-block:: xml

    <lircmap>
      <remote device="LG_TV">   
        <play>play</play>
        <pause>pause</pause>
        <up>up</up>
        <down>down</down>
        <left>left</left>
        <right>right</right>
        <title>guide</title>
        <menu>info</menu>
        <back>back</back>
        <select>ok</select>
        <mute>mute</mute>
        <showsubtitles>subtitle</showsubtitles>
        <volumeup>ch_up</volumeup>
        <volumedown>ch_down</volumedown>
        <favourites>fav</favourites>
      </remote>
      <remote device="LG_BAR">    
        <stop>stop</stop>
        <pause>start_pause</pause>
        <FastForward>forward</FastForward>
        <Rewind>rewind</Rewind>
      </remote>
    </lircmap>

both LG maps

hardware.conf:

.. code-block:: sh

    REMOTE="Windows Media Center Transceivers/Remotes (all)"
    REMOTE_MODULES="lirc_dev mceusb"
    REMOTE_DRIVER=""
    REMOTE_DEVICE="/dev/lirc0"
    REMOTE_SOCKET=""
    REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
    REMOTE_LIRCD_ARGS=""
    TRANSMITTER="Microsoft Windows Media Center V2 (usb) : Scientific Atlanta Cable box"
    TRANSMITTER_MODULES="lirc_dev mceusb"
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE=""
    TRANSMITTER_SOCKET=""
    TRANSMITTER_LIRCD_CONF="scientificatlanta/general.conf"
    TRANSMITTER_LIRCD_ARGS=""
    START_LIRCD="true"
    START_IREXEC="true"
    START_LIRCMD=""
    LOAD_MODULES=""
    LIRCMD_CONF=""
    FORCE_NONINTERACTIVE_RECONFIGURATION=""

lircrc:

.. code-block:: kernel-config

    begin
      prog = irexec
      button = 0
      remote = LG_BAR
      config = shutdown -h now
    end
    begin
      prog = irexec
      button = 0
      remote = LG_TV
      config = shutdown -h now
    end
    begin
      prog = irexec
      button = green
      remote = LG_TV
      config = python /home/ubuntu/chromoflex/chromo.py 4 65 253 38
    end
    begin
      prog = irexec
      button = blue
      remote = LG_TV
      config = python /home/ubuntu/chromoflex/chromo.py 4 132 112 255 0
    end
    begin
      prog = irexec
      button = yellow
      remote = LG_TV
      config = python /home/ubuntu/chromoflex/chromo.py 4 252 242 54
    end
    begin
      prog = irexec
      button = red
      remote = LG_TV
      config = python /home/ubuntu/chromoflex/chromo.py 4 255 58 41
    end
    begin
      prog = irexec
      button = t.opt
      remote = LG_TV
      config = python /home/ubuntu/chromoflex/chromo.py 4 0 0 0
    end
    begin
      prog = irexec
      button = 9
      remote = LG_TV
      config = irsend SEND_ONCE LG_BAR power
    end
    begin
      prog = irexec
      button = vol_up
      remote = LG_TV
      config = irsend SEND_ONCE LG_BAR volume_up
    end
    begin
      prog = irexec
      button = vol_down
      remote = LG_TV
      config = irsend SEND_ONCE LG_BAR volume_down
    end



* no xbmc-xvba, using radeon-oss

    2.) XBMC settings
    (Set xbmc to Advanced or Expert before doing this - settings hierarchies, see
    in the middle of confluence)
    System->Settings->System->Video output
    Vertical blank sync: Let Driver choose

    System ->Video->Acceleration:
    VDPAU: On
    Prefer VDPAU Mixer: ON
    VAAPI: off

* no audio in xbmc ...
    `apt-get purge pulseaudio`