Related
Hi there,
I know that some of you were able to connect peripheral devices to their phones.
Has anyone of you tested this with the ICS stock kernel? When looking at /proc/config.gz it seems to me that all things neccessary for USB OTG are contained in the kernel.
Did you always use a special "OTG cable" or were you able to force the controller into host mode?
I'm playing with several USB hubs at the moment but I'm stuck.
Have a nice day,
Markus
You need Y-cable for getting the VBUS to both phone and hub.
Well, I removed a diode from my hub and put a label on it saying "do not connect to computer" .
Now, as soon as I connect my phone to the hub's upstream port, it starts charging. But still dmesg doesn't say anything about a switch to host mode .
Check ID pin value on the cable you're using. You're most likely using the standard A-to-microB cable, meant for device. You need A-to-microA, or just hack your cable and tie ID pin low in the microB plug, turning it into microA.
Now I made sure I'm using the right cable, but still it doesn't work.
This has to do with the stock kernel. If you look at "arch/arm/mach-msm/board-saga.c", line 3168, it says "USB_PERIPHERAL". If you change this to "USB_OTG" and compile it using the default config file, the kernel still won't recognize a OTG cable. But you can mount debugfs: "mount -t debugfs none /sys/kernel/debug" and look at "/sys/kernel/debug/msm_otg/mode". This file contains "none", if no cable is plugged in, or "peripheral" else. If you try to overwrite it with "echo host > mode", something happens according to dmesg:
[USB] msm_otg_mode_write: host
[USBH] msm_otg_sm_work: state:b_peripheral bit:0x00000002
[USB] OTG_STATE_B_PERIPHERAL state
[USBH] gadget off
[USB] OTG runtime idle
[USB] OTG runtime suspend
[USBH] msm_otg_suspend
[USBH] USB in low power mode
[USBH] msm_otg_sm_work: state:b_idle bit:0x00000002
[USB] OTG runtime resume
[USBH] msm_otg_resume
[USBH] USB exited from low power mode
[USB] OTG_STATE_B_IDLE state
[USBH] b_sess_vld
[USBH] gadget on
[USB] CI13XXX_CONTROLLER_RESET_EVENT received
[USBH] send connect type 0
[TP]cable change to 0
[TP]ts->status change to 0
[USB] suspend
[CABLE] usb_status_notifier_func: cable_type = 0
[CABLE] send_cable_connect_notify: cable_type = 0
Click to expand...
Click to collapse
It seems like something is immediately switching back to "peripheral", probably it's got to do with the "carkit driver":
[CABLE] phy_id_detect: usb ID pin = 0
config_saga_usb_id_gpios 145 output high
[USBH] carkit_phy_reset
[USBH] phy_reset: success
[USBH] ulpi: write 0x06 to 0x36
[USBH] ulpi: write 0x0c to 0x31
[USBH] ulpi: write 0x31 to 0x32
[USBH] ulpi: write 0x01 to 0x0d
[USBH] ulpi: write 0x01 to 0x10
[USBH] =============htc_get_accessory_state otgsc = 0x202e20
config_saga_usb_id_gpios 145 input none pull
[CABLE] phy_id_detect: type = 1
[CABLE] cradle inserted
[CABLE] cable_detect_handler ID pin 0, type 1
Click to expand...
Click to collapse
The file "drivers/usb/otg/msm_otg.c" has been adjusted by HTC and I'm afraid you'd have to revert these changes to make host mode work. Unfortunately, I don't think I have enough knowledge about this to do it myself. But probably this is interesting to some of you who are working on custom ICS kernels .
Hello,
Did you manage to make it work with ICS?
Thank you.
Well, no. And currently I've got neither the time nor the knowledge to I'm afraid. But it was possible in Android 2.3.5 by using a kernel hack. As far as I know amidabuddha is playing around with this, too, but wasn't successful yet as we were not able to get the source code of the modified kernel.
Finally, I did it! :victory: ... At least partially.
Code:
<6>[ 1117.578247] [USB] msm_otg_mode_write: host
<6>[ 1117.578735] [USBH] msm_otg_sm_work: state:b_peripheral bit:0x00000002
<6>[ 1117.579437] [USB] OTG_STATE_B_PERIPHERAL state
<6>[ 1117.579833] [USBH] send connect type 0
<6>[ 1117.580169] [TP]cable change to 0
<6>[ 1117.582244] [TP]ts->status change to 0
<7>[ 1117.582702] [USBH] gadget off
<6>[ 1117.583679] [USBH] msm_otg_sm_work: state:b_idle bit:0x00000002
<6>[ 1117.584350] [USB] OTG_STATE_B_IDLE state
<6>[ 1117.584716] [USBH] !id || id_a
<7>[ 1117.585083] [USBH] host on
<6>[ 1117.585754] msm_hsusb_host msm_hsusb_host.0: Qualcomm On-Chip EHCI Host Controller
<6>[ 1117.586242] msm_hsusb_host msm_hsusb_host.0: new USB bus registered, assigned bus number 1
<6>[ 1117.591003] [CABLE] usb_status_notifier_func: cable_type = 0
<7>[ 1117.591400] [CABLE] send_cable_connect_notify: cable_type = 0
<6>[ 1117.592071] [BATT] peripheral_cable_update(0) from_owe=0
<6>[ 1117.592468] [BATT] Update SMEM: cable type 0 at 1111762850068 (2013-01-13 14:46:15.556571647 UTC)
<6>[ 1117.606140] [BATT] ID=2, level=86, vol=4063, temp=256, batt_current=84, chg_src=0, chg_en=1, full_bat=1600000, over_vchg=0, smem_vbus=1 at 1111776216768 (2013-01-13 14:46:15.570213004 UTC)
<6>[ 1117.611083] msm_hsusb_host msm_hsusb_host.0: irq 60, io mem 0xa3600000
<6>[ 1117.630737] msm_hsusb_host msm_hsusb_host.0: USB 2.0 started, EHCI 1.00
<6>[ 1117.632110] hub 1-0:1.0: USB hub found
<6>[ 1117.632324] hub 1-0:1.0: 1 port detected
<6>[ 1117.950714] usb 1-1: new high speed USB device number 2 using msm_hsusb_host
<6>[ 1118.120849] hub 1-1:1.0: USB hub found
<6>[ 1118.121124] hub 1-1:1.0: 4 ports detected
<6>[ 1136.541107] usb 1-1.2: new low speed USB device number 3 using msm_hsusb_host
<6>[ 1136.701995] input: BTC USB Multimedia Keyboard as /devices/platform/msm_hsusb_host.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input7
<6>[ 1136.705749] using input dev BTC USB Multimedia Keyboard for key reset
<6>[ 1136.706481] keychord: using input dev BTC USB Multimedia Keyboard for fevent
<6>[ 1136.707763] generic-usb 0003:046E:52CF.0001: input: USB HID v1.10 Keyboard [BTC USB Multimedia Keyboard] on usb-msm_hsusb_host.0-1.2/input0
<6>[ 1136.817230] input: BTC USB Multimedia Keyboard as /devices/platform/msm_hsusb_host.0/usb1/1-1/1-1.2/1-1.2:1.1/input/input8
<6>[ 1136.825622] using input dev BTC USB Multimedia Keyboard for key reset
<6>[ 1136.825836] keychord: using input dev BTC USB Multimedia Keyboard for fevent
<6>[ 1136.835693] generic-usb 0003:046E:52CF.0002: input: USB HID v1.10 Device [BTC USB Multimedia Keyboard] on usb-msm_hsusb_host.0-1.2/input1
<6>[ 1161.881195] usb 1-1.3: new low speed USB device number 4 using msm_hsusb_host
<6>[ 1162.014099] input: Logitech USB-PS/2 Optical Mouse as /devices/platform/msm_hsusb_host.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input9
<6>[ 1162.020507] generic-usb 0003:046D:C01E.0003: input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-msm_hsusb_host.0-1.3/input0
At the moment, you have to switch between peripheral mode and host mode manually, as I explained in my post above. When switching to host mode, the phone stops charging, so this isn't really OTG now.
Patching is much easier than we thought, as all necessary code already exists in the stock source code. HTC just seems to have "forgotten" one line...
I'll append a patch for HTC's ICS stock source code and the .config file I used.
Using the patch and the kernel config I appended OTG mode finally works as it should. The phone switches between peripheral mode and host mode automatically depending on the cable's ID pin and starts charging even when in host mode. It is possible now to connect usb hid devices as well as usb sticks, card readers and so on, I even tried remote triggering a Canon DSLR using "Remote Release".
The appended kernel config file is based on saga_defconfig, the only changes I made are those necessary for OTG. It should still be possible to connect the phone to a car kit or a desktop dock, although I can't test that.
Wow. I worked on this thing for three days and got it working a couple hours ago. And now I find out that you made the the same thing. I patched exactly the same lines. What a coincidence
So your phone starts charging in host mode, too? A few seconds after you plugged in the otg cable?
There's still something wrong I'm afraid:
Code:
<6>[ 1061.087646] [USBH] !id
<6>[ 1061.087738] [USBH] Avail curr from USB = 0
<6>[ 1061.284545] [BATT][tps65200] Set VDPM back to original V: regh 0x03=83
<7>[ 1063.090393] [K] __msm_rpc_read: prog = 0x30100000, procedure = 1, type = 0, xid = 18
<6>[ 1063.090698] [BATT] M2A_RPC: set_charging: 0 at 1057797432594 (2013-01-18 22:12:40.474011248 UTC)
<6>[ 1063.091400] [BATT][tps65200] Switch charger OFF
Although the LED lights up the charger is switched off. You can see that either in the kernel log or in Settings -> Power. There it says "discharging" for me.
There is not even ACA support for the "CI_45NM_INTEGRATED_PHY" as I expected in the first place, so I think we must find a way to force it into ac charging mode when the id pin is grounded. "drivers/usb/otg/msm_otg.c" should be the right place to start...
Hi guys.
I have pulled the request by astro757 and combined it with some more entries from the defconfig by engelmarkus that *could* eventually make the storage host operational. See here. There are some differences in your patches.
Has anyone of you tried that? I do not have a cable to test it and before release I would like to be sure that it is working. Credits will be given to you both of course.
Btw engelmarkus, I see you defconfig is from CM. Am I right?
amidabuddha said:
Has anyone of you tried that?
Click to expand...
Click to collapse
Well, I downloaded your repository and compiled it. HID devices do not work:
...
<3>[ 479.265350] generic-usb 0003:046E:52CF.0002: can't reset device, msm_hsusb_host.0-1.3/input1, status -71
<3>[ 479.272186] generic-usb 0003:046E:52CF.0001: can't reset device, msm_hsusb_host.0-1.3/input0, status -71
...
Click to expand...
Click to collapse
This sounds almost like https://bugzilla.novell.com/show_bug.cgi?id=734754 .
EDIT:
HID devices do work, but you have to plug them in before you power the hub. HID devices plugged in afterwards are not recognized at all. I think there was some change in the patches between 3.0.16 and 3.0.59 that is responsible for this weird behaviour.
amidabuddha said:
Btw engelmarkus, I see you defconfig is from CM. Am I right?
Click to expand...
Click to collapse
I got my saga_defconfig from "saga-ics-crc-3.0.16-62a67df" and made a few changes. I never looked into the CM sources.
Hey, I was wondering what you changed in msm_otg.c. I'm trying to do similar with a Nexus 4 right now, and have modified msm_otg.c for crude support with /sys/kernel/debug/msm_otg/mode (thanks CaptainMuon), but on unplug of the otg cable, mode gets locked to "none" until the device is rebooted. There's also no auto-switching between host and peripheral when an otg cable/device is inserted (externally powered y-cable).
Thanks for any help
Hi,
ziddey said:
Hey, I was wondering what you changed in msm_otg.c.
Click to expand...
Click to collapse
We didn't change this file at all.
Here you can see all the changes that were necessary: https://github.com/amidabuddha/saga-ics-crc-3.0.16/commit/8f04057be6eda67b40eb1bf3354294138f9c2d24
Markus
The manufacture is pretty upfront about some specs like what Video and CPU are in the device. But, I was curious about some other modules, like the radios. Could someone who has a Razr HD or Razr MAXX HD do..
Code:
> adb shell dmesg
and
Code:
> adb shell lsmod
after a fresh boot and post the results?
Thanks!
gmatrangola said:
The manufacture is pretty upfront about some specs like what Video and CPU are in the device. But, I was curious about some other modules, like the radios. Could someone who has a Razr HD or Razr MAXX HD do..
Code:
> adb shell dmesg
and
Code:
> adb shell lsmod
after a fresh boot and post the results?
Thanks!
Click to expand...
Click to collapse
completely stock never rooted Maxx HD here, what I got from dmesg:
2
<3>[ 2.420357,1] pm_chg_iterm_set: bad mA=249 asked to set
<3>[ 2.420418,1] pm8921_chg_hw_config: Failed to set term current to 249 rc=-
22
<4>[ 2.421974,1] Warning: unable to open an initial console.
<6>[ 2.422249,1] Freeing init memory: 292K
<4>[ 2.426491,0] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/
oom_score_adj instead.
<6>[ 2.457805,1] EMU-det(detection_work): state CONFIG, time since last run -
297550 ms
<6>[ 2.458080,1] EMU-det(alt_mode_setup): SEMU_ALT_MODE_EN is standard
<6>[ 2.467755,1] EMU-det(detection_work): state SAMPLE, time since last run 1
0 ms
<6>[ 2.468945,1] EMU-det(adc_vbus_get): vbus=22 mV
<6>[ 2.527788,1] EMU-det(get_sense): SEMU_PPD_DET: ID floating
<6>[ 2.587852,1] EMU-det(get_sense): No need to check DMB_PPD_DET_N
<6>[ 2.588036,1] EMU-det(sense_dp_dm): D+/D- mask: 0x10
<6>[ 2.588097,1] EMU-det(get_sense): irq=0, SESS_END, FLOAT, NO_DCD,
<6>[ 2.588219,1] EMU-det(detection_work): SAMPLE keep waiting ...
<6>[ 2.597802,1] EMU-det(detection_work): state SAMPLE, time since last run 1
30 ms
<6>[ 2.599053,1] EMU-det(adc_vbus_get): vbus=22 mV
<6>[ 2.657866,1] EMU-det(get_sense): SEMU_PPD_DET: ID floating
<6>[ 2.670288,0] keychord: using input dev keypad_8960 for fevent
<6>[ 2.670379,0] keychord: using input dev pmic8xxx_pwrkey for fevent
<3>[ 2.670624,0] init: cannot open '/initlogo.rle'
<6>[ 2.727880,1] EMU-det(get_sense): No need to check DMB_PPD_DET_N
<6>[ 2.728032,1] EMU-det(sense_dp_dm): D+/D- mask: 0x10
<6>[ 2.728124,1] EMU-det(get_sense): irq=0, SESS_END, FLOAT, NO_DCD,
<6>[ 2.728246,1] EMU-det(detection_work): state IDENTIFY, time since last run
130 ms
<6>[ 2.729497,1] EMU-det(adc_vbus_get): vbus=22 mV
<6>[ 2.778116,1] qcache: created ephemeral tmem pool, id=0, client=65535
<6>[ 2.778513,1] EXT4-fs (mmcblk0p36): mounted filesystem with ordered data m
ode. Opts: (null)
<6>[ 2.787944,1] EMU-det(get_sense): SEMU_PPD_DET: ID floating
<6>[ 2.847978,1] EMU-det(get_sense): No need to check DMB_PPD_DET_N
<6>[ 2.848069,1] EMU-det(sense_dp_dm): D+/D- mask: 0x10
<6>[ 2.848191,1] EMU-det(get_sense): irq=0, SESS_END, FLOAT, NO_DCD,
<6>[ 2.848283,1] EMU-det(detection_work): no accessory
<6>[ 2.848405,1] EMU-det(notify_accy): EMU detection Notify: NONE
<6>[ 2.848649,1] EMU-det(alt_mode_setup): SEMU_ALT_MODE_EN is standard
<6>[ 2.848802,1] EMU-det(emu_id_protection_setup): No neccessary action
<6>[ 2.848863,1] msm_otg msm_otg: received DISCONNECTED event
<6>[ 2.849015,1] msm_otg msm_otg: UNDEFINED --> IDLE
<6>[ 2.850053,1] pm8921_chg_accy_notify: pm8921_chg_accy_notify: accy_state:
7
<6>[ 2.851121,1] msm_otg msm_otg: USB in low power mode
<6>[ 8.402136,0] qcache: created ephemeral tmem pool, id=1, client=65535
<6>[ 8.402685,0] EXT4-fs (mmcblk0p38): mounted filesystem with ordered data m
ode. Opts: (null)
<6>[ 8.402929,0] qcache: destroyed pool id=1, cli_id=65535
<6>[ 8.446268,1] EXT4-fs (mmcblk0p38): barriers disabled
<6>[ 8.447733,1] qcache: created ephemeral tmem pool, id=1, client=65535
<6>[ 8.448161,1] EXT4-fs (mmcblk0p38): mounted filesystem with ordered data m
ode. Opts: noauto_da_alloc,nobarrier
<6>[ 8.451915,1] qcache: created ephemeral tmem pool, id=2, client=65535
<6>[ 8.452250,1] EXT4-fs (mmcblk0p22): mounted filesystem with ordered data m
ode. Opts: (null)
<6>[ 8.476270,1] qcache: created ephemeral tmem pool, id=3, client=65535
<6>[ 8.476484,1] EXT4-fs (mmcblk0p35): mounted filesystem with ordered data m
ode. Opts: barrier=1
<6>[ 8.492598,1] qcache: created ephemeral tmem pool, id=4, client=65535
<6>[ 8.492751,1] EXT4-fs (mmcblk0p34): mounted filesystem with ordered data m
ode. Opts: barrier=1
<6>[ 8.509873,1] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mo
de. Opts: (null)
<6>[ 8.801342,1] EXT3-fs: barriers not enabled
<6>[ 8.801770,1] kjournald starting. Commit interval 5 seconds
<6>[ 8.803021,1] EXT3-fs (mmcblk0p27): using internal journal
<6>[ 8.803113,1] qcache: created ephemeral tmem pool, id=5, client=65535
<6>[ 8.803235,1] EXT3-fs (mmcblk0p27): mounted filesystem with writeback data
mode
<6>[ 8.874042,1] EXT4-fs (mmcblk0p36): re-mounted. Opts: (null)
<3>[ 9.044437,1] init: cannot find '/system/bin/telnetd', disabling 'telnet'
<6>[ 9.114542,0] warning: `batt_health' uses 32-bit capabilities (legacy supp
ort in use)
<6>[ 9.196368,0] Adding 163836k swap on /dev/block/zram0. Priority:-1 extent
s:1 across:163836k SS
<6>[ 9.372470,1] msm_thermal: enabled = 0
<6>[ 9.971829,1] subsys-restart: restart_level_set(): Phase 3 behavior activa
ted.
<3>[ 9.972073,1] android_usb: already disabled
<6>[ 9.972623,1] mtp_bind_config
<6>[ 9.972806,1] adb_bind_config
<6>[ 9.988982,1] adb_open
<6>[ 10.081703,0] alarm_set_rtc: Failed to set RTC, time will be lost on reboo
t
<6>[ 10.122630,1] wcnss_wlan triggered by userspace
<6>[ 10.177933,0]
<6>[ 10.177933,0] Trip point triggered by current temperature (41 degrees) mea
sured by Temperature-Sensor 0
<6>[ 10.562093,0] pil_qdsp6v4 pil_qdsp6v4.0: brought out of reset
<6>[ 10.595818,0] apr_tal:Q6 Is Up
<6>[ 10.778971,1] pil_riva pil_riva: brought out of reset
<6>[ 10.797497,1] wcnss_8960: Subsystem restart activated for riva.
<6>[ 10.941889,0] pil_qdsp6v4 pil_qdsp6v4.1: brought out of reset
<6>[ 10.951442,1] panel_enable is called
<6>[ 11.118358,0] MIPI panel Manufacture_id = 0x5
<6>[ 11.118419,0] MIPI panel Controller_ver = 0x8b
<6>[ 11.118480,0] MIPI panel Controller_drv_ver = 0x9d
<6>[ 11.118510,0] panel_enable completed. Power_mode =0x9c
<3>[ 11.150923,1] acdb_mmap: PMEM is not allocated, yet!
<6>[ 11.188585,0] platform pil_dsps.0: brought out of reset
<6>[ 11.228658,0] wcnss_wlan_ctrl_probe: SMD ctrl channel up
<6>[ 11.413764,0] apr_tal: SMD_EVENT_OPEN
<6>[ 11.545276,0] dtv_on: tv_src_clk=148500kHz, pm_qos_rate=148500kHz, [0]
<6>[ 11.545948,0] hdmi_msm hdmi_msm.1: power: ON (1920x1080 148500000)
<6>[ 11.546558,0] hdmi_msm hdmi_msm.1: HPD: panel power without 'hpd' feature
on
<6>[ 11.546680,0] hdmi_msm hdmi_msm.1: power=ON DVI= ON
<6>[ 11.546772,0] msm_fb msm_fb.458753: mdp4_overlay_dtv: on
<6>[ 11.570181,0] hdmi_msm hdmi_msm.1: power: OFF (audio off, Reset Core)
<6>[ 11.570395,0] hdmi_msm hdmi_msm.1: HDMI Audio: Disabled
<6>[ 11.570547,0] dtv_off
<6>[ 11.570639,0] hdmi_pll_disable: Disabled
<6>[ 11.572897,0] msm_fb msm_fb.458753: mdp4_overlay_dtv: off
<6>[ 11.661315,0] dtv_on: tv_src_clk=148500kHz, pm_qos_rate=148500kHz, [0]
<6>[ 11.662108,0] hdmi_msm hdmi_msm.1: power: ON (1920x1080 148500000)
<6>[ 11.662261,0] hdmi_msm hdmi_msm.1: HPD: panel power without 'hpd' feature
on
<6>[ 11.662353,0] hdmi_msm hdmi_msm.1: power=ON DVI= ON
<6>[ 11.662475,0] msm_fb msm_fb.458753: mdp4_overlay_dtv: on
<6>[ 11.689119,0] hdmi_msm hdmi_msm.1: power: OFF (audio off, Reset Core)
<6>[ 11.689333,0] hdmi_msm hdmi_msm.1: HDMI Audio: Disabled
<6>[ 11.689424,0] dtv_off
<6>[ 11.689516,0] hdmi_pll_disable: Disabled
<6>[ 11.691835,0] msm_fb msm_fb.458753: mdp4_overlay_dtv: off
<6>[ 13.056493,0] apr_tal: SMD_EVENT_OPEN
<6>[ 14.658110,0] pil_qdsp6v4 pil_qdsp6v4.2: brought out of reset
<3>[ 15.361056,0] Notify: smsm init
<6>[ 15.361117,0] _smem_log_init: no static log or log_idx allocated
<6>[ 15.361269,0] _smem_log_init: no power log or log_idx allocated
<6>[ 16.945368,0] apr_tal:Modem Is Up
<6>[ 17.799298,0] sps:REVISION of BAM 0xe1814000 is 0x5.
<3>[ 18.397161,0] handle_bam_mux_cmd: dropping invalid LCID 10 reserved 0 cmd
4 pad 0 ch 10 len 0
<3>[ 18.399603,0] handle_bam_mux_cmd: dropping invalid LCID 11 reserved 0 cmd
4 pad 0 ch 11 len 0
<6>[ 21.249198,0] wcnss_post_bootup: Cancel APPS vote for Iris & Riva
<6>[ 27.029421,0] request_suspend_state: wakeup (3->0) at 27020233550 (2012-11
-12 20:50:42.977106674 UTC)
<6>[ 27.518968,1] acc_open
<6>[ 27.519029,1] acc_release
<3>[ 27.748512,0] hcismd_set_enable 0
<6>[ 27.748756,0] Bluetooth: opening HCI-SMD channel :APPS_RIVA_BT_ACL
<6>[ 27.748878,0] Bluetooth: opening HCI-SMD channel :APPS_RIVA_BT_CMD
<3>[ 31.718052,1] init: sys_prop: permission denied uid:10004 nameersist.sy
s.mot.encrypt.device
<6>[ 32.104227,1] pm8xxx_rgb_led_set: red, 0
<6>[ 32.104410,1] pm8xxx_rgb_led_set: green, 0
<6>[ 32.104562,1] pm8xxx_rgb_led_set: blue, 0
<6>[ 32.104776,1] pm8xxx_rgb_blink_store: on/off=0/0, rup=1, rdown=1
<6>[ 32.104867,1] pm8xxx_rgb_blink_set: turning blinking off
<3>[ 32.136242,1] init: sys_prop: permission denied uid:10052 name:sys.mot.ui
.launched
<3>[ 32.360292,1] init: sys_prop: permission denied uid:10004 nameersist.sy
s.mot.encrypt.device
<6>[ 33.438791,0] CPU1: shutdown
<3>[ 33.605371,0] init: untracked pid 1099 exited
<6>[ 33.621364,1] CPU1 is up
<3>[ 35.365695,1] init: sys_prop: permission denied uid:10077 nameersist.sy
s.mot.encrypt.device
<3>[ 35.366183,1] init: sys_prop: permission denied uid:10077 nameersist.sy
s.mot.encrypt.device
<3>[ 35.451854,0] init: sys_prop: permission denied uid:10077 nameersist.sy
s.mot.encrypt.device
<3>[ 35.452281,0] init: sys_prop: permission denied uid:10077 nameersist.sy
s.mot.encrypt.device
<3>[ 35.463207,0] init: sys_prop: permission denied uid:10077 nameersist.sy
s.mot.encrypt.device
<3>[ 35.464214,0] init: sys_prop: permission denied uid:10077 nameersist.sy
s.mot.encrypt.device
<3>[ 38.581565,0] init: sys_prop: permission denied uid:10017 nameersist.sy
s.mot.encrypt.device
<3>[ 39.576010,0] hcismd_set_enable 1
<3>[ 39.581168,0] hci_smd_notify_event: Frame for unknown HCI device (hdev=NUL
L)
<3>[ 39.581321,0] hci_smd_notify_data: Frame for unknown HCI device (hdev=NULL
)
<6>[ 39.967862,1] hdmi_msm hdmi_msm.1: hdmi_msm_hpd_feature: 1
<6>[ 40.059362,1] hdmi_msm hdmi_msm.1: HDMI HPD: event detected
<6>[ 40.059484,1] hdmi_msm hdmi_msm.1: HDMI HPD: QDSP OFF
<6>[ 40.059667,1] hdmi_msm hdmi_msm.1: Hdmi state switch to 0: hdmi_msm_hpd_st
ate_work
<6>[ 40.059789,1] hdmi_msm hdmi_msm.1: HDMI HPD: sense DISCONNECTED: send OFFL
INE
<3>[ 40.223164,1] hcismd_set_enable 0
<6>[ 40.225759,0] Bluetooth: opening HCI-SMD channel :APPS_RIVA_BT_ACL
<6>[ 40.225911,0] Bluetooth: opening HCI-SMD channel :APPS_RIVA_BT_CMD
<3>[ 41.147321,0] init: sys_prop: permission denied uid:10042 name:sys.mot.ui
.launched
<3>[ 41.489577,0] l2cap_sock_connect: failed -115
<3>[ 42.943781,0] l2cap_sock_connect: failed -115
<3>[ 48.497604,0] init: sys_prop: permission denied uid:10004 nameersist.sy
s.mot.encrypt.device
<3>[ 48.682191,0] init: sys_prop: permission denied uid:10004 nameersist.sy
s.mot.encrypt.device
<3>[ 50.079505,0] init: sys_prop: permission denied uid:10017 nameersist.sy
s.mot.encrypt.device
<6>[ 53.190080,1] alarm_set_rtc: Failed to set RTC, time will be lost on reboo
t
<3>[ 63.224111,0] pm_chg_ibatmax_set: bad mA=3040 asked to set
<3>[ 65.054143,0] NOHZ: local_softirq_pending 08
<3>[ 65.062200,0] NOHZ: local_softirq_pending 08
<3>[ 65.074408,0] NOHZ: local_softirq_pending 08
<3>[ 65.078681,0] NOHZ: local_softirq_pending 08
<6>[ 65.873004,0] CPU1: shutdown
<6>[ 66.223805,1] CPU1 is up
<3>[ 66.265618,0] NOHZ: local_softirq_pending 08
<3>[ 66.319609,0] NOHZ: local_softirq_pending 08
<3>[ 66.434426,0] NOHZ: local_softirq_pending 08
<3>[ 66.671692,0] NOHZ: local_softirq_pending 08
<3>[ 66.672455,0] NOHZ: local_softirq_pending 08
<6>[ 67.373996,0] CPU1: shutdown
<6>[ 67.671631,1] CPU1 is up
<3>[ 68.169296,0] NOHZ: local_softirq_pending 08
<6>[ 68.373691,0] CPU1: shutdown
<6>[ 68.721715,1] CPU1 is up
<3>[ 68.886708,1] init: sys_prop: permission denied uid:10070 name:sys.mot.ui
.launched
<6>[ 77.973111,0] CPU1: shutdown
<6>[ 77.999633,0] process 3003 (method.latinime) no longer affine to cpu1
<6>[ 78.421608,1] CPU1 is up
<6>[ 78.974637,0] CPU1: shutdown
<6>[ 79.271661,1] CPU1 is up
<6>[ 81.922905,0] CPU1: shutdown
<6>[ 82.371646,1] CPU1 is up
<6>[ 84.123027,0] CPU1: shutdown
<3>[ 87.095986,0] usbin_uv_irq_handler: USB UnderVoltage
<6>[ 87.096108,0] EMU-det(emu_det_vbus_state): PM8921 USBIN callback: in
<6>[ 87.139935,0] EMU-det(detection_work): state CONFIG, time since last run 8
4410 ms
<6>[ 87.140210,0] EMU-det(alt_mode_setup): SEMU_ALT_MODE_EN is standard
<6>[ 87.149946,0] EMU-det(detection_work): state SAMPLE, time since last run 1
0 ms
<6>[ 87.157179,0] EMU-det(adc_vbus_get): vbus=5086 mV
<6>[ 87.209888,0] EMU-det(get_sense): SEMU_PPD_DET: ID floating
<6>[ 87.269861,0] EMU-det(get_sense): No need to check DMB_PPD_DET_N
<6>[ 87.269952,0] EMU-det(sense_dp_dm): D+/D- mask: 0x0
<6>[ 87.270105,0] EMU-det(get_sense): irq=0, SESS_VLD, FLOAT, USB_DEV,
<6>[ 87.270166,0] EMU-det(detection_work): SAMPLE keep waiting ...
<6>[ 87.279902,0] EMU-det(detection_work): state SAMPLE, time since last run 1
30 ms
<6>[ 87.281092,0] EMU-det(adc_vbus_get): vbus=5085 mV
<6>[ 87.339935,0] EMU-det(get_sense): SEMU_PPD_DET: ID floating
<6>[ 87.399908,0] EMU-det(get_sense): No need to check DMB_PPD_DET_N
<6>[ 87.400061,0] EMU-det(sense_dp_dm): D+/D- mask: 0x0
<6>[ 87.400122,0] EMU-det(get_sense): irq=0, SESS_VLD, FLOAT, USB_DEV,
<6>[ 87.400274,0] EMU-det(detection_work): state IDENTIFY, time since last run
120 ms
<6>[ 87.401464,0] EMU-det(adc_vbus_get): vbus=5087 mV
<6>[ 87.459880,0] EMU-det(get_sense): SEMU_PPD_DET: ID floating
<6>[ 87.519884,0] EMU-det(get_sense): No need to check DMB_PPD_DET_N
<6>[ 87.520067,0] EMU-det(sense_dp_dm): D+/D- mask: 0x0
<6>[ 87.520128,0] EMU-det(get_sense): irq=0, SESS_VLD, FLOAT, USB_DEV,
<6>[ 87.520250,0] EMU-det(notify_accy): EMU detection Notify: USB
<6>[ 87.520524,0] EMU-det(alt_mode_setup): SEMU_ALT_MODE_EN is standard
<6>[ 87.520647,0] msm_otg msm_otg: received VBUS event
<6>[ 87.520708,0] msm_otg msm_otg: IDLE --> PERIPHERAL
<6>[ 87.520891,0] pm8921_chg_accy_notify: pm8921_chg_accy_notify: accy_state:
7
<6>[ 87.523790,0] pm8921_chg_accy_notify: pm8921_chg_accy_notify: accy_state:
0
<6>[ 87.529925,0] msm_otg msm_otg: USB exited from low power mode
<6>[ 87.650602,0] android_work: did not send uevent (0 0 (null))
<6>[ 87.687166,0] android_work: sent uevent USB_STATE=CONNECTED
<6>[ 87.691774,0] android_work: sent uevent USB_STATE=DISCONNECTED
<6>[ 87.753059,0] android_work: sent uevent USB_STATE=CONNECTED
<6>[ 87.841843,1] CPU1 is up
<6>[ 87.911612,0] android_usb gadget: high speed config #1: android
<6>[ 87.911826,0] msm_otg msm_otg: Avail curr from USB = 500
<6>[ 87.912376,0] android_work: sent uevent USB_STATE=CONFIGURED
<6>[ 88.520402,1] mtp_open
<6>[ 101.192034,0] CPU1: shutdown
<6>[ 108.611719,1] CPU1 is up
<6>[ 110.161971,0] CPU1: shutdown
<6>[ 112.631741,1] CPU1 is up
<6>[ 113.882099,0] CPU1: shutdown
<6>[ 115.671936,1] CPU1 is up
<6>[ 116.673157,0] CPU1: shutdown
<6>[ 116.972104,1] CPU1 is up
<6>[ 117.575736,0] CPU1: shutdown
<6>[ 121.072852,1] CPU1 is up
<3>[ 121.076575,0] init: sys_prop: permission denied uid:10017 nameersist.sy
s.mot.encrypt.device
<6>[ 121.923760,0] CPU1: shutdown
<6>[ 122.222005,1] CPU1 is up
<6>[ 122.827071,0] CPU1: shutdown
<3>[ 123.222554,0] pm_chg_ibatmax_set: bad mA=3040 asked to set
<6>[ 123.891683,1] CPU1 is up
<6>[ 124.142804,0] CPU1: shutdown
<6>[ 125.221822,1] CPU1 is up
<6>[ 125.573416,0] CPU1: shutdown
<6>[ 125.772226,1] CPU1 is up
<6>[ 126.723149,0] CPU1: shutdown
<6>[ 131.174668,1] CPU1 is up
<6>[ 131.525957,0] CPU1: shutdown
---------- Post added at 01:00 PM ---------- Previous post was at 12:55 PM ----------
gmatrangola said:
The manufacture is pretty upfront about some specs like what Video and CPU are in the device. But, I was curious about some other modules, like the radios. Could someone who has a Razr HD or Razr MAXX HD do..
Code:
> adb shell dmesg
and
Code:
> adb shell lsmod
after a fresh boot and post the results?
Thanks!
Click to expand...
Click to collapse
and what I got from lsmod (nothing really):
evfwd 4506 0 - Live 0xbf000000
I found the following from Anandtech regarding the MSM8960 and its Cell technology:
http://www.anandtech.com/show/4940/qualcomm-new-snapdragon-s4-msm8960-krait-architecture/4
Hopefully this helps somewhat.
I cannot get pass the CWM recovery. CWM wont flash any ROMs even the backup I made originally. I have copied the log to show you what I am seeing. tried to fastboot etc. no success. Please take a look and give me you expert advise, seems to brick my device. (Visual Land Connect 7).
<7>[ 29.060627] [FORMAT_ERR] There is not enough valid block for using!
<7>[ 29.066889] [FORMAT_ERR] There is not enough free blocks for distribute!
<7>[ 29.073619] [FORMAT_ERR] Format nand disk failed!
<7>[ 29.078320] [NAND]init_blklayer fail
<6>[ 29.082158] init: command 'insmod' r=0
<6>[ 29.085966] init: command 'mkdir' r=0
<6>[ 29.089655] init: command 'mkdir' r=0
<6>[ 29.093366] init: command 'mkdir' r=0
<6>[ 29.097042] init: command 'mkdir' r=0
<6>[ 29.100744] init: command 'mkdir' r=0
<6>[ 29.104428] init: command 'mkdir' r=0
<6>[ 29.108118] init: command 'mkdir' r=0
<6>[ 29.111818] init: command 'mkdir' r=0
<6>[ 29.115515] init: command 'mkdir' r=0
<6>[ 29.119254] init: command 'mount' r=0
<6>[ 29.122981] init: command 'chown' r=0
<6>[ 29.126662] init: command 'chmod' r=0
<6>[ 29.130463] init: command 'write' r=0
<6>[ 29.134199] init: command 'write' r=0
<6>[ 29.137903] init: command 'write' r=-2
<6>[ 29.141711] init: processing action 0x290f0 (property_service_init)
<3>[ 29.148092] init: Unable to open persistent property directory /data/property errno: 2
<6>[ 29.156137] init: Created socket '/dev/socket/property_service' with mode '666', user '0', group '0'
<6>[ 29.165309] init: command 'property_service_init' r=0
<6>[ 29.170457] init: processing action 0x29138 (signal_init)
<6>[ 29.175926] init: command 'signal_init' r=0
<6>[ 29.180170] init: processing action 0x29180 (check_startup)
<6>[ 29.185780] init: command 'check_startup' r=0
<6>[ 29.190208] init: processing action 0x28b20 (boot)
<6>[ 29.195513] init: command 'ifup' r=0
<6>[ 29.199209] init: command 'hostname' r=0
<6>[ 29.203287] init: command 'domainname' r=0
<3>[ 29.207511] android_usb: already disabled
<6>[ 29.211589] init: command 'write' r=0
<6>[ 29.215331] init: command 'write' r=0
<6>[ 29.219058] init: command 'write' r=0
<6>[ 29.222848] init: command 'write' r=0
<6>[ 29.226562] init: command 'setprop' r=0
<7>[ 29.230507] ep_matches, wrn: endpoint already claimed, ep(0xc08ec540, 0xd91d7400, ep1-bulk)
<6>[ 29.238865] adb_bind_config
<7>[ 29.241715] ep_matches, wrn: endpoint already claimed, ep(0xc08ec540, 0xd91d7400, ep1-bulk)
<7>[ 29.250083] ep_matches, wrn: endpoint already claimed, ep(0xc08ec580, 0xd91d7400, ep2-bulk)
<7>[ 29.258433] ep_matches, wrn: endpoint already claimed, ep(0xc08ec540, 0xd91d7400, ep1-bulk)
<7>[ 29.266798] ep_matches, wrn: endpoint already claimed, ep(0xc08ec580, 0xd91d7400, ep2-bulk)
<7>[ 29.275165] ep_matches, wrn: endpoint already claimed, ep(0xc08ec5c0, 0xd91ceb80, ep3-bulk)
<7>[ 29.283527] [sw_udc]: alloc request: ep(0xc08ec600, ep4-bulk, 512), req(0xd932d540)
<7>[ 29.291219] [sw_udc]: alloc request: ep(0xc08ec5c0, ep3-bulk, 512), req(0xd932d580)
<7>[ 29.298883] [sw_udc]: alloc request: ep(0xc08ec5c0, ep3-bulk, 512), req(0xd932d5c0)
<7>[ 29.306573] [sw_udc]: alloc request: ep(0xc08ec5c0, ep3-bulk, 512), req(0xd932d600)
<7>[ 29.314255] [sw_udc]: alloc request: ep(0xc08ec5c0, ep3-bulk, 512), req(0xd932d640)
<7>[ 29.321945] [sw_udc]: sw_udc_pullup, is_on = 1
<7>[ 29.326407] [sw_udc]: CONFIG_USB_GADGET_DUALSPEED
<7>[ 29.331141] [sw_udc]: usbd_start_work
<6>[ 29.334828] init: command 'write' r=0
<5>[ 29.338521] init: starting 'adbd'
<6>[ 29.342141] init: command 'start' r=0
<6>[ 29.345831] init: command 'setprop' r=0
<6>[ 29.351528] adb_open
<6>[ 29.356019] ===========================ft5x_ts_init=====================
<6>[ 29.362840] ft5x_ts VERSION [email protected]
<7>[ 29.367715] m_inet_ctpState return false,continue deteck
<6>[ 29.373151] ctp_fetch_sysconfig_para.
<6>[ 29.376927] ctp_fetch_sysconfig_para: after: ctp_twi_addr is 0x38, dirty_addr_buf: 0x38. dirty_addr_buf[1]: 0xfffe
<6>[ 29.387378] ctp_fetch_sysconfig_para: ctp_twi_id is 2.
<7>[ 29.392621] [sw_udc]: IRQ: suspend
<7>[ 29.396032] [sw_udc]: ERR: usb speed is unkown
<6>[ 29.400539] ctp_fetch_sysconfig_para: screen_max_x = 800.
<6>[ 29.406031] ctp_fetch_sysconfig_para: screen_max_y = 480.
<6>[ 29.411558] ctp_fetch_sysconfig_para: revert_x_flag = 0.
<6>[ 29.416956] ctp_fetch_sysconfig_para: revert_y_flag = 0.
<6>[ 29.422412] ctp_fetch_sysconfig_para: exchange_x_y_flag = 0.
<6>[ 29.428162] ctp_fetch_sysconfig_para: screen_rotate_flag = 0.
<3>[ 29.434032] ft5x_ts: script_parser_fetch err.
<6>[ 29.438474] ctp_fetch_sysconfig_para: minetPowerEnreserver = 0.
<7>[ 29.444517] script parser fetch err.
<4>[ 29.448177] touch panel tp_en request gpio fail!
<6>[ 29.452813] ft5x_ts_init: after fetch_sysconfig_para: normal_i2c: 0x38. normal_i2c[1]: 0xfffe
<7>[ 29.461558] script parser fetch err.
<4>[ 29.465217] ctp_init_platform_resource: tp_reset request gpio fail!
<6>[ 29.471501] ctp_wakeup.
<6>[ 29.514158] ctp_detect: Detected chip ft5x_ts at adapter 2, address 0x38
<7>[ 29.520888] [sw_udc]: IRQ: reset
<7>[ 29.524127] [sw_udc]: irq: reset happen, throw away all urb
<6>[ 29.529874] ====ft5x_ts_probe begin=====.
<7>[ 29.534087] I2C communication client->addr=56
<7>[ 29.627407] [sw_udc]:
<7>[ 29.629592] +++++++++++++++++++++++++++++++++++++
<7>[ 29.634474] [sw_udc]: usb enter high speed.
<7>[ 29.637396] [sw_udc]:
<7>[ 29.637396] +++++++++++++++++++++++++++++++++++++
<6>[ 29.645944] android_work: sent uevent USB_STATE=CONNECTED
<7>[ 29.651365] [sw_udc]: IRQ: reset
<7>[ 29.654604] [sw_udc]: irq: reset happen, throw away all urb
<7>[ 29.755413] [sw_udc]: Set address 5
<6>[ 29.776733] android_usb gadget: high speed config #1: android
<7>[ 29.782492] [sw_udc]: ep enable: ep3(0xc08ec5c0, ep3-bulk, 128, 512)
<7>[ 29.786716] [sw_udc]: ep enable: ep4(0xc08ec600, ep4-bulk, 0, 512)
<7>[ 29.786716] [sw_udc]: ep enable: ep1(0xc08ec540, ep1-bulk, 128, 512)
<6>[ 29.801574] android_work: sent uevent USB_STATE=CONFIGURED
<7>[ 29.807067] [sw_udc]: ep enable: ep2(0xc08ec580, ep2-bulk, 0, 512)
<7>[ 29.813301] [sw_udc]: alloc request: ep(0xc08ec540, ep1-bulk, 512), req(0xd91b3b40)
<7>[ 29.820987] [sw_udc]: alloc request: ep(0xc08ec580, ep2-bulk, 512), req(0xd91b3b80)
<7>[ 29.828656] [sw_udc]: alloc request: ep(0xc08ec540, ep1-bulk, 512), req(0xd91b3bc0)
<7>[ 29.836339] [sw_udc]: alloc request: ep(0xc08ec580, ep2-bulk, 512), req(0xd91b3c00)
<7>[ 30.040472] ft5x06 Chip ID=0x79
<7>[ 30.043611] I2C communication ok
<6>[ 30.047457] input: ft5x_ts as /devices/virtual/input/input2
<6>[ 30.053653] ==register_early_suspend =
<6>[ 30.057409] CONFIG_FT5X0X_MULTITOUCH is defined.
<6>[ 30.062193] ctp_set_irq_mode: config gpio to int mode.
<6>[ 30.067432] INTERRUPT CONFIG
<6>[ 30.070739] ==ft5x_ts_probe over =
<6>[ 30.074201] init: command 'insmod' r=0
<5>[ 30.078022] init: starting 'erase_misc'
<5>[ 30.082260] init: starting 'recovery'
<6>[ 30.086140] init: command 'class_start' r=0
<6>[ 30.095510] init: waitpid returned pid 63, status = 00000000
<5>[ 30.102973] init: process 'erase_misc', pid 63 exited
<6>[ 30.103044] init: processing action 0x291c8 (queue_property_triggers)
<6>[ 30.103062] init: command 'queue_property_triggers' r=0
<7>[ 34.791539] WRN:L1351(drivers/usb/sun4i_usb/udc/sw_udc.c):handle_ep0: ep0 setup end
<7>[ 34.799223] nuke: ep num is 0
<7>[ 72.208068] battery vol change: 13->14
<4>[ 200.118128] adbd (72): /proc/72/oom_adj is deprecated, please use /proc/72/oom_score_adj instead.
<7>[ 332.747982] battery vol change: 14->15
<7>[ 603.287563] battery vol change: 15->16
~ #
【issue】install CM-11 Android 4.4.4 [Stable v2.0][21 June] stuck in CyanogenMod screen
I install CM-11 Android 4.4.4 [Stable v2.0][21 June] use 4ext Recovery 1.0.0.6 RC3, full wipe except sdcard. In 4ext,it show install cm11 success,but when I reboot,it stuck in cyanogenmod screen. my hboot is HBOOT-1.27.1100....anybody know what is the problem????
:crying::crying::crying::crying:
You are s-off or s-on?
Sent from my HTC Sensation 4G using XDA Free mobile app
Mile_zdr said:
You are s-off or s-on?
Sent from my HTC Sensation 4G using XDA Free mobile app
Click to expand...
Click to collapse
yes,s-off,unlock,hboot 1.29.0000 fireware:3.33
it stay at the CyanogenMod arrows around screen for 30 minutes...
[email protected] said:
yes,s-off,unlock,hboot 1.29.0000 fireware:3.33
it stay at the CyanogenMod arrows around screen for 30 minutes...
Click to expand...
Click to collapse
flash the boot.img of the rom via fastboot command
fastboot flash boot boot.img
rzr86 said:
flash the boot.img of the rom via fastboot command
fastboot flash boot boot.img
Click to expand...
Click to collapse
thank u. I have done this,but it does't work....
[email protected] said:
thank u. I have done this,but it does't work....
Click to expand...
Click to collapse
try to redownload the rom maybe you have corupted rom file
[email protected] said:
thank u. I have done this,but it does't work....
Click to expand...
Click to collapse
then redownload the rom
check md5 sums
full wipe and flash
rzr86 said:
then redownload the rom
check md5 sums
full wipe and flash
Click to expand...
Click to collapse
ok,,,I reboot into recovery,use "adb shell","dmesg" show kernel log,,,I maybe know what's the problem.
~ # dmesg
dmesg
...
...
...
<3>[ 5.267850] msm_soc: create pcms
<6>[ 5.272153] asoc: CODEC_DAI <-> CPU_DAI mapping ok
<6>[ 5.284574] ALSA device list:
<6>[ 5.286222] #0: msm-audio (MSM-CARD)
<6>[ 5.288450] GACT probability NOT on
<6>[ 5.290098] Mirror/redirect action on
<6>[ 5.293668] u32 classifier
<6>[ 5.295255] Actions configured
<6>[ 5.296842] Netfilter messages via NETLINK v0.30.
<6>[ 5.300443] nf_conntrack version 0.5.0 (9010 buckets, 36040 max)
<4>[ 5.304593] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
<4>[ 5.307523] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
<4>[ 5.310392] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
<6>[ 5.313840] ctnetlink v0.93: registering with nfnetlink.
<6>[ 5.318174] xt_time: kernel timezone is -0000
<6>[ 5.323087] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 5.326291] arp_tables: (C) 2002 David S. Miller
<6>[ 5.330167] TCP cubic registered
<6>[ 5.333280] NET: Registered protocol family 10
<6>[ 5.344175] lo: Disabled Privacy Extensions
<6>[ 5.367307] Mobile IPv6
<6>[ 5.368955] IPv6 over IPv4 tunneling driver
<6>[ 5.377958] sit0: Disabled Privacy Extensions
<6>[ 5.388517] ip6tnl0: Disabled Privacy Extensions
<6>[ 5.392240] NET: Registered protocol family 17
<6>[ 5.395536] NET: Registered protocol family 15
<4>[ 5.398038] check_partition: Allocate memory for SD/eMMC card partition description (Once)
<6>[ 5.400998] mmcblk0:
<6>[ 5.408262] Bluetooth: L2CAP ver 2.14
<6>[ 5.411252] Bluetooth: L2CAP socket layer initialized
<6>[ 5.414487] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>[ 5.417051] ######## bthid_init: ########
<6>[ 5.421628] ######## bthid_init: done ########
<6>[ 5.423276] ThumbEE CPU extension supported.
<4>[ 5.473356] local_clk_disable_reg: clock 33 status stuck at 'on' (bit 4 of 0xfe012fd4).
<4>[ 5.507047] local_clk_disable_reg: clock 72 status stuck at 'on' (bit 9 of 0xfe012fc8).
<6>[ 5.597623] clock_late_init() disabled 138 unused clocks
<4>[ 5.599943] p1 p2 p3 p4 <
<6>[ 5.608610] init_watchdog: dogbark processed by apps side
<6>[ 5.611814] MSM Watchdog Initialized
<4>[ 5.614377] p5 p6 p7 p8 p9 p10
<6>[ 5.641965] [Port list] init()
<6>[ 5.645688] [Port list] Virtual Address for port_list: [(null)]
<6>[ 5.647306] [Port list] Physical Address for port_list: [41E00000]
<6>[ 5.653959] [Port list] port_list is NULL.
<6>[ 5.655607] [Port list] packet filter is disabled.
<6>[ 5.666135] Acquire 'boot-time' no_halt_lock 60s
<6>[ 5.672910] cpufreq: cpu0 init at 310500 switching to 192000
<4>[ 5.674650] p11
<3>[ 5.676145] saw_set_voltage: msm_spm_set_vdd failed -5
<3>[ 5.676328] decrease_vdd: vdd_sc (cpu1) decrease failed (-5)
<6>[ 5.676511] cpufreq: cpu1 init at 310500 switching to 192000
<4>[ 5.676694] p12
<6>[ 5.677335] msm_sleep_stats: Initializing sleep stats for CPU[0]
<6>[ 5.677579] msm_sleep_stats: Initializing sleep stats for CPU[1]
<6>[ 5.677762] VFP support v0.3: implementor 51 architecture 64 part 2d variant 0 rev 0
<4>[ 5.683347] p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 p31 p32 >
<6>[ 5.700254] msm_sdcc_setup_vreg: Enabling SD slot power
<4>[ 5.705838] local_clk_disable_reg: clock 72 status stuck at 'on' (bit 9 of 0xfe012fc8).
<6>[ 5.754636] input: htc_headset as /devices/platform/pm8058-core.0/pm8058-othc.2/input/input9
<6>[ 5.757291] pm8058-rtc pm8058-rtc: setting system clock to 1970-01-01 00:02:22 UTC (86400)
<4>[ 5.757505] Warning: unable to open an initial console.
<6>[ 5.805539] [BATT] ID=1, level=10, vol=3300, temp=300, curr=0, dis_curr=0, chg_src=1, chg_en=0, over_vchg=0 at 5734570576 (1970-01-02 00:00:00.550413885 UTC)
<4>[ 5.819547] mmc1: high speed mode max_dtr = 50000000
<3>[ 5.819974] msm_sdc3_get_wpswitch:Failed to request GPIO 251
<4>[ 5.820066] mmc1: host does not support reading read-only switch. assuming write-enable.
<6>[ 5.820218] mmc1: new high speed SDHC card at address b368
<6>[ 5.820554] mmcblk1: mmc1:b368 00000 15.0 GiB
<6>[ 5.820981] mmcblk1: p1
<3>[ 5.891172] init: There is no cw property file /data/cw.prop.
<3>[ 5.892545] init: There is no cw property file /data/cw.prop.
<3>[ 5.892697] init: Unable to open persistent property directory /data/property errno: 2
<6>[ 5.893033] [Port list] Virtual Address of port_list: [(null)]
<6>[ 5.893125] [Port list] Physical Address of port_list: [41E00000]
<6>[ 5.893277] [Port list] port_list is NULL.
<3>[ 5.895413] init: no such service 'load-modem'
<6>[ 5.896207] [BATT] htc_batt_open: open misc device driver. at 5825115697 (1970-01-02 00:00:00.641020054 UTC)
<6>[ 5.896482] enabling adb
<7>[ 5.896726] [USB] android_enable_function: vendor_id=BB4,product_id=C86
<6>[ 5.896878] func_enable: set usb_configuration = 0
<6>[ 5.897092] [USB] msm72k_udc: ONLINE -> RESET
<6>[ 5.897184] [USB] reset controller
<6>[ 5.897245] [USBH] otg_reset
<6>[ 5.897336] [BATT] do charger control = 1 at 5826152700 (1970-01-02 00:00:00.642148557 UTC)
<6>[ 5.897580] [Port list] Virtual Address of port_list: [(null)]
<6>[ 5.897794] [Port list] Physical Address of port_list: [41E00000]
<6>[ 5.897946] [Port list] port_list is NULL.
<6>[ 5.898130] [BATT][tps65200] regh 0x00=2a, regh 0x01=29, regh 0x02=23, regh 0x03=8b
<6>[ 5.898313] adb_open
<6>[ 5.899076] [BATT][tps65200] regh 0x06=26, 0x08=0, regh 0x09=0, regh 0x0A=0
<6>[ 5.899869] [BATT][tps65200] Switch charger ON (SLOW): regh 0x03=83, regh 0x02=63
<6>[ 5.900083] [BATT] ioctl: battery level update: 38 at 5828989208 (1970-01-02 00:00:00.644863064 UTC)
<6>[ 5.900388] [BATT] Set lower threshold: 2800, upper threshold: 4400, Enabled:0. at 5829294209 (1970-01-02 00:00:00.645168065 UTC)
<3>[ 5.914426] pm_runtime: fail to wake up
<4>[ 6.074002] local_clk_disable_reg: clock 72 status stuck at 'on' (bit 9 of 0xfe012fc8).
<6>[ 6.083859] [USBH] otg_reset: mode:0x00000012
<6>[ 6.184079] [USB] ulpi: write 0x06 to 0x36
<6>[ 6.184171] [USB] ulpi: write 0x0c to 0x31
<6>[ 6.184262] [USB] ulpi: write 0x31 to 0x32
<6>[ 6.184354] [USB] ulpi: write 0x01 to 0x0e
<6>[ 6.184506] [USB] ulpi: write 0x01 to 0x11
<6>[ 6.184567] [USB] usb: notify offline
<6>[ 6.184751] [USBDIAG] diag_function_disable: dev=diag
<6>[ 6.184873] adb_release
<6>[ 6.185056] [USB] msm72k_pullup_internal: pullup
<6>[ 6.185117] adb_open
<6>[ 6.185300] [USB] msm72k_udc: RESET -> ONLINE
<6>[ 6.188291] [USB] suspend
<6>[ 6.188413] [USB] usb_get_max_power: type = 0, maxpow = 0
<6>[ 6.297238] [USB] reset
<7>[ 6.299497] [USBH] IRQ state: b_peripheral, otgsc = 0x01202e00
<7>[ 6.299588] [USBH] msm_otg_irq: portsc = 88000a05, sts = 20000084
<6>[ 6.299741] [USB] portchange USB_SPEED_HIGH
<6>[ 6.337613] [USB] reset
<7>[ 6.339871] [USBH] IRQ state: b_peripheral, otgsc = 0x01200e00
<7>[ 6.340024] [USBH] msm_otg_irq: portsc = 88000a05, sts = 20000084
<6>[ 6.340115] [USB] portchange USB_SPEED_HIGH
<6>[ 6.567105] mdp4_overlay_pipe_alloc: pipe=c06a8f74 ndx=1 num=0 share=0 cnt=0
<6>[ 6.567136] mdp4_overlay_update_dsi_cmd: blt_base=45c00000
<6>[ 6.580899] SHP: brightness orig=83, transformed=37
<6>[ 6.613675] pm8058_pwm_led_brightness_set: bank 1 brightness 1 +
<6>[ 6.613889] pm8058_pwm_led_brightness_set: bank 1 brightness 1 -
<4>[ 7.851952] local_clk_disable_reg: clock 72 status stuck at 'on' (bit 9 of 0xfe012fc8).
<3>[ 7.909050] init: untracked pid 168 exited
<6>[ 7.952446] EXT4-fs (mmcblk0p24): recovery complete
<6>[ 7.953850] EXT4-fs (mmcblk0p24): mounted filesystem with ordered data mode. Opts:
<3>[ 8.058006] EXT3-fs (mmcblk0p22): error: couldn't mount because of unsupported optional features (40)
<3>[ 8.059654] EXT2-fs (mmcblk0p22): error: couldn't mount because of unsupported optional features (44)
<6>[ 8.095177] EXT4-fs (mmcblk0p22): recovery complete
<6>[ 8.100181] EXT4-fs (mmcblk0p22): mounted filesystem with ordered data mode. Opts: (null)
<3>[ 8.101066] init: untracked pid 190 exited
<6>[ 8.382621] pm8058_led_currents_store: bank 6 currents 1 +
<6>[ 8.382744] pm8058_drvx_led_brightness_set: bank 6 brightness 0 +
<6>[ 8.383018] pm8058_drvx_led_brightness_set: bank 6 fade out brightness 0 -
<6>[ 8.383110] pm8058_drvx_led_brightness_set: bank 6 brightness 255 +
<6>[ 8.383415] pm8058_drvx_led_brightness_set: bank 6 brightness 255 -
<6>[ 8.383568] pm8058_led_currents_store: bank 6 currents 1 -
<6>[ 8.383812] pm8058_led_currents_store: bank 6 currents 6 +
<6>[ 8.383995] pm8058_drvx_led_brightness_set: bank 6 brightness 0 +
<6>[ 8.384178] pm8058_drvx_led_brightness_set: bank 6 fade out brightness 0 -
<6>[ 8.384453] pm8058_drvx_led_brightness_set: bank 6 brightness 255 +
<6>[ 8.384666] pm8058_drvx_led_brightness_set: bank 6 brightness 255 -
<6>[ 8.384819] pm8058_led_currents_store: bank 6 currents 6 -
<6>[ 8.385856] pm8058_drvx_led_brightness_set: bank 6 brightness 6 +
<6>[ 8.386161] pm8058_drvx_led_brightness_set: bank 6 brightness 6 -
<6>[ 8.386406] pm8058_drvx_led_brightness_set: bank 6 brightness 60 +
<6>[ 8.386680] pm8058_drvx_led_brightness_set: bank 6 brightness 60 -
<6>[ 8.386924] pm8058_drvx_led_brightness_set: bank 6 brightness 6 +
<6>[ 8.387230] pm8058_drvx_led_brightness_set: bank 6 brightness 6 -
<6>[ 8.387474] pm8058_drvx_led_brightness_set: bank 6 brightness 60 +
<6>[ 8.387687] pm8058_drvx_led_brightness_set: bank 6 brightness 60 -
<3>[ 8.558647] init: untracked pid 221 exited
<4>[ 8.584465] local_clk_disable_reg: clock 72 status stuck at 'on' (bit 9 of 0xfe012fc8).
<3>[ 8.827781] init: untracked pid 229 exited
<3>[ 9.110465] init: untracked pid 237 exited
<3>[ 9.397758] init: untracked pid 245 exited
<3>[ 9.680503] init: untracked pid 253 exited
<3>[ 9.967826] init: untracked pid 261 exited
<3>[ 10.254721] init: untracked pid 269 exited
<3>[ 10.541159] init: untracked pid 277 exited
<3>[ 10.828665] init: untracked pid 287 exited
<3>[ 11.115347] init: untracked pid 295 exited
<3>[ 11.402518] init: untracked pid 303 exited
<3>[ 11.689749] init: untracked pid 311 exited
<3>[ 11.972891] init: untracked pid 319 exited
<6>[ 12.001761] [DISP]init_complete_handler()
<3>[ 12.260397] init: untracked pid 327 exited
<3>[ 12.547842] init: untracked pid 335 exited
<3>[ 12.833700] init: untracked pid 343 exited
<3>[ 13.121358] init: untracked pid 351 exited
<3>[ 13.413320] init: untracked pid 359 exited
<3>[ 13.700795] init: untracked pid 367 exited
<3>[ 13.988301] init: untracked pid 375 exited
<3>[ 14.275838] init: untracked pid 383 exited
<3>[ 14.562764] init: untracked pid 391 exited
<3>[ 14.850453] init: untracked pid 399 exited
<3>[ 15.137562] init: untracked pid 407 exited
<3>[ 15.425404] init: untracked pid 415 exited
<3>[ 15.712330] init: untracked pid 423 exited
<3>[ 15.999745] init: untracked pid 431 exited
<3>[ 16.282948] init: untracked pid 439 exited
<3>[ 16.570667] init: untracked pid 447 exited
<3>[ 16.857716] init: untracked pid 455 exited
<3>[ 17.145038] init: untracked pid 463 exited
<6>[ 17.162830] android_usb gadget: high speed config #1: android
<6>[ 17.162922] adb_function_set_alt: maxsize = 512
<6>[ 17.163257] set usb_configuration = 1
<3>[ 17.635608] init: untracked pid 466 exited
<7>[ 18.035175] mmc_blk_issue_rqsd-qd)finish cmd(25) time=375976
<7>[ 18.035388] mmc_blk_issue_rq: ---(sd-qd) start sector=23732, size 9, total time=376190 microseconds
<4>[ 18.382006] local_clk_disable_reg: clock 72 status stuck at 'on' (bit 9 of 0xfe012fc8).
<4>[ 19.791978] local_clk_disable_reg: clock 72 status stuck at 'on' (bit 9 of 0xfe012fc8).
<6>[ 20.373581] [BATT] ID=2, level=38, vol=3756, temp=394, curr=0, dis_curr=98, chg_src=1, chg_en=1, over_vchg=0 at 20302010771 (1970-01-02 00:00:15.117823522 UTC)
<6>[ 38.080825] [BATT] ID=2, level=38, vol=3756, temp=394, curr=0, dis_curr=98, chg_src=1, chg_en=1, over_vchg=0 at 38009286160 (1970-01-02 00:00:32.825098911 UTC)
<6>[ 60.279554] [email protected],673
<6>[ 60.340620] Release 'boot-time' perf_lock
<6>[ 60.374067] [VIB]recovery(parent:recovery): vibrates 28 msec
<6>[ 60.374342] [ATS][set_vibration][successful]
<6>[ 60.376204] [email protected], 673
<6>[ 60.402266] [VIB]pmic8058_vib_timer_func
<4>[ 65.181989] Thermal: failed to read out thermal zone 1
<6>[ 65.661939] Release 'boot-time' no_halt_lock
<6>[ 66.036725] [BATT] ioctl: battery level update: 38 at 65965951170 (1970-01-02 00:01:00.780970465 UTC)
<6>[ 66.038251] [BATT] ID=2, level=38, vol=3867, temp=393, curr=351, dis_curr=0, chg_src=1, chg_en=1, over_vchg=0 at 65967477049 (1970-01-02 00:01:00.782496343 UTC)
<6>[ 66.218549] pm8058_pwm_led_brightness_set: bank 0 brightness 0 +
<6>[ 66.218671] pm8058_pwm_led_brightness_set: bank 0 brightness 0 -
<6>[ 66.237012] pm8058_pwm_led_brightness_set: bank 1 brightness 1 +
<6>[ 66.237165] pm8058_pwm_led_brightness_set: bank 1 brightness 1 -
<6>[ 66.245191] pm8058_pwm_led_brightness_set: bank 0 brightness 0 +
<6>[ 66.245313] pm8058_pwm_led_brightness_set: bank 0 brightness 0 -
<6>[ 66.253187] pm8058_pwm_led_brightness_set: bank 1 brightness 1 +
<6>[ 66.253370] pm8058_pwm_led_brightness_set: bank 1 brightness 1 -
<6>[ 66.261243] pm8058_pwm_led_brightness_set: bank 0 brightness 0 +
<6>[ 66.261365] pm8058_pwm_led_brightness_set: bank 0 brightness 0 -
<6>[ 66.269269] pm8058_pwm_led_brightness_set: bank 1 brightness 1 +
<6>[ 66.269422] pm8058_pwm_led_brightness_set: bank 1 brightness 1 -
~ #
rzr86 said:
then redownload the rom
check md5 sums
full wipe and flash
Click to expand...
Click to collapse
the init progress is broken
Hello, guys!
I got Nexus 5 running vanilla AOSP Android 4.4.3 compiled by myself. It works like a charm. I would like to use external Wi-Fi USB adapter with my Nexus 5. I've tried to use AWUS036NHA (with Atheros AR92721 chip) and two other models from different vendors. Every time I get the same error.
So, what have I done? I've rebuilt kernel to add support for my devices (in usual Linux way) and added firmwares they need to /vendor/firmware. When I plug AWUS036NHA into my phone I get the following (dmesg):
Code:
<6>[ 1587.856305] usb 1-1: new high-speed USB device number 2 using xhci-hcd
<6>[ 1587.887070] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271
<6>[ 1587.887129] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
<6>[ 1587.887221] usb 1-1: Product: UB91C
<6>[ 1587.887273] usb 1-1: Manufacturer: ATHEROS
<6>[ 1587.887365] usb 1-1: SerialNumber: 12345
<4>[ 1587.887857] usb 1-1: ep 0x1 - rounding interval to 32768 microframes, ep desc says 0 microframes
<4>[ 1587.888693] usb 1-1: ep 0x82 - rounding interval to 32768 microframes, ep desc says 0 microframes
<4>[ 1587.888968] usb 1-1: ep 0x5 - rounding interval to 32768 microframes, ep desc says 0 microframes
<4>[ 1587.889115] usb 1-1: ep 0x6 - rounding interval to 32768 microframes, ep desc says 0 microframes
<6>[ 1587.890044] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
<6>[ 1588.180755] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
<6>[ 1588.416902] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
<6>[ 1588.644279] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
<7>[ 1588.644345] ath: EEPROM regdomain: 0x833a
<7>[ 1588.644351] ath: EEPROM indicates we should expect a country code
<7>[ 1588.644360] ath: doing EEPROM country->regdmn map search
<7>[ 1588.644367] ath: country maps to regdmn code: 0x37
<7>[ 1588.644374] ath: Country alpha2 being used: GB
<7>[ 1588.644379] ath: Regpair used: 0x37
<6>[ 1588.648677] ieee80211 phy3: Atheros AR9271 Rev:1
<7>[ 1588.650804] Registered led device: ath9k_htc-phy3
It seems to me that everything here is ok. But when I try to switch on the adapter (ifconfig wlan1 up) I get an error (dmesg):
Code:
ADDRCONF(NETDEV_UP): wlan1: link is not ready
By the way, "ifconfig" command shows no error, but certainly it doesn't swith my device on.
So, I got the same error with 3 different adapters. I got no idea about possible ways of solving this problem.
Please, share your ideas, I'm really stuck Looking forward for your help. And thanks in advance!