how does v4l2 driver communicate a frequency lock to mythtv

2010-04-02 Thread Bee Hock Goh
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

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

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

2010-04-02 Thread Bee Hock Goh
, 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

Help needed in understanding v4l2_device_call_all

2010-04-07 Thread Bee Hock Goh
Hi, I am trying to understand how the subdev function are triggered when I use v4l2_device_call_all(dev-v4l2_dev, 0, tuner, g_tuner,t) on tm600-video. How am i able to link the callback from the tuner_xc2028 function? Please help me to understand or directly me to any documentation that I can

[PATCH] TM6000: Fix code which cause memory corruption

2010-04-07 Thread Bee Hock Goh
code was doing malloc when buf is null causing memory corruption. The analog part is still pretty much broken but at least fixing this will stop it from crashing the machine when streamon. Signed-off-by: Bee Hock Goh beeh...@gmail.com diff -r 7c0b887911cf linux/drivers/staging/tm6000/tm6000

tm6000: Patch that will fixed analog video (tested on tm5600)

2010-04-21 Thread Bee Hock Goh
Dear all, Anyone who have a tm6000 compatible analog device, please do try out this patch. Its working for me on a tm5600 using mplayer. It can be compile against the latest hg tree. diff -r a539e5b68945 linux/drivers/staging/tm6000/tm6000-video.c ---

Re: tm6000: Patch that will fixed analog video (tested on tm5600)

2010-04-22 Thread Bee Hock Goh
, George Tellalov gtella...@bigfoot.com wrote: On Thu, Apr 22, 2010 at 01:14:39PM +0800, Bee Hock Goh wrote: Dear all, Anyone who have a tm6000 compatible analog device, please do try out this patch. Its working for me on a tm5600 using mplayer. It can be compile against the latest hg tree

Re: Help needed in understanding v4l2_device_call_all

2010-04-22 Thread Bee Hock Goh
, addr, msgs[i].buf[0], 151 msgs[i].buf + 1, msgs[i].len - 1); 152 153 if (addr == dev-tuner_addr 1) { 154 tm6000_set_reg(dev, 0x32, 0,0); 155 tm6000_set_reg(dev, 0x33, 0,0); On Fri, Apr 23, 2010 at 4:35 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Bee Hock Goh wrote: Hi, I am trying

Re: [PATCH] tm6000 fix i2c

2010-04-23 Thread Bee Hock Goh
I am still able to watch tv after applying the patch but the return code is bad and is causing unnecessary reloading of the same firmwares. [ 2482.599040] usb 1-1: firmware: requesting tm6000-xc3028.fw [ 2482.607229] xc2028 2-0061: Loading 77 firmware images from tm6000-xc3028.fw, type: xc2028

Re: Help needed in understanding v4l2_device_call_all

2010-04-23 Thread Bee Hock Goh
So do you mean its required for tm6010 to set the registers? On Fri, Apr 23, 2010 at 11:23 PM, Stefan Ringel stefan.rin...@arcor.de wrote: Am 23.04.2010 04:20, schrieb Bee Hock Goh: Mauro, Thanks. Previously, I have done some limited test and it seem that xc2028_signal seem to be getting

[PATCH 1/2] tm6000 : Add additional GPIO for UT821 during frmware loading

2010-04-25 Thread Bee Hock Goh
Signed-off-by: Bee Hock Goh beeh...@gmail.com diff --git a/drivers/staging/tm6000/tm6000-cards.c b/drivers/staging/tm6000/tm6000-cards.c index f795a3e..ced8fce 100644 --- a/drivers/staging/tm6000/tm6000-cards.c +++ b/drivers/staging/tm6000/tm6000-cards.c @@ -349,6 +349,22 @@ int

[PATCH 2/2] tm6000 : Fix filling up of buffer for video frame

2010-04-25 Thread Bee Hock Goh
Avoid(until there is a better fix) cleaning up of buffer as it will cause partital green screen when there are frame dropped. Fix video line couting corruption when cmd is not a video packet. Signed-off-by: Bee Hock Goh beeh...@gmail.com diff --git a/drivers/staging/tm6000/tm6000-video.c b

Re: [PATCH] tm6000 fix i2c

2010-04-26 Thread Bee Hock Goh
thanks. This is work fine on my tm5600. btw, can you use the git tree? There is some codes update from Stefan there for the tm6000-i2c that is still not sync with hg. On Mon, Apr 26, 2010 at 8:25 AM, Dmitri Belimov d.beli...@gmail.com wrote: Hi Rework last I2C patch. Set correct limit for

Re: [PATCH] tm6000 fix i2c

2010-04-27 Thread Bee Hock Goh
wiki is your best friend. :) http://www.linuxtv.org/wiki/index.php/Maintaining_Git_trees http://www.linuxtv.org/wiki/index.php/Using_a_git_driver_development_tree On Tue, Apr 27, 2010 at 1:15 PM, Dmitri Belimov d.beli...@gmail.com wrote: On Mon, 26 Apr 2010 20:58:24 +0800 Bee Hock Goh beeh

Re: tm6000

2010-04-28 Thread Bee Hock Goh
its working fine on my tm5600. Run fine for more than 5mins without crashing. But it does crashed everytime when its playing on the first channel and I switch channel in mythtv. I am waiting for usb/serial cable to arrive from ebay to find out why. I hope to work on the audio part though. On

Re: [PATCH] tm6000: Properly set alternate when preparing to stream

2010-04-28 Thread Bee Hock Goh
is getting the better alternates, it is not really using it. Get the interface/alternate numbers and use it where needed. This patch implements also one small fix at the last_line set, as proposed by Bee Hock Goh beh...@gmail.com. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com

[PATCH] tm6000: Prevent Kernel Oops changing channel when stream is still on.

2010-05-01 Thread Bee Hock Goh
do a streamoff before setting standard to prevent kernel oops by irq_callback if changing of channel is done while streaming is still on-going. Signed-off-by: Bee Hock Goh beeh...@gmail.com diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c index c53de47

Re: [PATCH] Fix colorspace on tm6010

2010-05-03 Thread Bee Hock Goh
lot of good changes to tm6000. Unfortunately, I am not able to test any of this at the moment. Git not working for me anymore as 2.6.33 insist to freeze my machine on boot. Reverting to hg does not work as well after my upgrade to lucid. :) Apparently, its now complain about invalid module

Re: [git:v4l-dvb/master] V4L/DVB: tm6000: Fix a panic if buffer become NULL

2010-05-03 Thread Bee Hock Goh
be produced by an application that is not fast enough to request new video buffers. The same bug were reported by Bee Hock Goh beeh...@gmail.com. Thanks-to: Bee Hock Goh beeh...@gmail.com for reporting the bug Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com  drivers/staging/tm6000/tm6000

Re: [PATCH] Fix colorspace on tm6010

2010-05-03 Thread Bee Hock Goh
, May 4, 2010 at 7:47 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Bee Hock Goh wrote: lot of good changes to tm6000. Unfortunately, I am not able to test any of this at the moment. Git not working for me anymore as 2.6.33 insist to freeze my machine on boot. Reverting to hg does

Re: [PATCH] Rework for support xc5000

2010-05-04 Thread Bee Hock Goh
There does not seem to be any radio support in the tm6000 codes. tun_setup.mode_mask |= (T_ANALOG_TV | T_RADIO); Is the T_RADIO mode still required since this is a cleanup? On Wed, May 5, 2010 at 6:53 AM, Dmitri Belimov d.beli...@gmail.com wrote: Hi Set correct GPIO number for

Re: tm6000

2010-05-04 Thread Bee Hock Goh
Did you comment off the code in the get_next_buff that clear the previous frame data? On Wed, May 5, 2010 at 12:50 PM, Dmitri Belimov d.beli...@gmail.com wrote: Hi At this moment I can start mplayer and see green field with some junk without crash. Info from mplayer - received 497 frames,

Re: tm6000

2010-05-05 Thread Bee Hock Goh
If you do that you will get some decent looking video. On Wed, May 5, 2010 at 3:27 PM, Dmitri Belimov d.beli...@gmail.com wrote: On Wed, 5 May 2010 13:44:38 +0800 Bee Hock Goh beeh...@gmail.com wrote: Did you comment off the code in the get_next_buff that clear the previous frame data

Re: [PULL] http://linuxtv.org/hg/~anttip/af9015/

2010-05-05 Thread Bee Hock Goh
Simon, There is already a patch that will make af9105/tda18218 work. However, it seem that there is no active effort to merge with the mainstream code. I have been running that codes with mythtv(recording only) for quite a while and its working fine. https://patchwork.kernel.org/patch/82494/

Re: [PULL] http://linuxtv.org/hg/~anttip/af9015/

2010-05-05 Thread Bee Hock Goh
, Antti Palosaari cr...@iki.fi wrote: On 05/05/2010 03:36 PM, Bee Hock Goh wrote: There is already a patch that will make af9105/tda18218 work. However, it seem that there is no active effort to merge with the mainstream code. I have been running that codes with mythtv(recording only

Re: [PULL] http://linuxtv.org/hg/~anttip/af9015/

2010-05-05 Thread Bee Hock Goh
...@koala.ie wrote: On 05/05/2010 13:36, Bee Hock Goh wrote: Simon, There is already a patch that will make af9105/tda18218 work. However, it seem that there is no active effort to merge with the mainstream code. I have been running that codes with mythtv(recording only) for quite a while

Re: [PULL] http://linuxtv.org/hg/~anttip/af9015/

2010-05-05 Thread Bee Hock Goh
Use the attached firmware which work well for me. An earlier firmware will hung the stick and this version fixed that issue. On Wed, May 5, 2010 at 10:07 PM, Bee Hock Goh beeh...@gmail.com wrote: You need to follow this link: http://ubuntuforums.org/showthread.php?p=8936585 If you download

Re: [PULL] http://linuxtv.org/hg/~anttip/af9015/

2010-05-05 Thread Bee Hock Goh
On Wed, May 5, 2010 at 10:13 PM, Bee Hock Goh beeh...@gmail.com wrote: Use the attached firmware which work well for me. An earlier firmware will hung the stick and this version fixed that issue. On Wed, May 5, 2010 at 10:07 PM, Bee Hock Goh beeh...@gmail.com wrote: You need to follow

Re: [PULL] http://linuxtv.org/hg/~anttip/af9015/

2010-05-06 Thread Bee Hock Goh
the necessary approval to use the codes for merging. On Wed, May 5, 2010 at 10:40 PM, Simon Kenyon si...@koala.ie wrote: On 05/05/2010 15:07, Bee Hock Goh wrote: You need to follow this link: http://ubuntuforums.org/showthread.php?p=8936585 If you download the correct version of the antti

Re: [PATCH] tm6000: bugfix image position

2010-05-07 Thread Bee Hock Goh
Stefan, This fix the ugly green line on the top. btw, do you notice that there seem to be black gap on the left and right of the screen? On Fri, May 7, 2010 at 11:46 PM, Stefan Ringel stefan.rin...@arcor.de wrote: Am 07.05.2010 17:29, schrieb stefan.rin...@arcor.de: From: Stefan Ringel

Re: [PATCH 2/2] tm6000: add extension

2010-05-27 Thread Bee Hock Goh
Stefan, Did you have a kernel opps while loading the tm6000-alsa? regards, Hock. On Tue, May 11, 2010 at 12:22 AM, stefan.rin...@arcor.de wrote: From: Stefan Ringel stefan.rin...@arcor.de add extension add module init over tm6000 extension Signed-off-by: Stefan Ringel

Re: Fwd: [PATCH] V4L/DVB: New NXP tda18218 tuner

2010-05-29 Thread Bee Hock Goh
Hi Lauris, thanks for the reply. I am just a user. :) As you are the original driver developer, it would great if you could endorsed/ack the patch sent by Nikola. thanks, Hock. On Sun, May 30, 2010 at 12:07 AM, Lauris Ding ld...@gmx.de wrote: On 29.05.2010 11:39, Bee Hock Goh wrote: Dear

Re: [patch] Staging: tm6000: fix problem in alsa init

2010-06-17 Thread Bee Hock Goh
Dan, The lastest codes under the tm6000 branch created by Maruo have no reference to idx in tm6000_audio_init. Also if you use the latest tree, the audio extension is initiated. Only issue now is that the there is no continuous audio data. regards, Hock. On Thu, Jun 17, 2010 at 8:06 PM, Dan

Re: Fwd: [PATCH] V4L/DVB: New NXP tda18218 tuner

2010-06-17 Thread Bee Hock Goh
Can someone share what is the process to get a patch into the mainstream codes? It been quite a while already and its still been review. Seem like a waste if this patch disappear again just like the previous time when it was submitted long ago. On Sun, May 30, 2010 at 8:22 AM, Bee Hock Goh beeh

Re: Status of the patches under review at LMML (60 patches)

2010-07-06 Thread Bee Hock Goh
I know that a couple of users(including) tested the patch to be working. Many users(from forum) is still looking for tda18218 support or have been using a very old hg changeset using another patch also written by Nikola. I have been using that old change set for many months and its working well

modprobe em28xx failed for MSI Vox II USB

2010-02-22 Thread Bee Hock Goh
Hope that someone can help me. OS : Ubuntu Karmic Desktop i386 PC : Thinkpad X60(only testing as I will be running on Asrock ION box) I have a MSI Vox II USB stick and trying to make it work on Ubuntu. Followed the steps(http://www.linuxtv.org/wiki/index.php/Em28xx_devices) in compiling the

Re: modprobe em28xx failed for MSI Vox II USB

2010-02-23 Thread Bee Hock Goh
Carlos, Thanks for the reply. Actually your usb stick is MSI TV VOX 8609 USB 2.0 which look quite different from my MSI Vox II USB. Since there is already support for MSI VOX USB 2.0. I was hoping that it will be a quick win to get Vox II supported. Hopefully someone will be able to develop a

Re: modprobe em28xx failed for MSI Vox II USB

2010-02-23 Thread Bee Hock Goh
Just open up the USB stick and discovered that the video chip is Trident TM5600 and tuner is Xceive XC2028. Any help? On Tue, Feb 23, 2010 at 4:29 PM, Bee Hock Goh beeh...@gmail.com wrote: Carlos, Thanks for the reply. Actually your usb stick is MSI TV VOX 8609 USB 2.0 which look quite

Development of TM6000

2010-02-24 Thread Bee Hock Goh
Hi Mauro, From what I have gather so far, it seem that you are the only person who might still be keen in the continue development of TM6000 driver. Apparently, I saw that you are also pretty much occupied with other works at hand. I have recently bought a USB stick(MSI Vox II) that have the