linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Keyboard for HTC-Dream
@ 2010-08-07 11:07 David Lanzendörfer
  2010-08-16  5:55 ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: David Lanzendörfer @ 2010-08-07 11:07 UTC (permalink / raw)
  To: linux-arm-kernel

heyo
how hard would it be to introduce a keyboard driver into for-next from dwalkers kernel branch?
https://www.codeaurora.org/gitweb/quic/kernel/?p=dwalker/linux-msm.git;a=shortlog;h=refs/heads/for-next
Would be cool, to have such a thing, then we would already have basic functionality needed to debug.
(dmesg from terminal and so on)

best regards
	leviathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100807/2add2cc1/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Keyboard for HTC-Dream
  2010-08-07 11:07 Keyboard for HTC-Dream David Lanzendörfer
@ 2010-08-16  5:55 ` Pavel Machek
  2010-09-03 15:01   ` David Lanzendörfer
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2010-08-16  5:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat 2010-08-07 13:07:32, David Lanzend?rfer wrote:
> heyo
> how hard would it be to introduce a keyboard driver into for-next from dwalkers kernel branch?
> https://www.codeaurora.org/gitweb/quic/kernel/?p=dwalker/linux-msm.git;a=shortlog;h=refs/heads/for-next
> Would be cool, to have such a thing, then we would already have basic functionality needed to debug.
> (dmesg from terminal and so on)

Matrix driver should be capable of doing that... and look into
staging, IIRC the driver is there.



-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Keyboard for HTC-Dream
  2010-08-16  5:55 ` Pavel Machek
@ 2010-09-03 15:01   ` David Lanzendörfer
  2010-09-03 15:44     ` Gregory Bean
  0 siblings, 1 reply; 5+ messages in thread
From: David Lanzendörfer @ 2010-09-03 15:01 UTC (permalink / raw)
  To: linux-arm-kernel

Hi
Following thing:
I've now imported board-trout-keypad.c from android kernel
and modded the includepaths to make it build.
It also shows me over already running usb ethernet
over dmesg, that the GPIO matrix gets loaded but.
Following occurs:
--------dmesg--------
[   24.800000] gpiomatrix: set_irq_wake failed for input 42, irq 106
[   24.810000] gpiomatrix: set_irq_wake failed for input 41, irq 105
[   24.810000] gpiomatrix: set_irq_wake failed for input 40, irq 104
[   24.820000] gpiomatrix: set_irq_wake failed for input 39, irq 103
[   24.830000] gpiomatrix: set_irq_wake failed for input 38, irq 102
[   24.840000] gpiomatrix: set_irq_wake failed for input 37, irq 101
[   24.850000] gpiomatrix: set_irq_wake failed for input 36, irq 100
[   24.860000] GPIO Matrix Keypad Driver: Start keypad matrix for trout-keypad-qwertz in interrupt mode
[   24.870000] setting trigger mode 3 for irq 84 failed (msm_gpio_irq_set_type+0x0/0x118)
[   24.880000] gpio_event_input_request_irqs: request_irq failed for input 20, irq 84
[   24.890000] GPIO Input Driver: Start gpio inputs for trout-keypad-qwertz in polling mode
[   24.900000] GPIO Input Driver: Start gpio inputs for trout-keypad-qwertz in polling mode
[   24.910000] input: trout-keypad-qwertz as /devices/virtual/input/input0
------------------------
And as soon as I try to type something, the kernel totaly freezes.

Any idea?

best regards
	leviathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100903/aa7613f1/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Keyboard for HTC-Dream
  2010-09-03 15:01   ` David Lanzendörfer
@ 2010-09-03 15:44     ` Gregory Bean
  2010-09-03 17:30       ` David Lanzendörfer
  0 siblings, 1 reply; 5+ messages in thread
From: Gregory Bean @ 2010-09-03 15:44 UTC (permalink / raw)
  To: linux-arm-kernel

> [   24.870000] setting trigger mode 3 for irq 84 failed (msm_gpio_irq_set_type+0x0/0x118)

You're using an older submission of gpiolib which doesn't support 
dual-edge IRQs.  That one has been scrapped in favor of the one from 
android's 2.6.35-wip branch. It hasn't been accepted yet, and is 
currently being discussed on the mailing lists.  If you search the 
mailing list archives from the past two weeks you'll find the patches.

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Keyboard for HTC-Dream
  2010-09-03 15:44     ` Gregory Bean
@ 2010-09-03 17:30       ` David Lanzendörfer
  0 siblings, 0 replies; 5+ messages in thread
From: David Lanzendörfer @ 2010-09-03 17:30 UTC (permalink / raw)
  To: linux-arm-kernel

>You're using an older submission of gpiolib which doesn't support 
>dual-edge IRQs.  That one has been scrapped in favor of the one from 
>android's 2.6.35-wip branch. It hasn't been accepted yet, and is 
>currently being discussed on the mailing lists.  If you search the 
>mailing list archives from the past two weeks you'll find the patches.
Thx a lot!
I'll try it.
With keyboard+touchscreen+wheel and usbethernet I'll have something
which will GNUtoo to help me port the rest of the drivers I guess ^_^

big thanks and best regards
	leviathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100903/c2fd3dde/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-03 17:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-07 11:07 Keyboard for HTC-Dream David Lanzendörfer
2010-08-16  5:55 ` Pavel Machek
2010-09-03 15:01   ` David Lanzendörfer
2010-09-03 15:44     ` Gregory Bean
2010-09-03 17:30       ` David Lanzendörfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).