Re: how does v4l2 driver communicate a frequency lock to mythtv

2010-04-02 Thread Devin Heitmueller
On Fri, Apr 2, 2010 at 9:48 AM, Bee Hock Goh beeh...@gmail.com wrote:
 Dear all,

 i have been doing some usb snoop and making some changes to the
 existing staging tm6000 to get my tm5600/xc2028 usb stick to work.
 Thanks to a lot of help from Stefan, I have some limited success and
 is able to get mythtv to do channel scan. However, mythtv is not able
 to logon to the channel even though usbmon shown the same in/out using
 usbmon and snoop on the stick windows application.

 Where should I be looking at to inform that a channel is to be locked?

For most applications, the G_TUNER call must set the response struct
v4l2_tuner's signal field to a nonzero value.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: how does v4l2 driver communicate a frequency lock to mythtv

2010-04-02 Thread Bee Hock Goh
Thanks a lot for your advice! I will look into the g_tuner and signal function.

On Fri, Apr 2, 2010 at 9:59 PM, Devin Heitmueller
dheitmuel...@kernellabs.com wrote:
 On Fri, Apr 2, 2010 at 9:48 AM, Bee Hock Goh beeh...@gmail.com wrote:
 Dear all,

 i have been doing some usb snoop and making some changes to the
 existing staging tm6000 to get my tm5600/xc2028 usb stick to work.
 Thanks to a lot of help from Stefan, I have some limited success and
 is able to get mythtv to do channel scan. However, mythtv is not able
 to logon to the channel even though usbmon shown the same in/out using
 usbmon and snoop on the stick windows application.

 Where should I be looking at to inform that a channel is to be locked?

 For most applications, the G_TUNER call must set the response struct
 v4l2_tuner's signal field to a nonzero value.

 Devin

 --
 Devin J. Heitmueller - Kernel Labs
 http://www.kernellabs.com

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: how does v4l2 driver communicate a frequency lock to mythtv

2010-04-02 Thread Bee Hock Goh
Hi Devin,

I have introduced   t-signal = 0x; /* LOCKED */ on
tm6000-video.c(vidioc_g_tuner) and mythtv indeed can locked the
channel.

xc2028_signal is showing the correct signal strength information. How
can i call get_rf_strength to set the t-signal from vidioc_g_tuner?

thanks,
 Hock.

On Fri, Apr 2, 2010 at 9:59 PM, Devin Heitmueller
dheitmuel...@kernellabs.com wrote:
 On Fri, Apr 2, 2010 at 9:48 AM, Bee Hock Goh beeh...@gmail.com wrote:
 Dear all,

 i have been doing some usb snoop and making some changes to the
 existing staging tm6000 to get my tm5600/xc2028 usb stick to work.
 Thanks to a lot of help from Stefan, I have some limited success and
 is able to get mythtv to do channel scan. However, mythtv is not able
 to logon to the channel even though usbmon shown the same in/out using
 usbmon and snoop on the stick windows application.

 Where should I be looking at to inform that a channel is to be locked?

 For most applications, the G_TUNER call must set the response struct
 v4l2_tuner's signal field to a nonzero value.

 Devin

 --
 Devin J. Heitmueller - Kernel Labs
 http://www.kernellabs.com

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html