Results 1 to 15 of 20

Thread: Connecting a LCD to the WL500g

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    LCDproc HD44780 ppdev driver

    Gryle,

    I would love to take a look at your LCDproc HD44780 ppdev driver mods. I have been trying to figure this out for a while.

    Any chance you could post the code somewhere or maybe email me with it? (admin at purecom.com)

    Thanks!

  2. #2

    Problems with makefile

    Hello,

    does someone have a simple makefile for this parport_splink.c file ?
    I cant get the it working..
    Something must be missing...
    Error during compilation:

    In file included from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/sched.h:15,
    from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/mm.h:4,
    from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/pagemap.h:10,
    from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/io.h:15,
    from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/parport_pc.h:4,
    from parport_splink.c:14:
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/timex.h:171: field `time' has incomplete type
    In file included from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/sched.h:18,
    from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/mm.h:4,
    from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/pagemap.h:10,
    from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/io.h:15,
    from /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/linux/parport_pc.h:4,
    from parport_splink.c:14:
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h:31: parse error before "wait_queue_head_t"
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h: In function `sema_init':
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h:65: dereferencing pointer to incomplete type
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h:66: dereferencing pointer to incomplete type
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h:67: dereferencing pointer to incomplete type
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h: In function `down':
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h:93: dereferencing pointer to incomplete type
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h: In function `down_interruptible':
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h:104: dereferencing pointer to incomplete type
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h: In function `down_trylock':
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h:114: dereferencing pointer to incomplete type
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h: In function `up':
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/asm/semaphore.h:185: dereferencing pointer to incomplete type

    and so on.....

    Thanks in advance.

    Gabriel
    Last edited by Randale91; 20-10-2004 at 18:37.

  3. #3
    look here on how to control the parallel port of that thing. The only problem is that it isn't working with oleg's firmware (not sure which one) because you can't remove the lp.o module without crashing the router. However, on OpenWrt works quite good.
    Maybe a patch from oleg?

    Anyway, here is the link:
    http://www.sephail.net/projects/openwrt/

  4. #4

    Lcd

    Maybe I cheated
    I used a atmega8 micro to handle the LCD and 4x4 keypad. It talks either serial (uart to uart so no rs232 tranciever) or I2C using 2 of the gpio lines (on boards with uart. A few bugs left with the I2C... There is a very low part count (one ceramic resonator with built in caps, 2 resistors to drop the 5v down to 3.3, the avr, backlight current limiting resistor, pot for contrast, and a 5v regulator)

    If anyone has a like project (maybe with a cheaper pic) PM me.

  5. #5
    what was your openwrt version? could u provide some king of guide to do the install?

  6. #6
    I've made a bunch of OpenWrt tutorials here:
    http://www.macsat.com/macsat/content/category/3/14/30/
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

Similar Threads

  1. Replies: 1
    Last Post: 19-09-2005, 13:36
  2. Connecting 3 WL500g in one network?
    By Maxven in forum WL-500g Q&A
    Replies: 3
    Last Post: 26-06-2005, 14:56
  3. Connecting WL500g to wireless ADSL router?
    By maurits in forum WL-500g Q&A
    Replies: 3
    Last Post: 28-03-2005, 22:03
  4. Connecting WL500g to Draytek2500We
    By Meuchi in forum WL-500g Q&A
    Replies: 8
    Last Post: 22-10-2004, 21:52

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •