From: Pavel M. <pa...@uc...> - 2003-11-20 13:07:55
|
Hi! > Fortunately, the kernel tree contains bits of code which can be useful. > All the registers are known by name and number, for example (and it's a > pity that the documentation about the __PWR_MAN'' register is > inexistent). And the radeonfb driver contains a few things and hints. > I'd gladly try a piece of code, supposedly coming from ATI, which ought > to reset the device somehow. This piece of code was to be linked to the > powerbook power management system, and is #if0'ed anyway since it is > quoted to be no cure for some problem. Still, I think it's worth trying. > > I'm not an expert on kernel programming. On which code paths should I > plug things ? Say I have to functions radeon_go_sleep and > radeon_wake_up, what device info can I expect to access, and where > should I plug my functions ? Does anybody know of a well-educated fb > driver, where such a manual reset of the device is done on wakeup. I > could follow this as an example. If I were you, I'd create fix_ati.o module which would "do the stuff", then insert it over network. That should make debugging easier... -- Pavel Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need... |