[Q] A70 - USB HOST...What to do? - Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting

Hi!
Usb host on my A70 IT doesn't works(or works not properly?)
Result is the same with 4 different usb flash...
PHP:
<6>request_suspend_state: wakeup (3->0) at 34543067291305 (2011-03-20 08:55:26.774108889 UTC)
<7>omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
<4>omapdss DPI: Could not find exact pixel clock. Requested 41575 kHz, got 41574 kHz
<6>panel_enable [lcd]
<7>usb usb1: usb auto-resume
<7>ohci-omap ohci-omap.0: resume root hub
<7>hub 1-0:1.0: hub_resume
<7>hub 1-0:1.0: port 2: status 0107 change 0000
<7>hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
<7>usb 1-2: usb resume
<7>hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
<7>ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00040103 PSSC PPS PES CCS
<7>usb 1-2: finish resume
<7>ohci-omap ohci-omap.0: urb c5bc9b40 path 2 ep0in 5ec20000 cc 5 --> status -62
<7>usb 1-2: retry with reset-resume
<7>hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
<7>ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
<6>usb 1-2: reset full speed USB device using ohci-omap and address 2
<7>hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
<7>ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
<7>usb 1-2: ep0 maxpacket = 16
<4>mma7660fc_ctrl_ioctl: Set polling delay 200
<4>usb_switch_print_state: 3 ATTACHED_HOST
<4>
<4>usb_switch_print_state: 3 ATTACHED_HOST
<4>
<7>twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v5 enabled 0
<7>twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v8 enabled 0
<7>twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb3v1 enabled 0
<6>musb_hdrc: version 6.0, musb-dma, peripheral, debug=0
<7>twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb3v1 enabled 1
<7>twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v8 enabled 1
<7>twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v5 enabled 1
<6>musb_hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92
<6>musb_hdrc musb_hdrc: MUSB HDRC host driver
<7>/mnt/flash/releases/G8A/AX08_r2.1.2/arcbuild/linux/drivers/usb/core/inode.c: creating file '002'
<6>musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
<7>usb usb2: default language 0x0409
<6>usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
<6>usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>usb usb2: Product: MUSB HDRC host driver
<6>usb usb2: Manufacturer: Linux 2.6.29-omap1 musb-hcd
<6>usb usb2: SerialNumber: musb_hdrc
<7>usb usb2: uevent
<7>usb usb2: usb_probe_device
<6>usb usb2: configuration #1 chosen from 1 choice
<7>usb usb2: adding 2-0:1.0 (config #1, interface 0)
<7>usb 2-0:1.0: uevent
<7>hub 2-0:1.0: usb_probe_interface
<7>hub 2-0:1.0: usb_probe_interface - got id
<6>hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 1 port detected
<7>hub 2-0:1.0: standalone hub
<7>hub 2-0:1.0: individual port power switching
<7>hub 2-0:1.0: no over-current protection
<7>hub 2-0:1.0: power on to power good time: 10ms
<7>hub 2-0:1.0: 100mA bus power budget for each child
<7>hub 2-0:1.0: local power source is good
<7>hub 2-0:1.0: enabling power on all ports
<7>/mnt/flash/releases/G8A/AX08_r2.1.2/arcbuild/linux/drivers/usb/core/inode.c: creating file '001'
<7>hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<7>hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0002
<7>hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
<7>hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
<6>usb 2-1: new high speed USB device using musb_hdrc and address 2
<7>usb 2-1: khubd timed out on ep0in len=0/64
<7>usb 2-1: khubd timed out on ep0in len=0/64
<7>usb 2-1: khubd timed out on ep0in len=0/64
<3>usb 2-1: device descriptor read/64, error -110
<7>usb 2-1: khubd timed out on ep0in len=0/64
<7>usb 2-1: khubd timed out on ep0in len=0/64
<7>usb 2-1: khubd timed out on ep0in len=0/64
<3>usb 2-1: device descriptor read/64, error -110
<6>usb 2-1: new high speed USB device using musb_hdrc and address 3
<7>usb 2-1: khubd timed out on ep0in len=0/64
<7>usb 2-1: khubd timed out on ep0in len=0/64
<7>usb 2-1: khubd timed out on ep0in len=0/64
<3>usb 2-1: device descriptor read/64, error -110
<7>usb 2-1: khubd timed out on ep0in len=0/64
<7>usb 2-1: khubd timed out on ep0in len=0/64
<7>usb 2-1: khubd timed out on ep0in len=0/64
<3>usb 2-1: device descriptor read/64, error -110
<6>usb 2-1: new high speed USB device using musb_hdrc and address 4
...and no external drive presented
Help!!! What should I do?

Decided ...
There was no connection between contact 4 and signal ground on usb-microusb adapter.
P.S. But this adapter works properly with HP Voice Messenger ...

Related

Serial console and early kernel boot process - HOW?

Hello.
I want to look, what happened at early boot stage of kernel (right from Uncompressing Linux stage).
Trying to do boot into fastboot mode and run fastboot oem boot - got this:
Code:
...
(bootloader) setup_tag addr=0x48000100 cmdline add=0x801E6708
(bootloader) TAG:Ramdisk OK
(bootloader) TAG:skuid 0x2A408
(bootloader) TAG:hero panel = 0x940026
(bootloader) TAG:engineerid = 0x0
(bootloader) TAG: PS ID = 0x2
(bootloader) Device CID is not super CID
(bootloader) CID is 0202
(bootloader) setting->cid::0202
(bootloader) serial number: HT22PV******
(bootloader) commandline from head: console=ttyHSL0
(bootloader) command line length =535
(bootloader) active commandline: poweron_status=1 board_shooter_u.disable
(bootloader) _uart3=0 diag.enabled=0 board_shooter_u.debug_uart=0 userdat
(bootloader) a_sel=0 androidboot.emmc=true androidboot.pagesize=2048 skui
(bootloader) d=0 ddt=20 androidboot.lb=0 androidboot.baseband=11.23.3504.
(bootloader) 09_M2 androidboot.cid=0202 androidboot.batt_poweron=good_b
(bootloader) attery androidboot.carrier=COMMON androidboot.mid=PG8630000
(bootloader) androidboot.keycaps=qwerty androidboot.dq=PASS androidboot.m
(bootloader) ode=normal androidboot.serialno=HT22PV****** androidboot.boo
(bootloader) tloader=1.49.0018 zygote_oneshot=off msm_watchdog.enable=1 c
(bootloader) onsole=ttyHSL0
(bootloader) aARM_Partion[0].name=misc
(bootloader) aARM_Partion[1].name=recovery
(bootloader) aARM_Partion[2].name=boot
(bootloader) aARM_Partion[3].name=system
(bootloader) aARM_Partion[4].name=cache
(bootloader) aARM_Partion[5].name=userdata
(bootloader) aARM_Partion[6].name=devlog
(bootloader) aARM_Partion[7].name=pdata
(bootloader) aARM_Partion[8].name=radio
(bootloader) aARM_Partion[9].name=adsp
(bootloader) aARM_Partion[A].name=radio_config
(bootloader) aARM_Partion[B].name=modem_st1
(bootloader) aARM_Partion[C].name=modem_st2
(bootloader) partition number=13
(bootloader) Valid partition num=13
(bootloader) ddr_get_size: rank 0 reg = E000
(bootloader) ddr_get_size: rank 1 reg = E000
(bootloader) ddr_get_size: ddr_size = 1024
(bootloader) TZ_HTC_SVC_SET_DDR_MPU ret = 0
(bootloader) smem 50006000 (phy 50006000): TZ_HTC_SVC_UPDATE_SMEM ret = 0
(bootloader) TZ_HTC_SVC_LOG_OPERATOR ret = 0
(bootloader) TZ_HTC_SVC_DISABLE ret = 6381568 (0x616000)
(bootloader) jump_to_kernel: machine_id(3358), tags_addr(0x48000100), ker
(bootloader) nel_addr(0x48008000)
(bootloader) -------------------hboot boot time:16517 msec
FAILED (status read failed (No such device))
finished. total time: 8.679s
And got this in computer's dmesg:
Code:
[317564.496129] usb 2-3: khubd timed out on ep0in len=0/5
[317564.496134] usb 2-3: unable to get BOS descriptor
[317564.499991] usb 2-3: default language 0x0409
[317564.502996] usb 2-3: udev 51, busnum 2, minor = 178
[317564.503016] usb 2-3: New USB device found, idVendor=0bb4, idProduct=0ff0
[317564.503022] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[317564.503025] usb 2-3: Product: Android 1.0
[317564.503027] usb 2-3: Manufacturer: htc, Inc
[317564.503029] usb 2-3: SerialNumber: HT22PV******
[317564.503152] usb 2-3: usb_probe_device
[317564.503156] usb 2-3: configuration #1 chosen from 1 choice
[317564.504131] usb 2-3: adding 2-3:1.0 (config #1, interface 0)
[317564.504251] drivers/usb/core/inode.c: creating file '051'
[317574.071377] ehci_hcd 0000:00:1d.7: detected XactErr len 0/64 retry 1
[317574.071406] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0008
[317574.071418] ehci_hcd 0000:00:1d.7: detected XactErr len 0/64 retry 2
[317574.071426] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001002 0 ACK POWER sig=se0 CSC
[317574.071440] hub 2-0:1.0: port 3, status 0100, change 0001, 12 Mb/s
[317574.071445] usb 2-3: USB disconnect, device number 51
[317574.071447] usb 2-3: unregistering device
[317574.071450] usb 2-3: unregistering interface 2-3:1.0
[317574.071453] ehci_hcd 0000:00:1d.7: detected XactErr len 0/64 retry 3
[317574.071484] ehci_hcd 0000:00:1d.7: detected XactErr len 0/64 retry 4
[317574.071505] ehci_hcd 0000:00:1d.7: detected XactErr len 0/64 retry 5
[317574.071535] ehci_hcd 0000:00:1d.7: detected XactErr len 0/64 retry 6
[317574.071543] ehci_hcd 0000:00:1d.7: shutdown urb e63d4d80 ep1in-bulk
[317574.071618] usb 2-3: usb_disable_device nuking all URBs
[317574.175056] hub 2-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x100
[317575.066817] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0008
[317575.066837] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001803 0 ACK POWER sig=j CSC CONNECT
[317575.066846] hub 2-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
[317575.170062] hub 2-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
[317575.221350] ehci_hcd 0000:00:1d.7: port 3 high speed
[317575.221356] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001005 0 ACK POWER sig=se0 PE CONNECT
[317575.272142] usb 2-3: new high-speed USB device number 52 using ehci_hcd
[317575.323349] ehci_hcd 0000:00:1d.7: port 3 high speed
[317575.323355] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001005 0 ACK POWER sig=se0 PE CONNECT
[317575.386551] usb 2-3: default language 0x0409
[317575.386948] usb 2-3: udev 52, busnum 2, minor = 179
[317575.386951] usb 2-3: New USB device found, idVendor=0bb4, idProduct=0ff0
[317575.386954] usb 2-3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[317575.386957] usb 2-3: Product: Android Phone
[317575.386959] usb 2-3: Manufacturer: HTC
[317575.386961] usb 2-3: SerialNumber: HT22PV******
[317575.387075] usb 2-3: usb_probe_device
[317575.387079] usb 2-3: configuration #1 chosen from 1 choice
[317575.387389] usb 2-3: adding 2-3:1.0 (config #1, interface 0)
[317575.387668] libusual 2-3:1.0: usb_probe_interface
[317575.387679] libusual 2-3:1.0: usb_probe_interface - got id
[317575.387705] usb-storage 2-3:1.0: usb_probe_interface
[317575.387711] usb-storage 2-3:1.0: usb_probe_interface - got id
[317575.387988] scsi629 : usb-storage 2-3:1.0
[317575.388135] drivers/usb/core/inode.c: creating file '052'
[317576.390942] scsi 629:0:0:0: Direct-Access HTC Android Phone 0000 PQ: 0 ANSI: 2
[317576.391193] sd 629:0:0:0: Attached scsi generic sg2 type 0
[317576.398144] sd 629:0:0:0: [sdb] Attached SCSI removable disk
[317577.895522] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0008
[317577.895540] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001002 0 ACK POWER sig=se0 CSC
[317577.895552] hub 2-0:1.0: port 3, status 0100, change 0001, 12 Mb/s
[317577.895561] usb 2-3: USB disconnect, device number 52
[317577.895563] usb 2-3: unregistering device
[317577.895566] usb 2-3: unregistering interface 2-3:1.0
[317577.902263] usb 2-3: usb_disable_device nuking all URBs
[317578.006049] hub 2-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x100
[317578.133715] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0008
[317578.133734] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001803 0 ACK POWER sig=j CSC CONNECT
[317578.133746] hub 2-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
[317578.237057] hub 2-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
[317578.288350] ehci_hcd 0000:00:1d.7: port 3 high speed
[317578.288356] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001005 0 ACK POWER sig=se0 PE CONNECT
[317578.339057] usb 2-3: new high-speed USB device number 53 using ehci_hcd
[317578.390348] ehci_hcd 0000:00:1d.7: port 3 high speed
[317578.390355] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001005 0 ACK POWER sig=se0 PE CONNECT
[317578.453590] usb 2-3: default language 0x0409
[317578.453940] usb 2-3: udev 53, busnum 2, minor = 180
[317578.453943] usb 2-3: New USB device found, idVendor=0bb4, idProduct=0ff0
[317578.453945] usb 2-3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[317578.453948] usb 2-3: Product: Android Phone
[317578.453950] usb 2-3: Manufacturer: HTC
[317578.453952] usb 2-3: SerialNumber: HT22PV******
[317578.454066] usb 2-3: usb_probe_device
[317578.454071] usb 2-3: configuration #1 chosen from 1 choice
[317578.454504] usb 2-3: adding 2-3:1.0 (config #1, interface 0)
[317578.454696] libusual 2-3:1.0: usb_probe_interface
[317578.454703] libusual 2-3:1.0: usb_probe_interface - got id
[317578.454718] usb-storage 2-3:1.0: usb_probe_interface
[317578.454723] usb-storage 2-3:1.0: usb_probe_interface - got id
[317578.457454] scsi630 : usb-storage 2-3:1.0
[317578.457589] usb 2-3: adding 2-3:1.1 (config #1, interface 1)
[317578.457673] drivers/usb/core/inode.c: creating file '053'
[317578.981002] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 1
[317578.981032] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0008
[317578.981042] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 2
[317578.981050] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001002 0 ACK POWER sig=se0 CSC
[317578.981065] hub 2-0:1.0: port 3, status 0100, change 0001, 12 Mb/s
[317578.981069] usb 2-3: USB disconnect, device number 53
[317578.981072] usb 2-3: unregistering device
[317578.981075] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 3
[317578.981078] usb 2-3: unregistering interface 2-3:1.0
[317578.981111] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 4
[317578.981134] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 5
[317578.981164] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 6
[317578.981193] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 7
[317578.981350] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 8
[317578.981374] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 9
[317578.981389] usb 2-3: unregistering interface 2-3:1.1
[317578.981397] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 10
[317578.981419] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 11
[317578.981441] ehci_hcd 0000:00:1d.7: detected XactErr len 0/24 retry 12
[317578.981479] ehci_hcd 0000:00:1d.7: shutdown urb f5a2ff00 ep2in-bulk
[317578.981546] usb 2-3: usb_disable_device nuking all URBs
[317579.085116] hub 2-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x100
[317579.223614] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0008
[317579.223633] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001803 0 ACK POWER sig=j CSC CONNECT
[317579.223646] hub 2-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
[317579.327057] hub 2-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
[317579.378348] ehci_hcd 0000:00:1d.7: port 3 high speed
[317579.378355] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001005 0 ACK POWER sig=se0 PE CONNECT
[317579.429034] usb 2-3: new high-speed USB device number 54 using ehci_hcd
[317579.480225] ehci_hcd 0000:00:1d.7: port 3 high speed
[317579.480231] ehci_hcd 0000:00:1d.7: GetStatus port:3 status 001005 0 ACK POWER sig=se0 PE CONNECT
[317579.543964] usb 2-3: skipped 1 descriptor after configuration
[317579.543968] usb 2-3: skipped 4 descriptors after interface
[317579.544233] usb 2-3: default language 0x0409
[317579.545121] usb 2-3: udev 54, busnum 2, minor = 181
[317579.545128] usb 2-3: New USB device found, idVendor=0bb4, idProduct=0ff0
[317579.545131] usb 2-3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[317579.545134] usb 2-3: Product: Android Phone
[317579.545139] usb 2-3: Manufacturer: HTC
[317579.545141] usb 2-3: SerialNumber: HT22PV******
[317579.545262] usb 2-3: usb_probe_device
[317579.545266] usb 2-3: configuration #1 chosen from 1 choice
[317579.549522] usb 2-3: adding 2-3:1.0 (config #1, interface 0)
[317579.549956] rndis_host 2-3:1.0: usb_probe_interface
[317579.549959] rndis_host 2-3:1.0: usb_probe_interface - got id
[317579.552878] rndis_host 2-3:1.0: usb0: register 'rndis_host' at usb-0000:00:1d.7-3, RNDIS device, d6:cc:25:**:**:**
[317579.552914] usb 2-3: adding 2-3:1.1 (config #1, interface 1)
[317579.553971] usb 2-3: adding 2-3:1.2 (config #1, interface 2)
[317579.554292] libusual 2-3:1.2: usb_probe_interface
[317579.554302] libusual 2-3:1.2: usb_probe_interface - got id
[317579.554320] usb-storage 2-3:1.2: usb_probe_interface
[317579.554329] usb-storage 2-3:1.2: usb_probe_interface - got id
[317579.559101] scsi631 : usb-storage 2-3:1.2
[317579.559239] usb 2-3: adding 2-3:1.3 (config #1, interface 3)
[317579.559323] drivers/usb/core/inode.c: creating file '054'
[317579.743564] usb 2-3: link qh32-0001/f2839d00 start 7 [1/0 us]
[317580.561186] scsi 631:0:0:0: Direct-Access HTC Android Phone 0000 PQ: 0 ANSI: 2
[317580.561419] sd 631:0:0:0: Attached scsi generic sg2 type 0
[317580.568777] sd 631:0:0:0: [sdb] Attached SCSI removable disk
[317590.178019] usb0: no IPv6 routers present
I have tried to modify arch/arm/mach-msm/include/mach/htc_usb.h and arch/arm/mach-msm/board-shooter_u.c files to use same dVendor=0bb4, idProduct=0ff0 at all bootup time, but device do reset usb port and I can't see what's happening after kernel got control.
Thank You!
So i rooted my POCO X2 and installed orange fox recovery, used the same rom which came pre-installed. Now a persistent notification of "SERIAL CONSOLE ENABLED, performance maybe impacted check bootloader to disable" hovers in my notifications, my device is running on ANDROID 11. Please help!

[Q] Can't find the path of gps device in /dev

Hi,everyone!
I have a i.mx535 freescale tablet running on linux 2.6.35.3-01 kernel with android 2.3.4 and I’ve been trying to connect a usb-gps to it, but I can't find its path in /dev.(I don't have a ttyUSB* in /dev) It is detected by the tablet because when I run the Usb Host Controller app it shows that on 1-1 there is a Prolific Technology Inc. USB-Serial Controller. How can I find the path of the gps?
dmesg shows this:
<6>Bluetooth: HCI socket layer initialized
<6>mc34708 Rev 2.4 FinVer 0 detected
<6>PMIC MC34708 ID:0x14
<6>regulator: SW1: 650 <--> 1437 mV at 1250 mV
<6>regulator: SW1B: 650 <--> 1437 mV at 1100 mV
<6>regulator: SW2: 650 <--> 1437 mV at 1300 mV
<6>regulator: SW3: 650 <--> 1425 mV at 1200 mV
<6>regulator: SW4A: 1200 <--> 3300 mV at 1500 mV
<6>regulator: SW4B: 1200 <--> 3300 mV at 1500 mV
<6>regulator: SW5: 1200 <--> 1975 mV at 1800 mV
<6>regulator: SWBST:
<6>regulator: VPLL: 1200 <--> 1800 mV at 1800 mV
<6>regulator: VREFDDR:
<6>regulator: VDAC: 2500 <--> 2775 mV at 2775 mV
<6>regulator: VUSB:
<6>regulator: VUSB2: 2500 <--> 3000 mV at 2500 mV
<6>regulator: VGEN1: 1200 <--> 1550 mV at 1300 mV
<6>regulator: VGEN2: 2500 <--> 3300 mV at 2500 mV
<6>pmic 0-0008: Loaded
<6>Switching to clocksource mxc_timer1
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
<6>TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
<6>TCP: Hash tables configured (established 131072 bind 65536)
<6>TCP reno registered
<6>UDP hash table entries: 512 (order: 1, 8192 bytes)
<6>UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
<6>NET: Registered protocol family 1
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>Unpacking initramfs...
<6>Freeing initrd memory: 176K
<6>LPMode driver module loaded
<6>Static Power Management for Freescale i.MX5
<6>PM driver module loaded
<6>sdram autogating driver module loaded
<6>Bus freq driver module loaded
<6>DI0 is primary
<6>Hallo Mutti
<6>mxc_dvfs_core_probe
<6>DVFS driver module loaded
<6>i.MXC CPU frequency driver
<6>DVFS PER driver module loaded
<6>ashmem: initialized
<6>msgmni has been set to 1805
<6>alg: No test for stdrng (krng)
<6>cryptodev: driver loaded.
<6>io scheduler noop registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered (default)
<3>regulator: get() with no identifier
<4>By setting, SII driver will not be enabled
<4>By setting, LDB driver will not be enabled
<3>mxc_ipu mxc_ipu: Channel already disabled 9
<3>mxc_ipu mxc_ipu: Channel already uninitialized 9
<3>mxc_ipu mxc_ipu: Channel already disabled 7
<3>mxc_ipu mxc_ipu: Channel already uninitialized 7
<3>mxc_ipu mxc_ipu: Channel already disabled 10
<3>mxc_ipu mxc_ipu: Channel already uninitialized 10
<6>Serial: MXC Internal UART driver
<6>mxcintuart.0: ttymxc0 at MMIO 0x53fbc000 (irq = 31) is a Freescale i.MX
<6>console [ttymxc0] enabled, bootconsole disabled
<6>mxcintuart.1: ttymxc1 at MMIO 0x53fc0000 (irq = 32) is a Freescale i.MX
<6>mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 33) is a Freescale i.MX
<6>mxcintuart.3: ttymxc3 at MMIO 0x53ff0000 (irq = 13) is a Freescale i.MX
<6>mxcintuart.4: ttymxc4 at MMIO 0x63f90000 (irq = 86) is a Freescale i.MX
<6>loop: module loaded
<6>pmem_adsp: 0 init
<6>pmem_gpu: 1 init
<6>MXC MTD nand Driver 3.0
<6>i.MX GPMI NFC
<6>vcan: Virtual CAN interface driver
<6>Freescale FlexCAN Driver
<6>FEC Ethernet Driver
<6>fec_enet_mii_bus: probed
<6>PPP generic driver version 2.4.2
<6>PPP Deflate Compression module registered
<6>PPP BSD Compression module registered
<6>PPP MPPE Compression module registered
<6>NET: Registered protocol family 24
<6>tun: Universal TUN/TAP device driver, 1.6
<6>tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
<6>fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 1
<6>fsl-ehci fsl-ehci.1: irq 14, io base 0x53f80200
<6>fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
<6>usbcore: registered new interface driver cdc_acm
<6>cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adap
ters
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<6>usbcore: registered new interface driver usbserial
<6>usbserial: USB Serial Driver core
<6>USB Serial support registered for GSM modem (1-port)
<6>usbcore: registered new interface driver option
<6>option: v0.7.2:USB Driver for GSM modems
<6>ARC USBOTG Device Controller driver (1 August 2005)
<6>Android usb driver initialize
<6>android_usb gadget: android_usb ready
<7>dr_controller_run: udc enter low power mode
<6>fsl-usb2-udc: bind to driver android_usb
<6>android gadget: register function adb
<6>android gadget: register function usb_mass_storage
<6>android gadget: register function rndis
<6>rndis_function_bind_config MAC: 00:00:00:00:00:00
<4>android_usb gadget: using random self ethernet address
<4>android_usb gadget: using random host ethernet address
<6>usb0: MAC 4e:e3:dd:38:b3:09
<6>usb0: HOST MAC 36:1c:1a:c6:25:10
<6>android_usb gadget: usb_mass_storage, version: 2009/09/11
<6>android_usb gadget: Number of LUNs=3
<6> lun0: LUN: removable file: (no medium)
<6> lun1: LUN: removable file: (no medium)
<6> lun2: LUN: removable file: (no medium)
<4>mice: could not register psaux device, error: -16
<6>mice: PS/2 mouse device common for all mice
<6>input: gpio-keys as /devices/platform/gpio-keys/input/input0
<6>MXC keypad loaded
<6>input: mxc_power_key as /devices/virtual/input/input1
<6>PMIC powerkey probe
<3>egalax_ts 2-0004: egalax_ts: failed to read firmware version
<4>egalax_ts: probe of 2-0004 failed with error -5
<3>p1003_fwv33 2-0041: couldn't read panel infomation.
<4>p1003_fwv33: probe of 2-0041 failed with error -5
<4>DA9052 TSI Device Driver, v1.0
<6>using rtc device, mxc_rtc, for alarms
<6>mxc_rtc mxc_rtc.0: rtc core: registered mxc_rtc as rtc0
<6>pmic rtc probe start
<6>pmic_rtc mc34708_rtc.1: rtc core: registered mc34708_rtc as rtc1
<6>pmic rtc probe succeed
<6>i2c /dev entries driver
<6>IR NEC protocol handler initialized
<6>IR RC5(x) protocol handler initialized
<6>IR RC6 protocol handler initialized
<6>IR JVC protocol handler initialized
<6>IR Sony protocol handler initialized
<6>Linux video capture interface: v2.00
<6>usb 1-1: new full speed USB device using fsl-ehci and address 2
<6>mxc_v4l2_output mxc_v4l2_output.0: Registered device video1
<6>usbcore: registered new interface driver uvcvideo
<6>USB Video Class driver (v0.1.0)
<6>APM Battery Driver
<6>check mma8450 chip ID
<6>mma8450 0-001c: build time Feb 15 2013 16:59:28
<6>input: mma8450 as /devices/virtual/input/input2
<6>add mma8450 i2c driver
<6>MXC WatchDog Driver 2.0
<6>MXC Watchdog # 0 Timer: initial timeout 60 sec
<6>device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: [email protected]
com
<6>Bluetooth: Virtual HCI driver ver 1.3
<6>Bluetooth: HCI UART driver ver 2.2
<6>Bluetooth: HCIATH3K protocol initialized
<6>Bluetooth: Generic Bluetooth USB driver ver 0.6
<6>usbcore: registered new interface driver btusb
<6>PMIC ADC start probe
<6>VPU initialized
<6>mxc_asrc registered
<6>gpu mmu enabled
<6>mxsdhci: MXC Secure Digital Host Controller Interface driver
<6>mxsdhci: MXC SDHCI Controller Driver.
<6>mmc0: SDHCI detect irq 0 irq 1 INTERNAL DMA
<6>mxsdhci: MXC SDHCI Controller Driver.
<6>mmc1: SDHCI detect irq 203 irq 3 INTERNAL DMA
<7>Registered led device: pmic_ledsr
<7>Registered led device: pmic_ledsg
<7>Registered led device: pmic_ledsb
<6>usbcore: registered new interface driver usbhid
<6>usbhid: USB HID core driver
<6>logger: created 64K log 'log_main'
<6>logger: created 256K log 'log_events'
<6>logger: created 64K log 'log_radio'
<6>logger: created 64K log 'log_system'
<6>Cirrus Logic CS42888 ALSA SoC Codec Driver
<6>sgtl5000-i2c 1-000a: SGTL5000 revision 17
<6>mxc_spdif mxc_spdif.0: MXC SPDIF Audio Transmitter
<4>No device for codec mxc spdif
<4>No device for DAI mxc spdif
<4>No device for DAI imx-ssi-1-0
<4>No device for DAI imx-ssi-1-1
<4>No device for DAI imx-ssi-2-0
<4>No device for DAI imx-ssi-2-1
<4>No device for DAI imx-spdif-dai
<6>DMA Sound Buffer Allocated: Playback UseIram=1 ext_ram=0 buf->addr=f8016000 b
uf->area=e0856000 size=24576
<6>DMA Sound Buffer Allocated: Capture UseIram=1 ext_ram=1 buf->addr=cf3a0000 b
uf->area=fb02a000 size=24576
<6>asoc: SGTL5000 <-> imx-ssi-2-0 mapping ok
<6>mmc0: new high speed SDHC card at address e624
<6>mmcblk0: mmc0:e624 SU04G 3.69 GiB
<6> mmcblk0: p1 p2 p3 < p5 p6 > p4
<6>DMA Sound Buffer Allocated: Playback UseIram=1 ext_ram=1 buf->addr=cf3d8000 b
uf->area=fb030000 size=24576
<6>asoc: mxc spdif <-> imx-spdif-dai mapping ok
<6>ALSA device list:
<6> #0: imx-3stack (SGTL5000)
<6> #1: imx-3stack-spdif (mxc spdif)
<6>nf_conntrack version 0.5.0 (14443 buckets, 57772 max)
<6>IPv4 over IPv4 tunneling driver
<6>GRE over IPv4 tunneling driver
<6>ip_tables: (C) 2000-2006 Netfilter Core Team
<6>TCP cubic registered
<6>NET: Registered protocol family 10
<6>IPv6 over IPv4 tunneling driver
<6>NET: Registered protocol family 17
<6>NET: Registered protocol family 15
<6>can: controller area network core (rev 20090105 abi 8)
<6>NET: Registered protocol family 29
<6>can: raw protocol (rev 20090105)
<6>can: broadcast manager protocol (rev 20090105 t)
<6>Bluetooth: L2CAP ver 2.14
<6>Bluetooth: L2CAP socket layer initialized
<6>Bluetooth: SCO (Voice Link) ver 0.6
<6>Bluetooth: SCO socket layer initialized
<6>Bluetooth: RFCOMM TTY layer initialized
<6>Bluetooth: RFCOMM socket layer initialized
<6>Bluetooth: RFCOMM ver 1.11
<6>Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>Bluetooth: BNEP filters: protocol multicast
<6>Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>L2TP core driver, V2.0
<6>PPPoL2TP kernel driver, V2.0
<6>VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
<6>input: mxc_ts as /devices/virtual/input/input3
<4>mxc input touchscreen loaded
<6>mxc_rtc mxc_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)
<6>Freeing init memory: 196K
<3>init: cannot open '/initlogo.rle'
<6>EXT4-fs (mmcblk0p2): recovery complete
<6>EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
<6>EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
<6>EXT4-fs (mmcblk0p5): recovery complete
<6>EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: nodelal
loc
<6>EXT4-fs (mmcblk0p6): recovery complete
<6>EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
<3>init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recover
y'
<3>init: cannot execve('/data/init.ecarus.sh'): Text file busy
<6>warning: `rild' uses 32-bit capabilities (legacy support in use)
<6>pmem: request for physical address of pmem region from process 2195.
<6>eth0: Freescale FEC PHY driver [Generic PHY] (mii_bushy_addr=0:00, irq=-1)
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2b530054
<6>request_suspend_state: on (3->0) at 12219554377 (1970-01-02 00:00:03.72136662
4 UTC)
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2b530054
<6>request_suspend_state: on (0->0) at 12432150502 (1970-01-02 00:00:03.93396249
9 UTC)
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2ba3e054
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2badb054
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2bc3e054
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2bcdb054
<6>PHY: 0:00 - Link is Up - 100/Full
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2bd3e054
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2bddb054
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2be3e054
<1>Unhandled fault: external abort on non-linefetch (0x1018) at 0x2bedb054
<7>DVFS is started
<7>del_all_devices_contexts: Destroyed context 1 on device id = 1
<6>Not all allocated memory blocks were freed. Doing it now.
<6>Freeing list entry #0, gpuaddr=166000
<6>Freeing list entry #1, gpuaddr=167000
<6>Freeing list entry #2, gpuaddr=177000
<6>Freeing list entry #3, gpuaddr=1a9000
<6>Freeing list entry #6, gpuaddr=1fa000
<6>Freeing list entry #7, gpuaddr=1fc000
<6>Freeing list entry #8, gpuaddr=21c000
<6>Freeing list entry #88, gpuaddr=bbc000
<7>eth0: no IPv6 routers present
<6>usb 1-1: USB disconnect, address 2
<7>ehci_fsl_bus_suspend, Host 1
<6>usb wakeup is here
<7>ehci_fsl_bus_resume, Host 1
<6>usb 1-1: new high speed USB device using fsl-ehci and address 3
<6>hub 1-1:1.0: USB hub found
<6>hub 1-1:1.0: 4 ports detected
<6>usb 1-1.1: new low speed USB device using fsl-ehci and address 4
<6>input: Microsoft Microsoft Basic Optical Mouse as /devices/platform/fsl-ehc
i.1/usb1/1-1/1-1.1/1-1.1:1.0/input/input4
<6>generic-usb 0003:045E:0084.0001: input: USB HID v1.11 Mouse [Microsoft Micro
soft Basic Optical Mouse ] on usb-fsl-ehci.1-1.1/input0
<7>Waiting arm_podf enabled!
<6>usb 1-1.3: new full speed USB device using fsl-ehci and address 5
<3>init: untracked pid 2922 exited
<6>EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
<6>usb 1-1: USB disconnect, address 3
<6>usb 1-1.1: USB disconnect, address 4
<6>usb 1-1.3: USB disconnect, address 5
<7>ehci_fsl_bus_suspend, Host 1
<6>usb wakeup is here
<7>ehci_fsl_bus_resume, Host 1
<6>usb 1-1: new full speed USB device using fsl-ehci and address 6

OTG cable + Logitech C525 webcam

Can anyone help me how to connect Logitech C525 webcam to my Nexus 10 device?
I have OTG cable, and after connect webcam none exist /dev/video0
I think linux UVC supports c525 webcam, so i don't know why not work. :crying:
Tablet rooted, latest google rom installed.
Hello igabyka
What does 'dmesg' tells us when you connect your webcam ?
LeDuke said:
Hello igabyka
What does 'dmesg' tells us when you connect your webcam ?
Click to expand...
Click to collapse
[email protected]:/ $ su
[email protected]:/ # dmesg|grep usb
<6>[ 0.000000] sclk_usbdrd30: source is mout_mpll (0), rate is 66666666
<6>[ 0.667118] usbcore: registered new interface driver usbfs
<6>[ 0.667223] usbcore: registered new interface driver hub
<6>[ 0.667362] usbcore: registered new device driver usb
<6>[ 0.987692] usbcore: registered new interface driver asix
<6>[ 0.987826] usbcore: registered new interface driver cdc_ether
<6>[ 0.987912] usbcore: registered new interface driver net1080
<6>[ 0.988046] usbcore: registered new interface driver cdc_subset
<6>[ 0.988136] usbcore: registered new interface driver zaurus
<6>[ 0.988284] usbcore: registered new interface driver cdc_ncm
<6>[ 0.997410] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 0.997475] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 0.997587] usb usb1: Product: S5P EHCI Host Controller
<6>[ 0.997650] usb usb1: Manufacturer: Linux 3.4.39-g79b81c6 ehci_hcd
<6>[ 0.997762] usb usb1: SerialNumber: s5p-ehci
<6>[ 0.998601] usb usb1: USB disconnect, device number 1
<6>[ 1.056314] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
<6>[ 1.056381] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 1.056493] usb usb1: Product: EXYNOS OHCI Host Controller
<6>[ 1.056556] usb usb1: Manufacturer: Linux 3.4.39-g79b81c6 ohci_hcd
<6>[ 1.056666] usb usb1: SerialNumber: exynos-ohci
<6>[ 1.057519] usb usb1: USB disconnect, device number 1
<6>[ 1.058300] usbcore: registered new interface driver usblp
<6>[ 1.058503] usbcore: registered new interface driver usb-storage
<6>[ 1.060658] gadget: android_usb ready
<6>[ 1.060722] bound driver 'android_usb'
<6>[ 1.061199] usbcore: registered new interface driver xpad
<6>[ 1.061289] usbcore: registered new interface driver usb_acecad
<6>[ 1.061424] usbcore: registered new interface driver aiptek
<6>[ 1.061557] usbcore: registered new interface driver gtco
<6>[ 1.061642] usbcore: registered new interface driver hanwang
<6>[ 1.061733] usbcore: registered new interface driver kbtab
<6>[ 1.061867] usbcore: registered new interface driver wacom
<6>[ 1.395980] usbcore: registered new interface driver usbhid
<6>[ 1.396052] usbhid: USB HID core driver
<3>[ 4.473344] android_usb: already disabled
<6>[ 4.767362] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 4.767448] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 4.767524] usb usb1: Product: S5P EHCI Host Controller
<6>[ 4.767604] usb usb1: Manufacturer: Linux 3.4.39-g79b81c6 ehci_hcd
<6>[ 4.767651] usb usb1: SerialNumber: s5p-ehci
<6>[ 4.826458] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
<6>[ 4.826545] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 4.826623] usb usb2: Product: EXYNOS OHCI Host Controller
<6>[ 4.826666] usb usb2: Manufacturer: Linux 3.4.39-g79b81c6 ohci_hcd
<6>[ 4.826742] usb usb2: SerialNumber: exynos-ohci
<6>[ 5.097260] usb 1-1: new high-speed USB device number 2 using s5p-ehci
<6>[ 5.494603] usb 1-1: New USB device found, idVendor=046d, idProduct=0826
<6>[ 5.494663] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=1
<6>[ 5.494743] usb 1-1: Product: HD Webcam C525
<6>[ 5.494793] usb 1-1: SerialNumber: FA21CC50
[email protected]:/ #

[Q] Gamepad not working

I have a cheap, Enter E-GPV gamepad which when connected to the pc gets detected as HID interface. I connected this to my LGOG using OTG Y-cable but it seems to be operating in low power mode or something like that. The device gets detected when I run dmesg command. But when I try to enable analog button, the gamepad led doesn't lighten up (It usually does when connected to the pc). I even tried compiling a kernel module but that doesn't seem to solve the issue. Any thoughts on solving this issue is welcome.
I've attached the dmesg log below.
PHP:
<6>[ 1203.734777] *** FORCING USB HOST MODE WITH CHARGING ***
<6>[ 1203.847184] msm_hsusb_host msm_hsusb_host: Qualcomm On-Chip EHCI Host Controller
<6>[ 1203.847306] msm_hsusb_host msm_hsusb_host: new USB bus registered, assigned bus number 2
<6>[ 1203.874805] msm_hsusb_host msm_hsusb_host: irq 132, io mem 0x12500000
<6>[ 1203.894796] msm_hsusb_host msm_hsusb_host: USB 2.0 started, EHCI 1.00
<6>[ 1203.895009] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 1203.895101] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 1203.895162] usb usb2: Product: Qualcomm On-Chip EHCI Host Controller
<6>[ 1203.895253] usb usb2: Manufacturer: Linux 3.4.0-g97444ad-dirty ehci_hcd
<6>[ 1203.895314] usb usb2: SerialNumber: msm_hsusb_host
<6>[ 1203.895681] USB fast charging is OFF.
<6>[ 1203.895742] msm_otg msm_otg: Avail curr from USB = 1500
<6>[ 1203.895894] msm_otg msm_otg: current: 0 -> 1500 (mA)
<6>[ 1203.895955] pm_power_set_property_usb: usb_target_ma 1500
<6>[ 1203.896200] hub 2-0:1.0: USB hub found
<6>[ 1203.896261] hub 2-0:1.0: 1 port detected
<6>[ 1204.035037] unplug_check_worker: usb_now=700, usb_target = 1500
<6>[ 1204.214893] usb 2-1: new low-speed USB device number 2 using msm_hsusb_host
<6>[ 1204.225118] auto_hotplug: Clearing pause flag
<6>[ 1204.235006] unplug_check_worker: usb_now=850, usb_target = 1500
<6>[ 1204.372531] usb 2-1: New USB device found, idVendor=0079, idProduct=0006
<6>[ 1204.372623] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>[ 1204.372684] usb 2-1: Product: Generic USB Joystick
<6>[ 1204.372806] usb 2-1: Manufacturer: DragonRise Inc.
<6>[ 1204.373141] USB fast charging is OFF.
<6>[ 1204.373233] msm_otg msm_otg: Avail curr from USB = 1000
<6>[ 1204.373324] msm_otg msm_otg: current: 1500 -> 1000 (mA)
<6>[ 1204.373416] pm_power_set_property_usb: usb_target_ma 1000
<3>[ 1204.610041] leds button-backlight: duty_cycles and duty_pcts is not exist
<6>[ 1205.035403] unplug_check_worker: usb_now=700, usb_target = 1000
<6>[ 1205.235220] unplug_check_worker: VIN: usb_now=500, usb_target = 500
<6>[ 1209.585136] auto_hotplug: Offlining CPU, avg running: 240
<6>[ 1210.637600] auto_hotplug: CPU1 down.
<6>[ 1213.024995] auto_hotplug: Onlining all CPUs, avg running: 460
<6>[ 1213.027193] auto_hotplug: CPU1 up.
<6>[ 1214.024965] auto_hotplug: Clearing pause flag
<3>[ 1216.023195] init: untracked pid 6608 exited
<3>[ 1217.799023] init: untracked pid 6682 exited
<3>[ 1218.022767] init: untracked pid 6685 exited
<6>[ 1220.745002] auto_hotplug: Offlining CPU, avg running: 210
<6>[ 1221.798321] auto_hotplug: CPU1 down.
<6>[ 1222.105111] adjust_soc: ibat_ua = -154300, vbat_uv = 3856806, soc = 46, batt_temp=307

Galaxy s7 oreo kernel compilation problem.

Hey
i compiled kernel for galaxy s7 oreo with support to atheros htc wifi usb dongles.
I put firmware htc_9271.fw to /vendot/firmware/
After that i plugged in my usb wifi card. I'm getting all time kernel panic and reboot.=
This kernel panic is only at Oreo.
Nougat and Marshmallow working fine with this firmware
I got this htc_9271.fw from vendor website. I tried another ones from internet but is too kernel panic.
Maybe someone know fix for this issue?
This issue is too on LineageOS 15.1, LineageOS 16.0, Oreo port s9 ROM
this is cut last_kmsg from Stock Oreo ROM
<6>[ 249.919612] [3: kworker/3:2: 4705] usb usb1-port1: port 1, status 0101, change 0000, 12 Mb/s
<6>[ 250.039444] [3: kworker/3:2: 4705] usb 1-1: new high-speed USB device number 2 using xhci-hcd
<6>[ 250.203517] [3: kworker/3:2: 4705] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271
<6>[ 250.203585] [3: kworker/3:2: 4705] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
<6>[ 250.203630] [3: kworker/3:2: 4705] usb 1-1: Product: UB93
<6>[ 250.203670] [3: kworker/3:2: 4705] usb 1-1: Manufacturer: ATHEROS
<6>[ 250.203711] [3: kworker/3:2: 4705] usb 1-1: SerialNumber: 12345
<6>[ 250.215659] [3: kworker/3:2: 4705] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
<6>[ 250.216574] [3: kworker/3:2: 4705] usb_notify: call_device_notify device
<6>[ 250.216635] [3: kworker/3:2: 4705] usb_notify: send_otg_notify event=device_connect(20) enable=1
<6>[ 250.216673] [3: kworker/3:2: 4705] usb_notify: extra_notifier_callback event=device_connect(20)
<6>[ 250.216711] [3: kworker/3:2: 4705] usb_notify: extra_notify_state+ event=device_connect(20), enable=on
<6>[ 250.216750] [3: kworker/3:2: 4705] usb_notify: extra_notify_state- event=device_connect(20), cable=host_id
<6>[ 250.216787] [3: kworker/3:2: 4705] usb_notify: check_gamepad_device : product=UB93
<6>[ 250.216823] [3: kworker/3:2: 4705] usb_notify: check_lanhub_device : product=UB93
<6>[ 250.216863] [3: kworker/3:2: 4705] usb_notify: check_device_speed : attached highspeed device
<6>[ 250.216902] [3: kworker/3:2: 4705] usb_notify: set_hw_param USB device connected - Class : 0xff, speed : 0x3
<4>[ 250.301133] [0: wpa_supplicant: 5504] Unknown PRIVATE command GET_LQCM_REPORT - ignored
<6>[ 250.683450] [3: kworker/3:2: 4705] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51008
<6>[ 250.936275] [3: kworker/3:2: 4705] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
<6>[ 251.179882] [3: kworker/3:2: 4705] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
<7>[ 251.179945] [3: kworker/3:2: 4705] ath: EEPROM regdomain: 0x65
<7>[ 251.179984] [3: kworker/3:2: 4705] ath: EEPROM indicates we should expect a direct regpair map
<7>[ 251.180035] [3: kworker/3:2: 4705] ath: Country alpha2 being used: 00
<7>[ 251.180071] [3: kworker/3:2: 4705] ath: Regpair used: 0x65
<0>[ 251.199777] [3: kworker/3:2: 4705] Unable to handle kernel NULL pointer dereference at virtual address 00000024
<1>[ 251.199835] [3: kworker/3:2: 4705] pgd = ffffffc0028f7000
<1>[ 251.199869] [3: kworker/3:2: 4705] [00000024] *pgd=00000008fa008003, *pud=00000008fa008003, *pmd=00000008fa009003, *pte=00600000101c0707
<4>[ 251.200076] [3: kworker/3:2: 4705] ------------[ cut here ]------------
<0>[ 251.200113] [3: kworker/3:2: 4705] Kernel BUG at ffffffc0006122a4 [verbose debug info unavailable]
<0>[ 251.200150] [3: kworker/3:2: 4705] Internal error: Oops - BUG: 96000006 [#1] PREEMPT SMP
<0>[ 251.200196] [3: kworker/3:2: 4705] exynos-snapshot: exynos_ss_get_reason 0x0 (CPU:3)
<0>[ 251.200237] [3: kworker/3:2: 4705] exynos-snapshot: core register saved(CPU:3)
<0>[ 251.200275] [3: kworker/3:2: 4705] CPUMERRSR: 000000000010047f, L2MERRSR: 0000000010000910
<0>[ 251.200313] [3: kworker/3:2: 4705] SCTLR_EL1: 04C5591D,
<0>[ 251.200347] [3: kworker/3:2: 4705] exynos-snapshot: context saved(CPU:3)
<6>[ 251.200487] [3: kworker/3:2: 4705] exynos-snapshot: item - log_kevents is disabled
<4>[ 251.200563] [3: kworker/3:2: 4705] CPU: 3 PID: 4705 Comm: kworker/3:2 Tainted: G W 3.18.14 #1
<4>[ 251.200599] [3: kworker/3:2: 4705] Hardware name: Samsung UNIVERSAL8890 board based on EXYNOS8890 (DT)
<4>[ 251.200670] [3: kworker/3:2: 4705] Workqueue: events request_firmware_work_func
<4>[ 251.200712] [3: kworker/3:2: 4705] task: ffffffc8795f6000 ti: ffffffc84893c000 task.ti: ffffffc84893c000
<4>[ 251.200762] [3: kworker/3:2: 4705] PC is at wl_cfg80211_netdev_notifier_call+0x6c/0x280
<4>[ 251.200802] [3: kworker/3:2: 4705] LR is at wl_cfg80211_netdev_notifier_call+0x2c/0x280
<4>[ 251.200842] [3: kworker/3:2: 4705] pc : [<ffffffc0006122a4>] lr : [<ffffffc000612264>] pstate: 20000145
<4>[ 251.200881] [3: kworker/3:2: 4705] sp : ffffffc84893fa40
<4>[ 251.200917] [3: kworker/3:2: 4705] x29: ffffffc84893fa40 x28: ffffffc001fd2000
<4>[ 251.200956] [3: kworker/3:2: 4705] x27: ffffffc002200568 x26: ffffffc84893fb58
Second log from Nougat which works fine:
[ 3839.716141] [1: kworker/1:3: 9974] hub 2-0:1.0: USB hub found
[ 3839.716222] [1: kworker/1:3: 9974] hub 2-0:1.0: 1 port detected
[ 3839.902144] [1: kworker/1:3: 9974] usb usb1-port1: port 1, status 0101, change 0000, 12 Mb/s
[ 3840.032240] [1: kworker/1:3: 9974] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 3840.198373] [1: kworker/1:3: 9974] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271
[ 3840.198548] [1: kworker/1:3: 9974] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 3840.198685] [1: kworker/1:3: 9974] usb 1-1: Product: UB93
[ 3840.198815] [1: kworker/1:3: 9974] usb 1-1: Manufacturer: ATHEROS
[ 3840.198943] [1: kworker/1:3: 9974] usb 1-1: SerialNumber: 12345
[ 3840.218365] [1: kworker/1:3: 9974] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[ 3840.222525] [1: kworker/1:3: 9974] usb_notify: call_device_notify USB device connected - Class : 0xff, speed : 0x3
[ 3840.222692] [1: kworker/1:3: 9974] usb_notify: send_otg_notify event=device_connect(20) enable=1
[ 3840.222817] [1: kworker/1:3: 9974] usb_notify: extra_notifier_callback event=device_connect(20)
[ 3840.222939] [1: kworker/1:3: 9974] usb_notify: extra_notify_state+ event=device_connect(20), enable=on
[ 3840.223064] [1: kworker/1:3: 9974] usb_notify: extra_notify_state- event=device_connect(20), cable=host_id
[ 3840.223181] [1: kworker/1:3: 9974] usb_notify: check_gamepad_device : product=UB93
[ 3840.223295] [1: kworker/1:3: 9974] usb_notify: check_lanhub_device : product=UB93
[ 3840.223416] [1: kworker/1:3: 9974] usb_notify: check_device_speed : attached highspeed device
[ 3840.466240] I[0: vold: 3246] mif: LNK-RX(23): f8 eb 17 00 13 00 4a 00 07 06 03 40 18 63 63 00 ...
[ 3840.505018] [4: vold:10610] SELinux: initialized (dev fuse, type fuse), uses mountpoint labeling
[ 3840.694703] [1: kworker/1:3: 9974] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51008
[ 3840.802147] [2: argosd: 3355] argos_pm_qos_notify: name:UFS, speed:143Mbps, prev level:-1, request level:0
[ 3840.807789] [2: argosd: 3355] argos_freq_lock name:UFS, CPU_MIN=0, CPU_MAX=0, KFC_MIN=1274000, KFC_MAX=0, MIF=1144000, INT=0
[ 3840.827441] [0:SSRM Handler Th: 6868] max77854_fg_read_avg_current: avg_current=-120625
[ 3840.843198] I[3: swapper/3: 0] mif: LNK-TX(11): f8 eb 0b 00 07 00 ae 00 08 11 02
[ 3840.845195] I[0: swapper/0: 0] mif: LNK-RX(375): f8 eb 77 01 73 01 4b ae 08 11 02 12 00 00 00 01 ...
[ 3840.851495] I[3: swapper/3: 0] mif: LNK-TX(11): f8 ec 0b 00 07 00 89 00 08 11 02
[ 3840.853145] I[0:earchbox:search:10614] mif: LNK-RX(15): f8 ec 0f 00 0b 00 27 89 08 11 02 00 00 00 00
[ 3840.945385] [1: kworker/1:3: 9974] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[ 3841.041706] [3: kworker/u16:5: 9380] vfsspi_work_func_debug ldo:1, sleep:0, irq:0, tz:1, type:viper, cnt_irq:0, adm: 0
[ 3841.180354] [1: kworker/1:3: 9974] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
[ 3841.180375] [1: kworker/1:3: 9974] ath: EEPROM regdomain: 0x65
[ 3841.180387] [1: kworker/1:3: 9974] ath: EEPROM indicates we should expect a direct regpair map
[ 3841.180401] [1: kworker/1:3: 9974] ath: Country alpha2 being used: 00
[ 3841.180412] [1: kworker/1:3: 9974] ath: Regpair used: 0x65
[ 3841.186105] [1: kworker/1:3: 9974] CFG80211-INFO2) wl_cfg80211_netdev_notifier_call : Enter
[ 3841.188874] [1: kworker/1:3: 9974] CFG80211-INFO2) wl_cfg80211_netdev_notifier_call : Enter
[ 3841.190012] [1: kworker/1:3: 9974] ieee80211 phy1: Atheros AR9271 Rev:1
[ 3841.352611] [6: swapper/6: 0] CPU6: Booted secondary processor
[ 3841.352625] [6: swapper/6: 0] Detected VIPT I-cache on CPU6
[ 3841.352680] [6: swapper/6: 0] handle_IPI: IPI_WAKEUP
[ 3841.353990] [7: swapper/7: 0] CPU7: Booted secondary processor
[ 3841.354002] [7: swapper/7: 0] Detected VIPT I-cache on CPU7
[ 3841.354049] [7: swapper/7: 0] handle_IPI: IPI_WAKEUP
Wirusx said:
Hey, i success compiled kernel for galaxy s7 oreo with.........
Click to expand...
Click to collapse
I've never built a Kernel myself but, the following threads are just a few that's available specific to Kernels. Don't be afraid to ask for some member guidance within one of them.
https://forum.xda-developers.com/showthread.php?t=2871276
https://forum.xda-developers.com/showthread.php?t=2376870
https://forum.xda-developers.com/showthread.php?t=3823927
https://forum.xda-developers.com/showthread.php?t=3814251
Good Luck!
~~~~~~~~~~~~~~~
UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Tandy TRS-80.
Solved, thread to close.

Categories

Resources