Join us on Twitter Join us on Facebook Meet Orbie THE DOG!
Home FAQ Profile Search Members Groups PM's Register Login/Out SmartFeedSmartFeed
LK202-24-USb and Linux -- works!
Last Thread | Next Thread  >

Post new topic Reply to topic
Matrix Orbital > LK/VK/PK/MX/GLK/GVK Series

Author Thread
wayn3
LCD?


Joined: 10 Jul 2002
Posts: 7
LK202-24-USb and Linux -- works!  Reply with quote  

I managed to get the new LK202-24-USB device working under the latest, stable version of the Linux kernel (2.4.20). To do this, I had to make some small modifications to the ftdi_sio USB serial driver and recompile the kernel.

To see a (admittedly) brief how-to how I did this, please visit http://www.webbastards.com/projects/. In short, the edits are small, and if you don't mind spending a couple hours compiling, it's a great little project to learn how to rebuild the kernel.

Thanks to Henry J for his kind assistance in this project.

Wayne
Post Thu Jan 30, 2003 7:06 pm
 View user's profile Send private message
Henry
OMNIPRESENT
OMNIPRESENT


Joined: 14 Aug 2001
Posts: 2757
 Reply with quote  

Glad it all worked out!!!
_________________
Henry J.
President
Matrix Orbital
Post Fri Jan 31, 2003 12:05 am
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number
Basem
LCD?


Joined: 11 Dec 2003
Posts: 2
Location: Jordan
Re: LK202-24-USb and Linux -- works!  Reply with quote  

Hi all
For the MX2xx USB LCDs no need to patch kernel 2.6.x just configure to include:

Devicec drivers
-USB Serial Converter Support
-- USB Serial Converter Support
-- USB Generic Serial Driver
-- USB FTDI Single Port Serial Driver

compile and reboot, use lcdproc and enjoy
Basem
Post Thu Dec 11, 2003 2:08 am
 View user's profile Send private message
g1000user
LCD?


Joined: 23 Mar 2005
Posts: 4
 Reply with quote  

Works with linux, kernel 2.6.* but appears to hog the bus. As soon as I try to print with my usb printer, the whole computer locks up hard. Solution is either leave the display running and not print, or just leave the display off. Any suggestions as to how to run both the display and be able to print?
Post Thu Aug 04, 2005 7:48 am
 View user's profile Send private message AIM Address ICQ Number
Paradigm
Matrix Orbital
Matrix Orbital


Joined: 13 Sep 2001
Posts: 254
Location: Calgary, Alberta, Canada
 Reply with quote  

Last I saw, the FTDI driver was still flagged as experimental. That is to say that they are still buggy. If you want to contact the maintainers, here are the email addresses attached to the top of the source code in my 2.6.11 kernel:

* Copyright (C) 1999 - 2001
* Greg Kroah-Hartman (greg@kroah.com)
* Bill Ryder (bryder@sgi.com)
* Copyright (C) 2002
* Kuba Ober (kuba@mareimbrium.org)


As you can see, Kuba is the most recent, I'd start with contacting him. He might be able to help you out. I usually find that Linux maintainers are more than willing to help you out of you can provide them with useful information or at least willing to work with them to figure things out. Provide as much detail as you can, and hopefully they'll work with you from that point.

Sorry I can't help you much more than that. I'm an avid linux user/administrator, but I'm no kernel developer.

_________________
James McTavish, P.Eng
Director of Engineering
Matrix Orbital
Post Thu Aug 04, 2005 10:01 am
 View user's profile Send private message Send e-mail
AJB2K3
LCD!


Joined: 15 Jan 2006
Posts: 15
Location: Around Here.
 Reply with quote  

It also helps to point the the wrong device ive got mine working now i just need to get the button to be read.
Post Mon Jan 16, 2006 9:45 am
 View user's profile Send private message Visit poster's website
Tom
Matrix Orbital
Matrix Orbital


Joined: 19 Jul 2004
Posts: 1030
Location: Calgary
 Reply with quote  

What device are you using?
Post Mon Jan 16, 2006 10:40 am
 View user's profile Send private message Visit poster's website
AJB2K3
LCD!


Joined: 15 Jan 2006
Posts: 15
Location: Around Here.
 Reply with quote  

212 on mandriva LE 2005 kernal 2.6.??
I just cant get the keys to be read, do i need to eneble a keypad driver or something?
Post Mon Jan 16, 2006 11:13 pm
 View user's profile Send private message Visit poster's website
Paradigm
Matrix Orbital
Matrix Orbital


Joined: 13 Sep 2001
Posts: 254
Location: Calgary, Alberta, Canada
 Reply with quote  

Keypresses are sent to the same serial port that you have the display on. There is no keypad driver. If it is all setup correctly, then you could even "cat" the serial port to watch what keys are being pressed.
_________________
James McTavish, P.Eng
Director of Engineering
Matrix Orbital
Post Tue Jan 17, 2006 12:05 pm
 View user's profile Send private message Send e-mail
AJB2K3
LCD!


Joined: 15 Jan 2006
Posts: 15
Location: Around Here.
 Reply with quote  

cat?
is there similer to the xev keyboard tool?
Also how do i set functions to the keys?
Post Tue Jan 17, 2006 11:16 pm
 View user's profile Send private message Visit poster's website
Paradigm
Matrix Orbital
Matrix Orbital


Joined: 13 Sep 2001
Posts: 254
Location: Calgary, Alberta, Canada
 Reply with quote  

Sorry for the confusion. "cat" is a command line tool that takes a file and dumps it to the screen.


quote:

Also how do i set functions to the keys?



The short answer is that you don't. Not easily anyway. The LCD will do everything over a serial port device in the /dev directory. Linux doesn't give it any special preferences. If you want to setup X events to happen on the key presses, then you're going to need a program that will read that serial port, generate the events and submit them to x-windows. I personally don't know of anything that does that at the moment, although it isn't impossible.

Let me ask you first: What are you using to drive the display right now?

_________________
James McTavish, P.Eng
Director of Engineering
Matrix Orbital
Post Wed Jan 18, 2006 12:36 pm
 View user's profile Send private message Send e-mail
AJB2K3
LCD!


Joined: 15 Jan 2006
Posts: 15
Location: Around Here.
 Reply with quote  

quote:
Originally posted by Paradigm
Sorry for the confusion. "cat" is a command line tool that takes a file and dumps it to the screen.



I realised cat was a command and i worked out that cat /dev/etc/etc scand the driver for output.
quote:
Originally posted by Paradigm


The short answer is that you don't. Not easily anyway. The LCD will do everything over a serial port device in the /dev directory. Linux doesn't give it any special preferences. If you want to setup X events to happen on the key presses, then you're going to need a program that will read that serial port, generate the events and submit them to x-windows. I personally don't know of anything that does that at the moment, although it isn't impossible.

Let me ask you first: What are you using to drive the display right now?

Currently lCDd and LCDproc without the perl extension and without the ability to compile
Post Wed Jan 18, 2006 10:41 pm
 View user's profile Send private message Visit poster's website
AJB2K3
LCD!


Joined: 15 Jan 2006
Posts: 15
Location: Around Here.
 Reply with quote  

YAY i got perl working now but how on earth do i make simple text screens using it?
Post Sun Mar 05, 2006 11:01 am
 View user's profile Send private message Visit poster's website

â
Post new topic Reply to topic
Forum Jump:
Jump to:  

All times are GMT - 8 Hours.
The time now is Tue Sep 07, 2010 5:38 am
  Display posts from previous:      


Powered by phpBB: © 2001 phpBB Group

Visit the Matrix Orbital Web Site