On Thu, 21 Feb 2008, Pioz wrote:
> I have a problem.
> I want handle the keyboard interrupt and for this purpose I have write
> this module (I have kernel 2.6.23):
[ ... ]
> res = request_irq (1, irq_myhandler, IRQF_SHARED, "bao", dev_id);
[ ... ]
> The return value of request_irq() func
Pioz wrote:
Hi all,
I have a problem.
I want handle the keyboard interrupt and for this purpose I have write
this module (I have kernel 2.6.23):
#include
#include
#include
[...]
irqreturn_t
irq_myhandler (int irqn, void *dev)
{
printk (KERN_INFO "Key pressed...\n");
retur
Hi all,
I have a problem.
I want handle the keyboard interrupt and for this purpose I have write
this module (I have kernel 2.6.23):
#include
#include
#include
[...]
irqreturn_t
irq_myhandler (int irqn, void *dev)
{
printk (KERN_INFO "Key pressed...\n");
return IRQ_HANDLED;
3 matches
Mail list logo