
I have the LK204-25USB device. I have connected it and its powered up no problem.
Initially I found the LCDControl java source code at http://www.lcdforums.com/forums/viewtopic.php?t=2724 - a little fiddling with javax.comm etc and I have it compiled and can call it from my test java app. However, I just get errors like tty0 or tty1 cannot be found. I modified the code to try /dev/ttyS0 and S1 also but still to no avail. I did a little experimentation and added this method to the application to try and list all available ports
Code: Select all
public void test() {
Enumeration portList = portId.getPortIdentifiers();
while (portList.hasMoreElements())
{
portId = (CommPortIdentifier) portList.nextElement();
if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {
System.out.println(portId.getName());
}
}
}
A little more searching produced this page http://www.lcdforums.com/forums/viewtopic.php?t=936 which states that the DisplayCommunicationsExample.zip archive contains code which WILL work with USB devices and not just serial ones, however http://www.lcdforums.com/download/CodeS ... Sample.zip is a dead link..
I gave up on this route, and decided to test it out using LCDProc..
I have LCDProc installed and /etc/LCDd.conf configured to use the MtxOrb driver and it doesnt work right... nothing comes up on the LCD (i tried using /dev/lcd, /dev/tty0, /dev/ttyS0 etc - still no joy). Just to test that I had LCDProc configured okay I changed its output driver to 'curses' and ran the LCDd daemon in the forground with the 'lcdproc' client attached. This worked fine and began to produce statistics on my box.
Scratching my head further I did 'tail -f /var/log/messages' when I plug in the LCD I get this output
Code: Select all
Apr 30 17:37:09 localhost NetworkManager: <debug> [1209573429.347468] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_1b3d_157_0TmvUnM1_usbraw').
I'm seriously stuck now.. I'm normally quite good with Google but I just seem to be running round in circles now and as far as I can tell there is no 'official' driver for Linux

I'm running Ubuntu Gutsy 7.10, and I suspect the issue to be something to do with HAL not having a clue what the device is but I have no idea how to get around it.
Any replies or hints would be appreciated as this module required for a final year university project!
Thanks for reading.