Справочник Пользователя для Sony XCI-SX1
XCI-SX1 SDK / SDK Technical Manual
2.1.3 BootSplash Patch
To display a boot logo and progress bar during boot-up, this patch
should be applied to the kernel. Applying this patch enables the user to
display the desired effect during boot up.
should be applied to the kernel. Applying this patch enables the user to
display the desired effect during boot up.
Bootsplash Patch
Patch Application:
cd /usr/src/linux
patch -p1 < [source]/bootsplash-3.0.7-
2.4.18-vanilla.diff
Where:
[source]
– path where the exploded patch is
located
2.1.4 Keyboard Patch
The keyboard patch applied is to adjust the keyboard repeat interval and
delay. The other patch is a Kernel modification to avoid the occurrence
of “pc_keyb: controller jammed (0xFF)” error message.
delay. The other patch is a Kernel modification to avoid the occurrence
of “pc_keyb: controller jammed (0xFF)” error message.
Keyboard Patch
Patch Application:
Keyboard Repeat
“controller jammed”
error
cd /usr/src/linux/drivers/input/
(edit the input.c file as shown below)
init_timer(&dev->timer);
dev->timer.data = (long) dev;
dev->timer.function = input_repeat_key;
//dev->rep[REP_DELAY] = HZ/4;
dev->rep[REP_DELAY] = HZ;
//dev->rep[REP_PERIOD] = HZ/33;
dev->rep[REP_PERIOD] = HZ/8;
dev->timer.data = (long) dev;
dev->timer.function = input_repeat_key;
//dev->rep[REP_DELAY] = HZ/4;
dev->rep[REP_DELAY] = HZ;
//dev->rep[REP_PERIOD] = HZ/33;
dev->rep[REP_PERIOD] = HZ/8;
cd /usr/src/linux/include/asm-i386/
(edit the keyboard.h file as shown below)
(edit the keyboard.h file as shown below)
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
4