On Sun, 2011-03-06 at 13:06 +0100, Lukas-David Gorris wrote:
> From 08c592a9ff934f5244a783c04d758c3858349b86 Mon Sep 17 00:00:00 2001
> From: Lukas-David Gorris <lukas.gor...@gmail.com>
> Date: Sun, 6 Mar 2011 12:47:56 +0100
> Subject: [PATCH] Add htcleo (HTC HD2) config
> 
> Based on GNUtoo's nexus one config. Tested and working on the device.
> Known problem: Non working audio routing.
> ---
>  fsogsmd/conf/htcleo/alsa-default/gsmhandset |    5 ++
>  fsogsmd/conf/htcleo/alsa-default/gsmheadset |    5 ++
>  fsogsmd/conf/htcleo/alsa-default/gsmspeaker |    5 ++
>  fsogsmd/conf/htcleo/alsa-default/headset    |    5 ++
>  fsogsmd/conf/htcleo/alsa-default/stereoout  |    5 ++
>  fsogsmd/conf/htcleo/alsa.conf               |   15 +++++++
Remove alsa for now.
>  fsogsmd/conf/htcleo/fsodeviced.conf         |   58
> +++++++++++++++++++++++++++
>  fsogsmd/conf/htcleo/fsogsmd.conf            |   41
> +++++++++++++++++++
>  fsogsmd/conf/htcleo/fsotdld.conf            |   48
> ++++++++++++++++++++++
>  fsogsmd/conf/htcleo/fsousaged.conf          |   32 +++++++++++++++
>  10 files changed, 219 insertions(+), 0 deletions(-)
>  create mode 100644 fsogsmd/conf/htcleo/alsa-default/gsmhandset
>  create mode 100644 fsogsmd/conf/htcleo/alsa-default/gsmheadset
>  create mode 100644 fsogsmd/conf/htcleo/alsa-default/gsmspeaker
>  create mode 100644 fsogsmd/conf/htcleo/alsa-default/headset
>  create mode 100644 fsogsmd/conf/htcleo/alsa-default/stereoout
>  create mode 100644 fsogsmd/conf/htcleo/alsa.conf
>  create mode 100644 fsogsmd/conf/htcleo/fsodeviced.conf
>  create mode 100644 fsogsmd/conf/htcleo/fsogsmd.conf
>  create mode 100644 fsogsmd/conf/htcleo/fsotdld.conf
>  create mode 100644 fsogsmd/conf/htcleo/fsousaged.conf
same comment apply here.


> +[Xfsodevice.accelerometer_lis302]
> +inputnode = /input/event2
> +sample_rate = 100
> +threshold = 100
> +full_scale = 2.3
> +
> +[Xfsodevice.accelerometer]
> +device_type = lis302
> +
remove that

> +[fsodevice.kernel26_display]
> +
> +[fsodevice.kernel26_leds]
> +ignore_by_name = lcd-backlight
> +
> +[fsodevice.kernel26_powersupply]
> +
> +[fsodevice.kernel26_rfkill]
> +
> +[fsodevice.kernel26_rtc]
> +
> +#[fsodevice.kernel26_firmwareloader]
> +
> +[fsodevice.kernel_info]
> +
> +[fsodevice.kernel_input]
> +report001 = POWER,key,116,1
> +report002 = MENU,key,139,1
> +report003 = PHONE_ANSWER,key,231,1
> +report004 = PHONE_HANGUP,key,107,1
> +report005 = HOME,key,102,1
> +report006 = BACK,key,158,1
> +report007 = VOLUME_UP,key,115,1
> +report008 = VOLUME_DOWN,key,114,1
> +report009 = CAM_FOCUS,key,211,1
> +report010 = CAM_SHOOT,key,212,1
> +report011 = KEYBOARD,switch,0,0
> +report012 = BALL_X,relative,0,0
> +report013 = BALL_Y,relative,1,0
do you have that many keys?

> +[fsodevice.vibrator_timedoutputclass]
does vibrator work?
> +
> +[fsodevice.player_alsa]
> +
> +[fsodevice.router_alsa]
remove that
> +[fsodevice.audio]
> +player_type = alsa
> +router_type = none
add none as player_type
> diff --git a/fsogsmd/conf/htcleo/fsogsmd.conf 
[...]

> +#modem_type = qualcomm_htc
remove that
> +modem_type = singleline
> +modem_charset = hex
> +pdp_type = qmi
do you have qmi on leo?
[...]
> +#[fsogsm.modem_qualcomm_htc]
remove that
> +# No settings yet
> +
> +[fsogsm.pdp_qmi]
> +# No settings yet
do you have /dev/qmi0 on leo? if not remove



> diff --git a/fsogsmd/conf/htcleo/fsousaged.conf
> b/fsogsmd/conf/htcleo/fsousaged.conf
> new file mode 100644
> index 0000000..900b335
> --- /dev/null
> +++ b/fsogsmd/conf/htcleo/fsousaged.conf
> @@ -0,0 +1,32 @@
> +#######################################################################################
> +# FSO Usage Daemon Configuration File -- for SYSTEM INTEGRATORS only
> +########################################################################################
> +[logging]
> +# Log level: DEBUG, INFO (default), WARNING, ERROR
> +# Override via environment as FSO_LOG_LEVEL
> +log_level = INFO
> +# Where to log to: none (default), stderr, stderr:colors, file,
> syslog
> +# Override via environment as FSO_LOG_TO
> +log_to = file
> +# Log Destination (valid only for log_to = file)
> +# Override via environment as FSO_LOG_DESTINATION
> +log_destination = /var/log/fsousaged.log
> +
> +[fsousage]
> +# Which low level suspend/resume variant to use: none (default),
> kernel26, kernel26_staysalive, openmoko, palmpre
> +lowlevel_type = android
> +# FOR DEBUGGING ONLY: Do not suspend, but instead sleep a couple of
> seconds
> +debug_do_not_suspend = 1
good, keep that until you have proper kernel support for resuming the
panel.
> +# FOR DEBUGGING ONLY: Enable every registered resource on startup
> +debug_enable_on_startup = 0
> +# FOR DEBUGGING ONLY: Whether resource activation should be
> synchronized with the registration lifecycle: always (default),
> startup, shutdown, never
> +sync_resources_with_lifecycle = always
> +
> +[fsousage.lowlevel_android]
> +# Which inputnode to use for power key wakeup
> +wakeup_inputnode = 3
> +# Key code of power key
> +wakeup_powerkeycode = 107
That's for resuming, put the correct keys if you can, evtest can help.


All the rest seem ok.

Denis.



_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to