New version of JP1.2 serial driver - testing needed!
Moderator: Moderators
New version of JP1.2 serial driver - testing needed!
Hello all,
The JP1.2/JP1.3 serial driver has, in the past, been modified to work with various tools and operating systems.
I have attempted to combine all of the modifications necessary to make the .dll/.so compatible with both IR and RM-IR and Windows/Linux.
I have tested as much as I can, but I only have one type of remote (Atlas OCAP 1056) and one interface (Tommy USB).
Please try the driver below with your setup, and let me know if it works for you, and what your configuration is:
http://www.hifi-remote.com/forums/dload ... le_id=6430
Thanks!
xnappo
The JP1.2/JP1.3 serial driver has, in the past, been modified to work with various tools and operating systems.
I have attempted to combine all of the modifications necessary to make the .dll/.so compatible with both IR and RM-IR and Windows/Linux.
I have tested as much as I can, but I only have one type of remote (Atlas OCAP 1056) and one interface (Tommy USB).
Please try the driver below with your setup, and let me know if it works for you, and what your configuration is:
http://www.hifi-remote.com/forums/dload ... le_id=6430
Thanks!
xnappo
xnappo, where's the updated Linux library? I expected it to be included in this zip file.
-- 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)
xnappo,
The new dll/.so seems to be missing the function Java_com_hifiremote_jp1_io_JP12Serial_getPortNames( JNIEnv *env, jobject jobj )
The new dll/.so seems to be missing the function Java_com_hifiremote_jp1_io_JP12Serial_getPortNames( JNIEnv *env, jobject jobj )
-- 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)
True - I left the port searching the way it was in 0.10. It seems to work for me like that. If you need that function for something in RM-IR I can try putting it back in the way you had it along with the isPortAvailable function.gfb107 wrote:xnappo,
The new dll/.so seems to be missing the function Java_com_hifiremote_jp1_io_JP12Serial_getPortNames( JNIEnv *env, jobject jobj )
[EDIT] I just tried, and I can get those functions back in - but where are they used?
xnappo
Those functions are both used in RMIR when the user wants to specify the port the remote is connected to (Remote -> Interface -> (comm method)) instead of letting the comm library search.
A dialog pops up showing the list of available ports known to the comm library, allowing the user to choose one. The user can also choose Other and enter the desired port. This is particularly useful for JP1.X Serial on Linux cause different distributions have different names for the serial ports and especially for the USB serial ports.
It is also needed for the parellel port comm library if the user has added a parallel port card that uses a non-standard I/O port range.
A dialog pops up showing the list of available ports known to the comm library, allowing the user to choose one. The user can also choose Other and enter the desired port. This is particularly useful for JP1.X Serial on Linux cause different distributions have different names for the serial ports and especially for the USB serial ports.
It is also needed for the parellel port comm library if the user has added a parallel port card that uses a non-standard I/O port range.
-- 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)
Okay - I guess that when you select that and are using a version or the .dll/.so that doesn't have the function, RM-IR just ignores it - so I never saw that feature!gfb107 wrote:Those functions are both used in RMIR when the user wants to specify the port the remote is connected to (Remote -> Interface -> (comm method)) instead of letting the comm library search.
A dialog pops up showing the list of available ports known to the comm library, allowing the user to choose one. The user can also choose Other and enter the desired port. This is particularly useful for JP1.X Serial on Linux cause different distributions have different names for the serial ports and especially for the USB serial ports.
It is also needed for the parellel port comm library if the user has added a parallel port card that uses a non-standard I/O port range.
I will post a new version tonight assuming I see that dialog now with the functions in there.
xnappo
It's not so much that RMIR ignores it, it's that I didn't allow for the functions not being implemented when I wrote that part of the code, so I don't catch and handle the exceptions that get thrown when I call them. All the code associated with the dialog is circumvented when that happens.
-- 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 is just interesting that it still selects the serial driver anyway. Anyhow - of course this is a good and needed function. As mentioned in the Linux thread I put up some betas with the code today and will update all the packages tonight.gfb107 wrote:It's not so much that RMIR ignores it, it's that I didn't allow for the functions not being implemented when I wrote that part of the code, so I don't catch and handle the exceptions that get thrown when I call them. All the code associated with the dialog is circumvented when that happens.
xnappo
-
TheShanMan
- Posts: 74
- Joined: Sun Oct 01, 2006 10:16 pm
How possible is it for you to get it working in x64 windows (xp in my case)? I only run IR once every several years when I get a new remote (which I just did today), so I'm a perpetual noob and have to re-learn everything each time, but I'm fully willing to help with any testing you might need. In the meantime I guess I'll have to fire up a vmware image to use IR. 