LinHES Forums
http://forum.linhes.org/

Need some help getting SoundGraph iMON LCD to work
http://forum.linhes.org/viewtopic.php?f=14&t=16172
Page 1 of 1

Author:  firesnatch [ Sun Aug 19, 2007 11:14 am ]
Post subject:  Need some help getting SoundGraph iMON LCD to work

I just bought the Antec Fusion Black case with the SoundGraph LCD display and IR sensor built in. For now, I'm just trying to get the LCD to work with MythTV.

I first installed lcdproc v0.5.2 and set the line 'Driver=imon' and fixed up 'DriverPath' in LCDd.conf.

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

#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 will be
# automatically used instead
DEVICE="/dev/lirc"
MODULES="lirc_dev lirc_pvr150 lirc_imon"


lsmod | grep lirc
Quote:
lirc_imon 14852 0
lirc_pvr150 18616 1
ivtv 208916 5 lirc_pvr150
lirc_dev 15108 2 lirc_imon,lirc_pvr150
i2c_core 19328 39 lirc_pvr150,ivtv,saa7115,msp3400,dvb_ttusb_budget,cx22700,budget_av,td
a10021,budget_ci,budget,s5h1420,budget_core,dvb_ttpci,l64781,tda8083,stv0297,sp8870,ttpci_eeprom,mt312,
dvb_bt8xx,nxt6000,mt352,sp887x,or51211,lgdt330x,dst,tda1004x,ves1820,stv0299,ves1x93,cx24110,bttv,tda98
87,wm8775,cx25840,tuner,tveeprom,i2c_algo_bit,i2c_viapro
firmware_class 10112 15 lirc_pvr150,ivtv,ttusb_dec,dvb_ttusb_budget,budget_av,budget_ci,dvb_tt
pci,sp8870,dvb_bt8xx,sp887x,or51211,tda1004x,bttv,cx25840,pcmcia
usbcore 113156 8 ehci_hcd,lirc_imon,ttusb_dec,dvb_ttusb_budget,usb_storage,ohci_hcd,uhci
_hcd


dmesg | grep imon
Quote:
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: Driver for Soundgraph iMON MultiMedian IR/VFD, v0.3
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: Venky Raju <dev@venky.ws>
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: found IMON device
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: Registered iMON plugin (minor:1)
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: iMON device on usb<3:2> initialized
usbcore: registered new driver lirc_imon
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: imon_disconnect: iMON device disconnected
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: Deregistered iMON plugin (minor:1)
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: found IMON device
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: Registered iMON plugin (minor:1)
/usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: iMON device on usb<3:3> initialized


ls -l /dev/lcd0
Quote:
-rw-r--r-- 1 root root 15 Aug 19 11:38 /dev/lcd0


lsusb
Quote:
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 003: ID 15c2:ffdc
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000


I'm not sure what to try next. /dev/lcd0 looks suspicous to me. Did it get created correctly? If not, I don't know how to fix it. When I try:
echo "hello world" > /dev/lcd0
The display does not change. Right now it just shows some sort of clock with the wrong time on it. I have booted up in windows and the display works OK, so I know it is hooked up correctly and works. Any suggestions would be appreciated. Thanks.

Author:  tjc [ Sun Aug 19, 2007 12:57 pm ]
Post subject:  Re: Need some help getting SoundGraph iMON LCD to work

firesnatch wrote:
ls -l /dev/lcd0
Quote:
-rw-r--r-- 1 root root 15 Aug 19 11:38 /dev/lcd0

I'm not sure what to try next. /dev/lcd0 looks suspicous to me. Did it get created correctly?

Nope, that's a regular file, not a device. For a device the first character would be either 'b' (block) or 'c' (character), not '-'. No idea how you created that, the usual way used to be with the "mknod" command, but I suspect that udev or the device driver should create it for you given the proper setup. Have you looked at LCDd.conf? Also there's a script to setup VFDs somewhere, either setup_imon.sh or vfd_install.sh which only seem to have minor differences...

Searching the forums for VFD and LCD should provide more details.

Author:  firesnatch [ Sun Aug 19, 2007 3:45 pm ]
Post subject: 

I couldn't find either of those scripts that you mentioned on my system. I also googled for them and couldn't find any info. My LCDd.conf looks good. I found another post about how to create /dev/lcd0, so I tried this:

Quote:
mknod -m 666 /dev/lcd0 c 180 144


I'm not sure if the last two parameters are correct. How do I determine what they should be?

If I echo "Test" > /dev/lcd0 nothing shows up on the LCD still. I see this in syslog:

Quote:
Aug 19 16:48:22 mythtv kernel: /usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: VFD port opened
Aug 19 16:48:22 mythtv kernel: /usr/src/lirc-0.8.0pre4-pvr150/drivers/lirc_imon/lirc_imon.c: VFD port closed


Am I trying to do the impossible? The mythtv wiki says that the iMon LCD display is "Currently not supported". Help?

Author:  slowtolearn [ Sun Aug 19, 2007 4:44 pm ]
Post subject: 

firesnatch wrote:
I couldn't find either of those scripts that you mentioned on my system. I also googled for them and couldn't find any info.
That's odd, there used to be a post in either Hardware or Hints & Tips with a script that I posted, but that post seems to be gone now - I created a new one in Hardware, see http://mysettopbox.tv/phpBB2/viewtopic. ... 5351#95351

firesnatch wrote:
Am I trying to do the impossible? The mythtv wiki says that the iMon LCD display is "Currently not supported". Help?
As long as you have the iMON VFD (not the iMON LCD) then the script in the post I pointed you to should get you going.

Last thing - Which version of KnoppMyth are you using?

Author:  firesnatch [ Sun Aug 19, 2007 6:10 pm ]
Post subject: 

Thanks for the script. It looks like it contains everything that I've manually done so far. I'm using R5B7 that I upgraded to Mythtv 0.20. I have the iMon LCD, not the VFD. Will it be impossible to make it work?

Author:  slowtolearn [ Sun Aug 19, 2007 6:47 pm ]
Post subject: 

firesnatch wrote:
Thanks for the script. It looks like it contains everything that I've manually done so far. I'm using R5B7 that I upgraded to Mythtv 0.20. I have the iMon LCD, not the VFD. Will it be impossible to make it work?
I'm not aware of any working iMON LCD drivers, the last I heard of anything for the LCDs was http://venky.ws/forums/viewtopic.php?t= ... d2a5eda711

Here's something from SoundGraph themselves: http://www.soundgraph.com/Eng_/Forum/Fo ... ingLevel=8
Doesn't look promising...

Author:  firesnatch [ Mon Sep 03, 2007 1:53 pm ]
Post subject: 

Hey, I just discovered this link:
http://www.geocities.com/imonapi/

Looks like someone reversed engineered the Windows DLL to control the SoundGraph LCD. Would it be possible to write a Win32 program that loads the DLL and controls the SoundGraph, and then take that program and run it on linux using Wine?

Author:  jmckeown2 [ Mon Sep 03, 2007 3:06 pm ]
Post subject: 

Why don't you try downloading his test executable, and running THAT inside wine with the imon dll?

Author:  firesnatch [ Mon Sep 03, 2007 5:48 pm ]
Post subject: 

Quote:
Why don't you try downloading his test executable, and running THAT inside wine with the imon dll?


It's written using C#... Does Wine support C#?

Author:  bruce_s01 [ Mon Sep 03, 2007 6:55 pm ]
Post subject: 

If it's using C#, why not try using Mono?

Bruce S.

Author:  Bob [ Tue Sep 04, 2007 7:08 pm ]
Post subject: 

Hi,

Take a look on this site web. A solution as emerged.

Link: http://www.mythtv.org/wiki/index.php/Imon#iMON_LCD_.28Liquid_Crystal_Display.29



Good night
Bob

Author:  firesnatch [ Tue Sep 04, 2007 9:03 pm ]
Post subject: 

Bob wrote:
Hi,

Take a look on this site web. A solution as emerged.

Link: http://www.mythtv.org/wiki/index.php/Imon#iMON_LCD_.28Liquid_Crystal_Display.29



Good night
Bob


Awesome! This is what I've been waiting for!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/