Commit Graph

237 Commits

Author SHA1 Message Date
tytung
ab498e72d4 qdsp6: Allow audio_rx_path_id to be zero, fixes Bluetooth
1bc9c36dbb
2011-12-08 22:42:36 +08:00
tytung
2df099fb12 msm: fixed wired headphones for ICS. (Credits to zivan56.)
http://forum.xda-developers.com/showpost.php?p=19672994&postcount=526
2011-12-06 04:08:30 +08:00
tytung
bd27e2a76e msm: htcleo: Add platform data for USB accessory function. 2011-11-16 00:32:35 +08:00
tytung
70f8304d7a usb: gadget: Backport Android drivers from 2.6.35 for HD2 by tytung.
Completely breaks compatibility with HTC Sense, but is needed for Android 2.3.
References:
3362439a1d
03c08c01c6
3fa64c7f7f
2011-11-15 23:13:34 +08:00
tytung
13c4a30c18 sound: ALSA: htcleo: try to fix the sound crash. 2011-11-01 01:31:54 +08:00
tytung
8ebc201e13 Sound: ALSA: htcleo: permit to load the driver as module
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
2011-11-01 00:16:40 +08:00
tytung
facbe114ed msm: ajust the QDSP6 audio driver for the newer htc leo ALSA driver
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
2011-11-01 00:09:14 +08:00
tytung
0aab481de3 msm: Add HTC auto white balance calibration driver 2011-10-31 01:02:44 +08:00
tytung
71715e042d msm: cpu: enable 128MHz 2011-10-01 13:12:46 +08:00
tytung
6e0cc9a888 Revert "USB: gadget: f_accessory: Add new gadget driver for android USB accesories."
This reverts commit bcd275a3ef.
2011-09-29 00:17:56 +08:00
tytung
bcd275a3ef USB: gadget: f_accessory: Add new gadget driver for android USB accesories. 2011-09-24 19:31:58 +08:00
tytung
f3bf007056 htcleo: wifi: remove the old support for wifi.mac=... from kernel cmdline. 2011-09-09 00:49:58 +08:00
tytung
9c8917c035 htcleo: wifi: Load the real MAC address from SPL if running SD build on WM.
Thank for Savan's help.
Refer to 3c64a1c16f
2011-09-08 00:36:00 +08:00
tytung
c26ad4782d qdsp6: add missing code. 2011-09-04 16:55:04 +08:00
tytung
4d83e05864 htcleo: remove support for specific htcleo.acdb file to improve the booting speed when htcleo.acdb is not present. 2011-08-29 22:13:23 +08:00
tytung
ca26744fe2 htcleo: audio: add proc file interface /proc/mic_level and fix mic gain (Credits to mdebeljuh and jdivic)
Apply the diff file from http://forum.xda-developers.com/showpost.php?p=17031938&postcount=97
Disable debug output and fix typo by tytung.

Usage: echo 'device_id level' > /proc/mic_level
Level range: 0-1000; -1 use level from acdb
Current levels (device_id):
HANDSET (0): -1
SPKR_PHONE (1): -1
HEADSET (2): -1
TTY_HEADSET (3): -1
BT_SCO (4): -1
2011-08-29 22:07:47 +08:00
tytung
cc7e778762 htcleo: changed unique WiFi address by using IEEE Standards 00:23:76:XX:XX:XX for HTC. -- http://standards.ieee.org/cgi-bin/ouisearch?00-23-76 2011-08-19 00:49:38 +08:00
tytung
e04e3db5d9 msm: add wakeup lag fix for AUO panels. (credits to xda members mdebeljuh and jdivic) 2011-08-18 00:05:19 +08:00
tytung
6ca79cd6f1 usb: gadget: Add RNDIS (Remote Network Driver Interface Specification) for supporting native USB Tethering. 2011-08-17 23:59:31 +08:00
tytung
bdfeaacf04 htcleo: sent missing AT commands to fix RIL on NAND boot.
We cannot load ril wrapper library (libhtc_ril_wrapper.so) if we want to load GAN RIL (libganril.so) to support T-Mobile WiFi Calling (UMA).
So I fix RIL on NAND boot in kernel, not via ril wrapper library.
2011-04-30 21:53:42 +08:00
tytung
d0fb339c5f q6audio: audio boost 2011-04-12 00:16:35 +08:00
tytung
8f470e6b2d htcleo: fixed Bluetooth MAC address to board device dependend one. (i.e. unique Bluetooth address)
Use IEEE Standards 00:23:76:YY:YY:YY for HTC. -- http://standards.ieee.org/cgi-bin/ouisearch?00-23-76
2011-04-09 01:56:44 +08:00
tytung
028bb98fc1 audio: added Two-way call recording (Credit to avs333)
Applied snq-'s modified patch below and fixed the compilation error on HD2 by tytung
http://forum.xda-developers.com/showpost.php?p=12316760&postcount=154
2011-03-29 00:09:00 +08:00
tytung
1b9449e9a4 Fixed Bluetooth 60mA battery drain
Based on Trilu's patch http://forum.xda-developers.com/showthread.php?t=1007774
Removed some debug and unnecessary code, and added some missing code by tytung.
Thanks to Trilu for finally fixing the BT problem.
Thanks to Charansingh for the work he has done on the BT problem.
2011-03-25 23:15:05 +08:00
tytung
ea113caeb1 Revert "msm: audio: 8k: Send ACDB data after the PREPARE stage of device switch"
This reverts commit b46eec7adc.
2011-03-24 23:23:23 +08:00
tytung
9717a238a2 Revert "msm: audio: 8k: Send ACDB configuration during device switch"
This reverts commit 520bef6caf.
2011-03-24 23:22:55 +08:00
tytung
520bef6caf msm: audio: 8k: Send ACDB configuration during device switch
In the current code, for a device switch command, ACDB configuration
is sent to Q6 only if there is any active tx/rx session.
As per Q6 API, changing the code to send ACDB configuration after
the PREPARE stage of the device switch even if there's no active
tx/rx session.

Change-Id: I895f5da5d23f586ae829c4856a5b39b4399422ee
CRs-Fixed: 267703
Signed-off-by: Phani Kumar Allada <pallad@codeaurora.org>
2011-03-23 01:37:38 +08:00
tytung
b46eec7adc msm: audio: 8k: Send ACDB data after the PREPARE stage of device switch
As per the Q6 API, the ACDB configuration need to be sent to Q6 after the
PREPARE stage of the device switch. But in the current code it is in the
reverse order. Hence correcting the code as per the Q6 API.

Change-Id: I9f947d44f73b1fc71ddea8259ca54402edc895c2
Signed-off-by: Phani Kumar Allada <pallad@codeaurora.org>
2011-03-23 01:31:08 +08:00
tytung
038cb087d1 cLK: kernel patch to save reboot reason so is available on bootloader
By Cedesmith. http://forum.xda-developers.com/showpost.php?p=10837322&postcount=2
2011-03-16 21:09:18 +08:00
tytung
ac2d0b6e27 wifi: cleanup 2011-03-12 17:51:45 +08:00
Markinus
ba5148a6fb htcleo: fixed AC charging on boot and cleanups 2011-03-12 15:57:15 +08:00
tytung
27f7fd8972 cLK: off_mode_charging just prevents the kernel from BUG() if off mode charging and panel is off ( and not detectable )
By cedesmith. http://forum.xda-developers.com/showpost.php?p=10837322&postcount=2
2011-03-08 00:47:45 +08:00
tytung
d1446674eb cLK: cLK_power_clllapse patch adds detection of cLK to kernel and puts the reset vector at 0x11800000 where cLK will jump (+4) at power_collapse_exit
By cedesmith. http://forum.xda-developers.com/showpost.php?p=10837322&postcount=2
2011-03-08 00:47:28 +08:00
tytung
765f3a9d95 wifi: updated WiFi driver to AOSP version to support WiFi with EAP authentication on Gingerbread.
Need Gingerbread wpa_supplicant.
2011-02-23 19:15:59 +08:00
Danijel Posilović
2d292eb9bb htcleo: some bugfixes and cleanups on backlight manager driver 2011-02-17 21:14:16 +08:00
Danijel Posilović
86ad764392 htcleo: new button backlight manager driver
- Now button backlight is managed by this driver, also it is configurable by sysfs (number of secs. after backlight will be turned off after last key-press, enable/disable this auto_off feature)
-When disabled auto_off, backlight will go off along with screen backlight.
- Sysfs for num. of seconds : /sys/devices/platform/btn_backlight_manager/off_seconds
(min: 5 sec, max: 60 sec)
- Sysfs for turn on/off auto-off feature: /sys/devices/platform/btn_backlight_manager/auto_off
(0 to disable auto-off, 1 to enable)
2011-02-17 21:13:55 +08:00
Danijel Posilović
c3c716173f - Some cleanups
- Added button backlight control via panel backlight (button backlight will go on/off with screen backlight)
- To enable/disable this just echo 0 or 1 to /sys/devices/platform/htcleo-backlight/btn_control
( echo 0 >  /sys/devices/platform/htcleo-backlight/btn_control )
- By default button control is enabled
2011-02-17 21:13:21 +08:00
tytung
2bbd73cdec Revert "htcleo: some bugfixes and cleanups on backlight manager driver"
This reverts commit 864e077367f6dc567c5bce2501856225375a3e20.
2011-02-17 21:12:34 +08:00
tytung
0162818a8a New led driver compatible with Desire (Bravo) liblights
- remove all lights.*.so files from /system/lib/hw (backup if u want) and replace with lights.qsd8k.so from Bravo ROM or download from http://www.multiupload.com/2M5T02M3TU
 - if button backlight don’t work: turn screen on, press any key and put phone under bright light ( this should activate light sensor and backlight)

Conflicts:

	arch/arm/configs/htcleo_defconfig
	arch/arm/mach-msm/board-htcleo.h

Add commit from 654ce990ab
2011-02-17 21:09:15 +08:00
Markinus
d3034284d5 bma150: added calibration interface and fixed calibration for HD2 (the facedown problem) 2011-02-16 18:43:01 +08:00
Markinus
4fdb608b2a dex: changed init order to avoid crashes 2011-02-16 18:42:16 +08:00
Markinus
ed4a7e4037 htcleo: fixed proximity and lightsensor power 2011-02-16 18:42:01 +08:00
Markinus
6df96f9ec9 fbconsole: we don't need two inits 2011-02-16 18:39:07 +08:00
Markinus
a236d1a6e3 htcleo: add support for custom DSP like from desire.
For normal use don't activate it, you need some other stuff for testing.
2011-01-29 00:34:57 +08:00
tytung
e3698da382 audio boost 2011-01-29 00:03:08 +08:00
tytung
326b2925fb htcleo: some bugfixes and cleanups on backlight manager driver
(by Danijel Posilovic)
2011-01-28 23:59:18 +08:00
Markinus
ed13833f01 htcleo:_ add missing init value 2011-01-28 23:58:33 +08:00
tytung
25be0f83ab htcleo: fixed wifi mac addresses to board device dependend one.
In NVS the mac address is always same on all devices.
We create now from encrypted device ID a custom mac address.
This is always different but for same device almays identical.
(by Markinus)
2011-01-28 23:56:07 +08:00
Markinus
27fddc92af rmnet: removed wince rmnet file and added mudule support for the normal rmnet driver. 2011-01-28 23:54:12 +08:00
Jon Benson
b02686cbac Removed overclock on bootup. It causes more issues than it's worth since we're IO bound anyway. 2010-12-16 17:46:06 +11:00