View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Feb 23, 2009 9:37 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
NOTE: the R6 based how to is at: http://knoppmyth.net/phpBB2/viewtopic.p ... 259#126259

I was determined to get the IMON/LCD to work on the Antec Fusion Black 430 and I can now confirm it is possible with the very latest LIRC and LCDd components.

This procedure will allow you to have Myth present info on the LCD and for you to use an MCE RC6 based remote with the built in IR sensor. Other remotes may work but I have not tested this.

Included here are the steps you require to make it happen and based on feedback from others on optimizing certain steps I will update this.

Enjoy!
Christ.
============

What you will require:
lirc 0.8.4a or higher
lcdproc 0.5.2 (or higher)
lcdproc-0.5.2-imonlcd-0.3.patch (for lcdproc 0.5.2)
check http://codeka.com/forums/viewtopic.php?f=3&t=22 for latest versions.

I provide examples of the following files after the instructions. I appologize for quoting the files in line below but I couldn't figure out how to attach them yet these files are critical to your success.

/etc/lcdproc/LCDd.conf file (verify /etc/init.d/LCDd has this for config path)
/etc/lirc/hardware.conf (maps device, driver, and conf file)
/etc/lirc/lircd.conf (maps IMON IR codes for LIRC)
/home/mythtv/.mythtv/lircrc (maps lirc tags to myth actions)


PREPARING:
---------------
move the old lirc_imon.ko out of the way or it will interfere with loading the new one:
Code:
mv /lib/modules/2.6.23-chw-4/misc/lirc_imon.ko /lib/modules/2.6.23-chw-4/misc/lirc_imon.ko.old

In part as referenced in the how-to: http://www.knoppmythwiki.org/index.php?page=LIRCHowTo
Code:
cd /usr/src

verify sources point to stable and update apt.
Code:
vi /etc/apt/sources.list
apt-get update

Now get rid of the old stuff:
Code:
apt-get remove lirc lcdproc

Code:
m-a update
m-a prepare

You also need to link the headers to the linux directory:
Code:
ln -s linux-headers-2.6.23-chw-4 linux

Double check that no ".ko" or ".so" files exist for lirc_imon or imonlcd
Code:
find / -name lirc\_imon\* -print
find / -name imonlcd\* -print

If you find some, move them out of the way by adding say ".old" to the file name. But the above procedures should have removed anything.

LIRC:
-------
Get and unpack the latest lirc:
Code:
cd /usr/src
wget http://prdownloads.sourceforge.net/lirc/lirc-0.8.4a.tar.bz2
tar jxvf lirc-0.8.4a.tar.bz2
cd lirc-0.8.4a

Configure it by executing the following and choose "Driver Configuration" then "USB Devices" then "Soundgraph iMON IR/LCD"
Code:
./setup.sh

Now make and install:
Code:
make
make install

Now you can copy the hardware.conf, lircd.conf, and lircrc files to:
Code:
/etc/lirc/hardware.conf
/etc/lirc/lircd.conf
/home/mythtv/.mythtv/lircrc

and modify them as you see fit.


LCD PROC:
--------------
Obtain the latest files:
Code:
cd /usr/src
wget http://internap.dl.sourceforge.net/sourceforge/lcdproc/lcdproc-0.5.2.tar.gz
tar -zxvf lcdproc-0.5.2.tar.gz

For 0.5.2 you will need a patch for the IMON/LCD
Code:
wget http://codeka.com/blogs/imon/lcdproc-0.5.2-imonlcd-0.3.patch

Now let's build, patch, and install
Code:
cd lcdproc-0.5.2
patch -p1 < ../lcdproc-0.5.2-imonlcd-0.3.patch
aclocal
autoconf
automake
./configure --enable-drivers=imonlcd
make
make install

Now you will need to modify /etc/lcdproc/LCDd.conf as follows:

Under [server], change "Driver" to "imonlcd"
Code:
Driver=imonlcd

and "DriverPath" to "/usr/local/lib/lcdproc/" (or whatever is appropriate for you).
Code:
DriverPath=/usr/local/lib/lcdproc/

Next, add a section in the driver section called [imonlcd] with the following contents (contrast of 200 worked well for me but adjust to taste):
Code:
[imonlcd]
Device=/dev/lcd0
Contrast=200

Modify /etc/default/LCDd so that:
Code:
START=yes

and /etc/init.d/LCDd so that:
Code:
DAEMON=/usr/local/sbin/$NAME

Now modprobe the new lirc module:
Code:
modprobe lirc_imon

Now finally, go into Myth and configure it to use the LCD for rmessages (in the set up menus)

Restart your Knoppmyth box and the LCD should light up with the default messages and eventually with the myth information (usually date and time to start).

Myth should also respond to any RC6 MCE remote. I happen to do this via my Harmony 880 but it also worked with the MCE remote that came with my PVR500.

But to be clear even though you use an RC6 remote the codes provided to LIRC do noth resemble RC6 hence the need for a new lircd.conf.


DEFAULT FILES:
-------------------
These are for reference, modify to suit.

/etc/lirc/hardware.conf:

Code:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS="/etc/lirc/lircd.conf"

#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

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0
# udev uses /dev/lirc0 will be automatically used instead
DEVICE="/dev/lirc0"
MODULES="lirc_imon"


/etc/lirc/lircd.conf:
Code:
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

name mceusb_antec_knob
bits 32
eps 30
aeps 100

one 0 0
zero 0 0
gap 203989
toggle_bit_mask 0x8000

begin codes

# Top control buttons
Zoom 0x800F0427
Power 0x800F040C
MyRadio 0x800F0450
MyMusic 0x800F0447
MyPictures 0x800F0449
MyVideos 0x800F044A
RecordedTV 0x800F0448
Guide 0x800F0426
LiveTV 0x800F0425
DVDMenu 0x800F0424

# Player Controls (DVD, VCR, etc)
Play 0x800F0416
Pause 0x800F0418
Stop 0x800F0419
Record 0x800F0417
Rewind 0x800F0415
Forward 0x800F0414
Replay 0x800F041B
Skip 0x800F041A

# Nvigation Buttons
Up 0x800F041E
Left 0x800F0420
Down 0x800F041F
Right 0x800F0421
OK 0x800F0422
Back 0x800F0423
More 0x800F040F

# Standard Controls
VolumeUp 0x800F0410
VolumeDown 0x800F0411
ChannelUp 0x800F0412
ChannelDown 0x800F0413
Mute 0x800F040E
Start 0x800F040D
One 0x800F0401
Two 0x800F0402
Three 0x800F0403
Four 0x800F0404
Five 0x800F0405
Six 0x800F0406
Seven 0x800F0407
Eight 0x800F0408
Nine 0x800F0409
Zero 0x800F0400
Star 0x800F041D
Hash 0x800F041C
Clear 0x800F040A
Enter 0x800F040B

# Lower color buttons
Red 0x800F045B
Green 0x800F045C
Yellow 0x800F045D
Blue 0x800F045E

# Antec Volume Control Knob
KnobCCW 0x01000000
KnobCW 0x00010000
end codes

end remote


/home/mythtv/.mythtv/lircrc:
Code:
# /home/mythtv/.mythtv/lircrc
#
# Media Center Edition Remote Control and Remote Control Keys on Media Center Keyboard
########################################################################################
# For use with the USB MCE ir receiver
# MythTV LIRC config file for the mceusb2 or lirc_mod_mce module

# Info about lircrc statment
#begin
#       prog    = ...     Program controlled, irxevent, irexec, mythtv, mplayer, xine, or others
#       remote  = ...     mceusb, or what ever you happen to have or want to call it
#       button  = ...      remote keys names from your lircd.conf file
#       repeat  = ...     repeat = 2 is fast, repeat = 4 is slower
#       delay   = ...     delay before repeat, 1 is short, 4 is longer
#       config  = ...     output key presses to key bindings editor
#       mode    = ...
#       flags   = ...
#end

# Test your new Lirc settings
#   /etc/init.d/lirc restart    To restart Lirc
#   ctrl-alt-backspace          To restart the frontend

# Updated January 30th 2008 BAK
# for the Knoppmyth project

######################################################## irexec ####################
# the lirc irexec program must be running for this section

# Will perform a complete shutdown
#begin
#       prog = irexec
#       button = Power
#       config =  /usr/bin/sudo halt
#end

#
################################################ Mythtv Section ####################
# MythTV Key Binding Editor     location
# Mythtv Menu >>Utilities / Setup >>Edit Keys
# Key Bindings can also be found in Myth Web

# Record
begin
       prog = mythtv
       button = Record
       config = R
end

# Stop
begin
       prog = mythtv
       button = Stop
       config = Esc
end

# Pause
begin
       prog = mythtv
       button = Pause
       config = P
end

# Rewind (while viewing)
begin
       prog = mythtv
       button = Rewind
       repeat = 0
       delay   = 1
       config = <
end

# Fast forward (while viewing)
begin
       prog = mythtv
       button = Forward
       repeat = 0
       delay   = 1
       config = >
end

# Play
begin
       prog = mythtv
       button = Play
       config = L
end

# Skip backward (1 min default)
begin
       prog = mythtv
       button = Replay
       repeat = 4
       delay   = 4
       config = PgUp
end

# Skip forward (1 min default)
begin
       prog = mythtv
       button = Skip
       repeat = 4
       delay   = 4
       config = PgDown
end

#<><><><><><><><><><><> Mythtv Control <><><><>

# Escape/Exit/Back
begin
       prog = mythtv
       button = Back
       config = Esc
end

# Bring up OSD info
begin
       prog = mythtv
       button = More
       config = I
end

begin
       prog = mythtv
       button = Left
       repeat = 3
       delay   = 4
       config = Left
end

begin
       prog = mythtv
       button = Right
       repeat = 3
       delay   = 4
       config = Right
end

begin
       prog = mythtv
       button = Up
       repeat = 3
       delay   = 4
       config = Up
end

begin
       prog = mythtv
       button = Down
       repeat = 3
       delay   = 4
       config = Down
end

# OK/Select
begin
       prog = mythtv
       button = OK
       config = Return
end

# The Start Button is really just a Menu key
begin
       prog = mythtv
       button = Start
       config = M
end

#<><><><><><><><><><><><><><><>

# Volume-Up
begin
       prog = mythtv
       button = VolumeUp
       repeat = 2
       config = ]
end

# Volume-Down
begin
       prog = mythtv
       button = VolumeDown
       repeat = 2
       config = [
end

# Mute
begin
       prog = mythtv
       button = Mute
       config = |
end

# Channel Up
begin
       prog = mythtv
       button = ChannelUp
       repeat = 3
#       delay   = 1
       config = Up
end

# Channel Down
begin
       prog = mythtv
       button = ChannelDown
       config = Down
       repeat = 3
#       delay   = 1
end

# Numbers 0-9 <><><><><><><><><><><>

begin
       prog = mythtv
       button = One
#       repeat = 2
       config = 1
end

begin
       prog = mythtv
       button = Two
#       repeat = 2
       config = 2
end

begin
       prog = mythtv
       button = Three
#       repeat = 2
       config = 3
end

begin
       prog = mythtv
       button = Four
#       repeat = 2
       config = 4
end

begin
       prog = mythtv
       button = Five
#       repeat = 2
       config = 5
end

begin
       prog = mythtv
       button = Six
#       repeat = 2
       config = 6
end

begin
       prog = mythtv
       button = Seven
#       repeat = 2
       config = 7
end

begin
       prog = mythtv
       button = Eight
#       repeat = 2
       config = 8
End

begin
       prog = mythtv
       button = Nine
#       repeat = 2
       config = 9
end

begin
       prog = mythtv
       button = Zero
#       repeat = 2
       config = 0
end

#<><><><><><><><><><><><><><><><><><><><>
# Seek to previous commercial cut point
# or remove all cut points from the Editing Cutlist
begin
       prog = mythtv
       button = Star
       config = Q
end

# Seek to next commercial cut point
# or add commericial cut points to the Editing Cutlist
begin
       prog = mythtv
       button = Hash
       config = Z
end

# Brings up the delete box
begin
       prog = mythtv
       button = Clear
       repeat = 0
       config = D
end

# Toggle Editing Cutlist on or off
begin
       prog = mythtv
       button = Enter
       repeat = 0
       config = E
end

#<><><><><><><><> Additional Remote Commands <><><><><><><><>
# All buttons in this section must be configured using
# MythTV's KeyBindings JumpPoints editor.
# >>> Utilities/ Setup >>> Edit Keys >>> JumpPoints >>>

# Listen to Myth Music
begin
       prog = mythtv
       button = MyMusic
       config = Ctrl+Alt+M
end

# at this time connects to MythStreem
begin
       prog = mythtv
       button = MyRadio
       config = Ctrl+Alt+S
end

# View Pictures
begin
       prog = mythtv
       button = MyPictures
       config = Ctrl+Alt+P
end

# Watch Videos
begin
       prog = mythtv
       button = MyVideos
       config = Ctrl+Alt+V
end

# Watch Live TV with Live TV Guide open
begin
       prog = mythtv
       button = MyTV
       config = Ctrl+Alt+K
end

# Watch Live TV
begin
       prog = mythtv
       button = LiveTV
       config = Ctrl+Alt+L
end

# Recorded TV Programs
begin
       prog = mythtv
       button = RecordedTV
       config = Ctrl+Alt+R
end

# Program Guide
begin
       prog = mythtv
       button = Guide
       config = Ctrl+Alt+G
end

# Play DVD
# There must be a disk in the DVD drive or it dos nothing
begin
       prog = mythtv
       button = DVDMenu
       config = Ctrl+Alt+D
end

# unused key
#begin
#       prog = mythtv
#       button = Messenger
#       config = Ctrl+Alt+A
#end

# <><><><><><><><><><><><><> Teletext Buttons <><><><><><><><><><><>

# Teletext = Show interactive MHEG screens
begin
       prog = mythtv
       button = Teltext
       config = F7
end

# Red = Red button for interactive screens.
begin
       prog = mythtv
       button = Red
       config = F2
end

# Green = Green button for interactive screens.
begin
       prog = mythtv
       button = Green
       config = F3
end

# Yellow = Yellow button for interactive screens.
begin
       prog = mythtv
       button = Yellow
       config = F4
end

# Blue = Blue button for interactive screens.
begin
       prog = mythtv
       button = Blue
       config = F5
end
#
#
######################################################################### MPlayer Section #####
# "mplayer -input keylist" Prints all keys that can be bound to commands.
# "mplayer -input cmdlist" Prints all commands that can be bound to keys
# "man mplayer" Prints documentation for MPlayer

# Show OSD
begin
       prog = mplayer
       button = OK
       config = osd
end

# Pause playback
begin
       prog = mplayer
       button = Pause
       config = pause
end

# If paused, resume playing
begin
       prog = mplayer
       button = Play
       config = pause
end

# Stop playback and exit
begin
       prog = mplayer
       button = Stop
       config = quit
end

# Volume-Up
begin
       prog = mplayer
       button = VolumeUp
       repeat = 2
       config = volume +1
end

# Volume-Down
begin
       prog = mplayer
       button = VolumeDown
       repeat = 2
       config = volume -1
end

# Mute
begin
       prog = mplayer
       button = Mute
       config = mute
end

# Seek back 60 seconds
begin
       prog = mplayer
       button = Left
       repeat = 2
       config = seek -60
end

# Seek forward 60 seconds
begin
       prog = mplayer
       button = Right
       repeat = 2
       config = seek +60
end

# Seek back 10 seconds
begin
       prog = mplayer
       button = Rewind
       repeat = 2
       config = seek -10
end

# Seek forward 30 seconds
begin
       prog = mplayer
       button = Forward
       repeat = 2
       config = seek +30
end

# Quit
begin
       prog = mplayer
       button = Back
       config = quit
end

# Seek forward 10 minutes
begin
       prog = mplayer
       button = Skip
       repeat = 2
       config = seek +600
end

# Seek backward 10 minutes
begin
       prog = mplayer
       button = Replay
       repeat = 2
       config = seek -600
end

# increase brightness
begin
       button = ChannelUp
       prog   = mplayer
       repeat = 2
       config = brightness +1
end

# decrease brightness
begin
       button = ChannelDown
       prog   = mplayer
       repeat = 2
       config = brightness -1
end

# Toggle full-screen
#begin
#       prog = mplayer
#       button = #???????????????????????????
#       repeat = 2
#       config = vo_fullscreen
#end


######################################################################## XINE Section ##########

# For a compleate list of Xine's Lirc Keybindings use comand
#        xine --keymap=lirc>.lircrc.xine.keybindings
# This creates a file in current directory called ".lircrc.xine.keybindings"
# Note: Xine has diferent sets of keybindings for lirc and keyboard

##  01/14/2008
# xine key bindings.
# Automatically generated by xine-ui version 0.99.6cvs.

#<><><><><><><><><><> Xine Video Movement <><><><>

# start playback
begin
  prog   = xine
  button = Play
  config = Play
end

# playback pause toggle
begin
  prog   = xine
  button = Pause
  config = Pause
end

# stop playback
begin
  prog   = xine
  button = Stop
  config = Stop
end

# take a snapshot
#begin
#   prog   = xine
#   button = Record
#   repeat = 2
#   config = Snapshot
#end

begin
       prog   = xine
       button = Forward
       repeat = 2
#       delay   = 1
       config = SeekRelative+7
end

begin
       prog   = xine
       button = Rewind
       repeat = 2
#       delay   = 1
       config = SeekRelative-7
end

# set position to -60 seconds in current stream
begin
       prog   = xine
       button = Replay
       repeat = 2
       delay   = 1
       config = SeekRelative-60
end

# set position to +60 seconds in current stream
begin
       prog   = xine
       button = Skip
       repeat = 2
       delay   = 1
       config = SeekRelative+60
end
#<><><><><><><><><><><><>Xine Control<><><><><><><><><>

# quit the program
begin
  prog   = xine
  button = Back
  config = Quit
end

#display stream information using OSD
begin
  prog   = xine
  button = More
  config = OSDStreamInfos
end

# menu navigate up
begin
       prog   = xine
       button = Up
       repeat = 2
       delay   = 2
       config = EventUp
end

# menu navigate down
begin
       prog   = xine
       button = Down
       repeat = 2
       delay   = 2
       config = EventDown
end

# menu navigate left
begin
       prog   = xine
       button = Left
       repeat = 2
       delay   = 2
       config = EventLeft
end

# menu navigate right
begin
       prog   = xine
       button = Right
       repeat = 2
       delay   = 2
       config = EventRight
end

# menu select
begin
       prog   = xine
       button = OK
       config = EventSelect
end

# jump to Root Menu
begin
       prog   = xine
       button = Start
       config = Menu
end

#<><><><><><><><><><><><><><><><><><><> Xine Volume / Channel <><><><><><><><>

# increment audio volume
begin
  prog   = xine
  button = VolumeUp
  repeat = 1
  config = Volume+
end

# decrement audio volume
begin
  prog   = xine
  button = VolumeDown
  repeat = 1
  config = Volume-
end

# audio muting toggle
begin
  prog   = xine
  button = Mute
  config = Mute
end

# increase brightness by 10
begin
  prog   = xine
  button = ChannelUp
  config = BrightnessControl+
end

# decrease brightness by 10
begin
  prog   = xine
  button = ChannelDown
  config = BrightnessControl-
end

#<><><><><><><><><><><><><><><><><> Xine Menu <><><><>

# unused key
#begin
#   prog   = xine
#   button = RecordedTV
#   config = ????????
#end

# visibility toggle of stream info window
begin
  prog   = xine
  button = Guide
  config = SetupShow
end

# unused key
#begin
#   prog   = xine
#   button = LiveTV
#   config = ????????
#end

# jump to Title Menu
begin
       prog   = xine
       button = DVDMenu
       config = RootMenu
end

#<><><><><><><><><><><><><><><><><> Xine Stream Position <><><><>

# set position in current stream

begin
       prog   = xine
       button = Zero
       config = SetPosition0%
end

begin
  prog   = xine
  button = One
  config = SetPosition10%
end

begin
  prog   = xine
  button = Two
  config = SetPosition20%
end

begin
  prog   = xine
  button = Three
  config = SetPosition30%
end

begin
  prog   = xine
  button = Four
  config = SetPosition40%
end

begin
  prog   = xine
  button = Five
  config = SetPosition50%
end

begin
  prog   = xine
  button = Six
  config = SetPosition60%
end

begin
  prog   = xine
  button = Seven
  config = SetPosition70%
end

begin
  prog   = xine
  button = Eight
  config = SetPosition80%
end

begin
  prog   = xine
  button = Nine
  config = SetPosition90%
end

#<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

# decrement playback speed (slow motion slowdown)
begin
       prog   = xine
       button = Star
       config = SpeedSlower
end

# increment playback speed (slow motion speedup)
begin
       prog   = xine
       button = Hash
       config = SpeedFaster
end

# reset playback speed
begin
       prog   = xine
       button = clear
       config = SpeedReset
end

# unused key
#begin
#       prog   = xine
#       button = clear
#       config = ?????????
#end

# set position to -30 seconds in current stream         config = SeekRelative-30
# set position to +30 seconds in current stream         config = SeekRelative+30
# eject the current medium                                      config = Eject
# zoom in                                                       config = ZoomIn
# zoom out                                                      config = ZoomOut
# fullscreen toggle                                             config = ToggleFullscreen

##
# End of xine .
##


Last edited by christ on Fri Jan 08, 2010 1:16 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2009 4:35 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Cool man, can you post some pics of the little LCD in action? I've seen this before, but never actually seen them working :p

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2009 7:33 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
I'll try when I get a few minutes. I have to get back to some other home priorities before my family thinks I am totally insane.

basically though:
Power Off: Big clock time which is kept accurate
Power On Idle: date on first line, time on second line

If you go into Myth general set up you will see a page to enable LCD functions and what Myth can provide. it will give you a good idea.

You can see where you are in the menus.

When you play something with the internal player it will cycle the video name, director, etc. It also shows you a progress bar so you can see how far into the video you are. I like that last part!

The LCD does have the ability to show the file type used but I don't think Myth takes advantage of it yet.

A Google search shows a set of screen shots which are similar. My current results are a little different but that may be just me not finding all the levers and switches.

http://mythtvblog.blogspot.com/2008/04/ ... ase-1.html


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 01, 2009 12:37 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
Here is another link that may be useful (video demo) which I found while looking for something else:
http://www.youtube.com/watch?v=8Gul8u0xUjg

This demo is for the VFD as opposed to the LCD and is similar but the LCD tends to have two lines of information for the media playing and things like the progress bar are more sophisticated than on the VFD.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 02, 2009 5:53 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 35
Great sum-up -thanks! The original thread at Codeka got so long that I gave up with it.

The thing is that I have tried installing by the instructions at Codeka -forums, but I had a nasty problem with my lcd. Well, now that I was encouraged to try it once more (thanks to your sum-up), I found that I still have the same problem.

Namely, after unforeseeable amount of time and/or action with the box, my lcd freezes. The only thing that gets the lcd out of 'coma' is removing the power cord from the computer for a few seconds. Sometimes the lcd works for for a day, or two, sometimes it freezes in minutes after the procedure.

I have the Fusion Black 430, and the lcd version is ffdc.

Quote:
Bus 004 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller


Have you had this problem? Do you (or anybody else reading this thread) have any ideas, how I could try to solve the issue?

The lcd freeze is affecting the alsa and lirc system so that if I do NOT remove the power cord, I have no sound, or working remote after a reboot. I am not using the ir-receiver of the imon, but the Hauppauge HVR-1300 -attached one.

I don't know, how much I am about to fight the issue with R5.5, since I'm about to be moving to R6. This issue might still be a good reason NOT to upgrade, since I will be more helpless with the arch-system...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 02, 2009 10:16 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
Strange indeed. It puzzles me that ALSA would be affected unless sound was connected via USB otherwise I don't know what is common.

I have the exact same device ID.

I haven't seen lock ups of the display but I don't usually run my front ends 24/7.

Are you using lirc 0.8.4a and lcdproc 0.5.2 or did you pull them from cvs per codeka? I found bugs in the cvs version that refused to compile.

You could also try 0.8.5pre1 to see if it helps.

It is also possible the device is faulty or connection is flakey.

I've also seen lcdproc complain about getting too much info at once which may point to a bug in myth itself. I get log entries of "huh? too much data... quiet down!". So you may wish to try and disable all tick boxes on myth to see if it is one of the options affecting it; process of elimination.

It is also possible usbhid is interfering and I recall codeka identifying a way to prevent usbhid from trying to own this device.

If you are feeling a little adventurous, you do have the code so you could try and insert debug statements to see if you see anything or run some of the tracing tools. I admit it is awkward though if it fails after a long time. But the lcdproc code itself is not complicated so should be reasonably easy to understand.

All I can think of off the top of my head. Hope it gives you some ideas.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 03, 2009 4:54 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 35
Thank you christ! You do have good ideas. To answer your questions, I have lirc 0.8.4a, and lcdproc 0.5.2 installed, precisely according to your instructions ;) I am by no means capable of altering code, though...

Yesterday, for a change, I had time to dig into this problem. Remembering the principle KISS (and since it was affecting lirc), I decided to remove the HVR-1300 from the system. Like I mentioned, I was using the Hauppauge remote with the IR-receiver of the HVR-1300 -card.

The LCD display has worked flawlessy ever since... Last night, I was watching a previously recorded movie, while recording a new one, the display was rotating record info and time, like expected. The time was still running on it in the morning.

So I guess, the lirc_imon and lirc_i2c modules were not working well together (at least lirc_i2c with HVR-1300). I had doubts already, since the remote was not behaving well. The commands went through for a second, followed by a couple of missed hits on the buttons. When the LCD froze, if I did a warm reboot, there was only one lirc device because the frozen LCD was not recognized. Then the HVR lirc device had a different number, than in /etc/lirc/hardware.conf, and was not working. I've also got an idea why it was affecting ALSA and I have it documented for myself at home, but I can't remember it right now.

All in all, now I seem to have a working LCD but I have no remote :( I guess I have to undust and try my home-made receiver, if the lirc_i2c would be behaving better with it. Another possibility is to find a MCE R6 -compliant remote and put it to work. The other day, I borrowed one to try it, and the IR -codes seemed to go nicely through. It truly is a shame that Antec did not provide the Imon Pad -remote with the case.

I have been very disappointed with the HVR-1300. On paper, it has good features, mainly the s-video in, and a mpeg coder chip. I've been patiently waiting the drivers to mature, but I think this was the last drop. I have to let it go. Luckily, I have two Technisat Airstar 2 -cards, and they are solid.

Thanks again christ, I try to remember and come back with my ideas about ALSA.

BTW, I've also got a self-made optical-out for the mb. I really am better with soldering-iron than with code.. ;)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 03, 2009 7:59 am 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
I'm glad to hear this!

I thought the remote with HVR-1300 media kit was an MCE remote.
http://www.hauppauge.co.uk/site/product ... mckit.html

You'll know better but you may wish to test and see if the IR receiver on the iMon will pick it up anyway. You can use irrecord to verify if it is seeing signals. irw won't be useful unless your conf files are correct.

C


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 03, 2009 8:42 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 35
Quote:
I thought the remote with HVR-1300 media kit was an MCE remote.
http://www.hauppauge.co.uk/site/product ... mckit.html

Wow, things have evolved... My HVR-1300 is some two and a half years old -it was a brand new product, when I bought it. At that time it was delivered with the silver coloured (dog bone?) remote. I have to ask for that MC Remote Kit, if the price would be reasonable. Thanks for pointing it out!

I have tried to read the silver remote with mode2, but nothing gets through. mode2 reads the codes from the MCE Remote, and I think the remote has to use RC6 protocol to work with imon. I also have an OFA (URC-7562) for six devices, but after asking through e-mail, they adviced to teach it -no ready made setups available. I could think of going through the teaching procedure, if I can borrow the MCE again.

Anyway, now I've resolved the most bugging problem (LCD freezing), it's a lot easier to get a working remote for the imon.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu