How to use sceDisplayDisable on newer firmware?
How to use sceDisplayDisable on newer firmware?
I am using PSP 3001 with 5.03 firmware.
I try to use sceDisplayDiable / sceDisplayEnable. But if I link against the pspdisplay-driver, the program won't even start. It give an error.
Anyone here know how to disable/enable display on newer kernel like mine?
I try to use sceDisplayDiable / sceDisplayEnable. But if I link against the pspdisplay-driver, the program won't even start. It give an error.
Anyone here know how to disable/enable display on newer kernel like mine?
Hi! :)
Ciaooo
Sakya
Yes, the prx you are using in your cueplayer. :Dliberty wrote:How to? Is there a sample?Torch wrote:Call it from a kernel module.
Code: Select all
PSP_EXPORT_FUNC(displayEnable)
PSP_EXPORT_FUNC(displayDisable)
Sakya
I tried compiling that prx, that is the one in your lightmp3. But it is linking aginst the pspsystemctrl_kernel. My SDK does not have this library.sakya wrote:Hi! :)
Yes, the prx you are using in your cueplayer. :Dliberty wrote:How to? Is there a sample?Torch wrote:Call it from a kernel module.
CiaoooCode: Select all
PSP_EXPORT_FUNC(displayEnable) PSP_EXPORT_FUNC(displayDisable)
Sakya
If I uses your compiled support.prx and supportlib.o directly. The cueplayer can run, but the displayDisable is not working.
Hi! :)
Here you can find a kernel prx sample:
http://www.sakya.it/downloads/testPer352.rar
The sample is about sceDisplayGetBrightness and sceDisplaySetBrightness
It shouldn't be difficult to modify it. ;)
Ciaooo
Sakya
Here you can find a kernel prx sample:
http://www.sakya.it/downloads/testPer352.rar
The sample is about sceDisplayGetBrightness and sceDisplaySetBrightness
It shouldn't be difficult to modify it. ;)
Ciaooo
Sakya
Thank you very very much. I get it working now and updated my cueplayer. One more thing to ask:sakya wrote:Hi! :)
Here you can find a kernel prx sample:
http://www.sakya.it/downloads/testPer352.rar
The sample is about sceDisplayGetBrightness and sceDisplaySetBrightness
It shouldn't be difficult to modify it. ;)
Ciaooo
Sakya
How to know these addresses in:
STUB_FUNC 0xAC18FDEC,displayEnable
STUB_FUNC 0xDA2E4C8C,displayDisable
or
IMPORT_FUNC "sceDisplay_driver",0x946155FD,sceDisplayEnable371
IMPORT_FUNC "sceDisplay_driver",0x32B67781,sceDisplayDisable371
Hi! :)
The address for other .S file are here:
http://silverspring.lan.st/
Ciaooo
Sakya
The supportlib.S file is generated with the command:liberty wrote:How to know these addresses in:
STUB_FUNC 0xAC18FDEC,displayEnable
STUB_FUNC 0xDA2E4C8C,displayDisable
or
IMPORT_FUNC "sceDisplay_driver",0x946155FD,sceDisplayEnable371
IMPORT_FUNC "sceDisplay_driver",0x32B67781,sceDisplayDisable371
Code: Select all
psp-build-exports -s file.exp
http://silverspring.lan.st/
Ciaooo
Sakya
Thank you very much! It seems that I know how it it is working now somehow.sakya wrote:Hi! :)
The supportlib.S file is generated with the command:liberty wrote:How to know these addresses in:
STUB_FUNC 0xAC18FDEC,displayEnable
STUB_FUNC 0xDA2E4C8C,displayDisable
or
IMPORT_FUNC "sceDisplay_driver",0x946155FD,sceDisplayEnable371
IMPORT_FUNC "sceDisplay_driver",0x32B67781,sceDisplayDisable371The address for other .S file are here:Code: Select all
psp-build-exports -s file.exp
http://silverspring.lan.st/
Ciaooo
Sakya