XBMC mit der X10 Funkfernbedienung fernzusteuern war bei Ubuntu recht schnell eingerichtet. Bei Arch Linux hingegen habe ich mich etwas schwer getan – nicht zuletzt weil die Konfigurationsdateien an einem anderen Ort liegen. Auch die Kernelmodule des neuen Linux-Kernels wie ati_remote, lirc_atiusb & lirc_dev haben mich 4 Stunden meines Lebens gekostet. 🙁
Zuerst installieren wir den Linux Infrared Remote Control, …
1 |
pacman -S lirc |
oder
1 |
yaourt -S lirc |
Yet AnOther User Repository Tool – yaourt
„Yet AnOther User Repository Tool“. yaourt ist eine Erweiterung für pacman, welche die Benutzung des AURs direkt aus dem Paketmanager heraus erlaubt. Die meisten Installationsanfragen werden direkt an pacman weitergeleitet, yaourt unterstützt auch die selbe Syntax wie pacman. Es ist möglich, mit yaourt Software direkt aus dem AUR zu bauen und zu installieren. (Quelle: )
… dann passen wir die lircd.conf unter /etc/conf.d unseren Bedürfnissen an.
1 |
vi /etc/conf.d/lircd.conf |
1 2 3 4 5 |
LIRC_DEVICE="/dev/lirc0" LIRC_DRIVER="atilibusb" #REMOTE_MODULES="lirc_atiusb" LIRC_EXTRAOPTS="" LIRC_CONFIGFILE="/etc/lirc/X10.conf" |
In rc.conf müssen wir 3 Kernelmodule auf die Blacklist (!) setzen und einen neuen Dienst automatisch starten lassen.
UPDATE: Die Module werden jetzt nicht mehr über die /etc/rc.conf geblacklistet sondern über die /etc/modprobe.d/blacklist.conf. (Quelle) [Danke – an die Kommentatoren]
1 |
vi /etc/rc.conf |
1 2 3 4 |
... MODULES=(... !ati_remote !lirc_atiusbi !lirc_dev) ... DAEMONS=(syslog-ng dbus hal network netfs crond sshd alsa lircd) |
Zu guter Letzt müssen wir noch die X10.conf, Lircmap.xml & Keyboard.xml erstellen, diese gibt es hier zum Download. 😉
1 |
vi /etc/lirc/X10.conf |
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 |
# Please make this file available to others # by sending it to <lirc@bartelmus.de> # # this config file was automatically generated # using lirc-0.8.4a(atilibusb) on Mon Apr 6 08:53:57 2009 # # contributed by # # brand: PC-Funkfernbedienung X10 # model no. of remote control: # devices being controlled by this remote: # begin remote name x10 bits 16 eps 30 aeps 100 one 0 0 zero 0 0 pre_data_bits 8 pre_data 0x14 post_data_bits 16 post_data 0x0 gap 139990 min_repeat 2 toggle_bit_mask 0x80800000 begin codes livetv 0xF11C rectv 0x6D98 photo 0xDA05 music 0x5B86 dvdmenu 0xD904 video 0x82AD audio 0x0732 angle 0x89B4 title 0x0A35 subtitle 0x88B3 up 0xEF1A down 0x77A2 left 0xF21D right 0x749F ok 0xF31E 1 0x628D 2 0xE30E 3 0x648F 4 0xE510 5 0x6691 6 0xE712 7 0x6893 8 0xE914 9 0x6A95 0 0xEC17 asterisk 0x8CB7 hash 0x0D38 world 0x709B rewind 0xF924 play 0x7AA5 forward 0xFB26 pause 0x7EA9 previous 0xF621 next 0x78A3 stop 0xFD28 record 0x7CA7 off 0xD702 guide 0x86B1 text 0xEB16 volume+ 0x5E89 volume- 0xDD08 mute 0x5580 program+ 0xE00B program- 0x618C back 0xF520 info 0x84AF end codes end remote |
1 |
vi /home/USERNAME/.xbmc/userdata/Lircmap.xml |
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 |
<lircmap> <remote device="x10"> <obc1>livetv</obc1> <obc2>rectv</obc2> <obc3>photo</obc3> <obc4>music</obc4> <obc5>dvdmenu</obc5> <obc6>video</obc6> <obc7>audio</obc7> <obc8>angle</obc8> <obc9>title</obc9> <obc10>subtitle</obc10> <obc11>up</obc11> <obc12>down</obc12> <obc13>left</obc13> <obc14>right</obc14> <obc15>ok</obc15> <obc16>1</obc16> <obc17>2</obc17> <obc18>3</obc18> <obc19>4</obc19> <obc20>5</obc20> <obc21>6</obc21> <obc22>7</obc22> <obc23>8</obc23> <obc24>9</obc24> <obc25>0</obc25> <obc26>asterisk</obc26> <obc27>hash</obc27> <obc28>world</obc28> <obc29>rewind</obc29> <obc30>play</obc30> <obc31>forward</obc31> <obc32>pause</obc32> <obc33>previous</obc33> <obc34>next</obc34> <obc35>stop</obc35> <obc36>record</obc36> <obc37>off</obc37> <obc38>guide</obc38> <obc39>text</obc39> <obc40>volume+</obc40> <obc41>volume-</obc41> <obc42>mute</obc42> <obc43>program+</obc43> <obc44>program-</obc44> <obc45>back</obc45> <obc46>info</obc46> </remote> </lircmap> |
1 |
vi /home/USERNAME/.xbmc/userdata/keymaps/Keyboard.xml |
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 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 |
<!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC --> <!-- The <global> section is a fall through - they will only be used if the button is not --> <!-- used in the current window's section. Note that there is only handling --> <!-- for a single action per button at this stage. --> <!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox --> <!-- gamepads. --> <!-- The format is: --> <!-- <device> --> <!-- <button>action</button> --> <!-- </device> --> <!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks --> <!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key --> <!-- You set it up by adding a <universalremote> block to the window or <global> section: --> <!-- <universalremote> --> <!-- <obc45>Stop</obc45> --> <!-- </universalremote> --> <!-- To find out the OBC's of your remote, try enabling the <displayremotecodes> tag in AdvancedSettings.xml --> <!-- Note that the action can be a built-in function. --> <!-- eg <B>XBMC.ActivateWindow(MyMusic)</B> --> <!-- would automatically go to My Music on the press of the B button. --> <!-- Joysticks / Gamepads: --> <!-- See the sample PS3 controller configuration below for the format. --> <!-- --> <!-- Joystick Name: --> <!-- Do 'cat /proc/bus/input/devices' or see your xbmc log file to find the names of --> <!-- detected joysticks. The name used in the configuration should match the detected name. --> <!-- --> <!-- Button Ids: --> <!-- 'id' is the button ID used by SDL. Joystick button ids of connected joysticks appear --> <!-- in xbmc.log when they are pressed. Use your log to map custom buttons to actions. --> <!-- --> <!-- Axis Ids / Analog Controls --> <!-- Coming soon. --> <keymap> <global> <universalremote> <obc25>number0</obc25> <obc16>number1</obc16> <obc17>number2</obc17> <obc18>number3</obc18> <obc19>number4</obc19> <obc20>number5</obc20> <obc21>number6</obc21> <obc22>number7</obc22> <obc23>number8</obc23> <obc24>number9</obc24> <obc30>Play</obc30> <obc32>Pause</obc32> <obc35>Stop</obc35> <obc31>FastForward</obc31> <obc29>Rewind</obc29> <obc13>Left</obc13> <obc14>Right</obc14> <obc11>Up</obc11> <obc12>Down</obc12> <obc15>Select</obc15> <obc43>PageUp</obc43> <obc44>PageDown</obc44> <obc45>ParentDir</obc45> <obc5>PreviousMenu</obc5> <obc9>ContextMenu</obc9> <obc46>Info</obc46> <obc34>SkipNext</obc34> <obc33>SkipPrevious</obc33> <obc28>FullScreen</obc28> <obc8>AspectRatio</obc8> <obc36>Screenshot</obc36> <obc40>VolumeUp</obc40> <obc41>VolumeDown</obc41> <obc42>Mute</obc42> <obc37>ActivateWindow(shutdownmenu)</obc37> <obc6>XBMC.ActivateWindow(MyVideos)</obc6> <obc4>XBMC.ActivateWindow(MyMusic)</obc4> <obc3>XBMC.ActivateWindow(MyPictures)</obc3> <obc1>XBMC.ActivateWindow(MyTV)</obc1> <obc2>ToggleWatched</obc2> </universalremote> </global> <Home> <universalremote> <obc5>XBMC.Skin.ToggleSetting(HomeViewToggle)</obc5> <obc46>XBMC.ActivateWindow(SystemInfo)</obc46> <obc26>XBMC.ActivateWindow(Weather)</obc26> <obc27>XBMC.ActivateWindow(Settings)</obc27> </universalremote> </Home> <MyFiles> <universalremote> <obc25>Delete</obc25> <obc16>Highlight</obc16> <obc19>Copy</obc19> <obc22>Move</obc22> <obc20>Delete</obc20> <obc18>VolumeUp</obc18> <obc21>VolumeDown</obc21> <obc24>Mute</obc24> </universalremote> </MyFiles> <MyMusicPlaylist> <universalremote> <obc45>Playlist</obc45> <!-- Close playlist --> <obc25>Delete</obc25> <obc17>MoveItemUp</obc17> <obc20>MoveItemDown</obc20> <obc18>VolumeUp</obc18> <obc21>VolumeDown</obc21> <obc24>Mute</obc24> </universalremote> </MyMusicPlaylist> <MyMusicPlaylistEditor> <universalremote> <obc25>Queue</obc25> </universalremote> </MyMusicPlaylistEditor> <MyMusicFiles> <universalremote> <obc25>Queue</obc25> <obc26>Queue</obc26> <obc18>VolumeUp</obc18> <obc21>VolumeDown</obc21> <obc24>Mute</obc24> </universalremote> </MyMusicFiles> <MyMusicLibrary> <universalremote> <obc25>Queue</obc25> <obc26>Queue</obc26> <obc18>VolumeUp</obc18> <obc21>VolumeDown</obc21> <obc24>Mute</obc24> </universalremote> </MyMusicLibrary> <FullscreenVideo> <universalremote> <obc13>StepBack</obc13> <obc14>StepForward</obc14> <obc11>BigStepForward</obc11> <obc12>BigStepBack</obc12> <obc5>OSD</obc5> <obc9>CodecInfo</obc9> <obc8>AspectRatio</obc8> <obc10>ShowSubtitles</obc10> <obc7>AudioNextLanguage</obc7> <obc46>Info</obc46> <obc15>Playlist</obc15> <obc38>XBMC.ActivateWindow(TVOSDGuide)</obc38> <obc39>XBMC.ActivateWindow(Teletext)</obc39> </universalremote> </FullscreenVideo> <FullscreenInfo> <universalremote> <obc9>CodecInfo</obc9> <obc38>XBMC.ActivateWindow(TVOSDGuide)</obc38> <obc39>XBMC.ActivateWindow(Teletext)</obc39> <obc45>Close</obc45> <obc46>Close</obc46> <obc5>OSD</obc5> </universalremote> </FullscreenInfo> <PlayerControls> <universalremote> <obc15>Close</obc15> </universalremote> </PlayerControls> <Visualisation> <universalremote> <obc13>PreviousPreset</obc13> <obc14>NextPreset</obc14> <obc11>IncreaseRating</obc11> <obc12>DecreaseRating</obc12> <obc45>LockPreset</obc45> <obc9>CodecInfo</obc9> <obc15>XBMC.ActivateWindow(VisualisationPresetList)</obc15> <obc5>XBMC.ActivateWindow(MusicOSD)</obc5> <obc46>Info</obc46> </universalremote> </Visualisation> <MusicOSD> <universalremote> <obc5>Close</obc5> <obc45>Close</obc45> <obc46>Info</obc46> </universalremote> </MusicOSD> <VisualisationSettings> <universalremote> <obc5>Close</obc5> <obc45>Close</obc45> </universalremote> </VisualisationSettings> <VisualisationPresetList> <universalremote> <obc5>Close</obc5> <obc45>Close</obc45> </universalremote> </VisualisationPresetList> <SlideShow> <universalremote> <obc25>ZoomNormal</obc25> <obc16>ZoomLevel1</obc16> <obc17>ZoomLevel2</obc17> <obc18>ZoomLevel3</obc18> <obc19>ZoomLevel4</obc19> <obc20>ZoomLevel5</obc20> <obc21>ZoomLevel6</obc21> <obc22>ZoomLevel7</obc22> <obc23>ZoomLevel8</obc23> <obc24>ZoomLevel9</obc24> <obc46>CodecInfo</obc46> <obc34>NextPicture</obc34> <obc33>PreviousPicture</obc33> <obc9>Info</obc9> <obc15>Rotate</obc15> <obc45>PreviousMenu</obc45> </universalremote> </SlideShow> <ScreenCalibration> <universalremote> <obc15>NextCalibration</obc15> <obc25>ResetCalibration</obc25> <obc34>NextResolution</obc34> </universalremote> </ScreenCalibration> <GUICalibration> <universalremote> <obc15>NextCalibration</obc15> <obc25>ResetCalibration</obc25> </universalremote> </GUICalibration> <SelectDialog> <universalremote> <obc45>Close</obc45> </universalremote> </SelectDialog> <VideoOSD> <universalremote> <obc5>PreviousMenu</obc5> <obc45>Close</obc45> </universalremote> </VideoOSD> <VideoMenu> <universalremote> <obc5>OSD</obc5> <obc45>PreviousMenu</obc45> <obc46>Info</obc46> <obc9>CodecInfo</obc9> <obc25>Number0</obc25> <obc16>Number1</obc16> <obc17>Number2</obc17> <obc18>Number3</obc18> <obc19>Number4</obc19> <obc20>Number5</obc20> <obc21>Number6</obc21> <obc22>Number7</obc22> <obc23>Number8</obc23> <obc24>Number9</obc24> </universalremote> </VideoMenu> <OSDVideoSettings> <universalremote> <obc5>Close</obc5> <obc45>Close</obc45> </universalremote> </OSDVideoSettings> <OSDAudioSettings> <universalremote> <obc5>Close</obc5> <obc45>Close</obc45> </universalremote> </OSDAudioSettings> <VideoBookmarks> <universalremote> <obc45>Close</obc45> <obc5>Close</obc5> <obc25>Delete</obc25> </universalremote> </VideoBookmarks> <MyVideoLibrary> <universalremote> <obc26>Queue</obc26> <obc25>Delete</obc25> <obc18>VolumeUp</obc18> <obc21>VolumeDown</obc21> <obc24>Mute</obc24> <obc2>ToggleWatched</obc2> </universalremote> </MyVideoLibrary> <MyVideoFiles> <universalremote> <obc26>Queue</obc26> <obc18>VolumeUp</obc18> <obc21>VolumeDown</obc21> <obc24>Mute</obc24> </universalremote> </MyVideoFiles> <MyVideoPlaylist> <universalremote> <obc45>Playlist</obc45> <!-- Close playlist --> <obc25>Delete</obc25> <obc17>MoveItemUp</obc17> <obc20>MoveItemDown</obc20> <obc18>VolumeUp</obc18> <obc21>VolumeDown</obc21> <obc24>Mute</obc24> </universalremote> </MyVideoPlaylist> <VirtualKeyboard> <universalremote> <obc45>BackSpace</obc45> <obc26>Shift</obc26> <obc27>Symbols</obc27> <obc25>Number0</obc25> <obc16>Number1</obc16> <obc17>Number2</obc17> <obc18>Number3</obc18> <obc19>Number4</obc19> <obc20>Number5</obc20> <obc21>Number6</obc21> <obc22>Number7</obc22> <obc23>Number8</obc23> <obc24>Number9</obc24> <obc44>CursorLeft</obc44> <obc43>CursorRight</obc43> </universalremote> </VirtualKeyboard> <ContextMenu> <universalremote> <obc45>Close</obc45> </universalremote> </ContextMenu> <FileStackingDialog> <universalremote> <obc45>Close</obc45> </universalremote> </FileStackingDialog> <Scripts> <universalremote> <obc46>XBMC.ActivateWindow(ScriptsDebugInfo)</obc46> </universalremote> </Scripts> <ScriptsDebugInfo> <universalremote> <obc46>Info</obc46> <!-- clears debug python info --> </universalremote> </ScriptsDebugInfo> <NumericInput> <universalremote> <obc25>Number0</obc25> <obc16>Number1</obc16> <obc17>Number2</obc17> <obc18>Number3</obc18> <obc19>Number4</obc19> <obc20>Number5</obc20> <obc21>Number6</obc21> <obc22>Number7</obc22> <obc23>Number8</obc23> <obc24>Number9</obc24> <obc45>BackSpace</obc45> </universalremote> </NumericInput> <Weather> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </Weather> <Settings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </Settings> <MyPicturesSettings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </MyPicturesSettings> <MyProgramsSettings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </MyProgramsSettings> <MyWeatherSettings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </MyWeatherSettings> <MyMusicSettings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </MyMusicSettings> <SystemSettings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </SystemSettings> <MyVideosSettings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </MyVideosSettings> <NetworkSettings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </NetworkSettings> <AppearanceSettings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </AppearanceSettings> <Profiles> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </Profiles> <systeminfo> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </systeminfo> <shutdownmenu> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </shutdownmenu> <submenu> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </submenu> <MusicInformation> <universalremote> <obc45>Close</obc45> </universalremote> </MusicInformation> <MovieInformation> <universalremote> <obc45>Close</obc45> </universalremote> </MovieInformation> <LockSettings> <universalremote> <obc5>Close</obc5> <obc45>PreviousMenu</obc45> </universalremote> </LockSettings> <ProfileSettings> <universalremote> <obc5>Close</obc5> <obc45>PreviousMenu</obc45> </universalremote> </ProfileSettings> <PictureInfo> <universalremote> <obc34>NextPicture</obc34> <obc33>PreviousPicture</obc33> <obc46>Close</obc46> <obc45>Close</obc45> </universalremote> </PictureInfo> <Favourites> <universalremote> <obc45>Close</obc45> </universalremote> </Favourites> <EPGProgInfo> <universalremote> <obc45>Close</obc45> <obc5>Close</obc5> <obc38>Close</obc38> </universalremote> </EPGProgInfo> <TVOSDChannels> <universalremote> <obc5>Close</obc5> <obc45>Close</obc45> </universalremote> </TVOSDChannels> <TVOSDGuide> <universalremote> <obc45>Close</obc45> <obc5>Close</obc5> <obc38>Close</obc38> </universalremote> </TVOSDGuide> <MyTVSettings> <universalremote> <obc45>PreviousMenu</obc45> </universalremote> </MyTVSettings> <Teletext> <universalremote> <obc25>number0</obc25> <obc16>number1</obc16> <obc17>number2</obc17> <obc18>number3</obc18> <obc19>number4</obc19> <obc20>number5</obc20> <obc21>number6</obc21> <obc22>number7</obc22> <obc23>number8</obc23> <obc24>number9</obc24> <obc7>Red</obc7> <obc10>Green</obc10> <obc8>Yellow</obc8> <obc9>Blue</obc9> <obc46>Info</obc46> <obc45>Close</obc45> <obc5>Close</obc5> <obc39>Close</obc39> </universalremote> </Teletext> </keymap> |
Info
X10.conf – hier werden die Codes des jeweiligen Tastendrucks einem Alias zugewiesen
Lircmap.xml – hier werden den Aliases aus der X10.conf ein XBMC-Ereignis zugeordnet
Keyboard.xml – hier wird dem XBMC-Ereignis aus der Lircmap.xml eine XBMC-Aktion zugeordnet
Fertig – viel Spaß mit eurer X10
Weiterführende Links
Arch Linux – Installation
Arch Linux – Installation mit verschlüsseltem LVM
Arch Linux – Installation mit WLAN-Verbindung – wireless_tools & wpa_supplicant
Das blacklisting ueber rc.conf ist mit dem neuesten update uebrigens nicht mehr moeglich.
von nun an sollte per modprobe.conf geblacklistet werden
Ah, gut! Danke für die Info.
Ich besitze auch ein X10-Fernbedienung.
Ich bekomme allerdings kein Device /dev/lirc0, daher erkennt lirc keine Fernbedienung.
Mit welchem Modul erhälst du das /dev/lirc0-Gerät?
Vielen Dank
Hi Thomas,
das Gerät /dev/lirc0 wird erst von LIRC erstellt, wenn du es mit dem Module atilibusb konfigurierst (/etc/conf.d/lircd.conf) und neustartest.
/etc/conf.d/lircd.conf ist der Pfad der lircd.conf bei Arch Linux.
Grüße Nico
Meine X10 läuft mit dem Userland-Modul. Einfach in der /etc/lircd/lircd das Modul eintragen.
#Chosen Remote Control
REMOTE=“None“
REMOTE_MODULES=“atilibusb“
REMOTE_DRIVER=““
REMOTE_DEVICE=““
REMOTE_SOCKET=““
REMOTE_LIRCD_CONF=““
REMOTE_LIRCD_ARGS=““
Damit wird auch kein /dev/lircX Gerät benötigt.
Hallo!
Du schreibst:
In rc.conf müssen wir 3 Kernelmodule auf die Blacklist (!) setzen und einen neuen Dienst automatisch starten lassen.
Weil das kürztlich durch meinen Feed-Reader flatterte:
https://www.archlinux.org/news/changes-to-module-blacklisting/
[Zitat]
Rather than blacklisting modules in rc.conf, use modprobe’s native configuration files. These can be found in /etc/modprobe.d/, and are documented in man modprobe.d.
[/Zitat]
-F.
Hi Flo, ich habe mal ein „UPDATE“ in den Artikel gemacht – Danke.
Grüße
HI,
danke für den Artikel!
Funtkioniert bei mir soweit ganz gut, bis auf die Hoch/Runter also Programm Tasten. Da geht er nicht einen Interpreten oder Auswahlpunkt runter, sondern gleich 5-6. Woran liegt das? Lässt sich das beheben?
Ansonsten funktioniert dein kleines Tutorial einwandfrei – aber noch nicht nutzbar, denn man kann nie gezielt einen Interpreten erreichen.
lg Bayliner
Ich stell gerade fest, dass die meisten Tasten in XBMC „verstärkt“ reagieren. Bei „Enter“ wird auch immer 2 mal Enter gedrückt…
Dumm…
Hi Bayliner,
versuche mal das hier:
https://www.loggn.de/ubuntu-lirc-xbmc-dharma-fernbedienung-tasten-werden-doppelt-erkannt/
Grüße Nico
Hi Nico,
Danke! es ist besser geworden, jetzt funktioniert es mit Enter und weiteren merklich besser. Nur die Hoch/Runter Taste ist immer noch sehr extrem. Jetzt geht sie zwar 1-2 weniger runter/hoch aber das hilft kaum.
Muss ich in der Zeile
650
vielleicht den Wer erhöhen/vermindern?
lg Bayliner
Ich hatte auch schon den Fall, das Module geladen wurden, die das Signal zusätzlich an den Daemon leiten. Hast du schon überprüft ob die entsprechenden Module wirklich nicht geladen werden (ati_remote, ati_remote2, lirc_atiusb)?
Also die Module ich habe in die angegebene Datei /etc/modprobe.d/blacklist.conf geschrieben.
Sieht dann so aus:
blacklist ati_remote
blacklist lirc_atiusb
blacklist lirc_dev
Also in der rc.conf stehen die nciht mehr drinnen? Meintest du das? Oder wie genau soll ich das überprüfen?
Ich dachte die blacklist verwaltet das entsprechent 🙂
Der Befehl „lsmod“ listet alle im Moment geladenen Module auf.
„lsmod | grep ati_remote“ überprüft also ob ati_remote oder ati_remote2 geladen ist.
Vielleicht hast du dich ja in der Blacklist vertippt. Man weiss ja nie 🙂
Danke Perry3D,
aber es scheint auch da alles richtig zu sein.
Bin wirklich am rätseln… weil so funktioniert ja alles!
Hät ich mir vllt nicht die Medion X10 kaufen sollen .. naja
Danke auf jedenfall 🙂 wer noch ne idee, nur her damit
lg Bayliner
Ich bins nochmal….
Habs jetzt mal mit Kubuntu probiert, meinem zweit System.
Und da genau das gleiche Problem xD
Alle Tasten werden normal erkennt und ausgeführt! Nur diese dumme Programm Wechsel Taste springt immer 6 Felder oder noch mehr.
Auch wenn ich den Repeat Modus hoch mach, dann muss ich zweimal drücken und es springt 6 -8 Felder.
Das muss doch was mit XBMC oder so zu tun haben. An Arch & Kubuntu dasselbe Problem.
Ich glaube, XBMC wird gesagt pro Programm +/- Tastendruck,spring mal 6 Felder – das entspricht einfach dem Tastendruck.
Hab im übrigen diese Fernbedienung https://www.amazon.de/gp/product/B004KVRSGO.
@ Nico, schuldige wenn ich nerve oder hier zuviel spame, ist nur echt schade, weil wirklich alles geht und ich voll dankabr für deine aritkel bin; nur das macht mcih wirklich verrückt …
lg bayliner
Nur noch einen Edit:
Also es scheint so zu sein:
Wenn ich meine Interpreten Liste Habe seh ich gut 10 Interpreten; mit der fernbedienung komm ich genau zum 11 jedes mal. sprich zu dem welcher gerade nciht mehr im bild ist.
Scheint als ob er die tasten ncith als hoch/runter wahr nimmt, sondern als so ne art ettappen werkzeug, um shcnell voran zu kommen.
Ok ich habe die Lösung!
Am Bild vom Amazon link erkennt man es denke ich. Das Scroll Rädchen soll für Hoch/Runter zustädnig sein.
Das nimmt er bloß nicht wahr!
Das muss also noch in die X10 rein… Denke ich.
Keine Ahnung wie man das am geschicktesten impleziert – neue X10 machen?
Hi, ich habe gerade den Verweis auf Deinen Blog in der Ausgabe „Ubuntu-User“ Multimedia gelesen. Nun hat die Redaktion wohl noch eine „veränderte“ Version im geschützten Bereich. Kann man diese auch hier erhalten? Angeblich soll diese noch zusätzlich optimiert worden sein. Wäre cool wenn mir jemand weiterhelfen könnte.
Cheers
Alfons
Hi,
erstmal vielen dank für deine Anleitungen.
Habe auch eine Medion X10 versucht unter Arch Linux und XBMC zum laufen zu bekommen.
2 Kleine Anmerkungen:
1. /etc/modprobe.d/blacklist.conf.
funktioniert bei mir nicht, habe es mit folgenden hinbekommen:
blacklist ati_remote
DAEMONS="(... lircd)"
2. habe ich lirc 9.0 in Verwendung. man braucht hier in der X10.conf noch folgendes, damit die tasten nicht doppelt angenommen werden:
begin remote
name medion
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 8
pre_data 0x14
post_data_bits 16
post_data 0x0
gap 139990
suppress_repeat 3
min_repeat 1
toggle_bit_mask 0x80800000