View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 21 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue May 15, 2007 8:59 pm 
Offline
Joined: Thu Sep 08, 2005 4:46 pm
Posts: 89
Hi,

Just to say that i make the move to R5F1. The upgrade was smooth without any problem. Thanks Cecil and team. Great work again!

But i was also waiting this new release to activate my remote control. I'm a Linux newbie and i don't know where to start. As a good member of this forum a made a lot of reading but i'm totally screwed up with all the info (some are also very old).

-Do i need the sources?
-Do i need to recompile LIRC?
-Do i need to uninstall and install the CVS of LIRC?
-Do i need a special patch for this remote?
-Can someone with this remote write me the receipe with a detailed code?

Thanks for helping
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 15, 2007 11:41 pm 
Offline
Site Admin
Joined: Fri Oct 31, 2003 11:40 pm
Posts: 357
Location: Irvine, Ca
What type of remote do you have?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 5:35 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
A quick search pulled this up, does it help? http://mysettopbox.tv/phpBB2/viewtopic. ... mon+remote


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 10:37 am 
Offline
Joined: Thu Sep 08, 2005 4:46 pm
Posts: 89
Hi Dale and slowtolearn,

My case is the Silverstone GD01-MX. Nice Case. There is no driver yet for the LCD but i know the remote should work.

The remote control is:
Hardware = Soundgraph iMON PAD IR/VFD imon_pad

I tried the code from your quick search. I have almost the same LSMOD output but i have lirc_i2c too. How to remove unecessary module?

Code:
root@mythtv:/dev# lsmod | grep lirc
lirc_imon              16260  0
lirc_i2c               12420  0
lirc_dev               16628  2 lirc_imon,lirc_i2c
i2c_core               20864  25 nvidia,i2c_ec,cx88_vp3054_i2c,saa7134_dvb,dvb_pll,saa7134,ir_kbd_i2c,tda1004x,dvb_bt8xx,cx88xx,bttv,lirc_i2c,wm8775,cx25840,lnbp21,stv0299,ivtv,saa7115,msp3400,tuner,i2c_algo_bit,dvb_ttpci,tveeprom,ttpci_eeprom,i2c_i801
usbcore               111364  7 lirc_imon,ohci_hcd,ehci_hcd,usb_storage,usbhid,uhci_hcd


I'm curently at the job so i will try this config tonight. I will give you some feedback.

Thanks
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 8:39 pm 
Offline
Joined: Thu Sep 08, 2005 4:46 pm
Posts: 89
I still have problems

The remote is not working. Look at this result in dmesg and see if there is some error.

Code:
root@mythtv:/home/bob# dmesg | grep -e 'lirc'
ivtv-fb: no cards foundlirc_dev: IR Remote Control driver registered, at major 61
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: Driver for Soundgraph iMON MultiMedian IR/VFD, v0.3
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: Venky Raju <dev@venky.ws>
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: found IMON device
lirc_dev: lirc_register_plugin: sample_rate: 0
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: Registered iMON plugin (minor:0)
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: iMON device on usb<4:2> initialized
usbcore: registered new driver lirc_imon
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: IR port opened
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: IR port closed



EDIT: MAke some progress. With this command i can see that the remote is working. But no reaction in mythtv.
Code:
root@mythtv:/home/bob# mode2 -d /dev/lirc0
code: 0xffffffff
code: 0x28b595b7
code: 0x28b5d5b7
code: 0x2bb195b7
code: 0x2bb1d5b7
code: 0x28b195b7
code: 0x28b1d5b7



Thanks
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 19, 2007 3:52 pm 
Offline
Joined: Mon Mar 12, 2007 1:47 pm
Posts: 25
Bob,

I have the same problem as you. I have installed and it seems to work.

I can run

Code:
mode2 -d /dev/lirc0


and then it shows me the codes as I press keys on the imon pad remote. But I can't seem to get the front end to pick it up...

Have you succeeded yet? And if so, what did you do?

I know I can't be far off - if the remote is working, the receiver can collect and interpret the codes then what's left to do?

must only be ensuring that the codes get translated against the lircd.conf file and that the commands then get used by the front end...

But this is where I'm stuck.

If anyone out there has any ideas on how to get my shiny new R5F1 install to pick up the signals then I'd be grateful.

for info - another post: http://mysettopbox.tv/phpBB2/viewtopic.php?t=13532&highlight=imon+remote

claimed that all he had to do was to adjust the /etc/hardware.conf file... but I don't seem to have one... has it been removed in R5F1?

Any help is gratefully received....

thanks,

bag.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 19, 2007 4:22 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
bag wrote:
I know I can't be far off - if the remote is working, the receiver can collect and interpret the codes then what's left to do?
In theory, once irw/irrecord shows that the lirc device is receiving signals, all that should be required is configuring lircd.conf and an lircrc file. See http://www.knoppmythwiki.org/index.php?page=LIRCHowTo , towards the bottom where it says
Quote:
Last thing... lirc uses two services, and two files to work.


bag wrote:
claimed that all he had to do was to adjust the /etc/hardware.conf file... but I don't seem to have one... has it been removed in R5F1?
I haven't installed R5F1 so I'm not sure. If you compile lirc from source I think you lose the original contents of /etc/lirc. This post doesn't reveal a solution, but will give you ideas on what to look at http://mysettopbox.tv/phpBB2/viewtopic.php?t=14944


Top
 Profile  
 
 Post subject: Thanks for your help....
PostPosted: Sat May 19, 2007 5:22 pm 
Offline
Joined: Mon Mar 12, 2007 1:47 pm
Posts: 25
Thanks Slowtolearn... I'm almost there.

I can now use the remote - but the lircrc file is not perfect - needs work.

So, here's what I did.

From this post -

http://mysettopbox.tv/phpBB2/viewtopic.php?t=13532&highlight=imon+remote

i gleaned that the hardware.conf file needed looking at. Whilst I had downloaded and installed from source, the hardware.conf file was in:

/etc/lirc/hardware.conf and not in /etc/hardware.conf as suggested in that post.

Once I'd found it and updated it I felt much better.

That and a lircrc file downloaded from here: http://jonobacon.org/files/mythtv/lircrc

and put in the right place, a reboot later and it seems to work. Straight into the mythTV front end and the remote works for some of the commands. I'll work on it later and see if I can't get it updated a bit... Don't count on it being too soon though - i need some beauty sleep and there are other things to solve yet - such as the VFD issue...

Anyway - many many thanks for pointing me in the right direction - i really appreciate it.

Thanks.

Bag.


Top
 Profile  
 
PostPosted: Sun May 20, 2007 7:02 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
bag wrote:
Thanks Slowtolearn... I'm almost there.

I can now use the remote - but the lircrc file is not perfect - needs work.
They usually do on the first few go-arounds :wink:

bag wrote:
Anyway - many many thanks for pointing me in the right direction - i really appreciate it.
No problem, good luck with it.


Top
 Profile  
 
 Post subject: Yeah!!
PostPosted: Sun May 20, 2007 12:20 pm 
Offline
Joined: Thu Sep 08, 2005 4:46 pm
Posts: 89
Hi,

Thanks for your input.

I'm at the same step then you. I was using a wrong lircrc file. when i put the one from your link and reboot, some function of the remote start working.

For now, we have to use a better lircr. After we can ask Cecil to include these setting in the next knoppmyth release to automate the imon remote installation.

If you have a good lircr file to share with us please post it here.

For the VFD (check if it's a reel VFD and not a LCD), i spend a lot of time to figure out but there is no driver for the LCD imon. Nothing to do for now . You can find driver for the VFD imon on the Venky.

Thanks again to Slowtolearn and Bag
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 20, 2007 12:32 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Bob and bag, have you tried the config files posted here? http://www.gossamer-threads.com/lists/m ... ers/144252


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 20, 2007 1:16 pm 
Offline
Joined: Mon Mar 12, 2007 1:47 pm
Posts: 25
Slowtolearn - thanks for that. Looks promising... the main problem with the remote is the 'joystick' thing that could give up/down/left/right or mouse control... It seems to cause some problems...

Two things...

Once I download it - how do i patch it with the patch file there? I'm still a newbie on this - so could do with some guidance on the commands to use to patch the file.

Secondly, I take it that for the files available on that page I need to replace them all in my system...?? Can you confirm?

Thanks.

Bag.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 20, 2007 1:47 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
bag wrote:
Slowtolearn - thanks for that. Looks promising... the main problem with the remote is the 'joystick' thing that could give up/down/left/right or mouse control... It seems to cause some problems...

Two things...

Once I download it - how do i patch it with the patch file there? I'm still a newbie on this - so could do with some guidance on the commands to use to patch the file.

Secondly, I take it that for the files available on that page I need to replace them all in my system...?? Can you confirm?

Thanks.

Bag.
I would start with just the lircd.conf and lircrc files and see if you get the reaction you want. You have to replace the existing ones on your system (back up the originals first!)

Note that the post I referenced is almost 2 years old, so the code changes may already be in your system. BTW, I gave up on the IR receiver/iMON remote that came with my LC10M because the remote was very slow and often missed key presses. The serial receivers at irblaster.info coupled with Harmony remotes are well worth the money, IMHO.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 20, 2007 2:52 pm 
Offline
Joined: Mon Mar 12, 2007 1:47 pm
Posts: 25
slowtolearn - thanks.

Back to where i was previously - it works, but of a fashion. i'll stop there for the moment - although I'd really like to get the thing working. It's so nice to have an internal IR receiver built next to the VFD - it's what i paid the money for... so I'll keep trawling for info on how to get the 'joystick' pad thing working...

I might try to have a play around with the lircrc file and see if I can't improve it a little - try to get it working a bit better. I did download a preconfigured file that I completed on the web at: http://lircconfig.commandir.com/ but it didn't seem to work as well... Can't work out why...

I'll have a trawl around and see if there's info about what can and can't be done, whether several buttons can have the same action etc etc...

** just remembered - that patch file on the link you left me (http://www.gossamer-threads.com/lists/mythtv/users/144252

- it talks about getting the whole remote working perfectly. One last thing then - how do I patch the file I downloaded with the patch? I'll give that a go and let you know how I get on...

many thanks for your help.

Mark.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 20, 2007 3:26 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
bag wrote:
** just remembered - that patch file on the link you left me (http://www.gossamer-threads.com/lists/mythtv/users/144252

- it talks about getting the whole remote working perfectly. One last thing then - how do I patch the file I downloaded with the patch?
I honestly don't know, I'm quite the amateur when it comes to patching files. You would need the C code from that post, then use something along the lines of
Code:
patch < urb.patch
to patch the code, then compile lirc as noted in the Wiki.

Again, I'm not using this configuration so it's simply a best-guess...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu