Michael 'Mickey' Lauer schrieb:
> Hi Nils,
Hi Mickey,
and others ;)

Although it was not the weekend, I think I still found one of the kernel
"issues":

>> As a side note, I tried to figure out a minor issue I found with
>> suspend/resume... when suspending something changes to text-console
>> before actually suspending the device. I think this is not necessary
>> with GTA01, maybe it is with GTA02. Where could I possibly disable this?
>> I could not find any suspend script doing that. I think it would simply
>> look nicer (so it is just cosmetics) if the screen would not change to
>> textmode before being switched off (same for the reusme case first
>> shwoing the text console and then the GUI). And it may also speed up
>> things a little...
> I agree and I'd love to see that as well. It's a ... drum-roll... kernel
> thing :) At some time in kernel 2.5 the console suspend/resume code
> gained the infamous property to change to a dedicated VT where the
> suspend/resume progress gets output. Garmin once released sources for
> one of their Linux-based PMN devices where they patches this away --
> perhaps you find this or can patch it out on your own. We'd be
> interested.

Actually it turns out not to be a real kernel code problem but rather a
kernel config thing.
The problem tracks down to kernel/power/console.c right at the beginning
are two functions to prepare and restore a suspend console - BINGO! This
is it, the suspend console. This is intended to show suspend
information. Well - this might be useful but I think in most cases it is
not.
This can be pretty easily disabled if we do not support a real console
on the virtual terminals. Do we want that anyway? I don't think so. The
file sais:
#if defined(CONFIG_VT) && defined(CONFIG_VT_CONSOLE)
so disabling CONFIG_VT_CONSOLE should help.
This again can only be disabled if CONFIG_EMBEDDED is set. After that it
can be disabled in the kernel config and we should not see the console
switch anymore.

Strangely the change using menuconfig involved some subtle other changes
in the defconfig as well - I did a diff and attached it anyway.
I have not tested this kernel yet...

> Cheers,
> :M:
Cheers
  nils faerber

-- 
kernel concepts GbR      Tel: +49-271-771091-12
Sieghuetter Hauptweg 48  Fax: +49-271-771091-19
D-57072 Siegen           Mob: +49-176-21024535
--
--- defconfig-gta01-o   2009-03-03 00:07:02.000000000 +0100
+++ defconfig-gta01     2009-03-03 00:07:09.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.24
-# Mon Feb 25 07:03:56 2008
+# Mon Mar  2 23:58:30 2009
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -55,7 +55,7 @@
 CONFIG_INITRAMFS_SOURCE=""
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_SYSCTL=y
-# CONFIG_EMBEDDED is not set
+CONFIG_EMBEDDED=y
 CONFIG_UID16=y
 CONFIG_SYSCTL_SYSCALL=y
 CONFIG_KALLSYMS=y
@@ -160,7 +160,6 @@
 #
 # Power management
 #
-# CONFIG_S3C2410_PM_DEBUG is not set
 # CONFIG_S3C2410_PM_CHECK is not set
 CONFIG_S3C_LOWLEVEL_UART_PORT=0
 
@@ -209,6 +208,7 @@
 CONFIG_MACH_HXD8=y
 CONFIG_MACH_NEO1973_GTA02=y
 # CONFIG_NEO1973_GTA02_2440 is not set
+# CONFIG_MACH_M800 is not set
 CONFIG_CPU_S3C2442=y
 
 #
@@ -919,6 +919,7 @@
 #
 CONFIG_SERIO=y
 # CONFIG_SERIO_SERPORT is not set
+# CONFIG_SERIO_LIBPS2 is not set
 # CONFIG_SERIO_RAW is not set
 # CONFIG_GAMEPORT is not set
 
@@ -926,7 +927,7 @@
 # Character devices
 #
 CONFIG_VT=y
-CONFIG_VT_CONSOLE=y
+# CONFIG_VT_CONSOLE is not set
 CONFIG_NR_TTY_DEVICES=4
 CONFIG_HW_CONSOLE=y
 CONFIG_VT_HW_CONSOLE_BINDING=y
@@ -990,6 +991,7 @@
 # CONFIG_SENSORS_MAX6875 is not set
 # CONFIG_SENSORS_TSL2550 is not set
 CONFIG_SENSORS_TSL256X=m
+# CONFIG_PCA9632 is not set
 # CONFIG_I2C_DEBUG_CORE is not set
 # CONFIG_I2C_DEBUG_ALGO is not set
 # CONFIG_I2C_DEBUG_BUS is not set
@@ -1021,9 +1023,9 @@
 # CONFIG_PDA_POWER is not set
 # CONFIG_APM_POWER is not set
 # CONFIG_BATTERY_DS2760 is not set
-CONFIG_BATTERY_GTA01=y
 CONFIG_BATTERY_BQ27000_HDQ=y
 CONFIG_GTA02_HDQ=y
+CONFIG_BATTERY_GTA01=y
 # CONFIG_HWMON is not set
 CONFIG_WATCHDOG=y
 # CONFIG_WATCHDOG_NOWAYOUT is not set
@@ -1139,6 +1141,7 @@
 CONFIG_SND=m
 CONFIG_SND_TIMER=m
 CONFIG_SND_PCM=m
+CONFIG_SND_RAWMIDI=m
 # CONFIG_SND_SEQUENCER is not set
 CONFIG_SND_OSSEMUL=y
 CONFIG_SND_MIXER_OSS=m
@@ -1179,6 +1182,7 @@
 CONFIG_SND_S3C24XX_SOC=m
 CONFIG_SND_S3C24XX_SOC_I2S=m
 CONFIG_SND_S3C24XX_SOC_NEO1973_WM8753=m
+# CONFIG_SND_S3C24XX_SOC_NEO1973_WM8753_DEBUG is not set
 CONFIG_SND_S3C24XX_SOC_NEO1973_GTA02_WM8753=m
 
 #
@@ -1383,9 +1387,10 @@
 # CONFIG_USB_GADGET_DUALSPEED is not set
 # CONFIG_USB_ZERO is not set
 CONFIG_USB_ETH=m
-CONFIG_USB_ETH_RNDIS=m
+CONFIG_USB_ETH_RNDIS=y
 CONFIG_USB_GADGETFS=m
 CONFIG_USB_FILE_STORAGE=m
+# CONFIG_USB_FILE_STORAGE_TEST is not set
 CONFIG_USB_G_SERIAL=m
 CONFIG_USB_MIDI_GADGET=m
 
@@ -1513,6 +1518,7 @@
 CONFIG_JOLIET=y
 # CONFIG_ZISOFS is not set
 CONFIG_UDF_FS=m
+CONFIG_UDF_NLS=y
 
 #
 # DOS/FAT/NT Filesystems
@@ -1545,16 +1551,6 @@
 # CONFIG_BEFS_FS is not set
 # CONFIG_BFS_FS is not set
 # CONFIG_EFS_FS is not set
-CONFIG_YAFFS_FS=y
-CONFIG_YAFFS_YAFFS1=y
-CONFIG_YAFFS_9BYTE_TAGS=y
-CONFIG_YAFFS_YAFFS2=y
-CONFIG_YAFFS_AUTO_YAFFS2=y
-# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
-CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS=10
-# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
-# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
-CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
 CONFIG_JFFS2_FS=y
 CONFIG_JFFS2_FS_DEBUG=0
 CONFIG_JFFS2_FS_WRITEBUFFER=y
_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to