Re: gpio-keys sync messages

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

 



Hi
your mean you press key one time. the userspace program output more then 
two line.(should one line for press. one line for release)

what is your userspace program code?

you should look into your CPU data sheet. is the GPIO init correct.

Matze wrote:
> Hello,
> I have some doubts about the gpio-keys behaviour.
> inside the gpio_keys_isr for every EV_KEY occured there will also a EV_SYN
> created. What for?
> I've a userspace program reading the /dev/input/event0 device in a loop and
> printing event, code and value to the shell. So I observe that sometimes
> there occur more than one EV_SYN for one EV_KEY. Where are they created?
> My output looks e.g. like this:
> Type 1 Code 11 Value 1
> Type 0 Code 0 Value 0
> Type 0 Code 0 Value 0
> Type 0 Code 0 Value 0
> Type 0 Code 0 Value 0
> Type 0 Code 0 Value 0
> Type 1 Code 11 Value 0
> Type 0 Code 0 Value 0
> Regards,
> Matthias
> 
> -- 
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
> 


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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