• 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 19
[LINUX] HOW-TO configure Soundgraph iMON VFD/IR Receiver (used by many HTPC chassis)
Has anyone had any success getting Imon Inside to work with Jaunty? I have model 'ffdc' I installed the lirc 0.8.4 package. IRW recognizes command from the remote, with the exception of the pad keys.

I'm aware there is a patch for 0.8.4. I hear it's unnecessary since 0.8.4 comes in the Jaunty build. If it is necessary, how do I install it? I can't find a lirc-0.8.4 folder to extract the patch to and run it against.

I've also read that 0.8.5 provides better support for the remotes. I installed it and have not had any success getting the pad keys to work.

I'd appreciate any guidance from anyone who can help me with this; especially if you have 'Imon Inside'. Thanks!
Reply
mvdaat Wrote:2. Is there a way to show the time or date when I close the system it's now saying "thanks for using lcdproc and linux" (or something like that)

I know this was a while ago now but it has been driving me crazy since i got my silverstone case with imon LCD.

I managed to get it all up and running (after some considerable amount of searching, reading and trying different things).

Eventually the only thing left to sort out is the fact that when the machine powers down I am left with a blank lcd display with backlight turned on.

Ideally I would've liked to completely blank the screen when the pc is powered down but I have so far not managed to achieve that. However my next best hope was to at least have the ugly clock displayed rather than a blank screen.

I tried putting settings OnExit and BackLight into the LCDd.conf in the [imonlcd] section but it doesn't seem to work for my iMon display.

Instead i did this

Create a file containing the following and save it somewhere (i saved mine to /usr/bin/lcd.perl)

Code:
my ($secs,$mins,$hours,$days,$months,$years,$dow)=(localtime)[0,1,2,3,4,5,6];
my $lcd = '80';
my $lcd = $lcd.sprintf('%.2x%.2x%.2x',$years,$months,$days);
my $lcd = $lcd.sprintf('%.2x%.2x%.2x',$hours,$mins,$secs);
my $lcd = $lcd.'88';
print pack "H*", $lcd;

now modify /etc/init.d/LCDd and add the following after the sleep 1 command in the stop section of the file

Code:
perl /usr/bin/lcd.perl >/dev/lcd0

eg something like this

Code:
#### BEGIN INIT INFO
# Provides:          LCDd
# Required-Start:    $syslog $local_fs $network $remote_fs
# Required-Stop:     $syslog $local_fs $network $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      S 0 1 6
# Short-Description: LCDproc Server Daemon
# Description:       Debian init script for LCDd, the display
#                    server daemon in the LCDproc suite
### END INIT INFO

# local variables
prefix=/usr/local
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
sbindir=${exec_prefix}/sbin
etc=${prefix}/etc

NAME=LCDd
DAEMON=${sbindir}/${NAME}
DESC="LCDd display server daemon"
OPTIONS="-i 0"

# installation check
test -x ${DAEMON} || exit 0

case "$1" in
    start)
        printf "Starting ${DESC}: "
        start-stop-daemon --start --quiet --exec ${DAEMON} -- ${OPTIONS}
        sleep 1
        printf "\n"
        ;;
    stop)
        printf "Stopping ${DESC}: "
        start-stop-daemon --stop --oknodo --quiet --exec ${DAEMON}
        sleep 1
        perl /usr/bin/lcd.perl >/dev/lcd0
        printf "\n"
        ;;
    restart|force-reload)
        $0 stop
        sleep 1
        $0 start
        ;;
    *)
        printf "Usage: $0 {start|stop|restart|force-reload}\n" >&2
        exit 1
        ;;
esac

exit 0

Now you should get the ugly clock on shutdown.

Also if you want to adjust the brightness of the clock you can put this line as well

Code:
perl -e 'print pack "H*", "0600000000000003" >/dev/lcd0

change the first two hex digits (06 above) for different brightness settings.
Reply
Hi mates
My problem is:
I have installed Lirc and Lcdproc on my HTPC inux box
Nut cannot get it work with my XBMC
My case is Silverstone LC16M with Imon VFD/IR
I use that tutorial to install it https://help.ubuntu.com/community/IMON_VFD_and_LCD
and it seems to be ok.
IRW shows codes for butons pressed on remote.
My hardware.conf
Quote:# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Soundgraph iMON IR/LCD"
REMOTE_MODULES="lirc_dev lirc_imon"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="/etc/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=""
START_LIRCMD=""
my lircd.conf
Quote:#
# contributed by Venky Raju
#
# model no. of remote control: iMON-PAD
# devices being controlled by this remote:
#

begin remote

name iMON-PAD
bits 32
eps 30
aeps 100

one 0 0
zero 0 0
gap 235965
min_repeat 1
toggle_bit 0

begin codes
AppExit 0x288195B7
Record 0x298115B7
Play 0x2A8115B7
SlowMotion 0x29B195B7
Rewind 0x2A8195B7
Pause 0x2A9115B7
FastForward 0x2B8115B7
PrevChapter 0x2B9115B7
Stop 0x2B9715B7
NextChapter 0x298195B7
Esc 0x2BB715B7
Eject 0x299395B7
AppLauncher 0x29B715B7
MultiMon 0x2AB195B7
TaskSwitcher 0x2A9395B7
Mute 0x2B9595B7
Vol_Up 0x28A395B7
Vol_Down 0x28A595B7
Ch_Up 0x289395B7
Ch_Down 0x288795B7
Timer 0x2B8395B7
1 0x28B595B7
2 0x2BB195B7
3 0x28B195B7
4 0x2A8595B7
5 0x299595B7
6 0x2AA595B7
7 0x2B9395B7
8 0x2A8515B7
9 0x2AA115B7
0 0x2BA595B7
ShiftTab 0x28B515B7
Tab 0x29A115B7
MyMovie 0x2B8515B7
MyMusic 0x299195B7
MyPhoto 0x2BA115B7
MyTV 0x28A515B7
Bookmark 0x288515B7
Thumbnail 0x2AB715B7
AspectRatio 0x29A595B7
FullScreen 0x2AA395B7
MyDVD 0x29A295B7
Menu 0x2BA385B7
Caption 0x298595B7
Language 0x2B8595B7
MouseKeyboard 0x299115B7
SelectSpace 0x2A9315B7
MouseMenu 0x28B715B7
MouseRightClick 0x688481B7
Enter 0x28A195B7
MouseLeftClick 0x688301B7
WindowsKey 0x2B8195B7
Backspace 0x28A115B7
Space 0x2B9B15F7
Up 0xEB53F9B7
Left 0x6ABAFFBF
Down 0x6F9ECBB7
Right 0x69A281B7

end codes

end remote
Reply
So i think they ok.
but how should look like Lircmap.xml in XBMC?
My one look like:
Lircmap.xml
Quote:<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml -->
<!-- -->
<!-- How to add remotes -->
<!-- <remote device="name_Lirc_calls_the_remote"> -->
<!-- -->
<!-- For the commands the layout following layout is used -->
<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND> -->
<!-- -->
<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml -->

<lircmap>
<remote device="iMON-PAD">
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Enter</select>
<back>Back</back>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>FastForward</forward>
<reverse>Rewind</reverse>
<pageplus>ChannelUp</pageplus>
<pageminus>ChannelDown</pageminus>
<back>Back</back>
<menu>Menu</menu>
<title>Guide</title>
<info>Info</info>
<skipplus>Skip</skipplus>
<skipminus>Replay</skipminus>
<display>Teletext</display>
<start>Start</start>
<record>Record</record>
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<mute>Mute</mute>
<power>Power</power>
<myvideo>RecordedTV</myvideo>
<mymusic>Music</mymusic>
<mypictures>Pictures</mypictures>
<mytv>LiveTV</mytv>
<mytv>Red</mytv>
<mymusic>Green</mymusic>
<mypictures>Yellow</mypictures>
<myvideo>Blue</myvideo>
</remote>

Can anybody tell me what is wrong?
Reply
Hey!

I just wondered if it is possible to use iMon VFD on windows?

I have searched around in this forum, and made a post (http://forum.xbmc.org/showthread.php?tid=53848)
But havent found any answers yet.

Anyone here who can help?
Reply
klikkamongo Wrote:Hey!

I just wondered if it is possible to use iMon VFD on windows?

That's the easy part! Nod Download and installl iMon/iMedian from the Soundgraph website: http://www.soundgraph.com/Eng_/Supports/...leftMenu=1.

iMedian is Soundgraph's media player software - looks and works OK.

$p00f3r
Reply
odinb Wrote:For Jaunty, I followed (and updated) this guide: https://help.ubuntu.com/community/IMON_VFD_and_LCD

And it worked on first try on a fresh Jaunty install!!

Good luck!

//Odin

Odin - I have fresh install of Jaunty Minimal and followed the guide for the ffdc model. But when I run irw, no output is on the screen. Any suggestions?
Reply
nugentgl Wrote:Odin - I have fresh install of Jaunty Minimal and followed the guide for the ffdc model. But when I run irw, no output is on the screen. Any suggestions?


I finally upgraded to jaunty, so I thought I'd revisit this thread. I tried the method on the Ubuntu community docs site posted on the previous page. I literally had everything up and running in a matter of minutes.

However, I too received no feedback from irw. My solution was to re-record my commands via irrecord as the lircd.conf supplied in the docs did not work for me.

Anyway, it was a very easy fix...

Hope that helps.
Reply
cofin Wrote:Run the following:
Code:
make
sudo make install

I am following your guide but I get stuck at MAKE as it gives me an error at the end. See output snippet for specifics:

Code:
/home/xbmc/lirc_src/lirc/drivers/lirc_imon/lirc_imon.c: In function âimon_incoming_packetâ:
/home/xbmc/lirc_src/lirc/drivers/lirc_imon/lirc_imon.c:1476: error: expected â}â before âelseâ
make[6]: *** [/home/xbmc/lirc_src/lirc/drivers/lirc_imon/lirc_imon.o] Error 1
make[5]: *** [_module_/home/xbmc/lirc_src/lirc/drivers/lirc_imon] Error 2
make[5]: Leaving directory `/usr/src/linux-headers-2.6.28-13-generic'
make[4]: *** [lirc_imon.o] Error 2
make[4]: Leaving directory `/home/xbmc/lirc_src/lirc/drivers/lirc_imon'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/xbmc/lirc_src/lirc/drivers/lirc_imon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/xbmc/lirc_src/lirc/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xbmc/lirc_src/lirc'
make: *** [all] Error 2

Any idea what I am doing wrong?
Reply
cofin Wrote:I finally upgraded to jaunty, so I thought I'd revisit this thread. I tried the method on the Ubuntu community docs site posted on the previous page. I literally had everything up and running in a matter of minutes.

However, I too received no feedback from irw. My solution was to re-record my commands via irrecord as the lircd.conf supplied in the docs did not work for me.

Anyway, it was a very easy fix...

Hope that helps.

Excellent info. So, did you just run:

sudo apt-get install libasound2 libasound2-dev lirc lirc-modules-source

instead of compiling as described for Hardy and Intrepid? What steps did you have to change or modify based on that how-to?

Sorry for the questions, but I am really struggling on this issue and everything out there is geared towards non-Jaunty.
Reply
nugentgl Wrote:Excellent info. So, did you just run:

sudo apt-get install libasound2 libasound2-dev lirc lirc-modules-source

instead of compiling as described for Hardy and Intrepid? What steps did you have to change or modify based on that how-to?

Sorry for the questions, but I am really struggling on this issue and everything out there is geared towards non-Jaunty.

Yes I skipped the Hardy and Intrepid parts and went straight to the Common sections after running the apt-get line.

The only thing I modified that was not on the guide was the lircd.conf (only to reflect the proper codes for my remote).
Reply
cofin Wrote:Yes I skipped the Hardy and Intrepid parts and went straight to the Common sections after running the apt-get line.

The only thing I modified that was not on the guide was the lircd.conf (only to reflect the proper codes for my remote).

OK, I am getting somewhere now.

I re-imaged my installation to before LIRC/LCDPROC was installed and followed the guide again. IRW produced no output. So I used IRRECORD and it created a custom lircd.conf file called test.conf. I then:

sudo mv /etc/lirc/lircd.conf /etc/lirc/lircd.conf.orig
sudo cp ~/test.conf /etc/lirc/lircd.conf

Restarted, ran IRW and now I have output. However, the output is all screwed up. For example, I press Play on the remote and IRW outputs Stop. I press Play again, and it outputs Skip. Sometimes it will output two lines for one button press.

Any clue?
Reply
Oh and I am NOT using the remote that came with the iMON device. I am using an MCE remote (the newer one with red, blue, green, yellow, etc. buttons). This one:

http://www.newegg.com/Product/ShowImage....%20Control
Reply
nugentgl Wrote:OK, I am getting somewhere now.

I re-imaged my installation to before LIRC/LCDPROC was installed and followed the guide again. IRW produced no output. So I used IRRECORD and it created a custom lircd.conf file called test.conf. I then:

sudo mv /etc/lirc/lircd.conf /etc/lirc/lircd.conf.orig
sudo cp ~/test.conf /etc/lirc/lircd.conf

Restarted, ran IRW and now I have output. However, the output is all screwed up. For example, I press Play on the remote and IRW outputs Stop. I press Play again, and it outputs Skip. Sometimes it will output two lines for one button press.

Any clue?

Indeed, you are making progress. At the very least, you know that you setup is working and that it's an IR code issue.

Oops, I didn't see that you had posted twice... I'm going to look at your remote when I get a few free minutes at work.
Reply
I re-imaged again, installed LIRC and ran IRRECORD again to check out the codes from my iMON remote (not the MCE one this time). I then examined the default lircd.conf file that the LIRC installation chose for me (lircd.conf.imon). Well the codes were all wrong. I then examined the lircd.conf.imon-pad file and those codes were correct. So I changed the following in /etc/lirc/lircd.conf:

include "/usr/share/lirc/remotes/imon/lircd.conf.imon"

to:

include "/usr/share/lirc/remotes/imon/lircd.conf.imon-pad"

restarted LIRC, ran IRW and it worked just fine.

This is progress, but just not where I want to be. My family is used to the MCE remotes and I don't want to switch them over now especially b/c the pad on the iMON remote doesn't work unless I patch to LIRC 8.0.5.

I've got to figure out why I am getting random button codes in IRW using MCE remote after I configure it using IRRECORD. Very frustrating.
Reply
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 19

Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO configure Soundgraph iMON VFD/IR Receiver (used by many HTPC chassis)0