[LINUX] HOW-TO get X10 OR22V RF (Radio Frequency) Remote Control to work with LIRC
#46
Reply
#47
cant someone upload the keymap?
Reply
#48
please?
Reply
#49
Hello.

This is my first time to post any guide here so please be gentle Smile

To get this remote to work in XBMC Live 9.11 you have to do the following.

Install XBMC live 9.11 to HDD (dont know if this works in live mode)

I did update to latest SVN before i tried this.

After installation is done you should open a terminal window CTRL-ALT-F1
Login as the user you set up during installation.

type sudo dpkg-reconfigure lirc
after the configuration window comes up choose ATI/NVidia/X10 RF Remote (userspace) and press ENTER, on the next screen choose NONE and let the installation finnish.

Now you have to edit lirc.conf and to do so type sudo nano /etc/lirc/lircd.conf and replace all things in there with nebu´s lirc.conf post here http://www.xbmc.org/forum/showpost.php?p...stcount=39
Save and reboot the computer (tested with asrock ion 330)

Now the remote should work fine .. tested with the usual buttons. Smile

A thx to nebu coz i used his lirc.conf file

The RF receiver is a bit sensitive so im gonna get a usb extension cable and lay the receiver on top of my asrock ion 330.
Regards
/Rico_s
Reply
#50
Thanks alot for all the info in this thread Smile

Got the remote working perfectly now!
Reply
#51
Hi!

I have a problem with getting this remote to work on an Acer Aspire Revo 3610 (Ubuntu 10.04 installed to a USB stick). I did all the instructions in the first post, but I can't get any output in irw.

Here are the relevant files:
hardware.conf
Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="OR22V"
REMOTE_MODULES=""
REMOTE_DRIVER="atilibusb"
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

lircd.conf
Code:
# Please make this file available to others
# by sending it to <[email protected]>
#
# this config file was automatically generated
# using lirc-0.8.4a(atilibusb) on Tue Sep  8 23:54:34 2009
#
# contributed by funnybox2006
#
# brand:  X10
# model no. of remote control: OR22V with RF USB Dongle
# devices being controlled by this remote:
# note: use atilibusb driver for this remote and set device in hardware.conf to /dev/lirc0

begin remote

  name        OR22V
  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          139982
  min_repeat      2
  toggle_bit_mask 0x80800000

      begin codes
       KEY_POWER       0xD702
       KEY_RED         0x87B2
       KEY_YELLOW      0x0934
       KEY_GREEN       0x88B3
       KEY_TEXT        0x6B96
       KEY_BLUE        0x0A35
       KEY_BACK        0xF520
       KEY_INFO        0x84AF
       KEY_UP          0xEF1A
       KEY_LEFT        0x729D
       KEY_OK          0xF31E
       KEY_RIGHT       0xF41F
       KEY_DOWN        0x77A2
       KEY_TIMESHIFTING 0x6D98
       KEY_EPG         0x0631
       KEY_DVDMENU     0xD904
       KEY_LIVETV      0x719C
       KEY_VOLUMEUP    0xDE09
       KEY_WINDOWS     0x709B
       KEY_CHANNELUP   0xE00B
       KEY_VOLUMEDOWN  0x5D88
       KEY_CHANNELDOWN 0x618C
       KEY_MUTE        0xD500
       KEY_PREVIOUS    0x76A1
       KEY_NEXT        0xF823
       KEY_REWIND      0x79A4
       KEY_PLAY        0xFA25
       KEY_FASTFORWARD 0x7BA6
       KEY_RECORD      0xFC27
       KEY_STOP        0x7DA8
       KEY_PAUSE       0xFE29
       KEY_1           0x628D
       KEY_2           0xE30E
       KEY_3           0x648F
       KEY_4           0xE510
       KEY_5           0x6691
       KEY_6           0xE712
       KEY_7           0x6893
       KEY_8           0xE914
       KEY_9           0x6A95
       KEY_*           0x8CB7
       KEY_0           0xEC17
       KEY_#           0x0D38
       KEY_CLEAR       0x85B0
       KEY_ENTER       0x0B36
      end codes

end remote

output of lsusb
Code:
costi@costi-desktop:~$ lsusb
Bus 002 Device 004: ID 0bc7:0006 X10 Wireless Technology, Inc. Wireless Transceiver (ACPI-compliant)
Bus 002 Device 003: ID 046d:c058 Logitech, Inc.
Bus 002 Device 002: ID 04f2:0402 Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 13fd:1340 Initio Corporation
Bus 001 Device 002: ID 0951:1607 Kingston Technology DataTraveler 100
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
costi@costi-desktop:~$

output of lsmod
Code:
costi@costi-desktop:~$ lsmod
Module                  Size  Used by
snd_hda_codec_nvhdmi     3840  1
snd_hda_codec_realtek   203310  1
snd_hda_intel          21941  2
snd_hda_codec          74201  3 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5412  1 snd_hda_codec
snd_pcm_oss            35308  0
snd_mixer_oss          13746  1 snd_pcm_oss
snd_pcm                70662  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           1338  0
snd_seq_oss            26726  0
arc4                    1153  2
snd_seq_midi            4557  0
snd_rawmidi            19056  1 snd_seq_midi
snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
snd_seq                47263  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
fbcon                  35102  71
tileblit                2031  1 fbcon
snd_timer              19098  2 snd_pcm,snd_seq
font                    7557  1 fbcon
bitblit                 4707  1 fbcon
snd_seq_device          5700  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ath5k                 121792  0
softcursor              1189  1 bitblit
mac80211              205146  1 ath5k
ath                     7611  1 ath5k
snd                    54148  16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
vga16fb                11385  1
lp                      7028  0
nvidia               9961216  38
vgastate                8961  1 vga16fb
psmouse                63245  0
soundcore               6620  1 snd
cfg80211              126517  3 ath5k,mac80211,ath
serio_raw               3978  0
shpchp                 28820  0
snd_page_alloc          7076  2 snd_hda_intel,snd_pcm
i2c_nforce2             5199  0
agpgart                31724  1 nvidia
led_class               2864  1 ath5k
parport                32635  1 lp
usbhid                 36110  0
hid                    67032  1 usbhid
usb_storage            39425  3
forcedeth              49556  0
ahci                   32168  0
costi@costi-desktop:~$

Devices connected to USB are:
RF receiver for the remote
wired keyboard + mouse that came with the Revo (in Poland they bundle wired controllers, not wireless Sad )
Kingston USB stick that the system is running from
external 3.5" HDD enclosure

I've noticed there's no atilibusb present in lsmod, there is also no /dev/lirc0 present, so I guess the drivers aren't loaded properly.
How can I get the remote to work?
Reply
#52
costi, try my post instead on http://forum.xbmc.org/showpost.php?p=479...stcount=49
Regards
/Rico_s
Reply
#53
Hi,

I've tried to get my OR22V to work, but it won't.
At first I used funnybox2006's approach and because it didn't result in a working remote I tried Rico_s' tutorial.

When I start "irw" I get commands like this:
Code:
####@XBMCLive:~/.xbmc/system$ irw
000000146f9a0000 00 Up Medion_MD8800
000000146f9a0000 01 Up Medion_MD8800
000000146f9a0000 02 Up Medion_MD8800
000000146f9a0000 03 Up Medion_MD8800
000000146f9a0000 04 Up Medion_MD8800
00000014f7220000 00 Down Medion_MD8800
00000014f7220000 01 Down Medion_MD8800
00000014f7220000 02 Down Medion_MD8800
00000014f7220000 03 Down Medion_MD8800
00000014f7220000 04 Down Medion_MD8800
00000014709b0000 00 World Medion_MD8800
00000014709b0000 01 World Medion_MD8800
00000014709b0000 02 World Medion_MD8800
00000014709b0000 03 World Medion_MD8800

But XBMC does not react at all. Is there anything I can try?
Reply
#54
Then you did not add the nebu´s lirc.conf.

You must have a lirc.conf file or else the remote dont work.
Regards
/Rico_s
Reply
#55
Where can I buy one of these beauties?

I've been searching high and low for a RF remote compatible with lirc, this seems to be one of the few remotes that fulfill my wishes but I can't seem to find any place that sells them at all.

Can someone please point me in the right direction, I really need an RF remote for my htpc...
Reply
#56
I get the remote to work.
In "irw" i get 5 replys on every button i push.
XBMC does everything twice.
That i fixed with <remotedelay>4</remotedelay> in advancedsettings.xml

But the problem is when i use suspend!
When i awaken from suspend it goes back in suspend.
I starts xbmc again and almost all the time it stay awake.
But sometimes it can suspend more times.

Been trying to find an answer all day/night and nothing works...
Question is what im doing wrong?
Reply
#57
Many thanks to funnybox2006 and the simplification of nebu. Thanks to these tutorials I could install one of these X10 RF Remote Controls from Pollin Germany

Image

and it works perfect running a HTPC based on Foxconn nt330i with XBMC Live 9.11. The only steps I had to do was to edit /etc/modprobe.d/blacklist.conf
according to the initial post of funnybox2006 and then replace /etc/lirc/lircd.conf with the suggestion of nebu.
Reply
#58
Could someone who uses this remote share their lircmap.xml and keymap.xml?
Either via pastebin/megaupload/whaever or via email to costi AT poczta.onet.pl?
Reply
#59
This does NOT work anymore under 10.04 und 10.1 Dharma Sad Sad but true!
Reply
#60
jagabongo Wrote:This does NOT work anymore under 10.04 und 10.1 Dharma Sad Sad but true!
Yes, just figured that out myself. I am working on it. If anybody has any hints....all help is appreciated.
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO get X10 OR22V RF (Radio Frequency) Remote Control to work with LIRC0