LCDproc development and user support list

Text archives Help


[Lcdproc] dynamic drivers patch - take 1


Chronological Thread 
  • From: reenoo AT gmx.de (Rene Wagner)
  • Subject: [Lcdproc] dynamic drivers patch - take 1
  • Date: Mon Oct 1 16:30:02 2001

Ed Hunter wrote:

> Hi all,
>
> I have attached a following simple patch which makes LCDd use
> dynamically loaded drivers
>
> Instructions to use:
>
> apply the patch, then:
>
> sh autogen.sh
> ../configure --enable-dl-drivers --with-driver-base=drivers/
>
> cd server/drivers
> gcc -shared curses_drv.o ../../shared/str.o -o curses.so
>
> cd ..
> ../LCDd -d curses
>
>
> Caveats:
> - it works on unix only for now
> - only curses driver is supported for now, due to an irregularity in
> driver file and entry point names: it's curses_drv_init(), but
> text_init(). Grrr. I guess it has to be be fixed
> - there's not automatic building of .so files
> - the dl* stuff should be moved to it's own file
> - *.so is not in clean: target yet
> - and many more
>
>
> Your comments?

Do the drivers have to be modified?
I've been working on my driver today, so I'd like to apply neccessary
changes right now.

THX

Rene






Archive powered by MHonArc 2.6.18.

Top of page