On Friday 23 October 2009 09:45:53 m7aalton wrote: > Hi. > > I have written a driver for the TI WL1273 FM Radio but it's not yet > quite ready for up-streaming because of its interface. Now I've started > to change the interface to v4l2 and I'm following Eduardo Valentin's > Si4713 TX driver as an example. However, WL1273 radio has RX and TX so > there are things that Eduardo's driver doesn't cover. For example: the > driver needs a mode switch for switching between TX and RX. Should that > be implemented as an extended control or should there be a new IOCTL > added to the v4l2 API? etc... So if I understand this correctly, then this device can only transmit or receive, but not both at the same time? If that's the case, then I wonder if it isn't enough to let it depend on whether VIDIOC_S_AUDOUT or VIDIOC_S_AUDIO was called last. > Also I've added some things to the ivtv-radio tool. Should I try to > "up-stream" those as well? Perhaps we should take the opportunity to merge this tool as v4l2-radio into the v4l2-apps/util directory of the master v4l-dvb repository. It would be really nice if it can be used to test the transmitter features and RDS receiver as well, i.e. extending and improving this tool. I like having such fairly low-level and easy to debug utilities. They are a great tool to verify the proper functioning of hardware like this. Regards, Hans -- Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html