On Fri, Jan 20, 2023 at 3:06 PM Naidoo, Vernon <Vernon.Naidoo@xxxxxxxxxxxxx> wrote: > > Good day, > > I'm porting some code that currently uses the gpiod_line_event_wait_bulk command, however, the new platform has the gpio spread out across multiple gpiochips. Is there a way to achieve the same functionality when waiting for events on multiple gpiochips? > > Best Regards, > Vernon Naidoo You can get the associated file descriptor for each line with gpiod_line_event_get_fd() and poll all of them together using poll, select, epoll, etc. Bart