hi,
i am trying to adjust backlight from a kernel source file for a IPAQ 5550 running 2.4.19-rmk6-pxa1-hh30. I see functions in
linux/kernel/drivers/char/pxafb.c to turn on/off the backlight. is there anything to adjust it? I can not get functions similar to what "bl.c" uses to work. (bl.c is from the h3600_utils package). I get errors:
drivers/char/char.o(.text+0xa910): In function `set_backlight':
: undefined reference to `ioctl'
drivers/char/char.o(.text+0xa92c): In function `set_backlight':
: undefined reference to `perror'
drivers/char/char.o(.text+0xa958): In function `openbl':
: undefined reference to `open'
drivers/char/char.o(.text+0xa97c): In function `openbl':
: undefined reference to `ioctl'
drivers/char/char.o(.text+0xa994): In function `openbl':
: undefined reference to `perror'
drivers/char/char.o(.text+0xa99c): In function `openbl':
: undefined reference to `close'
drivers/char/char.o(.text+0xa9ac): In function `openbl':
: undefined reference to `fprintf'
drivers/char/char.o(.text+0xa9c8): In function `openbl':
: undefined reference to `stderr'
drivers/char/char.o(.text+0xa9d4): In function `closebl':
: undefined reference to `close'
I used 3.3.2 toolchain. Seems this functions are in the lib /usr/local/arm/3.3.2/bin/../arm-linux/lib/libgcc_s.so, which is not compatible with
arm-linux-ld: ERROR: /usr/local/arm/3.3.2/bin/../arm-linux/lib/libgcc_s.so
uses hardware FP, whereas vmlinux uses software FP
Maybe this is two questions. sorry, but i just need to adjust backlight while in pxafb.c. My approach of makeing similar calls like bl.c failed. SO i am hoping for other suggetions.
Maria Cruz
Vitronics, Inc
An MTC Company
3 Corbett Way
Eatontown, NJ 07724
(732) 389-0244 x15
maria.cruz@vitronics.com
Received on Fri Mar 12 17:13:39 2004
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:40:21 EDT