serio subsystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
   I was trying to make a driver for a touchscreen but was stuck in
these problems:

1. I thought the serio subsystem is much like the parport subsystem,
where the subsystem calls the driver's 'attach' function upon
registeration of the driver, giving it a reference to each unclaimed
parport device. But when i register a serio driver, the subsystem
does'nt call the 'connect' function of my driver.

2. I could verify that my touchscreen is working on ttyS2 using 'cat
/dev/ttyS2'. So i registered an interrupt handler on irq 4 in my
driver. But that never gets called no mater what i do with the screen.
I also tried all other irq's (though i was'nt allowed to register 2/3
of them).

   Anyone around with experience of serio subsystem who would like to
help/guide me?

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux