further touchscreen / keyboard issues in the newest cvs version

From: Daniel Steen <dsteen_at_fusemail.com>
Date: Sun, 04 Feb 2007 00:48:11 -0500

Hi all,

So it seems that the new touchscreen stuff interferes with the keyboard
module for the h4350. A few days ago the h4000_defconfig file in CVS
did not include support for the touchscreen. When I compiled from CVS
the keyboard worked as usual. However when I then went back and
included the 2 lines for touchscreen support - CONFIG_INPUT_TOUCHSCREEN
and CONFIG_TOUCHSCREEN_ADS7846_SSP the keyboard no longer worked. I
figured I had done something wrong, but Paul has since released a new
version of the defconfig file, and it has the same problem. I have
included the output from dmesg at the end of this email. I have noticed
four interesting things. The first is that when I load the keyboard
module the keys light up on button press, but no input is recieved (this
is true reguardless of whether I am in opie or the terminal). The
second is that after I unload the module the keys still light up on
keypress even though the output of lsmod does not show the module
present (though they don't before the module is loaded for the first
time). The third is that each time the module is loaded it increments
the inputX number that is used (it starts at /dev/input/input3, and goes
up from there). And the fourth is that the output of lsmod when the
module is loaded does not show that it is in use.

Thanks,
Daniel Steen

P.S. I have included the entire output of dmesg. The kbd stuff is at
the bottom.

d/or Craig's HOWTO is recommended, visit http://acx100.sf.net in case of
further questions/discussion
acx: compiled to use 32bit I/O access. I/O timing issues might occur,
such as non-working firmware upload. Report them
running on a little-endian CPU
PCI module v0.3.35 initialized, waiting for cards to probe...
DiskOnChip found at 0x0
NAND device: Manufacturer ID: 0x98, Chip ID: 0x75 (Toshiba NAND 32MiB
3,3V 8-bit)
Found DiskOnChip BNAND Media Header at 0x18000
    bootRecordID = BNAND
    NoOfBootImageBlocks = 0
    NoOfBinaryPartitions = 1
    NoOfBDTLPartitions = 2
    BlockMultiplerBits = 0
    FormatFlgs = 1
    OsakVersion = 5.2.0.0
    PercentUsed = 98
    PARTITION[0] ->
        virtualUnits = 8
        firstUnit = 4
        lastUnit = 11
        flags = 0x20000000
        spareUnits = 0
    PARTITION[1] ->
        virtualUnits = 896
        firstUnit = 13
        lastUnit = 910
        flags = 0x40000000
        spareUnits = 2
    PARTITION[2] ->
        virtualUnits = 92
        firstUnit = 928
        lastUnit = 1023
        flags = 0xc0000000
        spareUnits = 2
mtd: Giving out device 0 to DiskOnChip Millennium Plus
Creating 3 MTD partitions on "DiskOnChip Millennium Plus":
0x00020000-0x00060000 : " DiskOnChip BDK partition"
mtd: Giving out device 1 to DiskOnChip BDK partition
0x00068000-0x01c78000 : " DiskOnChip BDTL partition"
mtd: Giving out device 2 to DiskOnChip BDTL partition
0x01d00000-0x02000000 : " DiskOnChip BDTL partition"
mtd: Giving out device 3 to DiskOnChip BDTL partition
pxa2xx_udc: version 4-May-2005
PM: Adding info for No Bus:gadget
ether gadget: using random self ethernet address
usb0: Ethernet Gadget, version: May Day 2005
usb0: using pxa2xx_udc, OUT ep2out-bulk IN ep1in-bulk
usb0: MAC 6a:0e:78:52:95:db
input: gpio-keys as /class/input/input0
asic3_irq_demux: interrupt processing overrun
input: asic3-keys as /class/input/input1
input: ads7846 as /class/input/input2
i2c /dev entries driver
pccard: PCMCIA card inserted into slot 0
PM: Adding info for No Bus:i2c-0
I2C: i2c-0: PXA I2C adapter
min dma period: 1372168 ps, new clock 398100 kHz
min dma period: 1372168 ps, new clock 398100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.13 (Tue Nov 28
14:07:24 2006 UTC).
SACR0 = 0x8805, SADIV = 0xd
PM: Adding info for i2c:0-001a
PM: Adding info for platform:h4000 Audio
ALSA sound/arm/pxa2xx-i2sound.c:949: PXA2xx i2Sound: h4000 Audio activated
ALSA device list:
  #0: iPAQ h4000 Audio [codec Philips UDA1380]
TCP cubic registered
NET: Registered protocol family 1
IrCOMM protocol (Dag Brattli)
asic3_mmc: ASIC3 MMC/SD Driver, controller at 0x10000000
PM: Adding info for mmc:mmc0:0f7d
mmcblk0: mmc0:0f7d SD01G 1006080KiB
 mmcblk0: p1 p2
IP-Config: Complete:
      device=usb0, addr=192.168.0.202, mask=255.255.255.0, gw=192.168.0.1,
     host=ipaq, domain=, nis-domain=(none),
     bootserver=192.168.0.1, rootserver=192.168.0.1, rootpath=
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 104K
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
NET: Registered protocol family 10
ADDRCONF(NETDEV_UP): usb0: link is not ready
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
sirdev_get_instance - ttyS1
irtty_open - ttyS1: irda line discipline opened
irlap_change_speed(), setting speed to 9600
ds: ds_open(socket 0)
pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
pcmcia: This interface will soon be removed from the kernel; please
expect breakage unless you upgrade to new tools.
pcmcia: see
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
ds: ds_open(socket 1)
ds: ds_open(socket 1)
2.6. kernels use pcmciamtd instead of memory_cs.c and do not require special
MTD handling any more.
LCD initialization delay: 0
ds: ds_open(socket 0)
ds: ds_open(socket 0)
IRQ handler type mismatch for IRQ 158
current handler: Record button
[<c0026dac>] (dump_stack+0x0/0x14) from [<c005ba40>] (setup_irq+0x1bc/0x1e0)
[<c005b884>] (setup_irq+0x0/0x1e0) from [<c005bc3c>] (request_irq+0xac/0xc8)
 r8 = BF0585A8 r7 = 00000040 r6 = BF0582B8 r5 = 0000009E
 r4 = C3601FA0
[<c005bb90>] (request_irq+0x0/0xc8) from [<bf05b124>]
(h4300_kbd_probe+0x124/0x1b0 [h4300_kbd])
[<bf05b000>] (h4300_kbd_probe+0x0/0x1b0 [h4300_kbd]) from [<c01393f4>]
(platform_drv_probe+0x20/0x24)
 r7 = BF058F40 r6 = 00000000 r5 = C3601B40 r4 = C02A0DC8
[<c01393d4>] (platform_drv_probe+0x0/0x24) from [<c0137290>]
(really_probe+0x84/0x128)
[<c013720c>] (really_probe+0x0/0x128) from [<c0137418>]
(driver_probe_device+0xbc/0xd4)
[<c013735c>] (driver_probe_device+0x0/0xd4) from [<c0137560>]
(__driver_attach+0x80/0xe0)
 r7 = BF058F40 r6 = C01374E0 r5 = C02A0DC8 r4 = C02A0E9C
[<c01374e0>] (__driver_attach+0x0/0xe0) from [<c0136588>]
(bus_for_each_dev+0x50/0x84)
 r5 = C27DFE4C r4 = 00000000
[<c0136538>] (bus_for_each_dev+0x0/0x84) from [<c01375e0>]
(driver_attach+0x20/0x28)
 r7 = C02B11AC r6 = BF058F54 r5 = BF058F40 r4 = 00000000
[<c01375c0>] (driver_attach+0x0/0x28) from [<c0136bd4>]
(bus_add_driver+0x60/0x188)
[<c0136b74>] (bus_add_driver+0x0/0x188) from [<c0137a5c>]
(driver_register+0x90/0x98)
[<c01379cc>] (driver_register+0x0/0x98) from [<c01394f4>]
(platform_driver_register+0x6c/0x88)
 r4 = C3252F9C
[<c0139488>] (platform_driver_register+0x0/0x88) from [<bf05b1c4>]
(h4300_kbd_init+0x14/0x1c [h4300_kbd])
[<bf05b1b0>] (h4300_kbd_init+0x0/0x1c [h4300_kbd]) from [<c0058140>]
(sys_init_module+0x1484/0x155c)
[<c0056cbc>] (sys_init_module+0x0/0x155c) from [<c0022d60>]
(ret_fast_syscall+0x0/0x2c)
IRQ handler type mismatch for IRQ 1
current handler: Power button
[<c0026dac>] (dump_stack+0x0/0x14) from [<c005ba40>] (setup_irq+0x1bc/0x1e0)
[<c005b884>] (setup_irq+0x0/0x1e0) from [<c005bc3c>] (request_irq+0xac/0xc8)
 r8 = BF0585B8 r7 = 00000040 r6 = BF058348 r5 = 00000001
 r4 = C3601FA0
[<c005bb90>] (request_irq+0x0/0xc8) from [<bf05b168>]
(h4300_kbd_probe+0x168/0x1b0 [h4300_kbd])
[<bf05b000>] (h4300_kbd_probe+0x0/0x1b0 [h4300_kbd]) from [<c01393f4>]
(platform_drv_probe+0x20/0x24)
 r7 = BF058F40 r6 = 00000000 r5 = C3601B40 r4 = C02A0DC8
[<c01393d4>] (platform_drv_probe+0x0/0x24) from [<c0137290>]
(really_probe+0x84/0x128)
[<c013720c>] (really_probe+0x0/0x128) from [<c0137418>]
(driver_probe_device+0xbc/0xd4)
[<c013735c>] (driver_probe_device+0x0/0xd4) from [<c0137560>]
(__driver_attach+0x80/0xe0)
 r7 = BF058F40 r6 = C01374E0 r5 = C02A0DC8 r4 = C02A0E9C
[<c01374e0>] (__driver_attach+0x0/0xe0) from [<c0136588>]
(bus_for_each_dev+0x50/0x84)
 r5 = C27DFE4C r4 = 00000000
[<c0136538>] (bus_for_each_dev+0x0/0x84) from [<c01375e0>]
(driver_attach+0x20/0x28)
 r7 = C02B11AC r6 = BF058F54 r5 = BF058F40 r4 = 00000000
[<c01375c0>] (driver_attach+0x0/0x28) from [<c0136bd4>]
(bus_add_driver+0x60/0x188)
[<c0136b74>] (bus_add_driver+0x0/0x188) from [<c0137a5c>]
(driver_register+0x90/0x98)
[<c01379cc>] (driver_register+0x0/0x98) from [<c01394f4>]
(platform_driver_register+0x6c/0x88)
 r4 = C3252F9C
[<c0139488>] (platform_driver_register+0x0/0x88) from [<bf05b1c4>]
(h4300_kbd_init+0x14/0x1c [h4300_kbd])
[<bf05b1b0>] (h4300_kbd_init+0x0/0x1c [h4300_kbd]) from [<c0058140>]
(sys_init_module+0x1484/0x155c)
[<c0056cbc>] (sys_init_module+0x0/0x155c) from [<c0022d60>]
(ret_fast_syscall+0x0/0x2c)
input: HP iPAQ h4300 keyboard driver as /class/input/input3
Trying to free already-free IRQ 1
Trying to free already-free IRQ 158
Trying to free already-free IRQ 125
Received on Sun Feb 04 2007 - 00:48:15 EST

This archive was generated by hypermail 2.2.0 : Sun Feb 04 2007 - 00:48:36 EST