Subject: Re: LCD driver?
To: None <port-cobalt@netbsd.org>
From: Dennis Chernoivanov <cdi@mawhrin.net>
List: port-cobalt
Date: 04/03/2003 21:35:08
Hi,
On Wed, Apr 02, 2003 at 11:53:54PM -0800, Bryan Vyhmeister wrote:
> Apr 3 02:28:17 raq0 paneld[1545]: cannot attach to device hd44780,
> node /dev/lcd
>
> Any ideas what I can do to fix it? I was wondering if the 1.6.1 don't
> work because the patch was intended for 1.6. Any other explanations?
well, ktrace output was not useful [to me], so I'd suggest to do the
following:
- Make sure you have a line like "lcd0 at mainbus" or "panel0 at mainbus" in
your dmesg output. If there is no such line then the driver somehow did not
make it into the kernel
- See if 'echo -n "blah blah" > /dev/lcd' prints anything on the display. If
not, there is a good chance that device node has wrong major/minor
paneld prints this error message if it cannot either open /dev/lcd (or the one
which is specified in /etc/paneld.conf) device or get the device information
via device-specific ioctl (see hd44780_open() in hd44780.c).
SY,
--cdi
P.S. And yes, the driver was not tested with 1.6.1...