support for the 631

danx

New member
will there be any support for the 631 in the CrystalControl LCD Software? Or are there any plans to have a way of easily interfacing with this device short of writing our own custom app from the sample code?
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 
Last edited:

dlangton

New member
It seems to be supported right now. At least, it shows in the choices of modules for CrystalControl v1.03.
 
Last edited:

danx

New member
cool, the website states that only the 632-634 are supported, but perhaps it hasn't been updated...
 

dlangton

New member
I'll say it hasn't been updated - just finding a reference to the 631 is darn difficult, unless you stumble across it in the USB modules or in the forum.
 

CF Tech

Administrator
>just finding a reference to the 631 is darn difficult

Well, it is quite new . . . we will have a proper announcement shortly.

>will there be any support for the 631 in the CrystalControl LCD Software?

CrystalControl Admin is doing a quick back-port of the CFA-631 into CC1. The CFA-631 will be fully supported in CC2.

If you want to write your own code, the CFA-631 is pretty much like the CFA-633. Couple of new commands added, one dropped. "baud rate" (sent to the VCP) is now 115200.
 

danx

New member
are the buttons supported in cc1/cc2? and is there an eta for cc2?

is it posible to have the buttons mapped to a key-sequence? (what's the best way of doing this?)
 
Last edited:

dlangton

New member
In my add a module configuration dialog, I have listed a

CrystalFontz 631 [via serial|USB]

One would think it referred to a CFA-631.
 

CF Mark

Administrator
dlangton said:
In my add a module configuration dialog, I have listed a

CrystalFontz 631 [via serial|USB]

One would think it referred to a CFA-631.
It doesnt work correctly though, it only displays to 16 of the 20 columns.
Ill get a new version out that fixes this shortly.
 

F15Gorilla

New member
I ordered the 631 and its on its way via Fedex...I had just assumed software to control it would be included... Am I to understand it will just be a blank blue filler for my 3.5" drive bay? Is there any 3rd party software that will control it? I would think the software release would be concurrent with the availability of the hardware...

thanks
 

xtort

New member
Is there any plans for supporting the 631 with Linux software? I just ordered mine today, but I do not run windows.

Pauly
 

CF Tech

Administrator
You should be able to lie to LCDproc, and tell it you have a CFA-633 set to 115200 baud on the virtual COM port created by the USB driver. This will make the CFA-631 emulate a CFA-633.

The LCDproc crew will be putting together a "real" CFA-631 driver shortly.
 

H2O fiend

New member
CF Tech said:
You should be able to lie to LCDproc, and tell it you have a CFA-633 set to 115200 baud on the virtual COM port created by the USB driver. This will make the CFA-631 emulate a CFA-633.

The LCDproc crew will be putting together a "real" CFA-631 driver shortly.
Hasn't worked any time I tried it. The default code only allows a max baud rate of 19200 to be set. If you go into the Cfontz633.c and add in 115200 it will compile fine. You then get IO errors (don't remember the exact phrase - it was late) when you run it and nothing happens on the unit. Would have been nice because I was wanting to set up my AMS Cube to be a Linux box with network monitoring capabilities. It's now set up as a simple Windows 2000 server for IIS/Call Pilot administration. One thing I do wish is that the CF software could be run as a service to pull in normal info that is not dependant on other software to be running (like MBM).
 

xtort

New member
LCDproc

I have my 631 installed and powered up. I installed LCDProc and configured the server .conf file. When I attempt to run I get the following error.

[root@PLinux server]# ./LCDd -c /opt/lcdproc-0.4.3/LCDd.conf
CFontz: init() failed (No such device)

Driver load failed, return code < 0
Could not load driver CFontz
There is no output driver
Critical error: main.c:237, abort

I did a modprobe and get
[root@PLinux server]# modprobe ftd_sio
modprobe: Can't locate module ftd_sio

I added the following to the ftdi_sio.c file
--- serial/ftdi_sio.c 2003-02-13 22:00:25.000000000 -0500
+++ /usr/src/linux-2.4/drivers/usb/serial/ftdi_sio.c 2002-11-28 18:53:14.000000000 -0500
@@ -154,8 +154,6 @@
static struct usb_device_id id_table_8U232AM [] = {
{ USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
{ USB_DEVICE(FTDI_NF_RIC_VID, FTDI_NF_RIC_PID) },
- { USB_DEVICE(FTDI_CF_VID, FTDI_CF_0_PID) },
- { USB_DEVICE(FTDI_CF_VID, FTDI_CF_1_PID) },
{ } /* Terminating entry */
};



@@ -164,8 +162,6 @@
{ USB_DEVICE(FTDI_VID, FTDI_SIO_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
{ USB_DEVICE(FTDI_NF_RIC_VID, FTDI_NF_RIC_PID) },
- { USB_DEVICE(FTDI_CF_VID, FTDI_CF_0_PID) },
- { USB_DEVICE(FTDI_CF_VID, FTDI_CF_1_PID) },
{ } /* Terminating entry */

};


And I added the following to the ftdi_sio.h file
#define FTDI_CF_VID FTDI_VID /*Crystal Fontz Product Id */
#define FTDI_CF_0_PID 0xFC08 /*Crystal Fontz Product Id */
#define FTDI_SIO_RESET 0 /* Reset the port */
#define FTDI_SIO_MODEM_CNTRL 1 /* Set the modem control register */
#define FTDI_SIO_SET_FLOW_CTRL 2 /* Set flow control register */




Do you know what I did wrong? After modifying the files, I did the following

make menuconfig
make dep bzImage modules
make modules_install
make install
 

H2O fiend

New member
CF Tech said:
The LCDproc crew is working on adding CFA-631 support.
K'... now for the next order of business.

CC installs and runs fine under the Administrator account on Windows 2000 Server. When you set up a user account with Administrator priviledge and then try to log in all hell will shortly break loose. You have to re-configure CC (add the 631 back in) and then when you go to add menus the first error is "Access violation at address 0047AA32 in module 'CrystalControl.exe'. read of address 00000018." You press the OK and then you get "Access vioation at address 00470353 in module 'CrystalControl.exe'. Read of address 00000154."

This will go on for a while with various addresses until you do the CTL-ALT-DEL and kill the task.

Any suggestions? (or does this really need to be posted in the CC software area?).
 

H2O fiend

New member
Re: LCDproc

xtort said:
I have my 631 installed and powered up. I installed LCDProc and configured the server .conf file. When I attempt to run I get the following error.

[root@PLinux server]# ./LCDd -c /opt/lcdproc-0.4.3/LCDd.conf
CFontz: init() failed (No such device)

Driver load failed, return code < 0
Could not load driver CFontz
There is no output driver
Critical error: main.c:237, abort

I did a modprobe and get
[root@PLinux server]# modprobe ftd_sio
modprobe: Can't locate module ftd_sio


Do you know what I did wrong? After modifying the files, I did the following

make menuconfig
make dep bzImage modules
make modules_install
make install
What version/flavor of Linux?

With the Mandrake 9.2 all I did was go into the kernel and change the USB stuff from module format to load directly into the kernel.
When I get home I'll pull up the config and post the relevant section changes that I did (the changes to the .c routines were already in the version I have so I didn't have to do those).
 
USB LCD Displays - Graphic and Character LCDs with a Keypad

Priam

New member
Re: LCDproc

xtort said:

I added the following to the ftdi_sio.c file
--- serial/ftdi_sio.c 2003-02-13 22:00:25.000000000 -0500
+++ /usr/src/linux-2.4/drivers/usb/serial/ftdi_sio.c 2002-11-28 18:53:14.000000000 -0500
@@ -154,8 +154,6 @@
static struct usb_device_id id_table_8U232AM [] = {
{ USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
{ USB_DEVICE(FTDI_NF_RIC_VID, FTDI_NF_RIC_PID) },
- { USB_DEVICE(FTDI_CF_VID, FTDI_CF_0_PID) },
- { USB_DEVICE(FTDI_CF_VID, FTDI_CF_1_PID) },
{ } /* Terminating entry */
};



@@ -164,8 +162,6 @@
{ USB_DEVICE(FTDI_VID, FTDI_SIO_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
{ USB_DEVICE(FTDI_NF_RIC_VID, FTDI_NF_RIC_PID) },
- { USB_DEVICE(FTDI_CF_VID, FTDI_CF_0_PID) },
- { USB_DEVICE(FTDI_CF_VID, FTDI_CF_1_PID) },
{ } /* Terminating entry */

};


And I added the following to the ftdi_sio.h file
#define FTDI_CF_VID FTDI_VID /*Crystal Fontz Product Id */
#define FTDI_CF_0_PID 0xFC08 /*Crystal Fontz Product Id */
#define FTDI_SIO_RESET 0 /* Reset the port */
#define FTDI_SIO_MODEM_CNTRL 1 /* Set the modem control register */
#define FTDI_SIO_SET_FLOW_CTRL 2 /* Set flow control register */

The product ID for the 631 is FC0C, so in your ftdi_sio.h file you should add a line like:

#define FTDI_CF_2_PID 0xFC0C

Then add:

{ USB_DEVICE(FTDI_CF_VID, FTDI_CF_2_PID) },

To both those device structs above in ftdi_sio.c.

Then recompile and reinstall your kernel.

Check your /var/log/message to make sure the device is recoginzed after you plug it in.

-Priam
 
Top