[Q] Can't find the path of gps device in /dev - Android Q&A, Help & Troubleshooting

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

Related

[Q] Is USB OTG available?

So I've seen plenty of topics about other phones but had a difficult time finding anything regarding the HTC legend. I've already soldered my USB to micro USB and took a blade to a micro usb charger cord.
What I'm unsure about is how to tell if I went into USB host mode or not using the micro usb input I've got. It didn't have any noticable resistor on it, this is from a wall to phone charger if that matters.
I'm using Cyanogenmod 7.0 RC2
From what it looks like there's only the solder points for that + and - wires
Picture of micro usb input: http://i42.tinypic.com/116i493.jpg
Everything in one happy picture(do not click if bad soldering makes you cry): http://i41.tinypic.com/2ykxbtu.jpg
When I connected a mouse I don't use to see if the light would come on but that wasn't promising. I removed the micro usb when the little skateboarding startup logo showed and waited for the phone to start, when I plugged in my device dmesg only showed some ALS lines, which from short searching revealed it was something regarding GSM, but nothing regarding a mouse or anything about device.
Now I'm not expecting to use a USB mouse I want to use a USB keyboard(roll-up ) I just don't have a USB keyboard right now to really test.
Thanks for your time.
I compiled the kernel ver 2.6.25 for htc legend (cyanogen 7.2 rom), applied the hack from Sven Killing, hacked a home made cable for usb host mode and tested keyboard and mouse and both work fine!
I made some changes on the kernel (Kconfig and ehci-msm7201.c / .h), if somebody need it i can upload my kernel.
my kernel dmesg:
...
<6>[ 0.260314] [DISP]mdp_probe: initialized
<6>[ 0.260986] usbcore: registered new interface driver usbfs
<6>[ 0.261322] usbcore: registered new interface driver hub
<6>[ 0.261688] usbcore: registered new device driver usb
<6>[ 0.262207] msm_i2c_probe
<6>[ 0.262542] msm_i2c_probe: clk_ctl 315, 400000 Hz
<6>[ 0.264587] Bluetooth: Core ver 2.15
<6>[ 0.264862] NET: Registered protocol family 31
<6>[ 0.265075] Bluetooth: HCI device and connection manager initialized
<6>[ 0.265441] Bluetooth: HCI socket layer initialized
<6>[ 0.265838] Switching to clocksource gp_timer
<6>[ 0.267547] NET: Registered protocol family 2
<6>[ 0.267944] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[ 0.268798] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
<6>[ 0.269531] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
<6>[ 0.270294] TCP: Hash tables configured (established 16384 bind 16384)
<6>[ 0.270507] TCP reno registered
<6>[ 0.270874] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.271087] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.271697] NET: Registered protocol family 1
<6>[ 0.272155] Unpacking initramfs...
<6>[ 0.291229] Freeing initrd memory: 144K
...
<6>[ 0.692687] tun: Universal TUN/TAP device driver, 1.6
<6>[ 0.692871] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
<6>[ 0.694946] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>[ 0.695343] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
<7>[ 0.695678] usb_hcd_msm7201_probe()
<7>[ 0.695861] initializing MSM7201/QSD8X50/MSM7227 USB Controller
<6>[ 0.716461] msm_hsusb msm_hsusb: Qualcomm MSM7201/QSD8X50/MSM7227 On-Chip EHCI Host Controller
<6>[ 0.716888] msm_hsusb msm_hsusb: new USB bus registered, assigned bus number 1
<7>[ 0.717132] msm_hsusb msm_hsusb: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT
<7>[ 0.717620] msm_hsusb msm_hsusb: park 0
<7>[ 0.717834] msm_hsusb msm_hsusb: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
<6>[ 0.718261] msm_hsusb msm_hsusb: irq 47, io mem 0xa0800000
<6>[ 0.737243] hub 1-0:1.0: USB hub found
<6>[ 0.737457] hub 1-0:1.0: 1 port detected
<4>[ 0.738037] ------------[ cut here ]------------
<4>[ 0.738433] WARNING: at kernel/irq/manage.c:290 enable_irq+0x5c/0xb4()
<4>[ 0.738616] Unbalanced enable for IRQ 47
<4>[ 0.738983] Modules linked in:
<4>[ 0.739410] [<c00359e8>] (unwind_backtrace+0x0/0xf0) from [<c0072068>] (warn_slowpath_common+0x4c/0x64)
<4>[ 0.739807] [<c0072068>] (warn_slowpath_common+0x4c/0x64) from [<c0072100>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 0.740203] [<c0072100>] (warn_slowpath_fmt+0x2c/0x3c) from [<c00aa6a4>] (enable_irq+0x5c/0xb4)
<4>[ 0.740417] [<c00aa6a4>] (enable_irq+0x5c/0xb4) from [<c0275714>] (usb_hcd_msm7201_probe+0x25c/0x30c)
<4>[ 0.740814] [<c0275714>] (usb_hcd_msm7201_probe+0x25c/0x30c) from [<c0245e44>] (platform_drv_probe+0x18/0x1c)
<4>[ 0.741210] [<c0245e44>] (platform_drv_probe+0x18/0x1c) from [<c0244fb8>] (driver_probe_device+0xa8/0x158)
<4>[ 0.741607] [<c0244fb8>] (driver_probe_device+0xa8/0x158) from [<c02450c8>] (__driver_attach+0x60/0x84)
<4>[ 0.741973] [<c02450c8>] (__driver_attach+0x60/0x84) from [<c024480c>] (bus_for_each_dev+0x48/0x84)
<4>[ 0.742370] [<c024480c>] (bus_for_each_dev+0x48/0x84) from [<c0244144>] (bus_add_driver+0x9c/0x21c)
<4>[ 0.742584] [<c0244144>] (bus_add_driver+0x9c/0x21c) from [<c0245398>] (driver_register+0xa8/0x138)
<4>[ 0.742980] [<c0245398>] (driver_register+0xa8/0x138) from [<c0019938>] (ehci_hcd_init+0xac/0x108)
<4>[ 0.743377] [<c0019938>] (ehci_hcd_init+0xac/0x108) from [<c0030384>] (do_one_initcall+0x5c/0x1b0)
<4>[ 0.743743] [<c0030384>] (do_one_initcall+0x5c/0x1b0) from [<c0008410>] (kernel_init+0xb0/0x16c)
<4>[ 0.744140] [<c0008410>] (kernel_init+0xb0/0x16c) from [<c00318a8>] (kernel_thread_exit+0x0/0x8)
<4>[ 0.744384] ---[ end trace a88e7bb8f2db6923 ]---
<6>[ 0.745025] android init
<6>[ 0.745269] android_probe pdata: c0537a70
<6>[ 0.745635] f_adb init
<6>[ 0.745819] android_register_function adb
<6>[ 0.746032] f_mass_storage init
<6>[ 0.746276] fsg_probe pdev: c0537bd8, pdata: c05383bc
<6>[ 0.746795] android_register_function usb_mass_storage
<6>[ 0.746978] f_rndis init
<6>[ 0.747314] android_register_function rndis
<6>[ 0.747650] f_accessory init
<6>[ 0.747863] android_register_function accessory
<3>[ 0.748626] msm_i2c msm_i2c.0: error, status c8 (20,E4,00)(20,F4,00)(cnt:1,pos:0)
<3>[ 0.749053] msm_i2c msm_i2c.0: Error during data xfer (-5) (20,E4,00)
<6>[ 0.856872] synaptics_ts_probe: Product Major Version 1
<6>[ 0.857421] synaptics_ts_probe: Product Minor Version 3
<6>[ 0.857940] synaptics_ts_probe: product property 2
<6>[ 0.858642] synaptics_ts_probe: device control 81
<6>[ 0.859191] synaptics_ts_probe: interrupt enable 1
<6>[ 0.877288] synaptics_ts_probe: 0xe0: 1 1 1 2 1 3 0 0
<6>[ 0.896911] synaptics_ts_probe: Sensor properties 701
<6>[ 0.976715] synaptics_ts_probe: max_x 3668, max_y 5460
<6>[ 0.976928] synaptics_ts_probe: inactive_x -11 -11, inactive_y -11 -11
<6>[ 0.977294] synaptics_ts_probe: snap_x 0-0 0-0, snap_y 0-0 0-0
<6>[ 0.977508] synaptics_ts_probe: margin_pixel_left: 0, margin_pixel_right: 0, margin_pixel_top: 0, margin_pixel_bottom: 0
<6>[ 0.977874] synaptics_ts_probe: ts_raw_width: 3646, ts_raw_height: 5438
....
<6>[ 2.079620] [KEY] GPIO Matrix Keypad Driver: Start keypad matrix for legend-keypad in interrupt mode
<6>[ 2.080291] [KEY] GPIO Input Driver: Start gpio inputs for legend-keypad in interrupt mode
<6>[ 2.081024] input: legend-keypad as /devices/virtual/input/input3
<6>[ 2.082214] input: lightsensor-level as /devices/virtual/input/input4
<6>[ 2.082977] [LS][CM3602] set_ls_kvalue: ALS calibrated als_kadc=0x6da50053
<6>[ 2.083160] [LS][CM3602] set_ls_kvalue: als_kadc=0x53, als_gadc=0xc0
<6>[ 2.083374] [LS][CM3602] ls_table: data[0] , data[0] = 0, 0
<6>[ 2.083740] [LS][CM3602] ls_table: data[1] , data[1] = 0, e
<6>[ 2.083953] [LS][CM3602] ls_table: data[2] , data[2] = 0, 21
<6>[ 2.084320] [LS][CM3602] ls_table: data[3] , data[3] = 0, 5f
<6>[ 2.084503] [LS][CM3602] ls_table: data[4] , data[4] = 0, 85
<6>[ 2.084869] [LS][CM3602] ls_table: data[5] , data[5] = 0, ab
<6>[ 2.085083] [LS][CM3602] ls_table: data[6] , data[6] = 0, d1
<6>[ 2.085449] [LS][CM3602] ls_table: data[7] , data[7] = 1, 2d
<6>[ 2.085632] [LS][CM3602] ls_table: data[8] , data[8] = 1, 73
<6>[ 2.086029] [KEY] gpio_keys_scan_keys: key 1-116, 0 (20) changed to 0
<6>[ 2.086242] [LS][CM3602] ls_table: data[9] , data[9] = 3, ff
<7>[ 2.088623] __capella_cm3602_power: Turn the capella_cm3602 power on
<6>[ 2.089141] using input dev h2w headset for key reset
<6>[ 2.089538] using input dev legend-keypad for key reset
<6>[ 2.090332] input: curcial-oj as /devices/virtual/input/input5
<6>[ 2.090881] using input dev curcial-oj for key reset
<3>[ 2.092376] curcial_oj_poweronJower status ok
<6>[ 2.140625] OpticalJoystick Device ID: 0d
<6>[ 2.143493] OJ Driver: Revision : 02
<6>[ 2.146240] OJ: driver loaded
<6>[ 2.147460] using rtc device, msm_rtc, for alarms
<6>[ 2.147857] rs30000048:00010004 rs30000048:00010004: rtc core: registered msm_rtc as rtc0
<6>[ 2.148468] AKM8973 compass driver: init
<6>[ 2.149536] input: compass as /devices/virtual/input/input6
<6>[ 2.150421] [FLT]adp1650 Led Flash driver: init
<4>[ 2.150848] [CAM]s5k4e1gx_init
<4>[ 2.151123] [CAM]__s5k4e1gx_probe
<6>[ 2.151336] [CAM]s5k4e1gx_vreg_enable camera vreg on
<3>[ 2.151672] [CAM]sensor platform_data didnt register
<3>[ 2.151885] [CAM]__s5k4e1gx_probe fail sensor power on error
<6>[ 2.152404] [CAM]sctrl.node 0
<4>[ 2.152587] [CAM]s5k4e1gx_sensor_probe()
<6>[ 2.152832] [CAM]s5k4e1gx_probe called!
<6>[ 2.203308] [CAM]s5k4e1gx_probe successed! rc = 0
<6>[ 2.203552] [CAM]s5k4e1gx s->node 0
<6>[ 2.249176] [CAM]s5k4e1gx_sensor_init(): reseting sensor.
<6>[ 2.250305] [CAM]sensor_lc_disable=0
<4>[ 2.334533] [CAM]sensor evt version : 0x10
<4>[ 2.334716] [CAM]use analog_settings_evt3
<6>[ 2.345367] s5k4e1gx_sysfs_init : kobject_create_and_add
<6>[ 2.345581] s5k4e1gx_sysfs_init : sysfs_create_file
<6>[ 2.346893] device-mapper: uevent: version 1.0.3
<6>[ 2.347534] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: [email protected]
<6>[ 2.348144] Bluetooth: HCI UART driver ver 2.2
<6>[ 2.348358] Bluetooth: HCI H4 protocol initialized
<6>[ 2.348724] Bluetooth: HCILL protocol initialized
<7>[ 2.349731] msmsdcc_platform_status_irq: 102
<6>[ 2.349945] mmc0: Slot status change detected (0 -> 1)
<4>[ 2.350402] legend_sdslot_switchvdd::vdd=00000000 sdslot_vdd=ffffffff
<6>[ 2.350769] legend_sdslot_switchvdd: Disabling SD slot power
<4>[ 2.350982] off:MCI_Power=00000000
<4>[ 2.351165] off:MCI_Power=00000000
<6>[ 2.353820] mmc0: Qualcomm MSM SDCC at 0x00000000a0500000 irq 26,102 dma 8
<6>[ 2.354003] mmc0: Platform slot type: SD
<6>[ 2.354370] mmc0: 4 bit data mode enabled
<6>[ 2.354583] mmc0: 8 bit data mode disabled
<6>[ 2.354766] mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 100000000 Hz
<6>[ 2.355133] mmc0: Slot eject status = 0
<6>[ 2.355346] mmc0: Power save feature enable = 1
<6>[ 2.355712] mmc0: DM non-cached buffer at ffa4a000, dma_addr 0x25669000
<6>[ 2.355895] mmc0: DM cmd busaddr 0x25669000, cmdptr busaddr 0x25669300
<7>[ 2.356689] Registered led device: amber
<7>[ 2.357055] Registered led device: green
<7>[ 2.357360] Registered led device: button-backlight
<6>[ 2.357757] microp_led_probe: succeeded
<6>[ 2.358612] usbcore: registered new interface driver usbhid
<6>[ 2.359008] usbhid: USB HID core driver
<6>[ 2.359741] logger: created 64K log 'log_main'
<6>[ 2.360076] logger: created 256K log 'log_events'
<6>[ 2.360565] logger: created 64K log 'log_radio'
<6>[ 2.360900] logger: created 64K log 'log_system'
<6>[ 2.361511] GACT probability NOT on
<6>[ 2.361724] Mirror/redirect action on
<6>[ 2.361938] u32 classifier
<6>[ 2.362121] Actions configured
<6>[ 2.362487] Netfilter messages via NETLINK v0.30.
<6>[ 2.362792] nf_conntrack version 0.5.0 (4653 buckets, 18612 max)
<4>[ 2.363464] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
<4>[ 2.363677] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
<4>[ 2.364044] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
<6>[ 2.364654] ctnetlink v0.93: registering with nfnetlink.
<6>[ 2.365112] xt_time: kernel timezone is -0000
<6>[ 2.365661] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 2.366210] arp_tables: (C) 2002 David S. Miller
<6>[ 2.366485] TCP cubic registered
<6>[ 2.367309] NET: Registered protocol family 10
<6>[ 2.368255] lo: Disabled Privacy Extensions
<6>[ 2.369659] Mobile IPv6
<6>[ 2.370025] IPv6 over IPv4 tunneling driver
<6>[ 2.370910] sit0: Disabled Privacy Extensions
<6>[ 2.371887] ip6tnl0: Disabled Privacy Extensions
<6>[ 2.372406] NET: Registered protocol family 17
<6>[ 2.372650] NET: Registered protocol family 15
<6>[ 2.373229] Bluetooth: L2CAP ver 2.14
<6>[ 2.373413] Bluetooth: L2CAP socket layer initialized
<6>[ 2.373626] Bluetooth: SCO (Voice Link) ver 0.6
<6>[ 2.373992] Bluetooth: SCO socket layer initialized
<6>[ 2.374328] Bluetooth: RFCOMM TTY layer initialized
<6>[ 2.374694] Bluetooth: RFCOMM socket layer initialized
<6>[ 2.374877] Bluetooth: RFCOMM ver 1.11
<6>[ 2.375091] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>[ 2.375457] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>[ 2.376251] clock_late_init() disabled 20 unused clocks
<6>[ 2.376617] [Port list] init()
<6>[ 2.376892] [Port list] Virtual Address for port_list: [f8185a38]
<6>[ 2.377258] [Port list] Physical Address for port_list: [185A38]
<4>[ 2.378417] legend_wifi_init: start
<6>[ 2.379028] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
<6>[ 2.381317] rs30000048:00010004 rs30000048:00010004: setting system clock to 2012-07-25 19:15:10 UTC (1343243710)
<4>[ 2.381774] Warning: unable to open an initial console.
<6>[ 2.382202] Freeing init memory: 160K
<3>[ 2.386505] init: /init.legend.rc: 1: invalid command 'device'
<4>[ 2.447052] legend_sdslot_switchvdd::vdd=00000011 sdslot_vdd=00000000
<6>[ 2.447509] legend_sdslot_switchvdd: Setting level to 2900
<4>[ 2.452728] on:MCI_Power=00000042
<4>[ 2.458099] on:MCI_Power=00000043
<6>[ 2.508544] yaffs: dev is 32505859 name is "mtdblock3" rw
<6>[ 2.508758] yaffs: passed flags ""
<7>[ 2.509155] yaffs: Attempting MTD mount of 31.3,"mtdblock3"
<4>[ 2.546569] legend_sdslot_switchvdd::vdd=00000010 sdslot_vdd=00000011
<6>[ 2.546936] legend_sdslot_switchvdd: Setting level to 2850
<7>[ 2.692291] yaffs: restored from checkpoint
<7>[ 2.693237] yaffs_read_super: isCheckpointed 1
<6>[ 2.697631] yaffs: dev is 32505861 name is "mtdblock5" rw
<6>[ 2.698059] yaffs: passed flags ""
<7>[ 2.698272] yaffs: Attempting MTD mount of 31.5,"mtdblock5"
<4>[ 2.756988] mmc0: high speed mode but max_dtr = 50000000
<4>[ 2.757629] mmc0: host does not support reading read-only switch. assuming write-enable.
<6>[ 2.758026] mmc0: new high speed SDHC card at address 80e6
<6>[ 2.758819] mmcblk0: mmc0:80e6 SU08G 7.40 GiB
<6>[ 2.759674] mmcblk0: p1
<7>[ 2.856689] block 195 is bad
<7>[ 2.889587] block 408 is bad
<7>[ 2.995269] block 1089 is bad
<7>[ 4.499725] yaffs_read_super: isCheckpointed 0
<6>[ 4.500366] yaffs: dev is 32505860 name is "mtdblock4" rw
<6>[ 4.500579] yaffs: passed flags ""
<7>[ 4.500915] yaffs: Attempting MTD mount of 31.4,"mtdblock4"
<7>[ 4.594360] yaffs_read_super: isCheckpointed 0
<3>[ 5.087188] init: service 'console' requires console
<6>[ 5.102844] [Port list] Add port [5555]
<6>[ 5.103179] [Port list] [1] = 5555
<6>[ 5.295257] warning: `rild' uses 32-bit capabilities (legacy support in use)
<6>[ 5.380798] [SMD]SMD: ch 0 0 -> 1
<6>[ 5.381103] [SMD]SMD: ch 0 1 -> 2
<6>[ 5.389373] [SMD]SMD: ch 39 0 -> 1
<6>[ 5.389648] [SMD]SMD: ch 39 1 -> 2
<6>[ 5.389862] qmi: smd opened
<6>[ 5.390686] qmi: ctl: wds use client_id 0x01
<6>[ 5.391693] [SMD]SMD: ch 40 0 -> 1
<6>[ 5.391937] [SMD]SMD: ch 41 0 -> 1
<6>[ 5.392150] [SMD]SMD: ch 40 1 -> 2
<6>[ 5.392486] qmi: smd opened
<6>[ 5.392700] [SMD]SMD: ch 41 1 -> 2
<6>[ 5.392913] qmi: smd opened
<6>[ 5.393707] qmi: ctl: wds use client_id 0x01
<6>[ 5.393920] qmi: ctl: wds use client_id 0x01
<6>[ 6.343536] [AUD][snd.c:snd_ioctl] snd_set_device 1 1 1
<6>[ 6.344940] [AUD][snd.c:snd_rpc_thread] snd_rpc_thread() start
<6>[ 6.345306] [AUD][snd.c:snd_rpc_thread] snd: rpc_reply status 0
<6>[ 6.347076] [AUD][snd.c:snd_ioctl] snd_set_volume 256 0 5
<6>[ 6.348754] [AUD][snd.c:snd_rpc_thread] snd: rpc_reply status 0
<6>[ 12.975891] [DISP]msmfb: pan_update in state(1)
<6>[ 12.975891] [DISP]msmfb: full update starting
<6>[ 13.022674] [DISP]msmfb: full update completed
<6>[ 13.022918] [DISP]msmfb: turning on panel
<6>[ 13.023132] [DISP]lcdc_unblank: ()
<7>[ 13.023498] oled_panel_unblank type 0
<7>[ 13.023681] already unblank
<6>[ 13.158996] msm_kgsl: initilized dev=1 mmu=on
<7>[ 13.230957] [LS][CM3602] lightsensor_ioctl: get enabled status: 0
<6>[ 13.231597] [PS][CM3602] capella_cm3602_disable
<7>[ 13.231964] [PS][CM3602] capella_cm3602_disable: already disabled
<6>[ 13.232177] [PS][CM3602] capella_cm3602_disable
<7>[ 13.232360] [PS][CM3602] capella_cm3602_disable: already disabled
<2>[ 13.481384] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.481872] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.482208] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<3>[ 13.489410] kgsl kgsl: |kgsl_ioctl_sharedmem_free| invalid gpuaddr 000000a3
<2>[ 13.496582] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.497070] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.497467] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0004924b
<3>[ 13.498870] kgsl kgsl: |kgsl_ioctl_sharedmem_free| invalid gpuaddr 000000a3
<2>[ 13.569274] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.569671] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0002724b
<3>[ 13.570648] kgsl kgsl: |kgsl_ioctl_sharedmem_free| invalid gpuaddr 000000a3
<2>[ 13.756134] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<2>[ 13.756591] kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 0000024b
<3>[ 13.756927] kgsl kgsl: |kgsl_ioctl_sharedmem_free| invalid gpuaddr 000000a3
<6>[ 20.758483] [BATT] SMEM_BATT: get_batt_info: batt_id=4, batt_vol=3704, batt_temp=347, batt_current=1, eval_current=0, level=34, charging_source=0, charging_enabled=0, full_bat=1300000, over_vchg=0 hv_enabled=0 at 20751727586 (2012-07-25 19:15:28.862563728 UTC)
<6>[ 20.759552] [BATT] SMEM_BATT: get_batt_info: batt_id=4, batt_vol=3704, batt_temp=347, batt_current=1, eval_current=0, level=34, charging_source=0, charging_enabled=0, full_bat=1300000, over_vchg=0 hv_enabled=0 at 20752795701 (2012-07-25 19:15:28.863631844 UTC)
<6>[ 20.813812] [VIB] er.ServerThread(parent:zygote): vibrates 0 msec
<6>[ 21.683471] [AUD][snd.c:snd_ioctl] snd_set_volume 256 0 4
<6>[ 21.685272] [AUD][snd.c:snd_rpc_thread] snd: rpc_reply status 0
<6>[ 22.412597] [VIB] er.ServerThread(parent:zygote): vibrates 0 msec
<6>[ 22.425964] [VIB] Thread-43(parent:zygote): vibrates 1 msec
<6>[ 22.427124] [ATS][set_vibration][successful]
<6>[ 22.427368] [VIB]vibrator_timer_func
<7>[ 22.432891] [LS][CM3602] lightsensor_ioctl: set value = 1
<6>[ 22.432922] [LS][CM3602] lightsensor_enable
<6>[ 22.436004] request_suspend_state: wakeup (3->0) at 22428485397 (2012-07-25 19:15:30.540084479 UTC)
<4>[ 22.442443] set_backlight_level:11
<6>[ 22.448455] [VIB] Thread-43(parent:zygote): vibrates 21 msec
<6>[ 22.450683] [ATS][set_vibration][successful]
<6>[ 22.469848] [VIB]vibrator_timer_func
<6>[ 22.764556] [LS][CM3602] ALS value: 0x0, level: 1 #
<6>[ 24.199127] [GSNR] Gsensor enable
<4>[ 24.610534] set_backlight_level:27
<6>[ 31.914062] [CAM]led_ril_status_value = 0
<6>[ 31.914398] phone_call_status_store: phone_call_status 0
<6>[ 31.914672] [CAM]led_ril_status_value = 0
<6>[ 31.915069] phone_call_status_store: phone_call_status 0
<6>[ 33.601135] [email protected], 4102
<6>[ 33.606445] [VIB] WindowManagerPo(parent:zygote): vibrates 0 msec
<6>[ 33.638183] [VIB] Thread-60(parent:zygote): vibrates 10 msec
<6>[ 33.639495] [ATS][set_vibration][successful]
<6>[ 33.648406] [VIB]vibrator_timer_func
<6>[ 33.668975] [VIB] Thread-60(parent:zygote): vibrates 30 msec
<6>[ 33.670318] [ATS][set_vibration][successful]
<6>[ 33.699432] [VIB]vibrator_timer_func
<6>[ 33.785430] [email protected], 3759
<6>[ 34.171966] [VIB] WindowManagerPo(parent:zygote): vibrates 0 msec
<6>[ 34.184417] [VIB] Thread-61(parent:zygote): vibrates 10 msec
<6>[ 34.185485] [ATS][set_vibration][successful]
<6>[ 34.194824] [VIB]vibrator_timer_func
<6>[ 34.215423] [VIB] Thread-61(parent:zygote): vibrates 30 msec
<6>[ 34.216613] [ATS][set_vibration][successful]
<6>[ 34.245849] [VIB]vibrator_timer_func
<6>[ 46.455596] [KEY] gpiomatrix: key 158, 2-0 (33-42) changed to 1
<6>[ 46.455993] [ATS][press_back][complete]
<6>[ 46.695861] [KEY] gpiomatrix: key 158, 2-0 (33-42) changed to 0
<6>[ 60.297607] Release 'boot-time' no_halt_lock
<7>[ 83.004089] msm_hsusb msm_hsusb: GetStatus port 1 status 8c001002 POWER sig=se0 CSC
<7>[ 83.077819] msm_hsusb msm_hsusb: GetStatus port 1 status 84001403 POWER sig=k CSC CONNECT
<6>[ 83.357788] usb 1-1: new low speed USB device using msm_hsusb and address 2
<7>[ 83.417724] msm_hsusb msm_hsusb: port 1 high speed
<7>[ 83.418640] msm_hsusb msm_hsusb: GetStatus port 1 status 84001405 POWER sig=k PE CONNECT
<6>[ 83.541931] input: USB-compliant keyboard as /devices/platform/msm_hsusb/usb1/1-1/1-1:1.0/input/input7
<7>[ 83.543029] usb 1-1: link qh8-0601/c61abca0 start 1 [1/2 us]
<6>[ 83.547912] using input dev USB-compliant keyboard for key reset
<6>[ 83.628845] generic-usb 0003:062A:0201.0001: input: USB HID v1.10 Keyboard [USB-compliant keyboard] on usb-msm_hsusb-1/input0
<6>[ 83.720245] input: USB-compliant keyboard as /devices/platform/msm_hsusb/usb1/1-1/1-1:1.1/input/input8
<7>[ 83.725402] usb 1-1: link qh8-0601/c8fdf520 start 2 [1/2 us]
<6>[ 83.725982] using input dev USB-compliant keyboard for key reset
<6>[ 83.753570] generic-usb 0003:062A:0201.0002: input: USB HID v1.10 Mouse [USB-compliant keyboard] on usb-msm_hsusb-1/input1
<6>[ 84.002807] [BATT] M2A_RPC: cable_update: USB at 83995563030 (2012-07-25 19:16:32.106887454 UTC)
<6>[ 84.003417] [BATT] htc_cable_status_update: 0 -> 1
<6>[ 84.003631] [USB] msm_hsusb_set_vbus_state: 1
<6>[ 157.127685] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 1
<6>[ 157.346679] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 0
<6>[ 165.024993] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 1
<6>[ 165.180328] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 0
<6>[ 202.730560] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 1
<6>[ 202.885864] [KEY] gpiomatrix: key 139, 0-1 (35-41) changed to 0

USB Audio - OTG - Kernel Dev - stumped....

I've been looking at getting external USB audio (using an external USB DAC for sound) working on my HTC One XL for a bit now, and I'm starting to hit a wall...
I've built a new custom kernel based of the base CyanogenMod one for the MSM8960. This works
I've turned on a ton of debugging + added more debugging, and compiled in the USB Audio drivers, my kernel logs now look something like:
<6>[ 192.232076] usb 1-1: new full speed USB device number 2 using msm_hsusb_host
<6>[ 192.387639] usb 1-1: New USB shizzle found, idVendor=045e, idProduct=070f
<6>[ 192.387730] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
<6>[ 192.387852] usb 1-1: Product: Microsoft LifeChat LX-3000
<7>[ 192.387913] device: '1-1': device_add
<7>[ 192.388280] bus: 'usb': add device 1-1
<7>[ 192.388402] PM: Adding info for usb:1-1
<7>[ 192.388890] bus: 'usb': driver_probe_device: matched device 1-1 with driver usb
<7>[ 192.389012] bus: 'usb': really_probe: probing driver usb with device 1-1
<7>[ 192.389073] usb 1-1: usb_probe_device
<7>[ 192.389195] usb 1-1: configuration #1 chosen from 1 choice
<7>[ 192.389256] usb 1-1: rpm_resume flags 0x4
<7>[ 192.389317] usb 1-1: rpm_resume returns 1
<7>[ 192.390599] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
<7>[ 192.390660] device: '1-1:1.0': device_add
<7>[ 192.390782] bus: 'usb': add device 1-1:1.0
<7>[ 192.390874] PM: Adding info for usb:1-1:1.0
<7>[ 192.391118] bus: 'usb': driver_probe_device: matched device 1-1:1.0 with driver snd-usb-audio
<7>[ 192.391240] bus: 'usb': really_probe: probing driver snd-usb-audio with device 1-1:1.0
<7>[ 192.391362] snd-usb-audio 1-1:1.0: usb_probe_interface
<7>[ 192.391423] snd-usb-audio 1-1:1.0: usb_probe_interface - got id
<7>[ 192.391545] usb 1-1: rpm_resume flags 0x4
<7>[ 192.391606] usb 1-1: rpm_resume returns 1
<6>[ 192.392583] 2:1:0: add audio endpoint Interface Class = 1
<6>[ 192.392644] 2:1:0: add audio endpoint Interface SubClass = 2
<6>[ 192.392736] 2:1:0: add audio endpoint Interface Class = 1
<6>[ 192.392797] 2:1:0: add audio endpoint Interface SubClass = 2
<6>[ 192.392919] 2:1:1: UAC Version 1
<6>[ 192.392980] 2:1:1: add audio endpoint 0x1
<6>[ 192.396581] 2:2:0: add audio endpoint Interface Class = 1
<6>[ 192.396673] 2:2:0: add audio endpoint Interface SubClass = 2
<6>[ 192.396734] 2:2:0: add audio endpoint Interface Class = 1
<6>[ 192.396856] 2:2:0: add audio endpoint Interface SubClass = 2
<6>[ 192.396917] 2:2:1: UAC Version 1
<6>[ 192.396978] 2:2:1: add audio endpoint 0x82
<6>[ 192.400579] [13] FU [Mic Playback Switch] ch = 1, val = 0/1/1
<3>[ 192.400640] Unable to resume device, either shutdown or probing (0,1)
<3>[ 192.400762] cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0xd00, type = 4, error = -19
<3>[ 192.400885] 13:0: cannot get min/max values for control 2 (id 13)
<3>[ 192.400976] Unable to resume device, either shutdown or probing (0,1)
<3>[ 192.401098] cannot get ctl value: req = 0x84, wValue = 0x200, wIndex = 0xd00, type = 4, error = -19
<6>[ 192.401220] [13] FU [Mic Playback Volume] ch = 1, val = 0/1/1
<6>[ 192.401281] [9] FU [Speaker Playback Switch] ch = 1, val = 0/1/1
<3>[ 192.401403] Unable to resume device, either shutdown or probing (0,1)
<3>[ 192.401464] cannot get ctl value: req = 0x83, wValue = 0x201, wIndex = 0x900, type = 4, error = -19
<3>[ 192.401587] 9:0: cannot get min/max values for control 2 (id 9)
<3>[ 192.401648] Unable to resume device, either shutdown or probing (0,1)
<3>[ 192.401739] cannot get ctl value: req = 0x84, wValue = 0x201, wIndex = 0x900, type = 4, error = -19
<6>[ 192.401861] [9] FU [Speaker Playback Volume] ch = 2, val = 0/1/1
<6>[ 192.401922] [10] FU [Mic Capture Switch] ch = 1, val = 0/1/1
<3>[ 192.402044] Unable to resume device, either shutdown or probing (0,1)
<3>[ 192.402136] cannot get ctl value: req = 0x83, wValue = 0x200, wIndex = 0xa00, type = 4, error = -19
<3>[ 192.402258] 10:0: cannot get min/max values for control 2 (id 10)
<3>[ 192.402350] Unable to resume device, either shutdown or probing (0,1)
<3>[ 192.402441] cannot get ctl value: req = 0x84, wValue = 0x200, wIndex = 0xa00, type = 4, error = -19
<6>[ 192.402533] [10] FU [Mic Capture Volume] ch = 1, val = 0/1/1
<6>[ 192.402655] [10] FU [Auto Gain Control] ch = 1, val = 0/1/1
<7>[ 192.402746] device: 'card1': device_add
<7>[ 192.402868] PM: Adding info for No Bus:card1
<7>[ 192.403174] device: 'pcmC1D0p': device_add
<7>[ 192.403418] PM: Adding info for No BuscmC1D0p
<7>[ 192.403906] device: 'pcmC1D0c': device_add
<7>[ 192.404059] PM: Adding info for No BuscmC1D0c
<7>[ 192.404455] device: 'controlC1': device_add
<7>[ 192.404669] PM: Adding info for No Bus:controlC1
<7>[ 192.405035] driver: '1-1:1.0': driver_bound: bound to device 'snd-usb-audio'
<7>[ 192.405157] bus: 'usb': really_probe: bound device 1-1:1.0 to driver snd-usb-audio
<7>[ 192.405218] snd-usb-audio 1-1:1.0: rpm_suspend flags 0x4
<7>[ 192.405310] snd-usb-audio 1-1:1.0: rpm_suspend returns 0
<7>[ 192.405402] usb 1-1: adding 1-1:1.1 (config #1, interface 1)
<7>[ 192.405493] device: '1-1:1.1': device_add
<7>[ 192.405585] bus: 'usb': add device 1-1:1.1
<7>[ 192.405707] PM: Adding info for usb:1-1:1.1
<7>[ 192.405981] driver: '1-1:1.1': driver_bound: bound to device 'snd-usb-audio'
<7>[ 192.406104] usb 1-1: adding 1-1:1.2 (config #1, interface 2)
<7>[ 192.406165] device: '1-1:1.2': device_add
<7>[ 192.406256] bus: 'usb': add device 1-1:1.2
<7>[ 192.406378] PM: Adding info for usb:1-1:1.2
<7>[ 192.406622] driver: '1-1:1.2': driver_bound: bound to device 'snd-usb-audio'
<7>[ 192.406744] usb 1-1: adding 1-1:1.3 (config #1, interface 3)
<7>[ 192.406806] device: '1-1:1.3': device_add
<7>[ 192.406958] bus: 'usb': add device 1-1:1.3
<7>[ 192.407019] PM: Adding info for usb:1-1:1.3
<7>[ 192.408240] bus: 'usb': driver_probe_device: matched device 1-1:1.3 with driver usbhid
<7>[ 192.408362] bus: 'usb': really_probe: probing driver usbhid with device 1-1:1.3
<7>[ 192.408484] usbhid 1-1:1.3: usb_probe_interface
<7>[ 192.408545] usbhid 1-1:1.3: usb_probe_interface - got id
<7>[ 192.408667] usb 1-1: rpm_resume flags 0x4
<7>[ 192.408728] usb 1-1: rpm_resume returns 1
<7>[ 192.408850] device: '0003:045E:070F.0001': device_add
<7>[ 192.408972] bus: 'hid': add device 0003:045E:070F.0001
<7>[ 192.409034] PM: Adding info for hid:0003:045E:070F.0001
<7>[ 192.409400] bus: 'hid': driver_probe_device: matched device 0003:045E:070F.0001 with driver generic-usb
<7>[ 192.409461] bus: 'hid': really_probe: probing driver generic-usb with device 0003:045E:070F.0001
<7>[ 192.411841] usbhid 1-1:1.3: rpm_resume flags 0x5
<7>[ 192.411963] usbhid 1-1:1.3: rpm_resume returns 1
<7>[ 192.413825] device: 'input7': device_add
<7>[ 192.413978] PM: Adding info for No Bus:input7
<6>[ 192.414344] input: Microsoft LifeChat LX-3000 as /devices/platform/msm_hsusb_host/usb1/1-1/1-1:1.3/input/input7
<7>[ 192.414466] device: 'event7': device_add
<7>[ 192.414771] PM: Adding info for No Bus:event7
<6>[ 192.415077] generic-usb 0003:045E:070F.0001: input: USB HID v1.00 Device [Microsoft LifeChat LX-3000 ] on usb-msm_hsusb_host-1/input3
<7>[ 192.415229] driver: '0003:045E:070F.0001': driver_bound: bound to device 'generic-usb'
<7>[ 192.415290] bus: 'hid': really_probe: bound device 0003:045E:070F.0001 to driver generic-usb
<7>[ 192.415412] driver: '1-1:1.3': driver_bound: bound to device 'usbhid'
<7>[ 192.415534] bus: 'usb': really_probe: bound device 1-1:1.3 to driver usbhid
....
Now the errors printed above, really don't matter (after much debugging, it appears to be a bug in ALSA, will look at fixing that later, but it isn't going to cause any issues from what I can tell).
So in conclusion, it looks like it successfully loaded USB_AUDIO drivers and the HID driver (the HID driver is for the volume control on the headset).
Now my logcat looks like:
E/WiredAccessoryObserver( 359): unsetting h2w flag
I/DockObserver( 359): Dock state changed: 16
V/WiredAccessoryObserver( 359): Headset UEVENT: {SUBSYSTEM=switch, SWITCH_STATE=16, DEVPATH=/devices/virtual/switch/dock, SEQNUM=3298, ACTION=change, SWITCH_NAME=dock}
V/WiredAccessoryObserver( 359): updateState name: dock state 16
V/WiredAccessoryObserver( 359): updateState switchState: 0
V/WiredAccessoryObserver( 359): newState = 0, headsetState = 0,mHeadsetState = 0
V/BluetoothService( 359): Received ACTION_DOCK_EVENT with State:16
E/SharedPreferencesImpl( 359): Couldn't create directory for SharedPreferences file shared_prefs/bluetooth_service_settings.xml
I/ActivityManager( 359): Start proc net.muteheadlight.dockredir for broadcast net.muteheadlight.dockredir/net.muteheadlight.docksoundredir.dockSoundRedirect: pid=3397 uid=10133 gids={1028}
D/ActivityThread( 3397): setTargetHeapUtilization:0.25
D/ActivityThread( 3397): setTargetHeapIdealFree:8388608
D/ActivityThread( 3397): setTargetHeapConcurrentStart:2097152
I/ActivityManager( 359): No longer want com.google.android.talk (pid 2959): hidden #16
D/EventHub( 359): No input device configuration file found for device 'Microsoft LifeChat LX-3000 '.
I/EventHub( 359): New device: id=8, fd=287, path='/dev/input/event7', name='Microsoft LifeChat LX-3000 ', classes=0x80000001, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=false, usingClockIoctl=false
I/InputReader( 359): Device added: id=8, name='Microsoft LifeChat LX-3000 ', sources=0x00000101
To get this far, I had to manually trigger an Intent with Action of 'com.cyanogenmod.settings.SamsungDock'. Before sending that intent, the WiredAccessoryObserver would print 'Ignoring dock event as Audio routing disabled'.
After all this, no sound is routed to the external USb headset :crying:
I have a feeling the kernel is working as expected, but the Cyanogenmod rom is not correctly handling the dock event.The DockObserver class in cyanogenmod watches for events:
DOCK_UEVENT_MATCH = "DEVPATH=/devices/virtual/switch/dock";
And this is being sent by the kernel and received by the DockObserver, but from here it seems to try and load the deive as a smsung USB audio dock, instead of usb_audio.
My really big question is, how does this work on the Galaxy Nexus with only a kernel change to load the correct drivers....
Any input or pointing in the right direction would be great!!!! (if you've listened to my rant this far you've done well).
UPDATE:
The drivers appear to be working as I can use the 'USB Audio Tester' app from the play store to play the microphone into the headset.
So my issues appears to be getting CM10 to route audio through USB. Has anyone had this working before???

[Q] Can't Run Compiled Cm10 4.1.2 On Emulator. No Suitable Kernel?

I have compiled the cm10 "deviced" generic/armv7-a. AND FOLLOW the instruction to run on emulator:http://wiki.cyanogen...ogenMod_(Linux)
try to run in the emulator with both the SDK android-16 kernel-qemu AND THE KERNEL in CM's repo prebuilts/qemu-kernel/arm/kernel-qemu-armv7
, but failed with black screen,not even textual "A N D R O I D". I dumped the kernel log
<6>Initializing cgroup subsys cpu
<5>Linux version 2.6.29-gc497e41 ([email protected]) (gcc version 4.4.3 (GCC) ) #2 Thu Dec 8 15:07:43 PST 2011
<4>CPU: ARMv7 Processor [410fc080] revision 0 (ARMv7), cr=10c5387f
<4>CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
<4>Machine: Goldfish
<4>Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 87808
<7>free_area_init_node: node 0, pgdat c02f5a20, node_mem_map c0382000
<7> Normal zone: 686 pages used for memmap
<7> Normal zone: 0 pages reserved
<7> Normal zone: 87122 pages, LIFO batch:15
<4>Built 1 zonelists in Zone order, mobility grouping on. Total pages: 87122
<5>Kernel command line: qemu.gles=1 qemu=1 console=ttyS0 android.qemud=ttyS1 android.checkjni=1 ndns=1
<3>Unknown boot option `qemu.gles=1': ignoring
<3>Unknown boot option `android.qemud=ttyS1': ignoring
<3>Unknown boot option `android.checkjni=1': ignoring
<4>PID hash table entries: 2048 (order: 11, 8192 bytes)
<4>Console: colour dummy device 80x30
<6>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>Memory: 343MB = 343MB total
<5>Memory: 344064KB available (2756K code, 683K data, 108K init)
<6>Calibrating delay loop... 558.69 BogoMIPS (lpj=2793472)
<4>Mount-cache hash table entries: 512
<6>Initializing cgroup subsys debug
<6>Initializing cgroup subsys cpuacct
<6>Initializing cgroup subsys freezer
<6>CPU: Testing write buffer coherency: ok
<6>net_namespace: 716 bytes
<6>NET: Registered protocol family 16
<4>bio: create slab <bio-0> at 0
<7>Switched to high resolution mode on CPU 0
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP established hash table entries: 16384 (order: 5, 131072 bytes)
<6>TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
<6>TCP: Hash tables configured (established 16384 bind 16384)
<6>TCP reno registered
<6>NET: Registered protocol family 1
<6>checking if image is initramfs... it is
<6>Freeing initrd memory: 164K
<4>goldfish_new_pdev goldfish_interrupt_controller at ff000000 irq -1
<4>goldfish_new_pdev goldfish_device_bus at ff001000 irq 1
<4>goldfish_new_pdev goldfish_timer at ff003000 irq 3
<4>goldfish_new_pdev goldfish_rtc at ff010000 irq 10
<4>goldfish_new_pdev goldfish_tty at ff002000 irq 4
<4>goldfish_new_pdev goldfish_tty at ff011000 irq 11
<4>goldfish_new_pdev goldfish_tty at ff012000 irq 12
<4>goldfish_new_pdev smc91x at ff013000 irq 13
<4>goldfish_new_pdev goldfish_fb at ff014000 irq 14
<4>goldfish_new_pdev goldfish_audio at ff004000 irq 15
<4>goldfish_new_pdev goldfish_memlog at ff006000 irq -1
<4>goldfish_new_pdev goldfish_events at ff015000 irq 16
<4>goldfish_new_pdev goldfish_nand at ff016000 irq -1
<4>goldfish_new_pdev qemu_pipe at ff017000 irq 17
<4>goldfish_new_pdev goldfish-switch at ff019000 irq 18
<4>goldfish_new_pdev goldfish-switch at ff01a000 irq 19
<4>goldfish_pdev_worker registered goldfish_interrupt_controller
<4>goldfish_pdev_worker registered goldfish_device_bus
<4>goldfish_pdev_worker registered goldfish_timer
<4>goldfish_pdev_worker registered goldfish_rtc
<4>goldfish_pdev_worker registered goldfish_tty
<4>goldfish_pdev_worker registered goldfish_tty
<4>goldfish_pdev_worker registered goldfish_tty
<4>goldfish_pdev_worker registered smc91x
<4>goldfish_pdev_worker registered goldfish_fb
<4>goldfish_pdev_worker registered goldfish_audio
<4>goldfish_pdev_worker registered goldfish_memlog
<4>goldfish_pdev_worker registered goldfish_events
<4>goldfish_pdev_worker registered goldfish_nand
<4>goldfish_pdev_worker registered qemu_pipe
<4>goldfish_pdev_worker registered goldfish-switch
<4>goldfish_pdev_worker registered goldfish-switch
<6>ashmem: initialized
<6>Installing knfsd (copyright (C) 1996 [email protected]).
<4>yaffs Dec 8 2011 15:06:54 Installing.
<6>msgmni has been set to 672
<6>alg: No test for stdrng (krng)
<6>io scheduler noop registered
<6>io scheduler anticipatory registered (default)
<6>io scheduler deadline registered
<6>io scheduler cfq registered
<4>allocating frame buffer 480 * 800, got ffa00000
<6>console [ttyS0] enabled
<6>brd: module loaded
<6>loop: module loaded
<6>nbd: registered device at major 43
<4>goldfish_audio_probe
<6>tun: Universal TUN/TAP device driver, 1.6
<6>tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
<4>smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
<6>eth0 (smc91x): not using net_device_ops yet
<4>eth0: SMC91C11xFD (rev 1) at d580c000 IRQ 13 [nowait]
<4>eth0: Ethernet addr: 52:54:00:12:34:56
<7>eth0: No PHY found
<4>goldfish nand dev0: size c200000, page 2048, extra 64, erase 131072
<4>goldfish nand dev1: size c200000, page 2048, extra 64, erase 131072
<4>goldfish nand dev2: size 4000000, page 2048, extra 64, erase 131072
<6>mice: PS/2 mouse device common for all mice
<4>*** events probe ***
<4>events_probe() addr=0xd5814000 irq=16
<4>events_probe() keymap=qwerty2
<6>input: qwerty2 as /devices/virtual/input/input0
<6>goldfish_rtc goldfish_rtc: rtc core: registered goldfish_rtc as rtc0
<6>device-mapper: uevent: version 1.0.3
<6>device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: [email protected]
<6>logger: created 64K log 'log_main'
<6>logger: created 256K log 'log_events'
<6>logger: created 64K log 'log_radio'
<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>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
<6>All bugs added by David S. Miller <[email protected]>
<6>VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 0
<6>goldfish_rtc goldfish_rtc: setting system clock to 2012-12-07 07:15:01 UTC (1354864501)
<6>Freeing init memory: 108K
<3>init: could not import file '/init.trace.rc' from '/init.rc'
<3>init: could not import file '/init.cm.rc' from '/init.rc'
<3>init: cannot open '/initlogo.rle'
<6>yaffs: dev is 32505856 name is "mtdblock0"
<6>yaffs: passed flags ""
<4>yaffs: Attempting MTD mount on 31.0, "mtdblock0"
<4>yaffs_read_super: isCheckpointed 0
<4>save exit: isCheckpointed 1
<6>yaffs: dev is 32505857 name is "mtdblock1"
<6>yaffs: passed flags ""
<4>yaffs: Attempting MTD mount on 31.1, "mtdblock1"
<4>yaffs_read_super: isCheckpointed 0
<6>yaffs: dev is 32505858 name is "mtdblock2"
<6>yaffs: passed flags ""
<4>yaffs: Attempting MTD mount on 31.2, "mtdblock2"
<4>yaffs_read_super: isCheckpointed 0
<3>init: cannot find '/system/bin/rild', disabling 'ril-daemon'
<6>eth0: link up
<6>request_suspend_state: wakeup (3->0) at 5024537940 (2012-12-07 07:15:05.946403531 UTC)
<6>request_suspend_state: wakeup (0->0) at 8038153272 (2012-12-07 07:15:08.960029916 UTC)
<3>init: untracked pid 203 exited
<7>eth0: no IPv6 routers present
<6>request_suspend_state: wakeup (0->0) at 13093743275 (2012-12-07 07:15:14.015619616 UTC)
<3>init: untracked pid 267 exited
<6>request_suspend_state: wakeup (0->0) at 18172982800 (2012-12-07 07:15:19.094859343 UTC)
<3>init: untracked pid 336 exited
<6>request_suspend_state: wakeup (0->0) at 23250891897 (2012-12-07 07:15:24.172746412 UTC)
<3>init: untracked pid 407 exited
<6>request_suspend_state: wakeup (0->0) at 28342599390 (2012-12-07 07:15:29.264476245 UTC)
<3>init: untracked pid 477 exited
<6>request_suspend_state: wakeup (0->0) at 33350444560 (2012-12-07 07:15:34.272321003 UTC)
<3>init: untracked pid 540 exited
WHAT'S WRONG? SOMEONE can help ME?

[Q] Pioneer HUD (SPX-HUD01)

Does anyone tried to hack the Pioneer HUD (spx-hud01)? It runs android-2.3.4_r1. Here is a manual how to build custom kernel for it (google for "spx-hud01" sitess-pioneer.com). But I don't know how to boot from custom kernel or flash it on device.
Attached are PCB board images. Here is the booting process:
Welcome to minicom 2.5
OPTIONS: I18n
Compiled on May 2 2011, 10:05:24.
Port /dev/ttyUSB0
Press CTRL-A Z for help on special keys
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.5 | VT102 | Offline
�
U-Boot 2009.08 (Sep 27 2013 - 14:08:21)
CPU: Freescale i.MX51 family 3.0V at 600 MHz
mx51 pll1: 600MHz
mx51 pll2: 665MHz
mx51 pll3: 216MHz
ipg clock : 66500000Hz
ipg per clock : 665000000Hz
uart clock : 66500000Hz
cspi clock : 54000000Hz
axi_a clock : 166250000Hz
axi_b clock : 133000000Hz
emi_slow clock: 83125000Hz
ddr clock : 200000000Hz
esdhc clock : 216000000Hz
Board: MX51 HUD-Lite 3.0 [POR]
Boot Device: MMC
I2C: ready
DRAM: 512 MB
MMC: board_mmc_init
FSL_ESDHC: 0, FSL_ESDHC: 1
In: serial
Out: serial
Err: serial
Net: FEC0 [PRIME]
Hit any key to stop autoboot: 0
MMC read: dev # 1, block # 4096,count 5632 ...
HUDLite: eMMC H/W reset already enabled.
5632 blocks read: OK
MMC read: dev # 1, block # 12288,count 1280 ...
HUDLite: eMMC H/W reset already enabled.
1280 blocks read: OK
## Booting kernel from Legacy Image at 90800000 ...
Image Name: Linux-2.6.35.3-gee7c1ed
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2647232 Bytes = 2.5 MB
Load Address: 90008000
Entry Point: 90008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 90d00000 ...
Image Name: Android Root Filesystem
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 539447 Bytes = 526.8 kB
Load Address: 90308000
Entry Point: 90308000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Initializing cgroup subsys cpu
Linux version 2.6.35.3-gee7c1ed ([email protected]) (gcc version 4.4.0 (GCC) )3
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX51 Babbage Board
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 104140
Kernel command line: console=ttymxc2,115200 video=mxcdi0fb:RGB24,HUDlite1 pmem=y
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
allocated 2099200 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 410MB = 410MB total
Memory: 407104k/407104k available, 12736k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xfde00000 - 0xffe00000 ( 32 MB)
vmalloc : 0xda000000 - 0xf4000000 ( 416 MB)
lowmem : 0xc0000000 - 0xd9a00000 ( 410 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.init : 0xc0008000 - 0xc0028000 ( 128 kB)
.text : 0xc0028000 - 0xc0456000 (4280 kB)
.data : 0xc0476000 - 0xc04b20e0 ( 241 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:272
MXC GPIO hardware
MXC IRQ initialized
MXC_Early serial console at MMIO 0x7000c000 (options '115200')
bootconsole [ttymxc2] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
i.MX IRAM pool: 128 [email protected]
IRAM READY
CPU is i.MX51 Revision 3.0
Using SDMA I.API
MXC DMA API initialized
IMX usb wakeup probe
bio: create slab <bio-0> at 0
regulator: VSD: 3150 mV
SCSI subsystem initialized
CSPI: mxc_spi-0 probed
Freescale USB OTG Driver loaded, $Revision: 1.55 $
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
Unpacking initramfs...
Freeing initrd memory: 524K
LPMode driver module loaded
Static Power Management for Freescale i.MX5
PM driver module loaded
sdram autogating driver module loaded
Bus freq driver module loaded
DI0 is primary
mxc_dvfs_core_probe
mxc_dvfs_core_probe: failed to get gp regulator
DVFS driver module loaded
i.MXC CPU frequency driver
mxc_cpufreq_driver_init: failed to get gp regulator
ashmem: initialized
JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 796
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
regulator: get() with no identifier
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
mxc_ipu mxc_ipu: Channel already disabled 7
mxc_ipu mxc_ipu: Channel already uninitialized 7
mxc_ipu mxc_ipu: Channel already disabled 10
mxc_ipu mxc_ipu: Channel already uninitialized 10
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x73fbc000 (irq = 31) is a Freescale i.MX
mxcintuart.1: ttymxc1 at MMIO 0x73fc0000 (irq = 32) is a Freescale i.MX
mxcintuart.2: ttymxc2 at MMIO 0x7000c000 (irq = 33) is a Freescale i.MX
console [ttymxc2] enabled, bootconsole disabled
console [ttymxc2] enabled, bootconsole disabled
loop: module loaded
pmem_adsp: 0 init
pmem_gpu: 1 init
m25p80 spi1.1: mx25l3205d (4096 Kbytes)
Creating 4 MTD partitions on "m25p80":
0x000000000000-0x000000070000 : "bootloader"
0x000000070000-0x000000240000 : "kernel"
0x000000240000-0x0000003f0000 : "backupdata"
0x0000003f0000-0x000000400000 : "identifier"
FEC Ethernet Driver
fec_enet_mii_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 18, io base 0x73f80000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ARC USBOTG Device Controller driver (1 August 2005)
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
fsl-usb2-udc: bind to driver g_serial
mice: could not register psaux device, error: -16
mice: PS/2 mouse device common for all mice
MXC keypad loaded
using rtc device, mxc_rtc, for alarms
mxc_rtc mxc_rtc.0: rtc core: registered mxc_rtc as rtc0
i2c /dev entries driver
APM Battery Driver
MXC WatchDog Driver 2.0
MXC Watchdog # 0 Timer: initial timeout 60 sec
device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: [email protected]
VPU initialized
gpu mmu enabled
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 0 irq 1 INTERNAL DMA
mxsdhci: MXC SDHCI Controller Driver.
mmc1: SDHCI detect irq 228 irq 4 INTERNAL DMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
logger: created 64K log 'log_system'
mxc_spdif mxc_spdif.0: MXC SPDIF Audio Transmitter
No device for codec mxc spdif
No device for DAI mxc spdif
No device for DAI imx-spdif-dai
DMA Sound Buffer Allocated: Playback UseIram=1 ext_ram=0 buf->addr=1ffe2000 buf6
asoc: mxc spdif <-> imx-spdif-dai mapping ok
ALSA device list:
#0: imx-3stack-spdif (mxc spdif)
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
mxc_rtc mxc_rtc.0: setting system clock to 2013-01-01 00:00:00 UTC (1356998400)
Freeing init memory: 128K
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 HYNIX 3.60 GiB
mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 > p4
EXT4-fs (mmcblk0p1): Ignoring delalloc option - requested data journaling mode
EXT4-fs (mmcblk0p1): recovery complete
EXT4-fs (mmcblk0p1): mounted filesystem with journalled data mode. Opts: data=jl
EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
/bin/hud_e2fsck -y /dev/block/mmcblk0p5 -> result'0'
EXT4-fs (mmcblk0p5): Ignoring delalloc option - requested data journaling mode
EXT4-fs (mmcblk0p5): mounted filesystem with journalled data mode. Opts: data=jl
EXT4-fs (mmcblk0p6): recovery complete
EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p9): recovery complete
EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p8): recovery complete
EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
system_data_archiver: start
system_data_archiver: extracted.
localhost login: warning: `zygote' uses 32-bit capabilities (legacy support in )
request_suspend_state: on (3->0) at 10496332002 (2013-01-01 00:00:09.722314750 )
request_suspend_state: on (0->0) at 10577726752 (2013-01-01 00:00:09.803708875 )
pmem: request for physical address of pmem region from process 1096.
system_data_archiver: end
usb wakeup is here
otg host Remote wakeup
usb wakeup is here
otg host Remote wakeup
usb 1-1: new full speed USB device using fsl-ehci and address 2
usb 1-1: not running at top speed; connect to a high speed hub
usb 1-1: device v0421 p0661 is not supported
localhost login:
localhost login: usb 1-1: USB disconnect, address 2
Anyone?
To decrypt the firmware remove first 1648 bytes in pioneer-hud-2014-510100.bin then run:
Code:
openssl enc -d -aes-128-cbc -pass pass:pioneerhudlite < pioneer-hud-2014-510100.bin > firmware.zip
Inside firmware:
HUDLite_System_Controller.bin
HUDLite_System_Controller.md5
system.img
system.md5
u-boot.bin
u-boot.md5
uImage
uImage.md5
uramdisk.img
uramdisk.md5
To switch the HUD in device mode open the black box (the one with the USB port). Disconnect the 2nd Pin. This pin corresponds to OTG Sense ID.

[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

Categories

Resources