This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GPIO Mouse in AM335x

Hi All,

In my custom board i used the TPA511GLFS joystick as a mouse. The joystick is connected through a I2C IO expander. 

i made the configuration in my board file like below. the driver is loaded successfully. after that it putting some dump please 
help me to solve this.

here i attached the logs too.

���
U-Boot SPL 2011.09 (Nov 15 2012 - 15:47:13)
Texas Instruments Revision detection unimplemented
,-------------------------------------------------,
|                    HEJLIJ                       |
|             Industrial Application              |
`-------------------------------------------------'
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.09 (Nov 15 2012 - 15:47:13)

I2C:   ready
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  HW ECC Hamming Code selected
256 MiB
MMC:   OMAP SD/MMC: 0
Net:   No ethernet found.
Hit any key to stop autoboot:  3  2  1  0 
reading uImage

3195952 bytes read
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.2.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3195888 Bytes = 3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 3.2.0 (root@gnh-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #7 Fri Mar 22 16:37:00 IST 2013
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335xevm
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES1.0 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 mem=128M rootwait
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 123240k/123240k available, 7832k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05b0000   (5792 kB)
[    0.000000]       .init : 0xc05b0000 - 0xc05ee000   ( 248 kB)
[    0.000000]       .data : 0xc05ee000 - 0xc0655b10   ( 415 kB)
[    0.000000]        .bss : 0xc0655b34 - 0xc0682d64   ( 181 kB)
[    0.000000] NR_IRQS:396
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] Console: colour dummy device 80x30
[    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[    0.058959] pid_max: default: 32768 minimum: 301
[    0.059082] Security Framework initialized
[    0.059173] Mount-cache hash table entries: 512
[    0.059539] CPU: Testing write buffer coherency: ok
[    0.080047] omap_hwmod: pruss: failed to hardreset
[    0.081146] print_constraints: dummy: 
[    0.081481] NET: Registered protocol family 16
[    0.083557] OMAP GPIO hardware version 0.1
[    0.086120] omap_mux_init: Add partition: #1: core, flags: 0
[    0.087951]  omap_i2c.1: alias fck already exists
[    0.088134] Board name: HEJLIJ
[    0.088165] Board version: 1.0
[    0.088165] The board is industrial purpose HEJLIJ 
[    0.088806]  da8xx_lcdc.0: alias fck already exists
[    0.089141] HEJLIJ ----------------------------------------------------- ADC Register
[    0.089172] HEJLIJ ----------------------------------------------------- ADC hwmod lookup adc_tsc
[    0.090118]  omap_i2c.2: alias fck already exists
[    0.090332] failed to get adapter i2c2
[    0.090423]  davinci-mcasp.1: alias fck already exists
[    0.090789]  omap_hsmmc.0: alias fck already exists
[    0.091033]  omap_hsmmc.2: alias fck already exists
[    0.091339] Configure Bluetooth Enable pin...
[    0.091918] HEJLIJ:BALAJI --------------------- GPIO KEY INIT
[    0.092102] HEJLIJ:BALAJI --------------------- GPIO MOUSE INIT
[    0.353057]  omap2_mcspi.1: alias fck already exists
[    0.353271]  omap2_mcspi.2: alias fck already exists
[    0.354217]  edma.0: alias fck already exists
[    0.354248]  edma.0: alias fck already exists
[    0.354248]  edma.0: alias fck already exists
[    0.381652] bio: create slab <bio-0> at 0
[    0.384002] SCSI subsystem initialized
[    0.385650] usbcore: registered new interface driver usbfs
[    0.385955] usbcore: registered new interface driver hub
[    0.386138] usbcore: registered new device driver usb
[    0.386291] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[    0.386596] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[    0.387725] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.388793] tps65910 1-002d: JTAGREVNUM 0x0
[    0.391265] print_constraints: VRTC: 
[    0.392700] print_constraints: VIO: at 1500 mV 
[    0.395019] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
[    0.397308] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
[    0.398315] print_constraints: VDD3: 5000 mV 
[    0.399749] print_constraints: VDIG1: at 1800 mV 
[    0.401184] print_constraints: VDIG2: at 1800 mV 
[    0.402587] print_constraints: VPLL: at 1800 mV 
[    0.404022] print_constraints: VDAC: at 1800 mV 
[    0.405456] print_constraints: VAUX1: at 1800 mV 
[    0.406890] print_constraints: VAUX2: at 3300 mV 
[    0.408325] print_constraints: VAUX33: at 3300 mV 
[    0.409759] print_constraints: VMMC: at 3300 mV 
[    0.410247] tps65910 1-002d: No interrupt support, no core IRQ
[    0.410430] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[    0.417968] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.419097] Switching to clocksource gp timer
[    0.434387] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.434570] musb-hdrc musb-hdrc.0: dma type: pio
[    0.434906] MUSB0 controller's USBSS revision = 4ea20800
[    0.435546] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883c000 using PIO, IRQ 18
[    0.435699] musb-hdrc musb-hdrc.1: dma type: pio
[    0.436004] MUSB1 controller's USBSS revision = 4ea20800
[    0.436157] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.436248] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    0.436370] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.436370] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.436401] usb usb1: Product: MUSB HDRC host driver
[    0.436401] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[    0.436431] usb usb1: SerialNumber: musb-hdrc.1
[    0.437194] hub 1-0:1.0: USB hub found
[    0.437225] hub 1-0:1.0: 1 port detected
[    0.437805] musb-hdrc musb-hdrc.1: USB Host mode controller at c883e800 using PIO, IRQ 19
[    0.438232] NET: Registered protocol family 2
[    0.438415] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.438720] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.438781] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.438842] TCP: Hash tables configured (established 4096 bind 4096)
[    0.438873] TCP reno registered
[    0.438873] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.438903] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.439086] NET: Registered protocol family 1
[    0.439422] RPC: Registered named UNIX socket transport module.
[    0.439422] RPC: Registered udp transport module.
[    0.439422] RPC: Registered tcp transport module.
[    0.439453] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.439697] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.439910] omap-gpmc omap-gpmc: GPMC revision 6.0
[    0.439910] Registering NAND on CS0
[    0.447418] VFS: Disk quotas dquot_6.5.2
[    0.447509] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.448028] msgmni has been set to 240
[    0.451263] alg: No test for stdrng (krng)
[    0.451934] io scheduler noop registered
[    0.451965] io scheduler deadline registered
[    0.452026] io scheduler cfq registered (default)
[    0.454132] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[    0.470123] Console: switching to colour frame buffer device 100x30
[    0.479858] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    1.195892] console [ttyO0] enabled
[    1.200195] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    1.207946] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    1.215759] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    1.223510] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    1.231262] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    1.239501] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[    1.255767] brd: module loaded
[    1.263916] loop: module loaded
[    1.267395] i2c-core: driver [tsl2550] using legacy suspend method
[    1.273864] i2c-core: driver [tsl2550] using legacy resume method
[    1.280487] _regulator_get: 2-0019 supply Vdd not found, using dummy regulator
[    1.288055] _regulator_get: 2-0019 supply Vdd_IO not found, using dummy regulator
[    1.316497] lis3lv02d: 8 bits 3DLH sensor found
[    1.410247] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
[    1.419525] HEJLIJ:BALAJI ---------------- ti_tscadc_probe
[    1.425292] HEJLIJ:BALAJI ---------------- ti_tscadc_probe - pdata pass
[    1.432189] HEJLIJ:BALAJI ---------------- IN
[    1.436737] HEJLIJ:BALAJI adc_channels = 8
[    1.441009] HEJLIJ:BALAJI ---------------- PASS
[    1.445709] HEJLIJ:BALAJI ---------------- wires : 0 
[    1.450988] HEJLIJ:BALAJI tsc_wires = 0 
[    1.450988]  total_channels = 8
[    1.458160] HEJLIJ:BALAJI ---------------- platform_get_resource 
[    1.464691] HEJLIJ:BALAJI ---------------- Allocate memory for device 
[    1.471527] HEJLIJ:BALAJI ---------------- request_mem_region 
[    1.477600] HEJLIJ:BALAJI ---------------- ioremap 
[    1.482757] HEJLIJ:BALAJI ---------------- clock 
[    1.487854] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    1.495391] HEJLIJ:BALAJI ---------------- ti-probe close 
[    1.502655] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.509948] omap2-nand driver initializing
[    1.514556] ONFI flash detected
[    1.517944] ONFI param page 0 valid
[    1.521636] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAH4)
[    1.530212] Creating 8 MTD partitions on "omap2-nand.0":
[    1.535766] 0x000000000000-0x000000020000 : "SPL"
[    1.542114] 0x000000020000-0x000000040000 : "SPL.backup1"
[    1.549041] 0x000000040000-0x000000060000 : "SPL.backup2"
[    1.555969] 0x000000060000-0x000000080000 : "SPL.backup3"
[    1.562927] 0x000000080000-0x000000260000 : "U-Boot"
[    1.570129] 0x000000260000-0x000000280000 : "U-Boot Env"
[    1.576965] 0x000000280000-0x000000780000 : "Kernel"
[    1.585479] 0x000000780000-0x000010000000 : "File System"
[    1.695831] OneNAND driver initializing
[    1.701293] CAN device driver interface
[    1.705291] CAN bus driver for Bosch D_CAN controller 1.0
[    1.759796] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    1.766235] davinci_mdio davinci_mdio.0: no live phy, scanning all
[    1.869750] davinci_mdio davinci_mdio.0: timed out waiting for user access
[    1.877227] davinci_mdio: probe of davinci_mdio.0 failed with error -5
[    1.884429] usbcore: registered new interface driver zd1201
[    1.890472] usbcore: registered new interface driver cdc_ether
[    1.896697] usbcore: registered new interface driver cdc_eem
[    1.902770] usbcore: registered new interface driver dm9601
[    1.908630] cdc_ncm: 04-Aug-2011
[    1.912170] usbcore: registered new interface driver cdc_ncm
[    1.918060] Initializing USB Mass Storage driver...
[    1.923431] usbcore: registered new interface driver usb-storage
[    1.929687] USB Mass Storage support registered.
[    1.934875] usbcore: registered new interface driver usbserial
[    1.940979] usbserial: USB Serial Driver core
[    1.945678] USB Serial support registered for GSM modem (1-port)
[    1.952209] usbcore: registered new interface driver option
[    1.958038] option: v0.7.2:USB Driver for GSM modems
[    1.963684] mousedev: PS/2 mouse device common for all mice
[    1.970031] HEJLIJ:BALAJI ----------- gpio mouse probe Start 
[    1.976013] HEJLIJ:BALAJI ---- Scan ms = 10 
[    1.980499] HEJLIJ:BALAJI ---- pins = 254 
[    1.985046] usb 1-1: New USB device found, idVendor=0424, idProduct=2512
[    1.992065] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.999877] HEJLIJ:BALAJI ---- pins = 253 
[    2.004608] HEJLIJ:BALAJI ---- pins = 252 
[    2.009002] hub 1-1:1.0: USB hub found
[    2.013000] hub 1-1:1.0: 2 ports detected
[    2.017211] HEJLIJ:BALAJI ---- pins = 255 
[    2.021850] HEJLIJ:BALAJI ---- pins = 251 
[    2.026611] HEJLIJ:BALAJI ---- pins = 248 
[    2.031250] HEJLIJ:BALAJI ---- pins = 249 
[    2.035827] HEJLIJ:BALAJI ---- gpio request success
[    2.040740] HEJLIJ:BALAJI ---- register as polling device
[    2.047119] input: gpio_mouse as /devices/platform/gpio_mouse.0/input/input1
[    2.054992] HEJLIJ:BALAJI --------- gpio mouse probe End 
[    2.061645] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[    2.068847] i2c /dev entries driver
[    2.073150] Linux video capture interface: v2.00
[    2.078308] usbcore: registered new interface driver uvcvideo
[    2.084320] USB Video Class driver (1.1.1)
[    2.089477] lm75 2-0048: hwmon0: sensor 'tmp275'
[    2.097259] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.105804] cpuidle: using governor ladder
[    2.110595] cpuidle: using governor menu
[    2.118377] omap4_aes_mod_init: loading AM33X AES driver
[    2.124084] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[    2.131103] omap4_aes_probe: probe() done
[    2.135498] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[    2.141662] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[    2.156616] omap4_sham_probe: probe() done
[    2.166503] usbcore: registered new interface driver usbhid
[    2.172363] usbhid: USB HID core driver
[    2.176452] HEJLIJ: ------------------------ tiadc_probe-open
[    2.182922] tiadc tiadc: attached adc driver
[    2.187377] HEJLIJ: ------------------------ tiadc_probe-close 
[    2.194427] usbcore: registered new interface driver snd-usb-audio
[    2.202697] ALSA device list:
[    2.205810]   No soundcards found.
[    2.209350] oprofile: hardware counters not available
[    2.214630] oprofile: using timer interrupt.
[    2.219116] nf_conntrack version 0.5.0 (1925 buckets, 7700 max)
[    2.225769] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.231445] TCP cubic registered
[    2.234832] NET: Registered protocol family 17
[    2.239471] can: controller area network core (rev 20090105 abi 8)
[    2.246032] NET: Registered protocol family 29
[    2.250671] can: raw protocol (rev 20090105)
[    2.255126] can: broadcast manager protocol (rev 20090105 t)
[    2.261077] Registering the dns_resolver key type
[    2.266052] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.274047] ThumbEE CPU extension supported.
[    2.278564] mux: Failed to setup hwmod io irq -22
[    2.284088] Power Management for AM33XX family
[    2.288909] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    2.295593] Copied the M3 firmware to UMEM
[    2.300903] sr_init: platform driver register failed
[    2.311157] clock: disabling unused clocks to save power
[    2.329956] Detected MACID=0:18:31:e6:dc:fe
[    2.335388] cpsw: Detected MACID = 00:18:31:e6:dc:ff
[    2.341583] HEJLIJ:BALAJI ------------------------ gpio_keys_probe 
[    2.348175] HEJLIJ:BALAJI ---- gpio_request 100  
[    2.353332] HEJLIJ:BALAJI ---- gpio_request 250  
[    2.358398] mmc0: new SDHC card at address e624
[    2.364227] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[    2.371490] mmcblk0: mmc0:e624 SD08G 7.40 GiB 
[    2.378051] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    2.387512]  mmcblk0: p1 p2
[    2.390869] usb 1-1.2: new high-speed USB device number 3 using musb-hdrc
[    2.504699] mmc1: card claims to support voltages below the defined range. These will be ignored.
[    2.524963] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[    2.532226] mmc1: new SDIO card at address 0001
[    2.582031] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0608
[    2.589263] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.596923] usb 1-1.2: Product: USB2.0 Hub
[    2.604217] hub 1-1.2:1.0: USB hub found
[    2.608612] hub 1-1.2:1.0: 4 ports detected
[    2.890228] usb 1-1.2.3: new low-speed USB device number 4 using musb-hdrc
[    2.995941] usb 1-1.2.3: New USB device found, idVendor=0518, idProduct=0002
[    3.003326] usb 1-1.2.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.011138] usb 1-1.2.3: Product: USB-compliant keyboard
[    3.023101] input: USB-compliant keyboard as /devices/platform/omap/musb-ti81xx/musb-hdrc.1/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3:1.0/input/input3
[    3.036895] ezkey 0003:0518:0002.0001: input: USB HID v1.10 Keyboard [USB-compliant keyboard] on usb-musb-hdrc.1-1.2.3/input0
[    3.053649] input: USB-compliant keyboard as /devices/platform/omap/musb-ti81xx/musb-hdrc.1/usb1/1-1/1-1.2/1-1.2.3/1-1.2.3:1.1/input/input4
[    3.067382] ezkey 0003:0518:0002.0002: input: USB HID v1.10 Device [USB-compliant keyboard] on usb-musb-hdrc.1-1.2.3/input1
[    3.267181] kjournald starting.  Commit interval 5 seconds
[    3.275909] EXT3-fs (mmcblk0p2): using internal journal
[    3.281372] EXT3-fs (mmcblk0p2): recovery complete
[    3.289093] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    3.296325] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    3.302978] Freeing init memory: 248K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[    4.548583] wl12xx_sdio: disagrees about version of symbol module_layout
[    4.555908] wl12xx_sdio: disagrees about version of symbol module_layout
[    5.304229] alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.
Remounting root file system...
Caching udev devnodes
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1625: No soundcards found...
Configuring network interfaces... [    7.246826] PHY 0:00 not found
eth0      no wireless extensions.

udhcpc (v1.13.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Setting up IP spoofing protection: rp_filter.
Fri Jul 27 10:30:00 UTC 2012
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Hardware abstraction layer hald
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting network benchmark server: netserver.
Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
[   18.622528] pvrsrvkm: disagrees about version of symbol module_layout
insmod: error inserting '/lib/modules/3.2.0/kernel/drivers/gpu/pvr/pvrsrvkm.ko': -1 Invalid module format
Could not find pvrsrvkm driver
Starting Lighttpd Web Server: lighttpd.
2012-07-27 10:30:02: (log.c.166) server started 
/
Starting Matrix GUI application.
[   20.322235] g_mass_storage: disagrees about version of symbol module_layout
FATAL: Error inserting g_mass_storage (/lib/modules/3.2.0/kernel/drivers/usb/gadget/g_mass_storage.ko): Invalid module format
[   23.379150] ------------[ cut here ]------------
[   23.384094] WARNING: at drivers/gpio/gpiolib.c:1559 __gpio_get_value+0x64/0x68()
[   23.391815] Modules linked in:
[   23.395019] Backtrace: 
[   23.397583] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c042c588>] (dump_stack+0x18/0x1c)
[   23.406402]  r6:c0540e14 r5:00000617 r4:00000000 r3:c060fb08
[   23.412353] [<c042c570>] (dump_stack+0x0/0x1c) from [<c003de3c>] (warn_slowpath_common+0x5c/0x6c)
[   23.421600] [<c003dde0>] (warn_slowpath_common+0x0/0x6c) from [<c003de70>] (warn_slowpath_null+0x24/0x2c)
[   23.431579]  r8:00000001 r7:00000000 r6:c79df980 r5:000000fb r4:c78bfbf0
[   23.438415] r3:00000009
[   23.441162] [<c003de4c>] (warn_slowpath_null+0x0/0x2c) from [<c01e9a40>] (__gpio_get_value+0x64/0x68)
[   23.450775] [<c01e99dc>] (__gpio_get_value+0x0/0x68) from [<c02cd72c>] (gpio_mouse_scan+0x24/0x120)
[   23.460235]  r5:c79df800 r4:c060e638
[   23.463989] [<c02cd708>] (gpio_mouse_scan+0x0/0x120) from [<c02c9be0>] (input_open_polled_device+0x40/0x50)
[   23.474151]  r7:00000000 r6:c79df980 r5:c79ee208 r4:c79f0ec0
[   23.480072] [<c02c9ba0>] (input_open_polled_device+0x0/0x50) from [<c02c7914>] (input_open_device+0x7c/0xac)
[   23.490325]  r4:c79df800 r3:c02c9ba0
[   23.494079] [<c02c7898>] (input_open_device+0x0/0xac) from [<c02ca1ac>] (mousedev_open_device+0x6c/0xf0)
[   23.503967]  r7:c063b038 r6:00000000 r5:c79ee23c r4:c79ee200
[   23.509887] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca224>] (mousedev_open_device+0xe4/0xf0)
[   23.520050]  r8:00000001 r7:c063b038 r6:00000000 r5:c79d223c r4:c79ee200
[   23.526885] r3:00000000
[   23.529632] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca31c>] (mousedev_open+0xec/0x144)
[   23.539245]  r8:c7b2ec00 r7:c79d2248 r6:c79d2200 r5:c7b197c0 r4:c063b038
[   23.546081] r3:c7b2ec08
[   23.548828] [<c02ca230>] (mousedev_open+0x0/0x144) from [<c0228240>] (misc_open+0x170/0x1ec)
[   23.557647]  r8:c6831ba8 r7:c062f390 r6:c7b197c0 r5:c02ca230 r4:c04582c4
[   23.564453] r3:c02ca230
[   23.567199] [<c02280d0>] (misc_open+0x0/0x1ec) from [<c00ac104>] (chrdev_open+0xbc/0x154)
[   23.575744]  r8:c7810e00 r7:00000000 r6:c78978c0 r5:c7b197c0 r4:c6831ba8
[   23.582580] r3:c02280d0
[   23.585327] [<c00ac048>] (chrdev_open+0x0/0x154) from [<c00a6e04>] (__dentry_open+0x218/0x2cc)
[   23.594299]  r7:c74aa498 r6:c7b197c0 r5:00000000 r4:00000000
[   23.600219] [<c00a6bec>] (__dentry_open+0x0/0x2cc) from [<c00a7cfc>] (nameidata_to_filp+0x68/0x70)
[   23.609588] [<c00a7c94>] (nameidata_to_filp+0x0/0x70) from [<c00b5114>] (do_last.clone.38+0xc4/0x6b4)
[   23.619201]  r7:00000026 r6:00000000 r5:000a0802 r4:c6971ed8
[   23.625152] [<c00b5050>] (do_last.clone.38+0x0/0x6b4) from [<c00b5800>] (path_openat+0xc0/0x398)
[   23.634307] [<c00b5740>] (path_openat+0x0/0x398) from [<c00b5be8>] (do_filp_open+0x34/0x88)
[   23.643035] [<c00b5bb4>] (do_filp_open+0x0/0x88) from [<c00a7dec>] (do_sys_open+0xe8/0x180)
[   23.651733]  r7:00000001 r6:0000000a r5:000a0802 r4:c7adf000
[   23.657684] [<c00a7d04>] (do_sys_open+0x0/0x180) from [<c00a7eac>] (sys_open+0x28/0x2c)
[   23.666046] [<c00a7e84>] (sys_open+0x0/0x2c) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
[   23.674682] ---[ end trace 1658f394046ec05f ]---
[   23.680236] ------------[ cut here ]------------
[   23.685119] WARNING: at drivers/gpio/gpiolib.c:1559 __gpio_get_value+0x64/0x68()
[   23.692871] Modules linked in:
[   23.696044] Backtrace: 
[   23.698608] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c042c588>] (dump_stack+0x18/0x1c)
[   23.707397]  r6:c0540e14 r5:00000617 r4:00000000 r3:c060fb08
[   23.713348] [<c042c570>] (dump_stack+0x0/0x1c) from [<c003de3c>] (warn_slowpath_common+0x5c/0x6c)
[   23.722625] [<c003dde0>] (warn_slowpath_common+0x0/0x6c) from [<c003de70>] (warn_slowpath_null+0x24/0x2c)
[   23.732604]  r8:00000001 r7:00000000 r6:c79df980 r5:000000f8 r4:c78bfbf0
[   23.739410] r3:00000009
[   23.742187] [<c003de4c>] (warn_slowpath_null+0x0/0x2c) from [<c01e9a40>] (__gpio_get_value+0x64/0x68)
[   23.751800] [<c01e99dc>] (__gpio_get_value+0x0/0x68) from [<c02cd758>] (gpio_mouse_scan+0x50/0x120)
[   23.761230]  r5:c79df800 r4:c060e638
[   23.764984] [<c02cd708>] (gpio_mouse_scan+0x0/0x120) from [<c02c9be0>] (input_open_polled_device+0x40/0x50)
[   23.775146]  r7:00000000 r6:c79df980 r5:c79ee208 r4:c79f0ec0
[   23.781097] [<c02c9ba0>] (input_open_polled_device+0x0/0x50) from [<c02c7914>] (input_open_device+0x7c/0xac)
[   23.791351]  r4:c79df800 r3:c02c9ba0
[   23.795074] [<c02c7898>] (input_open_device+0x0/0xac) from [<c02ca1ac>] (mousedev_open_device+0x6c/0xf0)
[   23.804962]  r7:c063b038 r6:00000000 r5:c79ee23c r4:c79ee200
[   23.810882] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca224>] (mousedev_open_device+0xe4/0xf0)
[   23.821075]  r8:00000001 r7:c063b038 r6:00000000 r5:c79d223c r4:c79ee200
[   23.827880] r3:00000000
[   23.830627] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca31c>] (mousedev_open+0xec/0x144)
[   23.840240]  r8:c7b2ec00 r7:c79d2248 r6:c79d2200 r5:c7b197c0 r4:c063b038
[   23.847076] r3:c7b2ec08
[   23.849822] [<c02ca230>] (mousedev_open+0x0/0x144) from [<c0228240>] (misc_open+0x170/0x1ec)
[   23.858612]  r8:c6831ba8 r7:c062f390 r6:c7b197c0 r5:c02ca230 r4:c04582c4
[   23.865447] r3:c02ca230
[   23.868194] [<c02280d0>] (misc_open+0x0/0x1ec) from [<c00ac104>] (chrdev_open+0xbc/0x154)
[   23.876739]  r8:c7810e00 r7:00000000 r6:c78978c0 r5:c7b197c0 r4:c6831ba8
[   23.883544] r3:c02280d0
[   23.886291] [<c00ac048>] (chrdev_open+0x0/0x154) from [<c00a6e04>] (__dentry_open+0x218/0x2cc)
[   23.895294]  r7:c74aa498 r6:c7b197c0 r5:00000000 r4:00000000
[   23.901214] [<c00a6bec>] (__dentry_open+0x0/0x2cc) from [<c00a7cfc>] (nameidata_to_filp+0x68/0x70)
[   23.910552] [<c00a7c94>] (nameidata_to_filp+0x0/0x70) from [<c00b5114>] (do_last.clone.38+0xc4/0x6b4)
[   23.920196]  r7:00000026 r6:00000000 r5:000a0802 r4:c6971ed8
[   23.926116] [<c00b5050>] (do_last.clone.38+0x0/0x6b4) from [<c00b5800>] (path_openat+0xc0/0x398)
[   23.935302] [<c00b5740>] (path_openat+0x0/0x398) from [<c00b5be8>] (do_filp_open+0x34/0x88)
[   23.944000] [<c00b5bb4>] (do_filp_open+0x0/0x88) from [<c00a7dec>] (do_sys_open+0xe8/0x180)
[   23.952728]  r7:00000001 r6:0000000a r5:000a0802 r4:c7adf000
[   23.958648] [<c00a7d04>] (do_sys_open+0x0/0x180) from [<c00a7eac>] (sys_open+0x28/0x2c)
[   23.967010] [<c00a7e84>] (sys_open+0x0/0x2c) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
[   23.975646] ---[ end trace 1658f394046ec060 ]---
[   23.982482] ------------[ cut here ]------------
[   23.987335] WARNING: at drivers/gpio/gpiolib.c:1559 __gpio_get_value+0x64/0x68()
[   23.995086] Modules linked in:
[   23.998260] Backtrace: 
[   24.000854] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c042c588>] (dump_stack+0x18/0x1c)
[   24.009643]  r6:c0540e14 r5:00000617 r4:00000000 r3:c060fb08
[   24.015594] [<c042c570>] (dump_stack+0x0/0x1c) from [<c003de3c>] (warn_slowpath_common+0x5c/0x6c)
[   24.024871] [<c003dde0>] (warn_slowpath_common+0x0/0x6c) from [<c003de70>] (warn_slowpath_null+0x24/0x2c)
[   24.034851]  r8:00000001 r7:00000000 r6:c79df980 r5:000000f9 r4:c78bfbf0
[   24.041687] r3:00000009
[   24.044433] [<c003de4c>] (warn_slowpath_null+0x0/0x2c) from [<c01e9a40>] (__gpio_get_value+0x64/0x68)
[   24.054046] [<c01e99dc>] (__gpio_get_value+0x0/0x68) from [<c02cd784>] (gpio_mouse_scan+0x7c/0x120)
[   24.063507]  r5:c79df800 r4:c060e638
[   24.067260] [<c02cd708>] (gpio_mouse_scan+0x0/0x120) from [<c02c9be0>] (input_open_polled_device+0x40/0x50)
[   24.077423]  r7:00000000 r6:c79df980 r5:c79ee208 r4:c79f0ec0
[   24.083343] [<c02c9ba0>] (input_open_polled_device+0x0/0x50) from [<c02c7914>] (input_open_device+0x7c/0xac)
[   24.093597]  r4:c79df800 r3:c02c9ba0
[   24.097351] [<c02c7898>] (input_open_device+0x0/0xac) from [<c02ca1ac>] (mousedev_open_device+0x6c/0xf0)
[   24.107238]  r7:c063b038 r6:00000000 r5:c79ee23c r4:c79ee200
[   24.113159] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca224>] (mousedev_open_device+0xe4/0xf0)
[   24.123321]  r8:00000001 r7:c063b038 r6:00000000 r5:c79d223c r4:c79ee200
[   24.130157] r3:00000000
[   24.132904] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca31c>] (mousedev_open+0xec/0x144)
[   24.142517]  r8:c7b2ec00 r7:c79d2248 r6:c79d2200 r5:c7b197c0 r4:c063b038
[   24.149353] r3:c7b2ec08
[   24.152099] [<c02ca230>] (mousedev_open+0x0/0x144) from [<c0228240>] (misc_open+0x170/0x1ec)
[   24.160888]  r8:c6831ba8 r7:c062f390 r6:c7b197c0 r5:c02ca230 r4:c04582c4
[   24.167724] r3:c02ca230
[   24.170471] [<c02280d0>] (misc_open+0x0/0x1ec) from [<c00ac104>] (chrdev_open+0xbc/0x154)
[   24.179016]  r8:c7810e00 r7:00000000 r6:c78978c0 r5:c7b197c0 r4:c6831ba8
[   24.185821] r3:c02280d0
[   24.188568] [<c00ac048>] (chrdev_open+0x0/0x154) from [<c00a6e04>] (__dentry_open+0x218/0x2cc)
[   24.197570]  r7:c74aa498 r6:c7b197c0 r5:00000000 r4:00000000
[   24.203491] [<c00a6bec>] (__dentry_open+0x0/0x2cc) from [<c00a7cfc>] (nameidata_to_filp+0x68/0x70)
[   24.212860] [<c00a7c94>] (nameidata_to_filp+0x0/0x70) from [<c00b5114>] (do_last.clone.38+0xc4/0x6b4)
[   24.222473]  r7:00000026 r6:00000000 r5:000a0802 r4:c6971ed8
[   24.228393] [<c00b5050>] (do_last.clone.38+0x0/0x6b4) from [<c00b5800>] (path_openat+0xc0/0x398)
[   24.237579] [<c00b5740>] (path_openat+0x0/0x398) from [<c00b5be8>] (do_filp_open+0x34/0x88)
[   24.246307] [<c00b5bb4>] (do_filp_open+0x0/0x88) from [<c00a7dec>] (do_sys_open+0xe8/0x180)
[   24.255004]  r7:00000001 r6:0000000a r5:000a0802 r4:c7adf000
[   24.260925] [<c00a7d04>] (do_sys_open+0x0/0x180) from [<c00a7eac>] (sys_open+0x28/0x2c)
[   24.269287] [<c00a7e84>] (sys_open+0x0/0x2c) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
[   24.277923] ---[ end trace 1658f394046ec061 ]---
[   24.290557] ------------[ cut here ]------------
[   24.295471] WARNING: at drivers/gpio/gpiolib.c:1559 __gpio_get_value+0x64/0x68()
[   24.303192] Modules linked in:
[   24.306365] Backtrace: 
[   24.308929] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c042c588>] (dump_stack+0x18/0x1c)
[   24.317749]  r6:c0540e14 r5:00000617 r4:00000000 r3:c060fb08
[   24.323699] [<c042c570>] (dump_stack+0x0/0x1c) from [<c003de3c>] (warn_slowpath_common+0x5c/0x6c)
[   24.332946] [<c003dde0>] (warn_slowpath_common+0x0/0x6c) from [<c003de70>] (warn_slowpath_null+0x24/0x2c)
[   24.342926]  r8:00000001 r7:00000000 r6:c79df980 r5:000000ff r4:c78bfbf0
[   24.349761] r3:00000009
[   24.352508] [<c003de4c>] (warn_slowpath_null+0x0/0x2c) from [<c01e9a40>] (__gpio_get_value+0x64/0x68)
[   24.362121] [<c01e99dc>] (__gpio_get_value+0x0/0x68) from [<c02cd7a8>] (gpio_mouse_scan+0xa0/0x120)
[   24.371582]  r5:c79df800 r4:c060e638
[   24.375305] [<c02cd708>] (gpio_mouse_scan+0x0/0x120) from [<c02c9be0>] (input_open_polled_device+0x40/0x50)
[   24.385498]  r7:00000000 r6:c79df980 r5:c79ee208 r4:c79f0ec0
[   24.391418] [<c02c9ba0>] (input_open_polled_device+0x0/0x50) from [<c02c7914>] (input_open_device+0x7c/0xac)
[   24.401672]  r4:c79df800 r3:c02c9ba0
[   24.405426] [<c02c7898>] (input_open_device+0x0/0xac) from [<c02ca1ac>] (mousedev_open_device+0x6c/0xf0)
[   24.415313]  r7:c063b038 r6:00000000 r5:c79ee23c r4:c79ee200
[   24.421234] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca224>] (mousedev_open_device+0xe4/0xf0)
[   24.431396]  r8:00000001 r7:c063b038 r6:00000000 r5:c79d223c r4:c79ee200
[   24.438232] r3:00000000
[   24.440948] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca31c>] (mousedev_open+0xec/0x144)
[   24.450592]  r8:c7b2ec00 r7:c79d2248 r6:c79d2200 r5:c7b197c0 r4:c063b038
[   24.457427] r3:c7b2ec08
[   24.460174] [<c02ca230>] (mousedev_open+0x0/0x144) from [<c0228240>] (misc_open+0x170/0x1ec)
[   24.468963]  r8:c6831ba8 r7:c062f390 r6:c7b197c0 r5:c02ca230 r4:c04582c4
[   24.475799] r3:c02ca230
[   24.478546] [<c02280d0>] (misc_open+0x0/0x1ec) from [<c00ac104>] (chrdev_open+0xbc/0x154)
[   24.487060]  r8:c7810e00 r7:00000000 r6:c78978c0 r5:c7b197c0 r4:c6831ba8
[   24.493896] r3:c02280d0
[   24.496643] [<c00ac048>] (chrdev_open+0x0/0x154) from [<c00a6e04>] (__dentry_open+0x218/0x2cc)
[   24.505615]  r7:c74aa498 r6:c7b197c0 r5:00000000 r4:00000000
[   24.511566] [<c00a6bec>] (__dentry_open+0x0/0x2cc) from [<c00a7cfc>] (nameidata_to_filp+0x68/0x70)
[   24.520904] [<c00a7c94>] (nameidata_to_filp+0x0/0x70) from [<c00b5114>] (do_last.clone.38+0xc4/0x6b4)
[   24.530517]  r7:00000026 r6:00000000 r5:000a0802 r4:c6971ed8
[   24.536468] [<c00b5050>] (do_last.clone.38+0x0/0x6b4) from [<c00b5800>] (path_openat+0xc0/0x398)
[   24.545623] [<c00b5740>] (path_openat+0x0/0x398) from [<c00b5be8>] (do_filp_open+0x34/0x88)
[   24.554351] [<c00b5bb4>] (do_filp_open+0x0/0x88) from [<c00a7dec>] (do_sys_open+0xe8/0x180)
[   24.563079]  r7:00000001 r6:0000000a r5:000a0802 r4:c7adf000
[   24.569000] [<c00a7d04>] (do_sys_open+0x0/0x180) from [<c00a7eac>] (sys_open+0x28/0x2c)
[   24.577362] [<c00a7e84>] (sys_open+0x0/0x2c) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
[   24.585998] ---[ end trace 1658f394046ec062 ]---
[   24.592132] ------------[ cut here ]------------
[   24.596954] WARNING: at drivers/gpio/gpiolib.c:1559 __gpio_get_value+0x64/0x68()
[   24.604675] Modules linked in:
[   24.607879] Backtrace: 
[   24.610443] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c042c588>] (dump_stack+0x18/0x1c)
[   24.619232]  r6:c0540e14 r5:00000617 r4:00000000 r3:c060fb08
[   24.625183] [<c042c570>] (dump_stack+0x0/0x1c) from [<c003de3c>] (warn_slowpath_common+0x5c/0x6c)
[   24.634460] [<c003dde0>] (warn_slowpath_common+0x0/0x6c) from [<c003de70>] (warn_slowpath_null+0x24/0x2c)
[   24.644439]  r8:00000001 r7:00000000 r6:00000000 r5:000000fc r4:c78bfbf0
[   24.651245] r3:00000009
[   24.653991] [<c003de4c>] (warn_slowpath_null+0x0/0x2c) from [<c01e9a40>] (__gpio_get_value+0x64/0x68)
[   24.663635] [<c01e99dc>] (__gpio_get_value+0x0/0x68) from [<c02cd7b8>] (gpio_mouse_scan+0xb0/0x120)
[   24.673065]  r5:c79df800 r4:c060e638
[   24.676818] [<c02cd708>] (gpio_mouse_scan+0x0/0x120) from [<c02c9be0>] (input_open_polled_device+0x40/0x50)
[   24.686981]  r7:00000000 r6:c79df980 r5:c79ee208 r4:c79f0ec0
[   24.692901] [<c02c9ba0>] (input_open_polled_device+0x0/0x50) from [<c02c7914>] (input_open_device+0x7c/0xac)
[   24.703155]  r4:c79df800 r3:c02c9ba0
[   24.706909] [<c02c7898>] (input_open_device+0x0/0xac) from [<c02ca1ac>] (mousedev_open_device+0x6c/0xf0)
[   24.716796]  r7:c063b038 r6:00000000 r5:c79ee23c r4:c79ee200
[   24.722717] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca224>] (mousedev_open_device+0xe4/0xf0)
[   24.732879]  r8:00000001 r7:c063b038 r6:00000000 r5:c79d223c r4:c79ee200
[   24.739715] r3:00000000
[   24.742462] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca31c>] (mousedev_open+0xec/0x144)
[   24.752075]  r8:c7b2ec00 r7:c79d2248 r6:c79d2200 r5:c7b197c0 r4:c063b038
[   24.758911] r3:c7b2ec08
[   24.761657] [<c02ca230>] (mousedev_open+0x0/0x144) from [<c0228240>] (misc_open+0x170/0x1ec)
[   24.770446]  r8:c6831ba8 r7:c062f390 r6:c7b197c0 r5:c02ca230 r4:c04582c4
[   24.777282] r3:c02ca230
[   24.780029] [<c02280d0>] (misc_open+0x0/0x1ec) from [<c00ac104>] (chrdev_open+0xbc/0x154)
[   24.788543]  r8:c7810e00 r7:00000000 r6:c78978c0 r5:c7b197c0 r4:c6831ba8
[   24.795379] r3:c02280d0
[   24.798126] [<c00ac048>] (chrdev_open+0x0/0x154) from [<c00a6e04>] (__dentry_open+0x218/0x2cc)
[   24.807128]  r7:c74aa498 r6:c7b197c0 r5:00000000 r4:00000000
[   24.813049] [<c00a6bec>] (__dentry_open+0x0/0x2cc) from [<c00a7cfc>] (nameidata_to_filp+0x68/0x70)
[   24.822418] [<c00a7c94>] (nameidata_to_filp+0x0/0x70) from [<c00b5114>] (do_last.clone.38+0xc4/0x6b4)
[   24.832031]  r7:00000026 r6:00000000 r5:000a0802 r4:c6971ed8
[   24.837951] [<c00b5050>] (do_last.clone.38+0x0/0x6b4) from [<c00b5800>] (path_openat+0xc0/0x398)
[   24.847106] [<c00b5740>] (path_openat+0x0/0x398) from [<c00b5be8>] (do_filp_open+0x34/0x88)
[   24.855834] [<c00b5bb4>] (do_filp_open+0x0/0x88) from [<c00a7dec>] (do_sys_open+0xe8/0x180)
[   24.864562]  r7:00000001 r6:0000000a r5:000a0802 r4:c7adf000
[   24.870483] [<c00a7d04>] (do_sys_open+0x0/0x180) from [<c00a7eac>] (sys_open+0x28/0x2c)
[   24.878845] [<c00a7e84>] (sys_open+0x0/0x2c) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
[   24.887481] ---[ end trace 1658f394046ec063 ]---
[   24.897735] ------------[ cut here ]------------
[   24.902618] WARNING: at drivers/gpio/gpiolib.c:1559 __gpio_get_value+0x64/0x68()
[   24.910308] Modules linked in:
[   24.913513] Backtrace: 
[   24.916076] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c042c588>] (dump_stack+0x18/0x1c)
[   24.924896]  r6:c0540e14 r5:00000617 r4:00000000 r3:c060fb08
[   24.930816] [<c042c570>] (dump_stack+0x0/0x1c) from [<c003de3c>] (warn_slowpath_common+0x5c/0x6c)
[   24.940063] [<c003dde0>] (warn_slowpath_common+0x0/0x6c) from [<c003de70>] (warn_slowpath_null+0x24/0x2c)
[   24.950073]  r8:00000001 r7:00000000 r6:00000000 r5:000000fd r4:c78bfbf0
[   24.956878] r3:00000009
[   24.959625] [<c003de4c>] (warn_slowpath_null+0x0/0x2c) from [<c01e9a40>] (__gpio_get_value+0x64/0x68)
[   24.969268] [<c01e99dc>] (__gpio_get_value+0x0/0x68) from [<c02cd7c8>] (gpio_mouse_scan+0xc0/0x120)
[   24.978698]  r5:c79df800 r4:c060e638
[   24.982452] [<c02cd708>] (gpio_mouse_scan+0x0/0x120) from [<c02c9be0>] (input_open_polled_device+0x40/0x50)
[   24.992614]  r7:00000000 r6:c79df980 r5:c79ee208 r4:c79f0ec0
[   24.998535] [<c02c9ba0>] (input_open_polled_device+0x0/0x50) from [<c02c7914>] (input_open_device+0x7c/0xac)
[   25.008789]  r4:c79df800 r3:c02c9ba0
[   25.012542] [<c02c7898>] (input_open_device+0x0/0xac) from [<c02ca1ac>] (mousedev_open_device+0x6c/0xf0)
[   25.022430]  r7:c063b038 r6:00000000 r5:c79ee23c r4:c79ee200
[   25.028350] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca224>] (mousedev_open_device+0xe4/0xf0)
[   25.038513]  r8:00000001 r7:c063b038 r6:00000000 r5:c79d223c r4:c79ee200
[   25.045349] r3:00000000
[   25.048095] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca31c>] (mousedev_open+0xec/0x144)
[   25.057708]  r8:c7b2ec00 r7:c79d2248 r6:c79d2200 r5:c7b197c0 r4:c063b038
[   25.064544] r3:c7b2ec08
[   25.067291] [<c02ca230>] (mousedev_open+0x0/0x144) from [<c0228240>] (misc_open+0x170/0x1ec)
[   25.076110]  r8:c6831ba8 r7:c062f390 r6:c7b197c0 r5:c02ca230 r4:c04582c4
[   25.082916] r3:c02ca230
[   25.085662] [<c02280d0>] (misc_open+0x0/0x1ec) from [<c00ac104>] (chrdev_open+0xbc/0x154)
[   25.094207]  r8:c7810e00 r7:00000000 r6:c78978c0 r5:c7b197c0 r4:c6831ba8
[   25.101043] r3:c02280d0
[   25.103759] [<c00ac048>] (chrdev_open+0x0/0x154) from [<c00a6e04>] (__dentry_open+0x218/0x2cc)
[   25.112762]  r7:c74aa498 r6:c7b197c0 r5:00000000 r4:00000000
[   25.118682] [<c00a6bec>] (__dentry_open+0x0/0x2cc) from [<c00a7cfc>] (nameidata_to_filp+0x68/0x70)
[   25.128021] [<c00a7c94>] (nameidata_to_filp+0x0/0x70) from [<c00b5114>] (do_last.clone.38+0xc4/0x6b4)
[   25.137664]  r7:00000026 r6:00000000 r5:000a0802 r4:c6971ed8
[   25.143585] [<c00b5050>] (do_last.clone.38+0x0/0x6b4) from [<c00b5800>] (path_openat+0xc0/0x398)
[   25.152770] [<c00b5740>] (path_openat+0x0/0x398) from [<c00b5be8>] (do_filp_open+0x34/0x88)
[   25.161499] [<c00b5bb4>] (do_filp_open+0x0/0x88) from [<c00a7dec>] (do_sys_open+0xe8/0x180)
[   25.170196]  r7:00000001 r6:0000000a r5:000a0802 r4:c7adf000
[   25.176116] [<c00a7d04>] (do_sys_open+0x0/0x180) from [<c00a7eac>] (sys_open+0x28/0x2c)
[   25.184478] [<c00a7e84>] (sys_open+0x0/0x2c) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
[   25.193115] ---[ end trace 1658f394046ec064 ]---
[   25.203552] ------------[ cut here ]------------
[   25.208404] WARNING: at drivers/gpio/gpiolib.c:1559 __gpio_get_value+0x64/0x68()
[   25.216156] Modules linked in:
[   25.219360] Backtrace: 
[   25.221954] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c042c588>] (dump_stack+0x18/0x1c)
[   25.230743]  r6:c0540e14 r5:00000617 r4:00000000 r3:c060fb08
[   25.236694] [<c042c570>] (dump_stack+0x0/0x1c) from [<c003de3c>] (warn_slowpath_common+0x5c/0x6c)
[   25.245971] [<c003dde0>] (warn_slowpath_common+0x0/0x6c) from [<c003de70>] (warn_slowpath_null+0x24/0x2c)
[   25.255950]  r8:00000001 r7:00000000 r6:00000000 r5:000000fe r4:c78bfbf0
[   25.262786] r3:00000009
[   25.265502] [<c003de4c>] (warn_slowpath_null+0x0/0x2c) from [<c01e9a40>] (__gpio_get_value+0x64/0x68)
[   25.275146] [<c01e99dc>] (__gpio_get_value+0x0/0x68) from [<c02cd7dc>] (gpio_mouse_scan+0xd4/0x120)
[   25.284576]  r5:c79df800 r4:c060e638
[   25.288330] [<c02cd708>] (gpio_mouse_scan+0x0/0x120) from [<c02c9be0>] (input_open_polled_device+0x40/0x50)
[   25.298492]  r7:00000000 r6:c79df980 r5:c79ee208 r4:c79f0ec0
[   25.304443] [<c02c9ba0>] (input_open_polled_device+0x0/0x50) from [<c02c7914>] (input_open_device+0x7c/0xac)
[   25.314697]  r4:c79df800 r3:c02c9ba0
[   25.318420] [<c02c7898>] (input_open_device+0x0/0xac) from [<c02ca1ac>] (mousedev_open_device+0x6c/0xf0)
[   25.328308]  r7:c063b038 r6:00000000 r5:c79ee23c r4:c79ee200
[   25.334259] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca224>] (mousedev_open_device+0xe4/0xf0)
[   25.344421]  r8:00000001 r7:c063b038 r6:00000000 r5:c79d223c r4:c79ee200
[   25.351257] r3:00000000
[   25.354003] [<c02ca140>] (mousedev_open_device+0x0/0xf0) from [<c02ca31c>] (mousedev_open+0xec/0x144)
[   25.363616]  r8:c7b2ec00 r7:c79d2248 r6:c79d2200 r5:c7b197c0 r4:c063b038
[   25.370422] r3:c7b2ec08
[   25.373199] [<c02ca230>] (mousedev_open+0x0/0x144) from [<c0228240>] (misc_open+0x170/0x1ec)
[   25.381988]  r8:c6831ba8 r7:c062f390 r6:c7b197c0 r5:c02ca230 r4:c04582c4
[   25.388824] r3:c02ca230
[   25.391571] [<c02280d0>] (misc_open+0x0/0x1ec) from [<c00ac104>] (chrdev_open+0xbc/0x154)
[   25.400085]  r8:c7810e00 r7:00000000 r6:c78978c0 r5:c7b197c0 r4:c6831ba8
[   25.406921] r3:c02280d0
[   25.409667] [<c00ac048>] (chrdev_open+0x0/0x154) from [<c00a6e04>] (__dentry_open+0x218/0x2cc)
[   25.418640]  r7:c74aa498 r6:c7b197c0 r5:00000000 r4:00000000
[   25.424591] [<c00a6bec>] (__dentry_open+0x0/0x2cc) from [<c00a7cfc>] (nameidata_to_filp+0x68/0x70)
[   25.433929] [<c00a7c94>] (nameidata_to_filp+0x0/0x70) from [<c00b5114>] (do_last.clone.38+0xc4/0x6b4)
[   25.443572]  r7:00000026 r6:00000000 r5:000a0802 r4:c6971ed8
[   25.449493] [<c00b5050>] (do_last.clone.38+0x0/0x6b4) from [<c00b5800>] (path_openat+0xc0/0x398)
[   25.458679] [<c00b5740>] (path_openat+0x0/0x398) from [<c00b5be8>] (do_filp_open+0x34/0x88)
[   25.467376] [<c00b5bb4>] (do_filp_open+0x0/0x88) from [<c00a7dec>] (do_sys_open+0xe8/0x180)
[   25.476104]  r7:00000001 r6:0000000a r5:000a0802 r4:c7adf000
[   25.482025] [<c00a7d04>] (do_sys_open+0x0/0x180) from [<c00a7eac>] (sys_open+0x28/0x2c)
[   25.490386] [<c00a7e84>] (sys_open+0x0/0x2c) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
[   25.499023] ---[ end trace 1658f394046ec065 ]---
[   25.511077] ------------[ cut here ]------------
[   25.515930] WARNING: at drivers/gpio/gpiolib.c:1559 __gpio_get_value+0x64/0x68()
[   25.523681] Modules linked in:
[   25.526855] Backtrace: 
[   25.529449] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c042c588>] (dump_stack+0x18/0x1c)
[   25.538238]  r6:c0540e14 r5:00000617 r4:00000000 r3:c060fb08
[   25.544189] [<c042c570>] (dump_stack+0x0/0x1c) from [<c003de3c>] (warn_slowpath_common+0x5c/0x6c)
[   25.553436] [<c003dde0>] (warn_slowpath_common+0x0/0x6c) from [<c003de70>] (warn_slowpath_null+0x24/0x2c)
[   25.563446]  r8:c02c9bf0 r7:00000000 r6:c68a8000 r5:000000fb r4:c78bfbf0
[   25.570251] r3:00000009
[   25.572998] [<c003de4c>] (warn_slowpath_null+0x0/0x2c) from [<c01e9a40>] (__gpio_get_value+0x64/0x68)
[   25.582641] [<c01e99dc>] (__gpio_get_value+0x0/0x68) from [<c02cd72c>] (gpio_mouse_scan+0x24/0x120)
[   25.592071]  r5:c79df800 r4:c060e638
[   25.595825] [<c02cd708>] (gpio_mouse_scan+0x0/0x120) from [<c02c9c0c>] (input_polled_device_work+0x1c/0x28)
[   25.605987]  r7:00000000 r6:c68a8000 r5:c7814000 r4:c79f0ec0
[   25.611938] [<c02c9bf0>] (input_polled_device_work+0x0/0x28) from [<c00508d0>] (process_one_work+0x124/0x384)
[   25.622283]  r4:c7b01780 r3:60000013
[   25.626007] [<c00507ac>] (process_one_work+0x0/0x384) from [<c0052748>] (worker_thread+0x15c/0x330)
[   25.635467] [<c00525ec>] (worker_thread+0x0/0x330) from [<c0056760>] (kthread+0x90/0x94)
[   25.643920] [<c00566d0>] (kthread+0x0/0x94) from [<c0040ebc>] (do_exit+0x0/0x67c)
[   25.651733]  r6:c0040ebc r5:c00566d0 r4:c7953ee0
[   25.656555] ---[ end trace 1658f394046ec066 ]---
[   25.663726] ------------[ cut here ]------------
[   25.668548] WARNING: at drivers/gpio/gpiolib.c:1559 __gpio_get_value+0x64/0x68()
[   25.676300] Modules linked in:
[   25.679504] Backtrace: 
[   25.682067] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c042c588>] (dump_stack+0x18/0x1c)
[   25.690887]  r6:c0540e14 r5:00000617 r4:00000000 r3:c060fb08
[   25.696807] [<c042c570>] (dump_stack+0x0/0x1c) from [<c003de3c>] (warn_slowpath_common+0x5c/0x6c)
[   25.706085] [<c003d

static struct gpio_mouse_platform_data hejlij_mouse_gpio_data = {
.polarity = GPIO_MOUSE_POLARITY_ACT_LOW,
{
{
.up = GPIO_EXP1_P6,
.down = GPIO_EXP1_P5,
.left = GPIO_EXP1_P4,
.right = GPIO_EXP1_P7,
.bleft = GPIO_EXP1_P3,
.bmiddle = GPIO_EXP1_P0,
.bright = GPIO_EXP1_P1,
},
},
.scan_ms = 10,
};

static struct platform_device hejlij_mouse_gpio_device = {
.name = "gpio_mouse",
.id = 0,
.dev = {
.platform_data = &hejlij_mouse_gpio_data,
},
};
static void gpio_mouse_init(void)
{
int err;
err = platform_device_register(&hejlij_mouse_gpio_device);
if (err)
pr_err("GPIO Mouse init failed\n");

}

 

Regards

Balaji

  • Hi Balaji,

    I can see the following from the log you provided:

    [   20.322235] g_mass_storage: disagrees about version of symbol module_layout
    FATAL: Error inserting g_mass_storage (/lib/modules/3.2.0/kernel/drivers/usb/gadget/g_mass_storage.ko): Invalid module format

    Most probably this means that the versions of your .ko files and the running kernel are not the same. Please make sure that the modules are built in the same kernel tree used to build the uImage file. You can run "modinfo <path_to_module_file>.ko" and check the "vermagic" string. It shows what options were used to build the module. These options must match between the module and the running kernel.

    Best regards,
    Miroslav