All of lore.kernel.org
 help / color / mirror / Atom feed
* Keyboard for HTC-Dream
@ 2010-08-07 11:07 ` David Lanzendörfer
  0 siblings, 0 replies; 14+ messages in thread
From: David Lanzendörfer @ 2010-08-07 11:07 UTC (permalink / raw)
  To: linux-arm-kernel, linux-arm-msm

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Keyboard for HTC-Dream
@ 2010-08-07 11:07 ` David Lanzendörfer
  0 siblings, 0 replies; 14+ 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] 14+ messages in thread

* Re: Keyboard for HTC-Dream
  2010-08-07 11:07 ` David Lanzendörfer
@ 2010-08-16  5:55   ` Pavel Machek
  -1 siblings, 0 replies; 14+ messages in thread
From: Pavel Machek @ 2010-08-16  5:55 UTC (permalink / raw)
  To: David Lanzend?rfer; +Cc: linux-arm-kernel, linux-arm-msm

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] 14+ messages in thread

* Keyboard for HTC-Dream
@ 2010-08-16  5:55   ` Pavel Machek
  0 siblings, 0 replies; 14+ 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] 14+ messages in thread

* Re: Keyboard for HTC-Dream
  2010-08-16  5:55   ` Pavel Machek
  (?)
@ 2010-08-17 14:12   ` David Lanzendörfer
  -1 siblings, 0 replies; 14+ messages in thread
From: David Lanzendörfer @ 2010-08-17 14:12 UTC (permalink / raw)
  To: linux-arm-msm

[-- Attachment #1: Type: Text/Plain, Size: 479 bytes --]

>Matrix driver should be capable of doing that... and look into
>staging, IIRC the driver is there.
Hmm. Ok. Thx!
Then it's just not initialised on bootup?
Because there's nothing happening, when I'm try'n to type root into "login:"
(I know dumb error description... Sry,)
Well then I'll tinker around, as soon as all my examina are done.
(7 examina. All two days I write one. => 3 weeks no time)
Thx a lot for your help!
I'll report results here, when I've got some.

leviathan

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

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

[-- Attachment #1: Type: Text/Plain, Size: 1416 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Keyboard for HTC-Dream
@ 2010-09-03 15:01     ` David Lanzendörfer
  0 siblings, 0 replies; 14+ 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] 14+ messages in thread

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

> [   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] 14+ messages in thread

* Keyboard for HTC-Dream
@ 2010-09-03 15:44       ` Gregory Bean
  0 siblings, 0 replies; 14+ 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] 14+ messages in thread

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

[-- Attachment #1: Type: Text/Plain, Size: 561 bytes --]

>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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Keyboard for HTC-Dream
@ 2010-09-03 17:30         ` David Lanzendörfer
  0 siblings, 0 replies; 14+ 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] 14+ messages in thread

* Re: Keyboard for HTC-Dream
  2010-09-03 15:44       ` Gregory Bean
  (?)
  (?)
@ 2010-09-03 17:55       ` David Lanzendörfer
  2010-09-03 18:44         ` Gregory Bean
  2010-09-14 20:51         ` Daniel Walker
  -1 siblings, 2 replies; 14+ messages in thread
From: David Lanzendörfer @ 2010-09-03 17:55 UTC (permalink / raw)
  To: linux-arm-msm

[-- Attachment #1: Type: Text/Plain, Size: 353 bytes --]

Hi
It's me again
Problem: I'm bit confused.
There are multiple possible patchsets available in the mailbox
More confusing: The ones I tried seem to collide with older patches
from yourself, which are already in codeauroras for-next repo.
Could you please point me to the right patch by subject (commit/mbox-name) or so?

Thx and best regards
	leviathan

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: Keyboard for HTC-Dream
  2010-09-03 17:55       ` David Lanzendörfer
@ 2010-09-03 18:44         ` Gregory Bean
  2010-09-14 20:51         ` Daniel Walker
  1 sibling, 0 replies; 14+ messages in thread
From: Gregory Bean @ 2010-09-03 18:44 UTC (permalink / raw)
  To: David Lanzendörfer; +Cc: linux-arm-msm

> There are multiple possible patchsets available in the mailbox
> More confusing: The ones I tried seem to collide with older patches
> from yourself, which are already in codeauroras for-next repo.
> Could you please point me to the right patch by subject (commit/mbox-name) or so?

There is a sequence of patches you will need if you want them to apply 
cleanly.  I have just verified it against the head of 
git://codeaurora.org/quic/kernel/dwalker/linux-msm.git for-next. 
Subject lines are (from newest to oldest):

[PATCH 1/2 v2] msm: Install the Google-Android gpio driver.
[PATCH] msm: Featurize gpiomux.
[PATCH 5/5 v4] msm: gpio: Remove tlmm routines obsoleted by gpiomux.
[PATCH 4/5 v4] msm: convert 7x30 to gpiomux.
[PATCH 3/5 v4] msm: convert 8x50 to gpiomux.
[PATCH 2/5 v4] msm: documentation: add gpiomux documentation.
[PATCH 1/5 v4] msm: add gpiomux api for gpio multiplex & configuration.

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

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

* Re: Keyboard for HTC-Dream
  2010-09-03 17:55       ` David Lanzendörfer
  2010-09-03 18:44         ` Gregory Bean
@ 2010-09-14 20:51         ` Daniel Walker
  1 sibling, 0 replies; 14+ messages in thread
From: Daniel Walker @ 2010-09-14 20:51 UTC (permalink / raw)
  To: David Lanzendörfer; +Cc: linux-arm-msm

On Fri, 2010-09-03 at 19:55 +0200, David Lanzendörfer wrote:
> Hi
> It's me again
> Problem: I'm bit confused.
> There are multiple possible patchsets available in the mailbox
> More confusing: The ones I tried seem to collide with older patches
> from yourself, which are already in codeauroras for-next repo.
> Could you please point me to the right patch by subject (commit/mbox-name) or so?

The patches for gpiolib (which I think is that Greg mentioned to you)
are in my for-next branch as of right now.

Daniel
-- 

Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.


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

end of thread, other threads:[~2010-09-14 20:52 UTC | newest]

Thread overview: 14+ 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-07 11:07 ` David Lanzendörfer
2010-08-16  5:55 ` Pavel Machek
2010-08-16  5:55   ` Pavel Machek
2010-08-17 14:12   ` David Lanzendörfer
2010-09-03 15:01   ` David Lanzendörfer
2010-09-03 15:01     ` David Lanzendörfer
2010-09-03 15:44     ` Gregory Bean
2010-09-03 15:44       ` Gregory Bean
2010-09-03 17:30       ` David Lanzendörfer
2010-09-03 17:30         ` David Lanzendörfer
2010-09-03 17:55       ` David Lanzendörfer
2010-09-03 18:44         ` Gregory Bean
2010-09-14 20:51         ` Daniel Walker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.