[LINUX] HOW-TO to use Antec Veris Basic IR Receiver, Harmony/MCE Remote on Ubuntu

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
nigthlord Offline
Junior Member
Posts: 27
Joined: Oct 2010
Reputation: 0
Post: #21
Hi!

Sorry for my late answer, but as always there have been several things to do after a setup(I do have huge problems with GRUB2... - but thats another story).
However, fortunately I can tell you that everything went smoothly and runs fine now.

So, after the setup I immediately I checked with "lsusb -t" whats going on and I saw that as driver "imon" is already stated there as driver.
After that I just ran "dpkg-reconfiugre lirc" (with sudo) and chose the Antec(which of course fits to my remote) - et voila - everything works as it should.

So, it seems that I somehow miss configured my previous installation with my lack of knowledge.

glad that it works now...

Big GrinBig GrinBig Grin
find quote
turkosbon Offline
Junior Member
Posts: 17
Joined: Apr 2010
Reputation: 0
Post: #22
Hello , i have ubuntu 10.10

well i have problem with imon doesn't work fine (but in my old ubuntu 9.10 work fine),

i have this display in my nox live2 carcase

[Image: Pro_OEMLCD_04.jpg]

Quote:Bus 006 Device 002: ID 15c2:0038 SoundGraph Inc. GD01 MX VFD Display/IR Receiver
my lirc config selected
Quote:Soundgraph iMON Antec Veris

with this remote control

[Image: Pro_Ultra03.jpg]




Quote:lircd -v
lircd 0.8.7-pre3
Quote:lcdproc -v
LCDproc 0.5.3
hardware.conf
Quote:# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Soundgraph iMON Antec Veris"
REMOTE_MODULES="lirc_dev lirc_imon"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="imon/lircd.conf.imon-antec-veris"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
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
Quote:#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.

#Configuration for the Soundgraph iMON Antec Veris remote:
include "/usr/share/lirc/remotes/imon/lircd.conf.imon-antec-veris"
can you help me?

Thank you.
find quote
magnimus Offline
Junior Member
Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #23
Have the same problem:
gentoo 2.6.36-r5, lirc-0.8.7, lirc_imon driver - works perfect.
Because of i915-drm fixes tried to switch to 2.6.37.
so, I am working on bringing up 2.6.37 w/ imon driver.

at least I can recommend upgrade lirc to 0.9.0_pre1. This one works better with kernel 2.6.36+. And of cause you need to enable imon in kernel (make menuconfig).

currently I am trying to debug my home HTPC remotely, but looks like rmmod -f imon made "oops" Smile
so, I'll continue my investigations later evening.

P.S. does anybody know good article about "magic" eth packets to reset PC remotely?
find quote
magnimus Offline
Junior Member
Posts: 25
Joined: Dec 2010
Reputation: 0
Post: #24
Ok. Now I can control XBMC again. Using kernel 2.6.37 and kernel's imon driver.

First of all I stopped lircd. We don't need it anymore.
Instead of lircd I start using inputlircd. it is pretty enough to control everything using events model.

1. create new simlink to correct eventX using udev rules. this will avoid problems if number changed.
Code:
cat /etc/udev/rules.d/11-lirc.rules
KERNEL=="event*", SYSFS{name}=="iMON Remote (15c2:0038)", NAME="input/%k", SYMLINK="input/irremote", MODE="0666"
so we can use /dev/irremote as our IR receiver device.

2. install inputlircd. for gentoo it looks :
Code:
sudo emerge app-misc/inputlircd

3. configure inputlircd daemon:
Code:
cat /etc/conf.d/inputlircd
# Options to pass to the lircd process
INPUTLIRCD_OPTS="-m 0 -g /dev/input/irremote"

4. start inputlircd
Code:
sudo /etc/init.d/inputlircd start

5. add inputlircd to default layer. for gentoo:
Code:
sudo rc-update add inputlircd default

6. change ~/.xbmc/userdata/Lircmap.xml to have something like this:
Code:
<lircmap>
        <remote device="irremote">
                <stop>KEY_STOP</stop>
                <pause>KEY_PAUSE</pause>
                <forward>KEY_FASTFORWARD</forward>
                <reverse>KEY_REWIND</reverse>
                <left>KEY_LEFT</left>
                <right>KEY_RIGHT</right>
                <up>KEY_UP</up>
                <down>KEY_DOWN</down>
                <select>KEY_ENTER</select>
                <pageplus>KEY_CHANNELUP</pageplus>
                <pageminus>KEY_CHANNELDOWN</pageminus>
                <back>KEY_BACKSPACE</back>
                <menu>KEY_MENU</menu>
                <play>KEY_PLAY</play>
                <info>KEY_PROG1</info>
                <skipplus>KEY_NEXT</skipplus>
                <skipminus>KEY_PREVIOUS</skipminus>
                <display>KEY_SCREEN</display>
                <start>KEY_DASHBOARD</start>
                <record>KEY_RECORD</record>
                <volumeplus>KEY_VOLUMEUP</volumeplus>
                <volumeminus>KEY_VOLUMEDOWN</volumeminus>
                <mute>KEY_MUTE</mute>
                <power>KEY_POWER</power>
                <myvideo>KEY_VIDEO</myvideo>
                <mymusic>KEY_AUDIO</mymusic>
                <mypictures>KEY_CAMERA</mypictures>
                <mytv>KEY_TV</mytv>
                <one>KEY_NUMERIC_1</one>
                <two>KEY_NUMERIC_2</two>
                <three>KEY_NUMERIC_3</three>
                <four>KEY_NUMERIC_4</four>
                <five>KEY_NUMERIC_5</five>
                <six>KEY_NUMERIC_6</six>
                <seven>KEY_NUMERIC_7</seven>
                <eight>KEY_NUMERIC_8</eight>
                <nine>KEY_NUMERIC_9</nine>
                <zero>KEY_NUMERIC_0</zero>
                <star>KEY_NUMERIC_STAR</star>
                <hash>KEY_NUMERIC_POUND</hash>
                <playlist>KEY_BOOKMARKS</playlist>
                <teletext>KEY_MEDIA</teletext>
                <title>KEY_COMPOSE</title>
                <subtitle>KEY_SUBTITLE</subtitle>
                <language>KEY_LANGUAGE</language>
        </remote>
</lircmap>

7. reboot the system to double check everything works correctly.

8. correct key names you can check either via irw tool from lirc package or just look at /usr/include/linux/input.h

9. Still doesn't work Volume Control on Antec Fusion Case. not critical, but will try to fix it latter.
(This post was last modified: 2011-01-12 21:41 by magnimus.)
find quote
Post Reply