[PATCH] xc5000: fix incorrect debug printnk

2013-03-12 Thread Dmitri Belimov
Hello I found very small bag in xc5000 source. When set option debug=1 and listen a radio we see in dmesg xc5000: xc_SetTVStandard() Standard = M/N-NTSC/PAL-BTSC at all time. But true value is "FM Radio-INPUT1_MONO". It happens because in function xc5000_set_radio_freq get correct value Vide

Re: [PATCH] Fix tm6010 audio

2011-11-24 Thread Dmitri Belimov
Hi > Em 07-11-2011 22:45, Dmitri Belimov escreveu: > > Hi > > > > I found why audio dosn't work for me and fix it. > > > > 2Stefan: > > The V4L2_STD_DK has V4L2_STD_SECAM_DK but not equal > > switch-case statement not worked >

Re: good programm for FM radio

2011-11-23 Thread Dmitri Belimov
mat=0x4011 [ 274.409230] ALSA sound/pci/hda/hda_codec.c:1400 > > hda_codec_setup_stream: NID=0x5, stream=0x5, channel=0, > > format=0x4011 [ 274.410454] tm6000 #0/1: starting capture > > [ 274.410456] tm6000 #0/1: Starting audio DMA > > > > start gnomeradio

Re: good programm for FM radio

2011-11-21 Thread Dmitri Belimov
With my best regards, Dmitry. On Thu, 17 Nov 2011 17:53:53 +0100 Stefan Ringel wrote: > Am 17.11.2011 03:29, schrieb Dmitri Belimov: > > Hi > > > > kradio from Debian Squeeze 0.1.1.1-20061112-4 with KDE 4.4.5 > > doesn't work. It wants V4L1 API. > > &g

Re: good programm for FM radio

2011-11-16 Thread Dmitri Belimov
pying 180 bytes at f8264000[180] - buf size=48000 x 4 > Am 15.11.2011 08:40, schrieb Dmitri Belimov: > > Hi > > > > Right now the gnomeradio don't work with tm6000 USB stick. No any > > audio. I try use this script: > > > > #!/bin/sh > > > >

good programm for FM radio

2011-11-14 Thread Dmitri Belimov
Hi Right now the gnomeradio don't work with tm6000 USB stick. No any audio. I try use this script: #!/bin/sh if [ -f /usr/bin/arecord ]; then arecord -q -D hw:1,0 -r 48000 -c 2 -f S16_LE | aplay -q - & fi if [ -f /usr/bin/gnomeradio ]; then gnomeradio -f 102.6 fi pid=`pidof arecord` if [ $pid

[PATCH] Fix tm6010 audio

2011-11-07 Thread Dmitri Belimov
Hi I found why audio dosn't work for me and fix it. 2Stefan: The V4L2_STD_DK has V4L2_STD_SECAM_DK but not equal switch-case statement not worked you can use if (dev->norm & V4L2_STD_DK) { } This patch fix this problem. Other, please don't remove any workarounds without important reason. Fo

Re: [PATCH] FM1216ME_MK3 AUX byte for FM mode

2011-10-26 Thread Dmitri Belimov
Hi Mauro I found TV card and test this patch. Audio is better. Please apply. With my best regards, Dmitry. > Hi Dmitri, > > Em 23-04-2009 02:40, Dmitri Belimov escreveu: > > Hi All > > > > Write AUX byte to FM1216ME_MK3 when FM mode, better sensitivity. It > >

saa7134 + xc5000 long time work

2011-09-27 Thread Dmitri Belimov
Hi One of our customers report me about a strange bug. They use our TV card with DVB-T for capture a DVB-T signal and transmit it to his network. TV card based on saa7134, xc5000, zl10353. Main problem is: after 30 day of 24h working TV card can't lock a DVB-T signal. After rebooting all is norm

Re: [PATCH] FM1216ME_MK3 AUX byte for FM mode

2011-09-27 Thread Dmitri Belimov
Hi Mauro Need apply this patch. I test it for compile only right now I haven't TV cards with 1216ME_MK3. I was send ask on our forum for test. With my best regards, Dmitry. > Hi Dmitri, > > Em 23-04-2009 02:40, Dmitri Belimov escreveu: > > Hi All > > > > Wri

Re: [PATCH] FM1216ME_MK3 AUX byte for FM mode

2011-09-20 Thread Dmitri Belimov
Hi Mauro Sure. I'll do it ASAP With my best regards, Dmitry. > Hi Dmitri, > > Em 23-04-2009 02:40, Dmitri Belimov escreveu: > > Hi All > > > > Write AUX byte to FM1216ME_MK3 when FM mode, better sensitivity. It > > can be usefull for other tuners. >

Re: [linux-dvb] XC4000 patches for kernel 2.6.37.2

2011-06-02 Thread Dmitri Belimov
On Thu, 02 Jun 2011 11:41:53 -0300 Mauro Carvalho Chehab wrote: > Em 02-06-2011 07:52, Devin Heitmueller escreveu: > > 2011/5/31 Dmitri Belimov : > >> Is it possible make some patches and add support xc4000 into > >> kernel? > >> > >> With my best r

Re: [linux-dvb] XC4000 patches for kernel 2.6.37.2

2011-05-30 Thread Dmitri Belimov
Hi Devin > On Mon, May 30, 2011 at 10:48 PM, Dmitri Belimov > wrote: > > Hi > > > >> Hi Istvan > >> > >>       I am sending you modified patches for kernel 2.6.37.2, they > >> works as expected. > >> > >> First apply ke

Re: [linux-dvb] XC4000 patches for kernel 2.6.37.2

2011-05-30 Thread Dmitri Belimov
Hi > Hi Istvan > > I am sending you modified patches for kernel 2.6.37.2, they > works as expected. > > First apply kernel_xc4000.diff (your patch) then kernel_dtv3200h.diff > for Leadtek DTV3200 XC4000 support. Can you resend your patches with right Signed-Off string for commit into ker

Re: [PATCH] xc5000, fix fw upload crash

2011-05-24 Thread Dmitri Belimov
On Fri, 20 May 2011 19:22:29 -0300 Mauro Carvalho Chehab wrote: > Em 20-05-2011 10:04, Devin Heitmueller escreveu: > > On Friday, May 20, 2011, Dmitri Belimov wrote: > >> Hi Devin > >> > >> snip > >> > >>> NACK! > >>>

Re: [PATCH] xc5000, fix fw upload crash

2011-05-19 Thread Dmitri Belimov
Hi Devin snip > NACK! > > I don't think this patch is correct. Concurrency problems are > expected to be handled in the upper layers, as there are usually much > more significant problems than just this case. For example, if this > is a race between V4L2 and DVB, it is the responsibility of br

[PATCH] saa7134 add new TV cards

2011-05-16 Thread Dmitri Belimov
Hi Add new TV cards of Beholder Company. Just for autodetect. diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 61c6007..e98d38e 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c @

[PATCH] xc5000, fix fw upload crash

2011-05-16 Thread Dmitri Belimov
Hi Fix crash when init tuner and upload twice the firmware into xc5000 at the some time. diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c index aa1b2e8..a491a5b 100644 --- a/drivers/media/common/tuners/xc5000.c +++ b/drivers/media/common/tuners/xc5000.c @

Re: [PATCH v2] tm6000: fix vbuf may be used uninitialized

2011-04-14 Thread Dmitri Belimov
indented closing brace for > one of the sections touching vbuf that is conditional on !dev->radio. > > v2: add a detailed commit log and fix that brace > > CC: Dan Carpenter > CC: Dmitri Belimov > CC: de...@driverdev.osuosl.org > Signed-off-by: Jarod Wilson >

Re: [PATCH] tm6000: fix s-video input

2011-03-22 Thread Dmitri Belimov
Hi Stefan > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am 18.03.2011 01:08, schrieb Dmitri Belimov: > > Hi > > > > Add compatibility for composite and s-video inputs. Some TV cards > hasn't it. > > Fix S-Video input, the s-video cable

[PATCH] tm6000: fix s-video input

2011-03-17 Thread Dmitri Belimov
Hi Add compatibility for composite and s-video inputs. Some TV cards hasn't it. Fix S-Video input, the s-video cable has only video signals no audio. Call the function of audio configure kill chroma in signal. only b/w video. Known bugs: after s-video the audio for radio didn't work, TV crashed

[PATCH] tm6000: add audio conf for new cards

2011-02-28 Thread Dmitri Belimov
Hi Add configuration of an audio for our new TV cards. diff --git a/drivers/staging/tm6000/tm6000-cards.c b/drivers/staging/tm6000/tm6000-cards.c index a356ba7..88144a1 100644 --- a/drivers/staging/tm6000/tm6000-cards.c +++ b/drivers/staging/tm6000/tm6000-cards.c @@ -324,6 +324,8 @@ struct tm600

tm6000 and radio

2011-02-16 Thread Dmitri Belimov
Hi All Now I have working radio for our TV cards based on tm6000 and xc5000. TV works too. After some time I'll send my changes for discuss here. With my best regards, Dmitry. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.ker

[PATCH] tm6000: add new TV cards of Beholder

2011-02-02 Thread Dmitri Belimov
Hi Add two new TV cards of Beholder. diff --git a/drivers/staging/tm6000/tm6000-cards.c b/drivers/staging/tm6000/tm6000-cards.c index 455038b..d25fd5e 100644 --- a/drivers/staging/tm6000/tm6000-cards.c +++ b/drivers/staging/tm6000/tm6000-cards.c @@ -50,6 +50,8 @@ #define TM6010_BOARD_BEHOLD_VOY

[PATCH] xc5000: add set_config and other

2011-02-01 Thread Dmitri Belimov
Hi Add one more radio input, usefull for tm6010 Add control output amplitude. Add set_config function for configure tuner when TV card hasn't dvb part. diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c index 76ac5cd..759f0cc 100644 --- a/drivers/media/commo

Re: [PATCH] tm6000: add/rework reg.defines

2011-01-20 Thread Dmitri Belimov
Hi Stefan > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 snip > > #define TM6010_REQ08_RF2_LEFT_CHANNEL_VOL 0x08, 0xf2 > > > > Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov > > > > > > > > With my best regards, Dmitry. > Dmitry, that are good news! And that anwers my questions. Now I

[PATCH] tm6000: add/rework reg.defines

2011-01-19 Thread Dmitri Belimov
Hi Rework registers defines. Add TM6000 specific registers defines. Add marks and comments for TM6010 specific registers. diff --git a/drivers/staging/tm6000/tm6000-regs.h b/drivers/staging/tm6000/tm6000-regs.h index 1f0ced8..5375a83 100644 --- a/drivers/staging/tm6000/tm6000-regs.h +++ b/driver

[PATCH] tm6000: rework init code

2011-01-12 Thread Dmitri Belimov
Hi Rework device init part. Move common code part to a function. Usefull for register multiple devices like video, radio, vbi etc. diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c index 8fe017c..4d866cc 100644 --- a/drivers/staging/tm6000/tm6000-video.c

[PATCH] tm6000: Fix mutex

2010-12-28 Thread Dmitri Belimov
Hi Fix never unlocked mutex. No more crash after removing USB stick. diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c index 8c897d7..96aed4a 100644 --- a/drivers/staging/tm6000/tm6000-core.c +++ b/drivers/staging/tm6000/tm6000-core.c @@ -722,5 +722,5 @@ vo

[PATCH] Rework and fix IR

2010-12-22 Thread Dmitri Belimov
Hi This patch didn't kill Stefan's remotes and just for upload my good part of code. 1. Add some code for show IR activity 2. Add filter for IR remotes 3. Split remotes to different types. 4. Fix stop interrupt pipe when isoc pipe started. When we decide general way of IR I'll add support our re

Re: tm6000 and IR

2010-12-19 Thread Dmitri Belimov
ace. For tm6000 don't need restore full scancode Only address filter scanmask = 0xff00ff00; return byte[1] << 24 | byte[0] <<8 With my best regards, Dmitry. > Hi Dmitri/Stefan, > > Em 17-12-2010 05:08, Dmitri Belimov escreveu: > > On Fri, 17 Dec 2010 06:18:31 +01

Re: tm6000 and IR

2010-12-16 Thread Dmitri Belimov
On Fri, 17 Dec 2010 06:18:31 +0100 Stefan Ringel wrote: > Am 17.12.2010 02:46, schrieb Dmitri Belimov: > > Hi Stefan > > > >> Am 16.12.2010 10:38, schrieb Dmitri Belimov: > >>> Hi > >>> > >>>>> I think your mean is wrong.

Re: tm6000 and IR

2010-12-16 Thread Dmitri Belimov
Hi Stefan > Am 16.12.2010 10:38, schrieb Dmitri Belimov: > > Hi > > > >>> I think your mean is wrong. Our IR remotes send extended NEC it is > >>> 4 bytes. We removed inverted 4 byte and now we have 3 bytes from > >>> remotes. I think we must h

Re: tm6000 and IR

2010-12-16 Thread Dmitri Belimov
Hi > > I think your mean is wrong. Our IR remotes send extended NEC it is > > 4 bytes. We removed inverted 4 byte and now we have 3 bytes from > > remotes. I think we must have full RCMAP with this 3 bytes from > > remotes. And use this remotes with some different IR recievers like > > some TV car

Re: tm6000 and IR

2010-12-15 Thread Dmitri Belimov
Hi Stefan > >> The nec initiation looks right and must adding code for > >> tm5600/6000 (going over message pipe). > > I haven't USB stick with tm5600/6000 for test. Need people with > > this TV cards. > > > then add a todo line. I'll do it. > >> rc5 need some code for tm6010 (for tm5600/6000 ar

Re: tm6000 and IR

2010-12-14 Thread Dmitri Belimov
Hi Stefan > Am 14.12.2010 04:23, schrieb Dmitri Belimov: > > Hi > > > > What about my last patch?? This is OK or bad? > > Our customers kick me every day with IR remotes. > > > > With my best regards, Dmitry. > I think, you use the second variant,

Re: tm6000 and IR

2010-12-13 Thread Dmitri Belimov
Hi What about my last patch?? This is OK or bad? Our customers kick me every day with IR remotes. With my best regards, Dmitry. -- 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.kerne

Re: tm6000 and IR

2010-12-08 Thread Dmitri Belimov
urned full scancode. 5. temporary removed usb_set_interface(dev->udev, This patch for discuss. If all is good I'll made a patch for git. With my best regards, Dmitry. > Am 08.12.2010 04:55, schrieb Dmitri Belimov: > > Hi Stefan > > > >> Am 06.12.2010 11:02, schr

Re: tm6000 and IR

2010-12-07 Thread Dmitri Belimov
Hi Stefan > Am 06.12.2010 11:02, schrieb Dmitri Belimov: > >>> > >>> Thank you. When I switched to this branch modules is not crash > >>> when USB removed. But disable IR over interrupt after start > >>> video/radio > >>> > &

Re: tm6000 and IR

2010-12-06 Thread Dmitri Belimov
Hi Stefan > Am 05.12.2010 17:09, schrieb Dmitri Belimov: > > Hi > > > >> Em 02-12-2010 02:41, Dmitri Belimov escreveu: > >>> Hi Stefan > >>> > >>>>>> Am 29.11.2010 09:44, schrieb Dmitri Belimov: > >>>>>>>

Re: tm6000 and IR

2010-12-05 Thread Dmitri Belimov
Hi > Em 02-12-2010 02:41, Dmitri Belimov escreveu: > > Hi Stefan > > > >>>> Am 29.11.2010 09:44, schrieb Dmitri Belimov: > >>>>> Hi > >>>>> > >>>>> I try add IR for our TV cards. > >>>>> Afte

Re: tm6000 and IR

2010-12-01 Thread Dmitri Belimov
Hi Stefan > >> Am 29.11.2010 09:44, schrieb Dmitri Belimov: > >>> Hi > >>> > >>> I try add IR for our TV cards. > >>> After my some changes IR is working. But when I remove USB stick > >>> from USB port > >> What

Re: tm6000 and IR

2010-11-30 Thread Dmitri Belimov
Hi Stefan > Am 29.11.2010 09:44, schrieb Dmitri Belimov: > > Hi > > > > I try add IR for our TV cards. > > After my some changes IR is working. But when I remove USB stick > > from USB port > What has you change? 1. Add vendor-specific init code for IR. 2. A

tm6000 and IR

2010-11-28 Thread Dmitri Belimov
Hi I try add IR for our TV cards. After my some changes IR is working. But when I remove USB stick from USB port modules crashed with dmesg [ 133.881750] tm6000: New video device @ 480 Mbps (6000:dec0, ifnum 0) [ 133.881759] tm6000: Found Beholder Wander DVB-T/TV/FM USB2.0 [ 134.343012] Board

[PATCH] saa7134 behold A7 and H7

2010-10-25 Thread Dmitri Belimov
Hi Fix autodetect for Behold A7 and H7 TV cards. diff -r abd3aac6644e linux/drivers/media/video/saa7134/saa7134-cards.c --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Fri Jul 02 00:38:54 2010 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Mon Oct 25 09:16:24 2010 +1000 @

Re: [PATCH] xc5000 and switch RF input

2010-10-13 Thread Dmitri Belimov
Hi > On Wed, Oct 13, 2010 at 5:30 PM, Dmitri Belimov > wrote: > > Hi > > > > Our TV card Behold X7 has two different RF input. This RF inputs > > can switch between different RF sources. > > > > ANT 1 for analog and digital TV > > ANT 2 for F

[PATCH] xc5000 and switch RF input

2010-10-13 Thread Dmitri Belimov
Hi Our TV card Behold X7 has two different RF input. This RF inputs can switch between different RF sources. ANT 1 for analog and digital TV ANT 2 for FM radio The switch controlled by zl10353. I add some defines for the tuner xc5000 and use tuner callback to saa7134 part. All works well. But

Re: [RFC PATCH] Audio standards on tm6000

2010-10-12 Thread Dmitri Belimov
Hi Stefan > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am 12.10.2010 20:28, schrieb Dmitri Belimov: > > Hi > > > >> Em 08-10-2010 16:03, Dmitri Belimov escreveu: > >>> Hi Mauro > >>> > >>> Not so good. Audio wi

Re: [RFC] Resource reservation for frontend - Was: Re: xc5000 and switch RF input

2010-10-11 Thread Dmitri Belimov
Hi Mauro > Em 07-10-2010 10:00, Dmitri Belimov escreveu: > > Hi > > > >> Em 06-10-2010 16:52, Dmitri Belimov escreveu: > >>> Hi > >>> > >>> Our TV card Behold X7 has two different RF input. This RF inputs > >>> can switch be

Re: [RFC PATCH] Audio standards on tm6000

2010-10-07 Thread Dmitri Belimov
Hi Mauro Not so good. Audio with this patch has bad white noise sometimes and bad quality. I try found better configuration for SECAM-DK. With my best regards, Dmitry. > Hi Dmitri, > > IMO, the better is to remove the audio init from tm6000-core and add > a separate per-standard set of tables.

Re: [RFC] Resource reservation for frontend - Was: Re: xc5000 and switch RF input

2010-10-06 Thread Dmitri Belimov
Hi > Em 06-10-2010 16:52, Dmitri Belimov escreveu: > > Hi > > > > Our TV card Behold X7 has two different RF input. This RF inputs > > can switch between different RF sources. > > > > ANT 1 for analog and digital TV > > ANT 2 for FM radio > >

xc5000 and switch RF input

2010-10-05 Thread Dmitri Belimov
Hi Our TV card Behold X7 has two different RF input. This RF inputs can switch between different RF sources. ANT 1 for analog and digital TV ANT 2 for FM radio The switch controlled by zl10353. How to I can control this switch? I found 2 way 1. Use tuner callback to saa1734. add some param

tm6000 and new TV card

2010-10-04 Thread Dmitri Belimov
Hi Some times a go I received mail from Yogesh S . He has TV card based on the tm5600 chip. His card is http://www.zebronics.net/Usb_tvtuners.asp and has USB ID as (vid:6000,pid:0001). This IDs already captured by 10MOONS_UT821 TV card. Who has the 10MOONS_UT821 TV card and can make some photos

Re: [PATCH v2] tm6000+audio

2010-09-26 Thread Dmitri Belimov
Hi > Em 23-09-2010 13:45, Dmitri Belimov escreveu: > > Hi > > > >> Em 20-09-2010 17:07, Dmitri Belimov escreveu: > >>> Hi > >>> > >>> I rework my last patch for audio and now audio works well. This > >>> patch can be s

Re: [PATCH v2] tm6000+audio

2010-09-22 Thread Dmitri Belimov
Hi > Em 20-09-2010 17:07, Dmitri Belimov escreveu: > > Hi > > > > I rework my last patch for audio and now audio works well. This > > patch can be submited to GIT tree Quality of audio now is good for > > SECAM-DK. For other standard I set some value f

Re: [PATCH v2] tm6000+audio

2010-09-20 Thread Dmitri Belimov
Hi Mauro > Hi Dmitri, > Em 20-09-2010 17:07, Dmitri Belimov escreveu: > > Hi > > > > I rework my last patch for audio and now audio works well. This > > patch can be submited to GIT tree Quality of audio now is good for > > SECAM-DK. For other standard

[PATCH v2] tm6000+audio

2010-09-19 Thread Dmitri Belimov
Hi I rework my last patch for audio and now audio works well. This patch can be submited to GIT tree Quality of audio now is good for SECAM-DK. For other standard I set some value from datasheet need some tests. 1. Fix pcm buffer overflow 2. Rework pcm buffer fill method 3. Swap bytes in audio

[PATCH] Fix regression for BeholdTV Columbus.

2010-08-23 Thread Dmitri Belimov
Hi Some time a go our customers wrote me about problem with our TV card BeholdTV Columbus. It's PCMCIA TV card for notebook. As I understand v4l has some regression with autodetect address of tuners. I can set incorrect I2C address and had report about detect tuner. No any TV of course. When I s

Re: [REGRESSION] saa7134 + ir

2010-06-14 Thread Dmitri Belimov
Hi Martin > This is not only a problem with saa7134, but also with other drivers > like budget-ci. The bug was also present in 2.6.35-rc1 I see this bug with 2.6.33 and fresh hg. > There have been several reports here in the list since a few weeks: > http://article.gmane.org/gmane.linux.drivers.

[REGRESSION] saa7134 + ir

2010-06-10 Thread Dmitri Belimov
Hi I have regression with our TV cards + I2C r/c and new IR subsystem. modules crashed [ 148.461819] Linux video capture interface: v2.00 [ 148.462768] IR NEC protocol handler initialized [ 148.482886] saa7130/34: v4l2 driver version 0.2.16 loaded [ 148.482925] saa7134 :04:01.0: PCI INT A

[PATCH] tm6000, video decoder fix

2010-06-01 Thread Dmitri Belimov
Hi Fix video decoder overflow when TV signal is lost. No more junk audio packets when TV signal is lost. diff -r 8f5129efe974 linux/drivers/staging/tm6000/tm6000-stds.c --- a/linux/drivers/staging/tm6000/tm6000-stds.cSun May 16 18:48:01 2010 -0300 +++ b/linux/drivers/staging/tm6000/tm600

tm6000, alsa

2010-05-25 Thread Dmitri Belimov
Hi Patches for review. Add new data structure list_head for many tm6000 cards. Rework tm6000-alsa. Comment some old code befor remove. Now tm6000-alsa not load when tm6000 start. Need load tm6000-alsa manualy [ 210.777562] tm6000: New video device @ 480 Mbps (6000:dec0, ifnum 0) [ 210.777566]

Re: [PATCH] xc5000, rework xc_write_reg

2010-05-24 Thread Dmitri Belimov
Hi Devin > On Tue, May 18, 2010 at 3:30 AM, Dmitri Belimov > wrote: > > Hi > > > > Rework xc_write_reg function for correct read register of the > > xc5000. It is very useful for tm6000. > > > > Tested for tm6000 and for saa7134 works well. >

tm6000

2010-05-18 Thread Dmitri Belimov
Hi tm6000 progress bar :-) At this moment I can watch TV with mplayer without sound. Our card based on the xc5000 and tm6010 It is possible with my last patch for xc5000 tuner. Next task is a sound, check init process and stds settings. P.S. Compile without support DVB-T frontend for our cards

[PATCH] xc5000, rework xc_write_reg

2010-05-18 Thread Dmitri Belimov
Hi Rework xc_write_reg function for correct read register of the xc5000. It is very useful for tm6000. Tested for tm6000 and for saa7134 works well. diff -r 8f5129efe974 linux/drivers/media/common/tuners/xc5000.c --- a/linux/drivers/media/common/tuners/xc5000.cSun May 16 18:48:01 2010 -

[PATCH] tm6000, reset I2C bus function

2010-05-18 Thread Dmitri Belimov
Hi Add new function for reset I2C bus. Rework some code for use this function. diff -r 8f5129efe974 linux/drivers/staging/tm6000/tm6000-cards.c --- a/linux/drivers/staging/tm6000/tm6000-cards.c Sun May 16 18:48:01 2010 -0300 +++ b/linux/drivers/staging/tm6000/tm6000-cards.c Tue May 1

Re: [PATCH] Rework for support xc5000

2010-05-05 Thread Dmitri Belimov
write complete driver. This for set T_RADIO Cleanup is tun_setup.mode_mask &= ~(T_RADIO) With my best regards, Dmitry. > On Wed, May 5, 2010 at 6:53 AM, Dmitri Belimov > wrote: > > Hi > > > > Set correct GPIO number for BEHOLD_WANDER/VOYAGER > > Add xc5000 call

Re: tm6000

2010-05-05 Thread Dmitri Belimov
On Wed, 5 May 2010 13:44:38 +0800 Bee Hock Goh wrote: > Did you comment off the code in the get_next_buff that clear the > previous frame data? No. Git tree + my last patch. With my best regards, Dmitry. > On Wed, May 5, 2010 at 12:50 PM, Dmitri Belimov > wrote: > >

tm6000

2010-05-04 Thread Dmitri Belimov
Hi At this moment I can start mplayer and see green field with some junk without crash. Info from mplayer - received 497 frames, drop 69 incorrect frames. Compile without support DVB-T for our cards. Now try understand init process working drivers and diff with linux. P.S. Linux kernel is 2.6

Re: [PATCH] tm6000, moving cards name defines

2010-05-04 Thread Dmitri Belimov
On Sun, 02 May 2010 13:32:00 -0300 Mauro Carvalho Chehab wrote: > Dmitri Belimov wrote: > > Hi > > > > Move TV cards name defines to better place header file. > > I prefer if we can keep having all board-specific stuff inside > tm6000-cards. We need know typ

[PATCH] Rework for support xc5000

2010-05-04 Thread Dmitri Belimov
Hi Set correct GPIO number for BEHOLD_WANDER/VOYAGER Add xc5000 callback function Small rework tm6000_cards_setup function Small rework tm6000_config_tuner, build mode_mask by config information Rework for support xc5000 silicon tuner Add some information messages for more better understand an err

tm6000

2010-04-27 Thread Dmitri Belimov
Hi Anyone can watch TV with tm6000 module?? I try mplayer. My PC crashed inside copy_streams function after some time. With my best regards, Dmitry. -- 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

Re: [PATCH] tm6000 fix i2c

2010-04-27 Thread Dmitri Belimov
rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR | + USB_RECIP_DEVICE, REQ_14_SET_GET_I2C_WR2_RDN, + addr, reg, buf, len); + } + + /* release mutex */ + return rc; } static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap, Signed-off-by: Beholde

Re: [PATCH] tm6000 fix i2c

2010-04-26 Thread Dmitri Belimov
h my best regards, Dmitry. > On Mon, Apr 26, 2010 at 8:25 AM, Dmitri Belimov > wrote: > > Hi > > > > Rework last I2C patch. > > Set correct limit for I2C packet. > > Use different method for the tm5600/tm6000 and tm6010 to read word. > > > > Try this

tuner XC5000 race condition??

2010-04-25 Thread Dmitri Belimov
Hi Sometimes tuner XC5000 crashed on boot. This PC is dual-core. It can be race condition or multi-core depend problem. Add mutex for solve this problem is correct? Crash boot dmesg [ 11.430108] Linux video capture interface: v2.00 [ 11.503411] saa7130/34: v4l2 driver version 0.2.15 loaded

Re: [PATCH] tm6000 fix i2c

2010-04-25 Thread Dmitri Belimov
Hi Rework last I2C patch. Set correct limit for I2C packet. Use different method for the tm5600/tm6000 and tm6010 to read word. Try this patch. diff -r 7c0b887911cf linux/drivers/staging/tm6000/tm6000-i2c.c --- a/linux/drivers/staging/tm6000/tm6000-i2c.c Mon Apr 05 22:56:43 2010 -0400 +++ b/lin

Re: [PATCH] tm6000 fix i2c

2010-04-25 Thread Dmitri Belimov
Hi It's my error. This code good only for tm6010. Now I rework my patch. With my best regards, Dmitry. > Am 23.04.2010 02:48, schrieb Dmitri Belimov: > > Hi > > > > Rework I2C for read word from connected devices, now it works well. > > Add new functions for re

Re: [PATCH] tm6000 fix i2c

2010-04-25 Thread Dmitri Belimov
d be 2) > [ 2571.553024] xc2028 2-0061: Unable to read tuner registers. > [ 2572.553103] Trident TVMaster TM5600/TM6000/TM6010 USB2 board (Load > status: 0) [ 2572.561090] tm6000: open called (dev=video0) > [ 2573.081022] Original value=96 > [ 2573.093037] tm6000: VIDIOC_QUERYCAP > [

[PATCH] tm6000 fix i2c

2010-04-22 Thread Dmitri Belimov
Hi Rework I2C for read word from connected devices, now it works well. Add new functions for read/write blocks. diff -r 7c0b887911cf linux/drivers/staging/tm6000/tm6000-i2c.c --- a/linux/drivers/staging/tm6000/tm6000-i2c.c Mon Apr 05 22:56:43 2010 -0400 +++ b/linux/drivers/staging/tm6000/tm6000-i

[RFC] saa7134 with many MPEG devices

2010-04-15 Thread Dmitri Belimov
Hi All Now saa7134 can work only with one MPEG device. For our new TV card need support two or many. I think we can rework this part. Rework struct saa7134_mpeg_ops as duble linked list add pointers to next and previose mops pointer. Add special function for call this devices. What you thinbk

[PATCH] tm6000, moving cards name defines

2010-04-14 Thread Dmitri Belimov
Hi Move TV cards name defines to better place header file. diff -r 7c0b887911cf linux/drivers/staging/tm6000/tm6000-cards.c --- a/linux/drivers/staging/tm6000/tm6000-cards.c Mon Apr 05 22:56:43 2010 -0400 +++ b/linux/drivers/staging/tm6000/tm6000-cards.c Wed Apr 14 11:18:03 2010 +10

saa7134 only one MPEG device

2010-04-11 Thread Dmitri Belimov
Hi Now saa7134 can support only one MPEG device. It can be MPEG2 encoder or DVB frontend. struct saa7134_dev->mops. But our TV card has two different MPEG devices: encoder and DVB frontend. I make some chandes for support both. But pointer to MPEG ops is only one. This is dmesh log with my chan

Re: [PATCH] Fix default state Beholder H6 tuner.

2010-04-11 Thread Dmitri Belimov
Hi Mauro > Em 01-04-2010 01:33, Dmitri Belimov escreveu: > > Hi Hermann > > > >> Hi Dimitry, > >> > >> Am Mittwoch, den 31.03.2010, 13:14 +1000 schrieb Dmitri Belimov: > >>> Hi Hermann > >>> > >>>> Hi, > >

[PATCH] Add support new TV cards

2010-04-05 Thread Dmitri Belimov
Hi Add support our new TV cards. diff -r 4ee1e97ba6ad linux/drivers/media/video/saa7134/saa7134-cards.c --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Apr 04 20:58:13 2010 -0400 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Apr 06 13:51:11 2010 +1000 @@ -5411,6 +5411

Re: [PATCH] Fix default state Beholder H6 tuner.

2010-03-31 Thread Dmitri Belimov
Hi Hermann > Hi Dimitry, > > Am Mittwoch, den 31.03.2010, 13:14 +1000 schrieb Dmitri Belimov: > > Hi Hermann > > > > > Hi, > > > > > > Am Dienstag, den 30.03.2010, 16:02 +1000 schrieb Dmitri Belimov: > > > > Hi > > > >

Re: [PATCH] Fix default state Beholder H6 tuner.

2010-03-30 Thread Dmitri Belimov
Hi Hermann > Hi, > > Am Dienstag, den 30.03.2010, 16:02 +1000 schrieb Dmitri Belimov: > > Hi > > > > The hybrid tuner FMD1216MEX_MK3 after cold start has disabled IF. > > This tuner has internal I2C switch. This switch switch I2C bus > > between DVB-T an

[PATCH] Fix default state Beholder H6 tuner.

2010-03-30 Thread Dmitri Belimov
Hi The hybrid tuner FMD1216MEX_MK3 after cold start has disabled IF. This tuner has internal I2C switch. This switch switch I2C bus between DVB-T and IF part. Default state is DVB-T. When module saa7134 is load it can't find IF tda9887 and disable analog TV mode. This patch set internal I2C swi

MPEG2 encoder uPD61151 next...

2010-03-28 Thread Dmitri Belimov
Hi All. I have more questions now. Our card has DVB-T zl10353. Befor start encoder need set its out to Z-state. How to I can do it? This is my last big problem. Startup step by step: Call zarlink to set Z-state of a bus. Configure TS port of the saa7134 to PARALLEL_PS and config other regs Con

[PATCH] Add CHIP ID of the uPD61151

2010-03-17 Thread Dmitri Belimov
Hi Add CHIP ID of the NEC MPEG2 encoders uPD61151 and uPD61152. diff -r b6b82258cf5e linux/include/media/v4l2-chip-ident.h --- a/linux/include/media/v4l2-chip-ident.h Thu Dec 31 19:14:54 2009 -0200 +++ b/linux/include/media/v4l2-chip-ident.h Wed Mar 17 04:53:52 2010 +0900 @@ -278,6 +278,1

[RESEND, PATCH] Add SPI support to V4L2

2010-03-16 Thread Dmitri Belimov
Hi Add support SPI bus to v4l2. Useful for control some device with SPI bus like hardware MPEG2 encoders and etc. Small patch rework after reply from Hans. diff -r b6b82258cf5e linux/drivers/media/video/v4l2-common.c --- a/linux/drivers/media/video/v4l2-common.c Thu Dec 31 19:14:54 2009 -0200

[PATCH] Add SPI support to V4L2

2010-03-15 Thread Dmitri Belimov
Hi Add support SPI bus to v4l2. Useful for control some device with SPI bus like hardware MPEG2 encoders and etc. diff -r b6b82258cf5e linux/drivers/media/video/v4l2-common.c --- a/linux/drivers/media/video/v4l2-common.c Thu Dec 31 19:14:54 2009 -0200 +++ b/linux/drivers/media/video/v4l2-common

Re: [IR RC, REGRESSION] Didn't work IR RC

2010-03-09 Thread Dmitri Belimov
Hi Jean > Hi Mauro, Dmitri, > > On Tue, 02 Mar 2010 05:49:17 -0300, Mauro Carvalho Chehab wrote: > > Dmitri Belimov wrote: > > > When I add > > > > > > diff -r 37ff78330942 linux/drivers/media/video/ir-kbd-i2c.c > > > --- a/linux/drivers/medi

[PATCH] fix broken I2C IR for Beholder

2010-03-03 Thread Dmitri Belimov
Hi Fix broken I2C IR for TV cards of Beholder. diff -r 37ff78330942 linux/drivers/media/video/saa7134/saa7134-input.c --- a/linux/drivers/media/video/saa7134/saa7134-input.c Sun Feb 28 16:59:57 2010 -0300 +++ b/linux/drivers/media/video/saa7134/saa7134-input.c Thu Mar 04 08:35:15 2010 +0900 @@

Re: [IR RC, REGRESSION] Didn't work IR RC

2010-03-02 Thread Dmitri Belimov
gt; > With my best regards, Dmitry. > > > Hi, > > > > Am Montag, den 01.03.2010, 10:37 -0300 schrieb Mauro Carvalho > > Chehab: > > > Andy Walls wrote: > > > > On Mon, 2010-03-01 at 15:36 +0900, Dmitri Belimov wrote: > > > >> Hi

Re: [IR RC, REGRESSION] Didn't work IR RC

2010-03-01 Thread Dmitri Belimov
? With my best regards, Dmitry. > Hi, > > Am Montag, den 01.03.2010, 10:37 -0300 schrieb Mauro Carvalho Chehab: > > Andy Walls wrote: > > > On Mon, 2010-03-01 at 15:36 +0900, Dmitri Belimov wrote: > > >> Hi All > > >> > > >> After rework of

[PATCH, RESEND] tm6000 register defines

2010-03-01 Thread Dmitri Belimov
Hi Add defines for all registers of the tm6000 module. This defines made by doc for TM6010, need look docs for TM6000 and TM5600 Some registers can be different. diff -r 7405c726743a linux/drivers/staging/tm6000/tm6000-regs.h --- a/linux/drivers/staging/tm6000/tm6000-regs.hMon Feb 22 07:4

[IR RC, REGRESSION] Didn't work IR RC

2010-02-28 Thread Dmitri Belimov
Hi All After rework of the IR subsystem, IR RC no more work in our TV cards. As I see call saa7134_probe_i2c_ir, configure i2c call i2c_new_device New i2c device not registred. The module kbd-i2c-ir loaded after i2c_new_device. I try to found what happens. With my best regards, Dmitry. --

[PATCH] fix some info messages

2010-02-22 Thread Dmitri Belimov
Hi Fix some messages for add information about TM6010 diff -r ac88a0dd8fb7 linux/drivers/staging/tm6000/tm6000-alsa.c --- a/linux/drivers/staging/tm6000/tm6000-alsa.cSun Feb 21 21:00:16 2010 -0300 +++ b/linux/drivers/staging/tm6000/tm6000-alsa.cMon Feb 22 07:36:15 2010 -0500 @@

Re: saa7134 and μPD61151 MPEG2 coder

2010-02-15 Thread Dmitri Belimov
Hi Some fixes > On Tuesday 09 February 2010 06:41:50 Dmitri Belimov wrote: > > Hi Hans > > > > This is my last state for review. > > After small time I'll finish process of initialize the encoder. > > Configure some register, upload two firmware for

[PATCH] Fix compilation tm6000 module

2010-02-08 Thread Dmitri Belimov
Hi All Fix compilation tm6000 module. diff -r 690055993011 linux/drivers/staging/tm6000/tm6000-cards.c --- a/linux/drivers/staging/tm6000/tm6000-cards.c Sun Feb 07 22:26:10 2010 -0200 +++ b/linux/drivers/staging/tm6000/tm6000-cards.c Tue Feb 09 10:44:14 2010 +0900 @@ -45,6 +45,8 @@

  1   2   >