Re: [PATCH v2 00/10] add linux driver for chip TLG2300

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

 




No, I don't meant that.

The differences of FM radio standards are basically the preemphasis and the
frequency ranges.

For frequency ranges, V4L2_TUNER_RADIO allows specifying the maximum/minimum values.

For preemphasis, you should implement V4L2_CID_TUNE_PREEMPHASIS ctrl. This
CTRL has 3 states:

         static const char *tune_preemphasis[] = {
                 "No preemphasis",
                 "50 useconds",
                 "75 useconds",
                 NULL,
         };

At v4l2-common.c, there are some functions that helps to implement it
at the driver, like:
	v4l2_ctrl_get_menu, v4l2_ctrl_get_name and v4l2_ctrl_query_fill.
I meet a problem now. :(

Even I add the ctrl to the tlg2300 driver, there is no application to
test it :

[1] The Mplayer do not check the ctrl except the "vulume " or "mute".
[2] I do  not know how to use the VLC to listen the radio with ALSA, I
tried many times, but failed. Does someone know this ?

Btw: I will be on my vacation for the following two weeks, I will come back to work at 20th of this month. I afraid I can not finish the patches to remove the
country code in the two days(today and tomorrow).


Take a look at si4713-i2c.c for an example on how to use it.

Ah, please submit those changes as another series of patches. This helps me
to not needing to review the entire changeset again.

Cheers,
Mauro

Best Regards
Huang Shijie

--
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

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux