Skip to content

Instantly share code, notes, and snippets.

View TheWhisp's full-sized avatar

Dāvis Mālnieks TheWhisp

View GitHub Profile
<6>[ 0.000000] [0: swapper: 0] Booting Linux on physical CPU 0x0
<6>[ 0.000000] [0: swapper: 0] Initializing cgroup subsys cpu
<6>[ 0.000000] [0: swapper: 0] Initializing cgroup subsys cpuacct
<5>[ 0.000000] [0: swapper: 0] Linux version 3.10.49-g4ce08c9 (davis@surfer.cas-online.nl) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Sat Aug 22 18:53:50 CEST 2015
<4>[ 0.000000] [0: swapper: 0] CPU: ARMv7 Processor [410fd030] revision 0 (ARMv7), cr=10c0387d
<4>[ 0.000000] [0: swapper: 0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
<6>[ 0.000000] [0: swapper: 0] Machine: Qualcomm Technologies, Inc. MSM 8916 (Flattened Device Tree), model: Samsung A5U EUR PROJECT Rev01
<6>[ 0.000000] [0: swapper: 0] cma: Found external_image__region@0, memory base 0x85500000, size 19 MiB, limit 0xffffffff
<6>[ 0.000000] [0: swapper: 0] cma: Found modem_adsp_region@0, memory base 0x8680000
@TheWhisp
TheWhisp / gist:a4ec12d5dabdc19996c1
Created August 24, 2015 09:03
A5 boot - logcat
--------- beginning of system
I/auditd ( 0): Starting up
--------- beginning of main
W/auditd ( 232): type=2000 audit(0.0:1): initialized
W/auditd ( 232): type=1325 audit(0.0:2): table=filter family=2 entries=0
W/auditd ( 232): type=1325 audit(0.0:3): table=mangle family=2 entries=0
W/auditd ( 232): type=1325 audit(0.0:4): table=nat family=2 entries=0
W/auditd ( 232): type=1325 audit(0.0:5): table=raw family=2 entries=0
W/auditd ( 232): type=1325 audit(0.0:6): table=security family=2 entries=0
W/auditd ( 232): type=1325 audit(0.0:7): table=filter family=3 entries=0
@TheWhisp
TheWhisp / gist:d5a366dec6ab49ad1d36
Created August 24, 2015 07:40
A5 no sound card detected
D/AudioDaemon( 266): Opening sound card state : /proc/asound/card---/state
E/AudioDaemon( 266): Open /proc/asound/card---/state failed : No such file or directory
V/AudioDaemon( 266): bool android::AudioDaemon::getStateFDs(std::vector<std::pair<int, int> >&): 0 sound cards detected
@TheWhisp
TheWhisp / wlan suspend
Created September 17, 2013 14:23
wlan suspend/resume patch
From eea92911fb95a4214e8f1ec6ece2e0ac4fa60818 Mon Sep 17 00:00:00 2001
From: Arne Coucheron <arco68@gmail.com>
Date: Sun, 28 Oct 2012 00:31:32 +0200
Subject: [PATCH] msm: Fix wifi sleep
---
drivers/mmc/core/core.c | 19 +++++++++++++++++++
drivers/mmc/host/msm_sdcc.c | 11 +++++++++++
2 files changed, 30 insertions(+)
D/hostapd ( 2439): rfkill: event: idx=2 type=1 op=1 soft=0 hard=0
D/SoftapController( 107): Softap startap - Ok
E/hostapd ( 2587): Configuration file: /data/misc/wifi/hostapd.conf
E/hostapd ( 2587): HT (IEEE 802.11n) in 11b mode is not allowed, disabling HT capabilites
E/hostapd ( 2587): Could not read interface wlan0 flags: No such device
E/hostapd ( 2587): nl80211 driver initialization failed.
D/hostapd ( 2439): rfkill: event: idx=3 type=1 op=0 soft=0 hard=0
D/hostapd ( 2439): rfkill: event: idx=3 type=1 op=2 soft=0 hard=0
I/hostapd ( 2439): rfkill: WLAN unblocked
D/hostapd ( 2439): nl80211: Update ifindex for a removed interface
@TheWhisp
TheWhisp / wpa_supplicant
Created August 3, 2013 18:33
Mini 2 logcat while turning on Wi-Fi
D/WifiService( 507): setWifiEnabled: true pid=3073, uid=1000
E/WifiStateMachine( 507): Failed to reload STA firmware java.lang.IllegalStateException: command '15 softap fwreload wlan0 STA' failed with '400 15 Softap operation failed (Cannot assign requested address)'
W/CommandListener( 107): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 107): Setting iface cfg
E/WifiStateMachine( 507): Unable to change interface settings: java.lang.IllegalStateException: command '17 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 17 Failed to set address (No such device)'
D/wpa_supplicant( 3521): wpa_supplicant v2.0-devel-4.2.2
D/wpa_supplicant( 3521): random: Trying to read entropy from /dev/random
I/wpa_supplicant( 3521): Successfully initialized wpa_supplicant
D/wpa_supplicant( 3521): Initializing interface 'wlan0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'nl80211,wext' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 3521): Configuration file '/data/misc/wifi/wpa_supplic
@TheWhisp
TheWhisp / gist:6133946
Created August 1, 2013 18:31
vibrator: sleep from invalid context
<3>[ 626.062809] BUG: sleeping function called from invalid context at /home/thewhisp/android/cm10.1/kernel/samsung/msm7x27a/kernel/mutex.c:85
<3>[ 626.062851] in_atomic(): 1, irqs_disabled(): 128, pid: 3211, name: SharedPreferenc
<4>[ 626.062938] [<c0041324>] (unwind_backtrace+0x0/0x11c) from [<c0509298>] (mutex_lock+0x18/0x60)
<4>[ 626.062994] [<c0509298>] (mutex_lock+0x18/0x60) from [<c0245b60>] (_regulator_get+0x4c/0x364)
<4>[ 626.063046] [<c0245b60>] (_regulator_get+0x4c/0x364) from [<c009e7e4>] (msm_vibrator_power+0x14/0xf8)
<4>[ 626.063086] [<c009e7e4>] (msm_vibrator_power+0x14/0xf8) from [<c009e9e0>] (vibrator_timer_func+0xa8/0xb8)
<4>[ 626.063129] [<c009e9e0>] (vibrator_timer_func+0xa8/0xb8) from [<c00c9bcc>] (__run_hrtimer.isra.20+0x9c/0x13c)
<4>[ 626.063166] [<c00c9bcc>] (__run_hrtimer.isra.20+0x9c/0x13c) from [<c00ca35c>] (hrtimer_interrupt+0x100/0x2a0)
<4>[ 626.063211] [<c00ca35c>] (hrtimer_interrupt+0x100/0x2a0) from [<c00468e4>] (msm_timer_interrupt+0x18/0x20)
<4>[ 626.063261] [<c0046
@TheWhisp
TheWhisp / ath6kl_logcat
Created July 30, 2013 10:43
ath6kl driver logcat
D/WifiService( 435): setWifiEnabled: true pid=1119, uid=1000
E/WifiStateMachine( 435): Failed to reload STA firmware java.lang.IllegalStateException: command '36 softap fwreload wlan0 STA' failed with '400 36 Softap operation failed (Cannot assign requested address)'
W/CommandListener( 107): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 107): Setting iface cfg
E/WifiStateMachine( 435): Unable to change interface settings: java.lang.IllegalStateException: command '38 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 38 Failed to set address (No such device)'
I/wpa_supplicant( 2680): Successfully initialized wpa_supplicant
E/wpa_supplicant( 2680): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/wpa_supplicant( 2680): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/wpa_supplicant( 2680): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/wpa_supplicant( 2680): wpa_driver_nl80211_driver_cmd: failed to issue private commands
@TheWhisp
TheWhisp / ath6kl_logcat
Created July 30, 2013 10:43
ath6kl driver logcat
D/WifiService( 435): setWifiEnabled: true pid=1119, uid=1000
E/WifiStateMachine( 435): Failed to reload STA firmware java.lang.IllegalStateException: command '36 softap fwreload wlan0 STA' failed with '400 36 Softap operation failed (Cannot assign requested address)'
W/CommandListener( 107): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 107): Setting iface cfg
E/WifiStateMachine( 435): Unable to change interface settings: java.lang.IllegalStateException: command '38 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 38 Failed to set address (No such device)'
I/wpa_supplicant( 2680): Successfully initialized wpa_supplicant
E/wpa_supplicant( 2680): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/wpa_supplicant( 2680): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/wpa_supplicant( 2680): wpa_driver_nl80211_driver_cmd: failed to issue private commands
E/wpa_supplicant( 2680): wpa_driver_nl80211_driver_cmd: failed to issue private commands
@TheWhisp
TheWhisp / ath6kl_kmsg
Created July 28, 2013 16:13
ath6kl driver power on on Mini 2
<6>[ 1028.589456] cfg80211: Calling CRDA to update world regulatory domain
<4>[ 1028.798471] wlan_setup_power on --enter
<6>[ 1028.798493] wlan_setup_ldo_33v - set by Wifi : on
<6>[ 1028.798504] wlan_setup_ldo_33v - old wlan_33v_flag : 0
<6>[ 1028.798514] wlan_setup_ldo_33v - new wlan_33v_flag : 1
<4>[ 1028.798526] wlan_set_gpio - 109 : on
<6>[ 1028.798544] wlan_set_gpio: before (1) :: gpio_get_value = 0
<6>[ 1028.798568] wlan_set_gpio: after (1) :: gpio_get_value = 1wlan_set_gpio - 33 : on
<6>[ 1028.798739] wlan_set_gpio: before (1) :: gpio_get_value = 0
<6>[ 1028.798754] wlan_set_gpio: after (1) :: gpio_get_value = 1