Got IR and RM working in linux
Moderator: Moderators
Hi Lurker.
I added a "step by step" guide to doing this at the PCLinuxOS site, but it should apply equally to any version of Linux.
http://www.pclinuxos.com/forum/index.php?topic=12436.0
Hope this helps.
EDIT: Due to the site going down some time ago, this topic is no longer there.
I added a "step by step" guide to doing this at the PCLinuxOS site, but it should apply equally to any version of Linux.
http://www.pclinuxos.com/forum/index.php?topic=12436.0
Hope this helps.
EDIT: Due to the site going down some time ago, this topic is no longer there.
Last edited by davecs on Mon Aug 11, 2008 9:08 am, edited 1 time in total.
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Got my interest peaked in getting excel to work under linux. Will some on windows test this file http://www.hifi-remote.com/forums/dload ... le_id=3962
to be sure the upgrade made with km in linux loads right in km in windows. I will test it later when I get back to my windows computer. A screen-shot of where I am at so far will come in a bit.
Loaded a picture here http://www.hifi-remote.com/forums/dload ... le_id=3963 to view. I will take it down and put on my server later today when I get home.
Note.. This is on knoppix 501 installed from live dvd.
to be sure the upgrade made with km in linux loads right in km in windows. I will test it later when I get back to my windows computer. A screen-shot of where I am at so far will come in a bit.
Loaded a picture here http://www.hifi-remote.com/forums/dload ... le_id=3963 to view. I will take it down and put on my server later today when I get home.
Note.. This is on knoppix 501 installed from live dvd.
-
Mark Pierson
- Expert
- Posts: 3018
- Joined: Sun Aug 03, 2003 12:13 am
- Location: Connecticut, USA
- Contact:
The file loaded fine for me in KM 9.06.whompus wrote:Will some on windows test this file http://www.hifi-remote.com/forums/dload ... le_id=3962
to be sure the upgrade made with km in linux loads right in km in windows.
Mark
Sorry for the mis-quote there. This is version 4 not 5. Version 4 02 I think.Note.. This is on knoppix 501 installed from live dvd.
Lurker if you are running the newer kernel there seems to be many people having trouble getting both com and lpt ports working in wine, right with it. Maybe search through faq and forums at winehq.
Got it sorted.
You have to make sure ppdev module is compiled in your kernel. And also turn off any servers that are accessing the printer port. Cups is the main one to worry about.
If you then want to print from the linux system you will have to setup the printer in the old fashioned way, to not want to use cups.
You have to make sure ppdev module is compiled in your kernel. And also turn off any servers that are accessing the printer port. Cups is the main one to worry about.
If you then want to print from the linux system you will have to setup the printer in the old fashioned way, to not want to use cups.
When you say ppdev compiled in your kernel, do you mean not as a module? In the jump from PCLinuxOS 0.93a to 2007 Test Releases, I have lost the ability to upload and download to the remote. I have ensured that parport, parport_pc and ppdev modules are loaded.
My only printer is USB. Do I have to switch off CUPS to prevent interference, or is there a module which I can blacklist to ensure that CUPS never looks for a printer on the parallel port whilst allowing the other stuff.
Is it a kernel jump that has made the difference? I really cannot fathom why what worked before has stopped working.
My only printer is USB. Do I have to switch off CUPS to prevent interference, or is there a module which I can blacklist to ensure that CUPS never looks for a printer on the parallel port whilst allowing the other stuff.
Is it a kernel jump that has made the difference? I really cannot fathom why what worked before has stopped working.
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
OK I seem to have it going again. The new version of PCLOS resets the /dev/parport0 device's permissions on every boot, so I had to add this line to /etc/rc.d/rc.local:
chmod 0666 /dev/parport0
Now it works!
BTW if anyone wants to try out Linux, PCLinuxOS 2007 is the best yet!
chmod 0666 /dev/parport0
Now it works!
BTW if anyone wants to try out Linux, PCLinuxOS 2007 is the best yet!
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
Huh! The change of permissions didn't survive a reboot.davecs wrote:OK I seem to have it going again. The new version of PCLOS resets the /dev/parport0 device's permissions on every boot, so I had to add this line to /etc/rc.d/rc.local:
chmod 0666 /dev/parport0
Now it works!![]()
BTW if anyone wants to try out Linux, PCLinuxOS 2007 is the best yet!
I think I've solved the problem, you have to, as root, go into the User and Passwords control, and add the user to the group "lp".
URC7560/URC7562, URC8910, URC7980, URC6440/OARUSB04G and URC3661
For those of you running Linux, RM v1.81 includes an update to RMIR that has support for {up/down}loading JP1.x and JP1 (parallel port) remotes on Linux. It was coded and tested on Ubuntu 7.04, and I am no expert, but I can't think of any reason it wouldn't work on other distributions.
Note that RMIR is still not ready for prime time, but I think there is enough there that it would be worth it for you guys to try it out. It might even convince you to join the coding effort
I did not use /dev/port or /dev/parport0. I used this method to access the parallel port, which means RM must be run as a superuser. In order to do that, I've added two shell scripts (rmaster.sh and rmir.sh) which launch java through gksudo.
If that doesn't work on your preferred distribution, you can just change those scripts.
Switching to using /dev/port would be very simple from a coding perspective, but I am not sure that it would be any better to grant read/write access to /dev/port than it is to use gksudo.
Do you Linux users have any thoughts on this?
Note that RMIR is still not ready for prime time, but I think there is enough there that it would be worth it for you guys to try it out. It might even convince you to join the coding effort
I did not use /dev/port or /dev/parport0. I used this method to access the parallel port, which means RM must be run as a superuser. In order to do that, I've added two shell scripts (rmaster.sh and rmir.sh) which launch java through gksudo.
If that doesn't work on your preferred distribution, you can just change those scripts.
Switching to using /dev/port would be very simple from a coding perspective, but I am not sure that it would be any better to grant read/write access to /dev/port than it is to use gksudo.
Do you Linux users have any thoughts on this?
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
It works! Thank you so much! I have been unable to reprogram my remote since I upgraded to Linux over a year ago.
gfb107 wrote:For those of you running Linux, RM v1.81 includes an update to RMIR that has support for {up/down}loading JP1.x and JP1 (parallel port) remotes on Linux. It was coded and tested on Ubuntu 7.04, and I am no expert, but I can't think of any reason it wouldn't work on other distributions.
Note that RMIR is still not ready for prime time, but I think there is enough there that it would be worth it for you guys to try it out. It might even convince you to join the coding effort![]()
I did not use /dev/port or /dev/parport0. I used this method to access the parallel port, which means RM must be run as a superuser. In order to do that, I've added two shell scripts (rmaster.sh and rmir.sh) which launch java through gksudo.
If that doesn't work on your preferred distribution, you can just change those scripts.
Switching to using /dev/port would be very simple from a coding perspective, but I am not sure that it would be any better to grant read/write access to /dev/port than it is to use gksudo.
Do you Linux users have any thoughts on this?
Lurker, just out of curiosity, what Linux distribution are you using?
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)