Re: How is gpio_keys.ko supposed to work?

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

 



Jerry Zhang <jerry.scofield@xxxxxxxxx> wrote:

> The entry will only be created after the "Driver" probes the "Device"
> successfully. In your case, you need to be sure the corresponding
> platform_device is claimed in your board setup code.

What does claiming the device actually mean? Do I really need to
hardcode the GPIOs where buttons are connected at compile time?

This would not be a very good idea for a User configurable board like
Raspberry Pi.

I actually thought that I could configure the gpios where buttons are
connected at runtime using sysfs, depending on the actual hardware
setup in use.

Sven

-- 
"Das Einzige wovor wir Angst haben müssen ist die Angst selbst"
						(Franklin D. Roosevelt)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





[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