[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backlight control and debian kernel 2.6.10



Le mardi 03/01/05 Guido Guenther <agx@debian.org> a écrit :
> Hi Djoume,
> On Tue, Mar 01, 2005 at 09:28:50AM +0100, Djoume SALVETTI wrote:
> > I've notice that despite kernel image 2.6.10 include and activate
> > (CONFIG_PMAC_BACKLIGHT=y) Guido Guenther backlight control patch, I'm
> > not able to control it while using this kernel (I've
> > append="video=rivafb:1024x768-8@75" in my yaboot.conf).
> Could you use 'strace fblevel <value>' to see what error code the kernel
> actually returns?

sure : 

gotan:/home/djoume# fblevel 10
ioctl PMU_IOC_SET_BACKLIGHT: No such device

(I have attached the whole strace to this mail)

> > Could this be due to CONFIG_FB_RIVA=m and CONFIG_FB_OF=y?
> Possible.

If this is the case, is it possible to switched this options in Debian
kernel or other hardware need CONFIG_FB_OF=y ?


-- 
Djoumé SALVETTI
execve("/sbin/fblevel", ["fblevel", "10"], [/* 30 vars */]) = 0
uname({sys="Linux", node="gotan", ...}) = 0
brk(0)                                  = 0x10012000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30000000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=85341, ...}) = 0
mmap(NULL, 85341, PROT_READ, MAP_PRIVATE, 3, 0) = 0x30001000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\17\350"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1303344, ...}) = 0
mmap(0xfe70000, 1370024, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfe70000
mprotect(0xffa2000, 116648, PROT_NONE)  = 0
mmap(0xffb0000, 53248, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x130000) = 0xffb0000
mmap(0xffbd000, 6056, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffbd000
close(3)                                = 0
munmap(0x30001000, 85341)               = 0
open("/dev/pmu", O_RDONLY)              = 3
ioctl(3, CCISS_GETINTINFO or PMU_IOC_SET_BACKLIGHT, 0x7ffff488) = -1 ENODEV (No such device)
dup(2)                                  = 4
fcntl64(4, F_GETFL)                     = 0x10001 (flags O_WRONLY|O_LARGEFILE)
close(4)                                = 0
write(2, "ioctl PMU_IOC_SET_BACKLIGHT: No "..., 44ioctl PMU_IOC_SET_BACKLIGHT: No such device
) = 44
close(3)                                = 0
exit_group(1)                           = ?

Attachment: pgp8GS0F6EoRb.pgp
Description: PGP signature


Reply to: