Silverstone GD01 MXR LCD Problem (imon)

Linux support for Soundgraph iMON USB IR/VFD modules used in Ahanix, Silverstone, Uneed, Accent and other cases.

Moderator: Venky

Nelvin
Posts: 5
Joined: Sun Jan 07, 2007 6:26 am

Silverstone GD01 MXR LCD Problem (imon)

Post by Nelvin » Thu Jan 11, 2007 4:34 am

Hello Imon-Users,

Few days ago i bought me a new case (http://www.silverstonetek.com/products-gd01mx.htm). It has a little LCD-Display, which i try to use.

lsusb give me this informations:

15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller

It is an imon-device. So i compile lirc with imon support and install it.

After modprobe lirc_imon i found in syslog:
Jan 6 14:50:01 LinuxVDR2 kernel: lirc_dev: IR Remote Control driver registered,
at major 61
Jan 6 14:50:01 LinuxVDR2 kernel: /var/tmp/portage/lirc-0.8.1_pre5/work/lirc-0.8
.1pre5/drivers/lirc_imon/lirc_imon.c: Driver for Soundgraph iMON MultiMedian IR/
VFD, v0.3
Jan 6 14:50:01 LinuxVDR2 kernel: /var/tmp/portage/lirc-0.8.1_pre5/work/lirc-0.8
.1pre5/drivers/lirc_imon/lirc_imon.c: Venky Raju <dev@venky.ws>
Jan 6 14:50:01 LinuxVDR2 kernel: /var/tmp/portage/lirc-0.8.1_pre5/work/lirc-0.8
.1pre5/drivers/lirc_imon/lirc_imon.c: imon_probe: found IMON device
Jan 6 14:50:01 LinuxVDR2 kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
Jan 6 14:50:01 LinuxVDR2 kernel: /var/tmp/portage/lirc-0.8.1_pre5/work/lirc-0.8
.1pre5/drivers/lirc_imon/lirc_imon.c: imon_probe: Registered iMON plugin (minor:
0)
Jan 6 14:50:01 LinuxVDR2 kernel: /var/tmp/portage/lirc-0.8.1_pre5/work/lirc-0.8
.1pre5/drivers/lirc_imon/lirc_imon.c: imon_probe: iMON device on usb<2:2> initia
lized
Jan 6 14:50:01 LinuxVDR2 kernel: usbcore: registered new driver lirc_imon
Okay, the device was recognized and ready to use (/dev/lcd0 exists)

Now i tried mode2 from the lirc package to test the remote.

Test successful!

After this, i test the LCD-Display with

echo "Hello VDR" >/dev/lcd0

Test not successful!


Syslog give me this informations
Jan 6 14:56:50 LinuxVDR2 kernel: /var/tmp/portage/lirc-0.8.1_pre5/work/lirc-0.8
.1pre5/drivers/lirc_imon/lirc_imon.c: VFD port opened
Jan 6 14:56:50 LinuxVDR2 kernel: /var/tmp/portage/lirc-0.8.1_pre5/work/lirc-0.8
.1pre5/drivers/lirc_imon/lirc_imon.c: VFD port closed
Did i something wrong? Can somebody help me?

System:
Gentoo mit 2.6.17-r8 Kernel
lirc-0.8.1_pre5

Nelvin
Posts: 5
Joined: Sun Jan 07, 2007 6:26 am

Re: Silverstone GD01 MXR LCD Problem (imon)

Post by Nelvin » Sun Jan 14, 2007 3:31 am

Nobody with the same problem?

Nelvin

Phil
Posts: 8
Joined: Fri Jan 19, 2007 2:42 pm
Location: France

Post by Phil » Tue Jan 23, 2007 1:51 am

Hello Nelvin,

i've got same problem, but i don't have same logs.

My HTPC :
Silverstone GD01 MXR
MythTV 0.20
Linux Debian sid with Kernel 2.6.19.2
lirc-0.8.2
lcdproc-0.5.1

i compile lirc with imon support and install it as you, no problem. The remote controller works fine.

the device /dev/lcd0 is created, but i can't have anything on the VFD and no logs anywhere.
syslog give no information about VFD.

is there something to include in the Kernel ?

I try the VFD under Window Media center and it works.

Have you found some informations since your last message ?

Phil

Scorpuk
Posts: 30
Joined: Fri Jul 07, 2006 3:24 am
Location: Scotland

Post by Scorpuk » Tue Jan 23, 2007 4:17 am

Do either of you get error messages when you try and echo information to /dev/lcd0?


Do the following and post results here please:

Code: Select all

ls /dev/lcd* -l

--------------------------------------------------------------------

This is just to find out the permissions on the lcd0 file.

On my box I get the following:
crw-rw-rw- 1 root root 180, 144 2007-01-19 10:07 /dev/lcd0
but thats becuase I change the permissions at start-up with:

Code: Select all

chmod 666 /dev/lcd0

If you don't have permission to write to the file then you cannot pass information to it to display on the VFD. Since installation would have been through the root / superuser account the permission for this file will always be read only for everyone else.


I know my OS is a different distribution, ubuntu 6.10, but your problem maybe the same. Just a thought.

Phil
Posts: 8
Joined: Fri Jan 19, 2007 2:42 pm
Location: France

Post by Phil » Tue Jan 23, 2007 11:09 am

Hello Scorpuk,

OK, I 've done all again from the beginning :

1> compile lirc-0.8.2 with driver for imon_pad

2> install it and configure lircd.conf

3> create /dev/lcd0

Code: Select all

mknod -m 666 /dev/lcd0 c 180 144
4> install modules and start daemon :

Code: Select all

modprobe lirc_dev
modprobe lirc_imon
lircd
5> test the remote controller with MythTV -> OK


6> test VFD

Code: Select all

echo "Hello" > /dev/lcd0
result : nothing on the VFD

logs in syslog:
Jan 23 19:45:52 mediacenter kernel: /usr/src/lirc/drivers/lirc_imon/lirc_imon.c: VFD port opened
Jan 23 19:45:52 mediacenter kernel: /usr/src/lirc/drivers/lirc_imon/lirc_imon.c: VFD port closed
no error message, i don't understand.
I don't think it's a problem of permission:

Code: Select all

mediacenter:/usr/src/lcdproc-0.5.1# ls /dev/lcd* -l
crw-rw-rw- 1 root root 180, 144 2007-01-23 19:44 /dev/lcd0

Scorpuk
Posts: 30
Joined: Fri Jul 07, 2006 3:24 am
Location: Scotland

Post by Scorpuk » Wed Jan 24, 2007 2:12 am

Phil

Have you tried lcdproc yet to see if that outputs anything to your VFD?


I think you have to run LCDd first so would do the following:

Code: Select all

LCDd

lcdproc T
The T should make lcdproc show the time.

Infact once you run LCDd you should get some information on the VFD showing how many clients are conencted and how many screens are running (0 and 0 of course). Well I'm pretty :roll:

Phil
Posts: 8
Joined: Fri Jan 19, 2007 2:42 pm
Location: France

Post by Phil » Wed Jan 24, 2007 3:41 am

Yes i have tried to use lcdproc :

- configure LCDd.conf
- start LCDd
- use lcdproc with differents parameters

...and always nothing on the VFD !!

do you have the same case ? (with the same VFD)

I wonder if the kernel would miss a necessary module.

Another strange thing, when i shutdown the system, the VFD stays on.
When i tried under windowsXP, the VFD went off when I shutdown the system and the VFD was working without problem

I become crazy with this driver. I don't have any more idea.
I will try to add trace in the source to understand what's happening.

Phil
PS: sorry for my poor english...lol

Scorpuk
Posts: 30
Joined: Fri Jul 07, 2006 3:24 am
Location: Scotland

Post by Scorpuk » Wed Jan 24, 2007 4:14 am

My case is the Silverstone LC11M which has a different VFD than yours.


I'm not exactly sure if the new style of VFD is compatible with the driver for the old style. Maybe this is the problem you are having...


There isn't much detail on Silverstonetek's website as to the new style of VFD.


Hopefully someone with a little more technical background can shed some light on this...
Last edited by Scorpuk on Wed Jan 24, 2007 8:57 am, edited 1 time in total.

Phil
Posts: 8
Joined: Fri Jan 19, 2007 2:42 pm
Location: France

Post by Phil » Wed Jan 24, 2007 4:40 am

Thank you for your help Scorpuk.

Nelvin do you have some news on the subject ?

somebody else ?

Phil
Posts: 8
Joined: Fri Jan 19, 2007 2:42 pm
Location: France

Post by Phil » Wed Jan 24, 2007 5:11 am

I made a mistake :
On the silverstone GD01 MXR, it's not a VFD but a LCD.

So it's not the same display as the other Silverstone products.

I'm afraid that actual linux drivers don't works whith it !!!! :?

Venky, is there plans to update drivers for this display ??

:!: :!: Heeeelp :!: :!:

Nelvin
Posts: 5
Joined: Sun Jan 07, 2007 6:26 am

Post by Nelvin » Thu Jan 25, 2007 1:30 am

Hello Guys,

i didn´t have any news...

I will now install vmware with winxp on it and try do debug some usb informations.

Do you need some special things, Venky?

Nelvin

Phil
Posts: 8
Joined: Fri Jan 19, 2007 2:42 pm
Location: France

Post by Phil » Thu Jan 25, 2007 5:56 am

Good idea Nelvin,

I have a hard drive with Windows XP i can plug in my GD01.
so I can capture some USB trace with USB monitor... if it can help to update Linux Imon drivers.

I can do that tomorrow evening.

Phil

Nelvin
Posts: 5
Joined: Sun Jan 07, 2007 6:26 am

Post by Nelvin » Sat Feb 03, 2007 2:14 am

Hello Phil,

i have to write next days a lot of exams, so i can´t help you in the next 2 weeks! But i will help after this.

Do you have any success?

Phil
Posts: 8
Joined: Fri Jan 19, 2007 2:42 pm
Location: France

Post by Phil » Tue Feb 06, 2007 5:13 am

Hi Nelvin,

I had a try with USBmonitor on Windows XP, but there is too much data and i don't know USB protocol !!

Venky told me that LCDproc may support this display with minors modifications. so we should look in this way.

We'll can discuss about that when your exam will be over.

m3s3lf
Posts: 8
Joined: Fri Apr 13, 2007 12:39 pm

Post by m3s3lf » Fri Apr 20, 2007 10:02 am

I'm having the same problem. All signs suggest that the OEM LCD is not supported in Linux yet. If we get enough people to post over on the SoundGraph site, maybe they will help out.
http://www.soundgraph.com/Eng_/Forum/Fo ... cStateId=1

Post Reply