View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 37 posts ] 
Go to page Previous  1, 2, 3

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Sat Jun 16, 2007 10:18 am 
Offline
Joined: Mon Jul 04, 2005 2:46 am
Posts: 13
Location: Hobart,Tasmania
Alright, I think I have found the problem.

slowtolearn, your script doesn't seem to be appending the "trailing slash" to DriverPath as it should. Its 2:15 AM here now, and I'm too lazy to look at the code myself, but that seems to be what is happening.

bag, this is what I did to get my imon VFD (from the Antec Fusion case) working after running slowtolearn's script:

Code:
nano -w /etc/LCDd

search for "DriverPath" (Ctrl+w to search in nano)
it'll take you down to a line that looks like this:
Code:
DriverPath=/usr/lib/lcdproc

You need to add a trailing slash to the end to make it look like this:
Code:
DriverPath=/usr/lib/lcdproc/


All you have to do now is reboot, or start the lcdproc daemon and restart mythlcdserver.

btw, slowtolearn, thanks for the script. You saved me lots of time :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 17, 2007 11:17 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
(I thought I had responded to this earlier, but I don't see it now..)

alcatraz_inm8 wrote:
Alright, I think I have found the problem.

slowtolearn, your script doesn't seem to be appending the "trailing slash" to DriverPath as it should. Its 2:15 AM here now, and I'm too lazy to look at the code myself, but that seems to be what is happening.
That's odd, that's what this block is for
Code:
# Problem with DriverPath= not having a trailing slash...
      [ -z "`grep DriverPath=\/usr\/lib\/lcdproc\/ /etc/LCDd.conf`" ] && {
         sed 's~DriverPath=\/usr\/lib\/lcdproc~DriverPath=\/usr\/lib\/lcdproc\/~' /etc/LCDd.conf.save >/etc/LCDd.conf
      }
Worked in my testing, did the script make the Driver=imon change for you?

alcatraz_inm8 wrote:
btw, slowtolearn, thanks for the script. You saved me lots of time :smile:
No problem, that was the intention :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 17, 2007 8:55 pm 
Offline
Joined: Mon Jul 04, 2005 2:46 am
Posts: 13
Location: Hobart,Tasmania
Quote:
Worked in my testing, did the script make the Driver=imon change for you?


The script did everything apart from add the trailing slash :(


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 18, 2007 10:17 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
alcatraz_inm8 wrote:
Quote:
Worked in my testing, did the script make the Driver=imon change for you?


The script did everything apart from add the trailing slash :(
Hmmm, interesting. What version of KM are you using (more specifically, which version of sed)?

I'll reload R5F1 in the next couple days and make sure I didn't get something wrong when I posted the script.

EDIT: I'm an idiot! I just looked at the script I posted, it's not the last version I put together. Not at my boxen right now, I'll post the real version when I get home. (The problem is the sed's are using 2 different files for input and independently writing /etc/LCDd.conf - Workaround is as alcatraz_inm8 stated earlier) /EDIT


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 18, 2007 3:48 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
slowtolearn wrote:
EDIT: I'm an idiot! I just looked at the script I posted, it's not the last version I put together. Not at my boxen right now, I'll post the real version when I get home. (The problem is the sed's are using 2 different files for input and independently writing /etc/LCDd.conf - Workaround is as alcatraz_inm8 stated earlier) /EDIT
OK, I have updated the script on the first page of this post (Monday, June 18 13:45 EDT).


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 04, 2007 9:02 pm 
Offline
Joined: Mon Jun 04, 2007 7:05 pm
Posts: 6
Ok I think I may have made a complete hash of everything. Tried the wiki first and that didn't really work, so had a little google and came across this thread but only after I had a play with the venky patch which I now realise isn't needed with the newer version of lcdproc.

So - am running R5F1 (and using the imon that comes with an antec fusion case), tried the wiki with lcdproc 5.2 everything seemed to be ok until I tried to send a message to /dev/lcd0 - nothing appeared.

dmesg | grep imon indicated some error so thats where I went on to try the venky patch

now I get

Code:
imon_probe: lirc_register_plugin failed
lirc_imon: probe of 2-8:1.0 failed with error -12


and after trying slowtolearns script nothing much has changed

apart from after the initial reboot after following the wiki /dev/lcd0 dissapeared and the /dev/lcd0 now when I try output to it I get

bash: /dev/lcd0: No such device

any pointers greatly appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 05, 2007 10:30 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Blacksheep wrote:
...and after trying slowtolearns script nothing much has changed

apart from after the initial reboot after following the wiki /dev/lcd0 dissapeared and the /dev/lcd0 now when I try output to it I get

bash: /dev/lcd0: No such device

any pointers greatly appreciated.
Well, first thing is you will need a device node to communicate through - Try (as root)
Code:
rmmod lirc_imon
mknod /dev/lcd0 c 180 144
chmod 666 /dev/lcd0
modprobe lirc_imon
echo "Test" >/dev/lcd0

Let me know what that gets you...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ] 
Go to page Previous  1, 2, 3



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu