oXUnknownXo
17/05/11, 17:05:26
Bueno pues revisando un poco XDA me he encontrado con un hilo en el que el usuario KalleD(Karl-Johan Dahlström, Sony Ericsson Developer Program) habla sobre como modificar el Kernel y responde a las dudas de la gente:
http://media.xda-developers.com/images/xda-statusicons/user_offline.png KalleD (http://forum.xda-developers.com/member.php?u=4060395)
http://media.xda-developers.com/images/xda-statusicons/post_new.gif Yesterday, 10:59 AM
http://media.xda-developers.com/images/icons/retweet-postheading.pngReTweet (http://forum.xda-developers.com/retweet_forums.php?p=13837907) this post
# 28 (http://forum.xda-developers.com/showpost.php?p=13837907&postcount=28)
http://media.xda-developers.com/images/icons/report-postheading.png (http://forum.xda-developers.com/report.php?p=13837907)
Again thanks for all comments, sorry it has taken some time for me to reply but I had to gather some more information in order to reply plus that GoogleIO stole some of my time.
BTW: I will forward your appreciation comments to internal stakeholders that are not on XDA as well http://media.xda-developers.com/images/smilies/wink.gif.
With the help from the expert James I have been able to put together some answers on question received.
@ Linkinsoldier and ashman84
To control the LEDs behind the front-keys on Xperia Arc and Xperia Neo (Play doesn’t have LEDs behind the buttons), you can use the standard Linux LED class.
Example (you need to be root for this):
echo 255 > /sys/class/leds/button-backlight/brightness
This will simply turn on the LEDs at full brightness. To have notifications actually trigger this, there will need to be changes done to liblights, something a custom-rom builder probably should be able to do using the method above.
@mach (http://www.htcmania.com/member.php?u=239796)1Chris
Question on EHCI/Host/OTG on Arc.
The Arc does have OTG support compiled into the kernel already. However, if you’re attempting to use it as a host-device, please take great care in how you’re doing the wiring, as OTG isn’t actually Host-mode. Also, the amount of drivers compiled into the kernel for various USB client devices is quite slim.
@m3dteam
A question on how to disable auto-brightness on Xperia PLAY.
Unfortunately, being able to do this from userspace might be non-functional in the released kernel for Play. The engineering team is aware and it is something they are looking into for future releases, can’t comment if it will be supported though yet.
However, if you’re building your own kernel, you can modify the file arch/arm/mach-msm/board-semc_zeus.c
What you’re looking for is the structure “as3676_platform_data”, where you can change the “als_connected = 1” to “als_connected = 0”.
@Doom (http://www.htcmania.com/member.php?u=24333)LoRD
Question on changing the fps cap for X10
The HW display has a refresh rate of 30Hz on Xperia X10 and as a programmer you don’t want to have a higher value for the cap than that as that will only be unused data (screen refresh rate is limited by the 30Hz). My guess is that you have managed to change other things if you have seen a performance increase.
Unfortunately I can’t comment on which Kernel that will be used for the SW upgrade for X10 to Gingerbread. Please stay tuned and I will be able to give you more details as we are getting closer to release of that SW. Also keep an eye on the Sony Ericsson product blog for updates.
@im_iceman
I am aware that we don’t have a recovery ROM in place. There are some reasons why that is the case. One reason for not supporting FOTA updates after the phone has been unlocked is that FOTA is a delta between two know SW releases and as the phone has been unlocked we can’t be sure of the SW release currently on the phone. I will bring this question back to see if we could allow phones that has been unlocked to be updated via “SW update service” which would be a way to get a Sony Ericsson ROM back on the phone, but please note the warranty may still have been voided as the phone has been unlocked and some data like DRM certificates have been removed (these will not be recovered via the SW update service).
Regards,
/Kalle
De todo esto lo más interesante son dos cosas:
-Por un lado, el soporte de USB OTG en el Xperia ARC:ok:, esto quiere decir que podremos conectar discos duros o el pad de la xbox360 a nuestro móvil, recordemos que esto era un rumor en su momento y que nunca se habia confirmado(siendo una "desventaja" frente al SGSII que si lo soporta)
-Por otro, parece que le queda poco a la 2.3.3 del X10:risitas:
http://media.xda-developers.com/images/xda-statusicons/user_offline.png KalleD (http://forum.xda-developers.com/member.php?u=4060395)
http://media.xda-developers.com/images/xda-statusicons/post_new.gif Yesterday, 10:59 AM
http://media.xda-developers.com/images/icons/retweet-postheading.pngReTweet (http://forum.xda-developers.com/retweet_forums.php?p=13837907) this post
# 28 (http://forum.xda-developers.com/showpost.php?p=13837907&postcount=28)
http://media.xda-developers.com/images/icons/report-postheading.png (http://forum.xda-developers.com/report.php?p=13837907)
Again thanks for all comments, sorry it has taken some time for me to reply but I had to gather some more information in order to reply plus that GoogleIO stole some of my time.
BTW: I will forward your appreciation comments to internal stakeholders that are not on XDA as well http://media.xda-developers.com/images/smilies/wink.gif.
With the help from the expert James I have been able to put together some answers on question received.
@ Linkinsoldier and ashman84
To control the LEDs behind the front-keys on Xperia Arc and Xperia Neo (Play doesn’t have LEDs behind the buttons), you can use the standard Linux LED class.
Example (you need to be root for this):
echo 255 > /sys/class/leds/button-backlight/brightness
This will simply turn on the LEDs at full brightness. To have notifications actually trigger this, there will need to be changes done to liblights, something a custom-rom builder probably should be able to do using the method above.
@mach (http://www.htcmania.com/member.php?u=239796)1Chris
Question on EHCI/Host/OTG on Arc.
The Arc does have OTG support compiled into the kernel already. However, if you’re attempting to use it as a host-device, please take great care in how you’re doing the wiring, as OTG isn’t actually Host-mode. Also, the amount of drivers compiled into the kernel for various USB client devices is quite slim.
@m3dteam
A question on how to disable auto-brightness on Xperia PLAY.
Unfortunately, being able to do this from userspace might be non-functional in the released kernel for Play. The engineering team is aware and it is something they are looking into for future releases, can’t comment if it will be supported though yet.
However, if you’re building your own kernel, you can modify the file arch/arm/mach-msm/board-semc_zeus.c
What you’re looking for is the structure “as3676_platform_data”, where you can change the “als_connected = 1” to “als_connected = 0”.
@Doom (http://www.htcmania.com/member.php?u=24333)LoRD
Question on changing the fps cap for X10
The HW display has a refresh rate of 30Hz on Xperia X10 and as a programmer you don’t want to have a higher value for the cap than that as that will only be unused data (screen refresh rate is limited by the 30Hz). My guess is that you have managed to change other things if you have seen a performance increase.
Unfortunately I can’t comment on which Kernel that will be used for the SW upgrade for X10 to Gingerbread. Please stay tuned and I will be able to give you more details as we are getting closer to release of that SW. Also keep an eye on the Sony Ericsson product blog for updates.
@im_iceman
I am aware that we don’t have a recovery ROM in place. There are some reasons why that is the case. One reason for not supporting FOTA updates after the phone has been unlocked is that FOTA is a delta between two know SW releases and as the phone has been unlocked we can’t be sure of the SW release currently on the phone. I will bring this question back to see if we could allow phones that has been unlocked to be updated via “SW update service” which would be a way to get a Sony Ericsson ROM back on the phone, but please note the warranty may still have been voided as the phone has been unlocked and some data like DRM certificates have been removed (these will not be recovered via the SW update service).
Regards,
/Kalle
De todo esto lo más interesante son dos cosas:
-Por un lado, el soporte de USB OTG en el Xperia ARC:ok:, esto quiere decir que podremos conectar discos duros o el pad de la xbox360 a nuestro móvil, recordemos que esto era un rumor en su momento y que nunca se habia confirmado(siendo una "desventaja" frente al SGSII que si lo soporta)
-Por otro, parece que le queda poco a la 2.3.3 del X10:risitas: