Package: radeontool
Version: 1.6.0-1
Severity: normal

Nothing happens for "radeontool light off" with radeontool 1.6.0
for my Dell Inspiron 4000.  Downgrading to 1.5-5 works.

Running 1.6.0 under strace yields a normal startup, then

[...]
stat64("/sys/bus/pci/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
brk(0)                                  = 0x8eae000
brk(0x8ecf000)                          = 0x8ecf000
open("/proc/mtrr", O_WRONLY)            = 3
open("/sys/bus/pci/devices", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fcntl64(4, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents(4, /* 16 entries */, 32768)    = 368
getdents(4, /* 0 entries */, 32768)     = 0
close(4)                                = 0
open("/sys/bus/pci/devices/0000:00:00.0/config", O_RDONLY) = 4
[...]
open("/sys/bus/pci/devices/0000:01:00.0/resource0", O_RDWR) = 4
mmap2(NULL, 67108864, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = 0xb373a000
close(4)                                = 0
exit_group(0)                           = ?

Running under ltrace yields

__libc_start_main(0x804dd40, 3, 0xbfa5f764, 0x804e090, 0x804e080 <unfinished 
...>
pci_system_init(0xb7784168, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0
pci_slot_match_iterator_create(0xbfa5f65c, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 
0x90201c0
pci_device_next(0x90201c0, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0x9018030
pci_device_probe(0x9018030, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0
pci_device_next(0x90201c0, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0x901813c
pci_device_probe(0x901813c, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0
pci_device_next(0x90201c0, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0x9018248
pci_device_probe(0x9018248, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0
pci_device_next(0x90201c0, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0x9018460
pci_device_probe(0x9018460, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0
pci_device_next(0x90201c0, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0x9018890
pci_device_probe(0x9018890, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0
pci_device_next(0x90201c0, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0x901899c
pci_device_probe(0x901899c, 1, 0xbfa5f6d0, 0xbfa5f6c4, 1) = 0
pci_device_map_region(0x901899c, 0, 1, 0xbfa5f6c4, 1) = 0
pci_device_map_region(0x901899c, 0, 1, 0xbfa5f6c4, 1) = 0
pci_iterator_destroy(0x90201c0, 0, 1, 0xbfa5f6c4, 1) = 3
+++ exited (status 0) +++

Running with --debug yields

$ radeontool --debug light off
Found card 1002:4c46 (30000)
Radeon found. Base control address is b35a1000; base framebuffer address is 
b35a1000.
reading RADEON_LVDS_GEN_CNTL (2d0) is 00ff0000
writing RADEON_LVDS_GEN_CNTL (2d0) -> 00ff0000
$ echo $?
0

My card is indeed a 1002:4c46, which is to say an ATI Technologies Inc
Rage Mobility M3 AGP 2x (r128).

Ideas?
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to