Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LCD USB - I can't get working :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Membris
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 297
Location: Murcia (Spain)

PostPosted: Wed Mar 09, 2005 3:18 pm    Post subject: LCD USB - I can't get working :( Reply with quote

LCD USB - I can't get working :(

Hello. I have bought an Crystalfontz LCD (634) USB, and I can't get it working :S

Before I had an Crystalfontz 2x20 with LPT port with no problems, running with lcd4linux 0.10. But with the new LCD, I follow the instructions on https://ssl.bulix.org/projects/lcd4linux/wiki/Crystalfontz

Crystalfontz provides a Linux-compatible command-line demonstration program with C source code at:
http://www.crystalfontz.com/products/632/632_634_linux.tar.gz

I compiled it and run with port /dev/tts/0 and the output seems to be successful but the LCD doesn't show anything. With lcd4inux I have tried all possible ports with the same results.

Code:

# ./test632_634 /dev/tts/0 1900
Ultra-simple CFA-632 / CFA-634 command-line communications example.
Crystalfontz America, Inc. http://www.crystalfontz.com

Usage:
./test632_634 PORT BAUD
PORT is something like "/dev/ttyS0" or "/dev/usb/ttyUSB1"
BAUD is 1200, 2400, 4800, 9600 or 19200
To clear the display, enter "clear" as an optional third parameter

Serial_Init:: success
"/dev/tts/0" opened at "19200" baud.

Done.


At system boot, the LCD backlight lights and shows a presentation text, but after only shows a "console cursor".

I have pl2303 and usb already charged, in fact when I plug the LCD, I receive this output:

Code:

Mar  9 16:12:30 [kernel] usb 4-1: new full speed USB device using uhci_hcd and address 2
Mar  9 16:12:30 [kernel] usb 4-1: Product: Crystalfontz CFA-634 USB LCD
Mar  9 16:12:30 [kernel] usb 4-1: Manufacturer: Crystalfontz
Mar  9 16:12:30 [kernel] usb 4-1: SerialNumber: CFC850NR


I'm very frustrated, some solution?

PD: Excuse my bad english, I'm spanish :oops:
_________________
No por mucho madrugar verás a las vacas en camisón.
Back to top
View user's profile Send private message
SimonKellett
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2003
Posts: 88
Location: Darmstadt, Germany

PostPosted: Thu Mar 10, 2005 10:54 am    Post subject: Reply with quote

I am not sure about this hardware: I have a Matrix Orbital USB and have these options in my kernel:

CONFIG_USB=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_FTDI_SIO=y

Do you have/need the FTDI_SIO ? (the MO display is actually a serial device with an onboard converter to provide USB.)

http://home.arcor.de/zoxed/matrix_orbital_lk202.html
Back to top
View user's profile Send private message
Membris
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 297
Location: Murcia (Spain)

PostPosted: Thu Mar 10, 2005 3:32 pm    Post subject: Reply with quote

Quote:
CONFIG_USB_SERIAL_FTDI_SIO=y


I think that's an important detail... until now I was using pl2303 because on the lcd4linux homepage...

https://ssl.bulix.org/projects/lcd4linux/wiki/Crystalfontz
Quote:
The USB versions simply use an USB-to-serial converter (probably pl2303), and use the same protocol as on the serial port.


But in the CrystalFontz forums seems that it's FTDI the serial converter used by 634 USB.

I am going to try FTDI instead of pl2303 and more later I tell you ;)
_________________
No por mucho madrugar verás a las vacas en camisón.
Back to top
View user's profile Send private message
Membris
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 297
Location: Murcia (Spain)

PostPosted: Fri Mar 11, 2005 12:44 am    Post subject: Reply with quote

Yeah, FTDI was the solution, now my LCD it's correctly allocated at /dev/usb/tts/1 :)

But now I have more problems... when I use CrystalFontz test program (Linux native) or lcdlinx, I see a lot of garbage on display, strange characters.

A photo:

http://giingo.org/images/lcd_linux.jpg


Some solution? :oops:
_________________
No por mucho madrugar verás a las vacas en camisón.
Back to top
View user's profile Send private message
Membris
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 297
Location: Murcia (Spain)

PostPosted: Fri Mar 11, 2005 1:01 am    Post subject: Reply with quote

OK, I now have LCD working! :)

The problem was the baudrate, datasheet of Crystalfontz indicates 9600 but my module only worked at 19200.

Thanks by your post
_________________
No por mucho madrugar verás a las vacas en camisón.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum