Skip to contentSkip to conversation

bttv-gpio.c

DISCUSSION Augusto Destrero 1 participant 1 message Oct 14, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,
I'm trying to understand how to control GPIOs on a bt878 card, as described in this earlier post:

http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/39342

I came across the file bttv-gpio.c in drivers/media/video/bt8xx, and the starting comment seems what I'm looking for:

"sysfs-based sub driver interface for bttv mainly intented for gpio access"

But I cannot understand how to enable this sysfs based access. Is there a kernel configuration somewhere? Where the gpios are supposed to show up in /sys?

Thank you in advance for your help and excuse me if my question is trivial.

Signature · 1 line
Augusto Destrero, PhD