[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

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 you can use if (dev-norm V4L2_STD_DK) { } This patch fix

Re: good programm for FM radio

2011-11-23 Thread Dmitri Belimov
...@stefanringel.de 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. I think the tm6000-alsa has some problem with alsa compatibility. This log when start gnomeradio with arecord

Re: good programm for FM radio

2011-11-21 Thread Dmitri Belimov
regards, Dmitry. On Thu, 17 Nov 2011 17:53:53 +0100 Stefan Ringel stefan.rin...@stefanringel.de 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. I think the tm6000-alsa has some problem

Re: good programm for FM radio

2011-11-16 Thread Dmitri Belimov
: Copying 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 if [ -f /usr/bin/arecord ]; then arecord -q -D hw:1,0 -r 48000 -c 2 -f

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

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 can be usefull for other tuners. Hmm

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 Write AUX byte to FM1216ME_MK3 when FM mode

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

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. Hmm... Found this patch. It were never applied

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 mche...@redhat.com wrote: Em 02-06-2011 07:52, Devin Heitmueller escreveu: 2011/5/31 Dmitri Belimov d.beli...@gmail.com: Is it possible make some patches and add support xc4000 into kernel? With my best regards, Dmitry. What

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

2011-05-31 Thread Dmitri Belimov
Hi Devin On Mon, May 30, 2011 at 10:48 PM, Dmitri Belimov d.beli...@gmail.com wrote: 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

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

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 mche...@redhat.com wrote: Em 20-05-2011 10:04, Devin Heitmueller escreveu: On Friday, May 20, 2011, Dmitri Belimov d.beli...@gmail.com wrote: Hi Devin snip NACK! I don't think this patch is correct. Concurrency problems

[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

[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

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

2011-04-14 Thread Dmitri Belimov
vbuf that is conditional on !dev-radio. v2: add a detailed commit log and fix that brace CC: Dan Carpenter erro...@gmail.com CC: Dmitri Belimov d.beli...@gmail.com CC: de...@driverdev.osuosl.org Signed-off-by: Jarod Wilson ja...@redhat.com --- drivers/staging/tm6000/tm6000-video.c |4

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 has only video signals no audio. Call the function of audio

[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

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

[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

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

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 d.beli...@gmail.com With my best regards, Dmitry. Dmitry, that are good news! And that anwers my questions. Now

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

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

[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: tm6000 and IR

2010-12-19 Thread Dmitri Belimov
. 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 +0100 Stefan Ringel stefan.rin...@arcor.de wrote

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

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 have full RCMAP with this 3 bytes from remotes. And use this remotes

Re: tm6000 and IR

2010-12-16 Thread Dmitri Belimov
On Fri, 17 Dec 2010 06:18:31 +0100 Stefan Ringel stefan.rin...@arcor.de 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. Our IR remotes send extended NEC it is 4 bytes. We removed inverted 4

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 are the hack).

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, Dmitry. Why you doesn't use this key map - RCMAP_BEHOLD

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

Re: tm6000 and IR

2010-12-08 Thread Dmitri Belimov
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, schrieb Dmitri Belimov: Thank you. When I switched

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 With my best regards, Dmitry. changing the interface configuration by initiation isoc urb

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

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

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 has you change? 1. Add vendor-specific init code for IR. 2. Add vendor-specific key filter for IR. 3

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. Add vendor-specific key filter for IR. 3. Add some

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

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

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 d.beli...@gmail.com 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 FM radio The switch controlled by zl10353. I

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 with this patch has bad white noise sometimes and bad quality. I try found better configuration

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 between different RF sources. ANT 1 for analog and digital TV ANT 2 for FM radio

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 The switch controlled by zl10353. How to I can control

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

tm6000 and new TV card

2010-10-04 Thread Dmitri Belimov
Hi Some times a go I received mail from Yogesh S yogais...@gmail.com. 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

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 submited to GIT tree Quality of audio now is good for SECAM-DK. For other standard I set some value

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 from datasheet need some tests. 1. Fix pcm

[PATCH v2] tm6000+audio

2010-09-20 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

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 I set some value from datasheet need some tests

[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

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:

[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

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

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

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 d.beli...@gmail.com 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. Hi Dmitri, I've put this on my list

[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

[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

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

Re: tm6000

2010-05-05 Thread Dmitri Belimov
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? No. Git tree + my last patch. With my best regards, Dmitry. On Wed, May 5, 2010 at 12:50 PM, Dmitri Belimov d.beli...@gmail.com

Re: [PATCH] Rework for support xc5000

2010-05-05 Thread Dmitri Belimov
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 d.beli...@gmail.com wrote: Hi Set correct GPIO number for BEHOLD_WANDER/VOYAGER Add xc5000 callback function Small rework

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 mche...@infradead.org 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 type of tuner and type

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

Re: [PATCH] tm6000 fix i2c

2010-04-27 Thread Dmitri Belimov
); + } + + /* release mutex */ + return rc; } static int tm6000_i2c_xfer(struct i2c_adapter *i2c_adap, Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov d.beli...@gmail.com On Tue, Apr 27, 2010 at 1:15 PM, Dmitri Belimov d.beli...@gmail.com wrote: On Mon, 26 Apr 2010 20

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-26 Thread Dmitri Belimov
. With my best regards, Dmitry. 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 I2C packet. Use different method for the tm5600/tm6000 and tm6010 to read word. Try this patch. diff -r 7c0b887911cf linux

Re: [PATCH] tm6000 fix i2c

2010-04-25 Thread Dmitri Belimov
: open called (dev=video0) [ 2573.081022] Original value=96 [ 2573.093037] tm6000: VIDIOC_QUERYCAP [ 2573.149565] tm6000: open called (dev=video0) On Fri, Apr 23, 2010 at 8:48 AM, Dmitri Belimov d.beli...@gmail.com wrote: Hi Rework I2C for read word from connected devices, now it works

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 read/write blocks. diff -r 7c0b887911cf

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

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

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

[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

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, Am Dienstag, den 30.03.2010, 16:02 +1000 schrieb Dmitri Belimov: Hi The hybrid tuner FMD1216MEX_MK3 after cold

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

[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

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 The hybrid tuner FMD1216MEX_MK3 after cold start has disabled IF. This tuner has internal

[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

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 and IF part. Default state is DVB-T. When module

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

[PATCH] Add CHIP ID of the uPD61151

2010-03-18 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

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

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/media/video/ir-kbd-i2c.c Sun Feb 28 16:59:57 2010 -0300 +++ b

[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
, 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 the IR subsystem, IR RC no more work in our TV cards. As I see call saa7134_probe_i2c_ir, configure i2c call

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 the IR subsystem, IR RC no more work in our TV cards. As I see call

[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 video and for audio. Configure the frontends. I

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

[SAA7134, REQUEST] slow register writing

2010-02-07 Thread Dmitri Belimov
Hi All. I wrote SPI bitbang master over GPIO of saa7134. Speed of writing is much slow then in a Windows systems. I make some tests: Windows, SPI bitbang 97002 bytes x 2 time of writing is around 1.2 seconds Linux, SPI bitbang with call saa7134_set_gpio time of writing is 18 seconds Linux, SPI

Re: saa7134 and μPD61151 MPEG2 coder

2010-01-28 Thread Dmitri Belimov
Hi Hans On Wednesday 27 January 2010 06:36:37 Dmitri Belimov wrote: Hi Hans. I finished saa7134 part of SPI. Please review saa7134-spi.c and diff saa7134-core and etc. I wrote config of SPI to board structure. Use this config for register master and slave devices

Re: saa7134 and μPD61151 MPEG2 coder

2010-01-27 Thread Dmitri Belimov
HIi Hans Hi Dmitri, Just a quick note: the video4linux mailinglist is obsolete, just use linux-media. OK On Wednesday 27 January 2010 06:36:37 Dmitri Belimov wrote: Hi Hans. I finished saa7134 part of SPI. Please review saa7134-spi.c and diff saa7134-core and etc. I wrote config

  1   2   >