From: xwang1976@email.it
To: Devin Heitmueller <dheitmueller@kernellabs.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Dikom DK-300
Date: Sun, 25 Oct 2009 00:01:30 +0200 [thread overview]
Message-ID: <4AE3793A.6020107@email.it> (raw)
In-Reply-To: <829197380910131133k37873fedl1d7038d9e175b089@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2024 bytes --]
Hi Devin,
I sent you the diff between the patched version of the v4l-dvb main and
the original one (which I have not updated on this pc since mid of
August when I've patched it to have the dikom working in digital mode at
least).
As you have suggested, I sent you the diff between the two versions
(it's the first time I use such a tool so I hope I've used it
correctly). In any case I send you also the tar file which contains the
patched files which substitute the ones in
/v4l-dvb/linux/drivers/media/video/em28xx
Can you tell me if it is all you need or if you need something else.
Thank you for your help,
Xwang
Ok!
As far as the DIKOM DK-300 patch, it enables the digital tv, but analog
tv still has some problem (no audio and maybe kernel oops when tuning
channels).
As soon as possible (probably next weekend) I will try to search diff
between patched and original version. Meantime I attach the tar file
Dainius sent me two months ago (I have used the included files to
overwite the ones in /v4l-dvb/linux/drivers/media/video/em28xx).
Thank you again for your help,
Xwang
Devin Heitmueller ha scritto:
> On Tue, Oct 13, 2009 at 2:27 PM, <xwang1976@email.it> wrote:
>> Hi Devin,
>> let me know if you need a tester for the EMPIRE_DUAL_TV.
>> In case I will install the latest v4l driver on my old notebook which has a
>> clean kubuntu 9.04 distro. On the newer notebook I'm using my new Dikom
>> DK-300 device which does not work with the latest v4l drivers and which I
>> can use using a patched version of the main v4l driver (thanks to Dainius
>> Ridzevicius). If you have some spare time for this device too...
>> Xwang
>
> Hi xwang,
>
> Well, I'm hoping to setup a tree sometime this week (and test it with
> my devices). Assuming it works, I will put out a call for testers
> such as yourself.
>
> Regarding your DK-300, if you send the diff between the main v4l
> driver and the patched version, we can take a look at what would be
> required to merge it upstream.
>
> Cheers,
>
> Devin
>
[-- Attachment #2: em28xx.tar.gz --]
[-- Type: application/gzip, Size: 76594 bytes --]
[-- Attachment #3: diff_dikom-dk300.txt --]
[-- Type: text/plain, Size: 7084 bytes --]
diff -r src/v4l-dvb-src/v4l-dvb-main-323u-20090813/v4l-dvb/linux/drivers/media/video/em28xx/em28xx-cards.c src/v4l-dvb-src/v4l-dvb-main/v4l-dvb_old/linux/drivers/media/video/em28xx/em28xx-cards.c
1389,1396d1388
< .mts_firmware = 1,
< .has_dvb = 1,
< .dvb_gpio = kworld_330u_digital,
< .xclk = EM28XX_XCLK_FREQUENCY_12MHZ,
< .i2c_speed = EM28XX_I2C_CLK_WAIT_ENABLE |
< EM28XX_I2C_EEPROM_ON_BOARD |
< EM28XX_I2C_EEPROM_KEY_VALID,
<
1812a1805,1823
>
> /* FIXME: Should be replaced by a proper mt9m111 driver */
> static int em28xx_initialize_mt9m111(struct em28xx *dev)
> {
> int i;
> unsigned char regs[][3] = {
> { 0x0d, 0x00, 0x01, }, /* reset and use defaults */
> { 0x0d, 0x00, 0x00, },
> { 0x0a, 0x00, 0x21, },
> { 0x21, 0x04, 0x00, }, /* full readout speed, no row/col skipping */
> };
>
> for (i = 0; i < ARRAY_SIZE(regs); i++)
> i2c_master_send(&dev->i2c_client, ®s[i][0], 3);
>
> return 0;
> }
>
>
1841c1852
< * This method work for webcams with Micron sensors
---
> * This method works for webcams with Micron sensors
1886a1898,1914
>
> case 0x143a: /* MT9M111 as found in the ECS G200 */
> dev->model = EM2750_BOARD_UNKNOWN;
> em28xx_set_model(dev);
>
> sensor_name = "mt9m111";
> dev->board.xclk = EM28XX_XCLK_FREQUENCY_48MHZ;
> dev->em28xx_sensor = EM28XX_MT9M111;
> em28xx_initialize_mt9m111(dev);
> dev->sensor_xres = 640;
> dev->sensor_yres = 512;
>
> dev->vinmode = 0x0a;
> dev->vinctl = 0x00;
>
> break;
>
1907c1935
< printk("Unknown Micron Sensor 0x%04x\n", be16_to_cpu(version));
---
> printk("Unknown Micron Sensor 0x%04x\n", version);
2065d2092
< case EM2882_BOARD_KWORLD_VS_DVBT: //!!!!!!!!!!!!!!!!!!!!!!!!!!1
Solo in src/v4l-dvb-src/v4l-dvb-main-323u-20090813/v4l-dvb/linux/drivers/media/video/em28xx/: em28xx-cards.c~
diff -r src/v4l-dvb-src/v4l-dvb-main-323u-20090813/v4l-dvb/linux/drivers/media/video/em28xx/em28xx-dvb.c src/v4l-dvb-src/v4l-dvb-main/v4l-dvb_old/linux/drivers/media/video/em28xx/em28xx-dvb.c
482d481
< // case EM2882_BOARD_KWORLD_VS_DVBT: //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
503d501
< case EM2882_BOARD_KWORLD_VS_DVBT: //!!!!!!!!!!!!!!!!!!!!!!
521d518
<
Solo in src/v4l-dvb-src/v4l-dvb-main-323u-20090813/v4l-dvb/linux/drivers/media/video/em28xx/: em28xx-dvb.c~
diff -r src/v4l-dvb-src/v4l-dvb-main-323u-20090813/v4l-dvb/linux/drivers/media/video/em28xx/em28xx.h src/v4l-dvb-src/v4l-dvb-main/v4l-dvb_old/linux/drivers/media/video/em28xx/em28xx.h
370a371
> EM28XX_MT9M111,
andreak@pro5av:~$
next prev parent reply other threads:[~2009-10-24 22:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 22:12 em28xx mode switching Devin Heitmueller
2009-10-12 22:31 ` Antti Palosaari
2009-10-12 23:04 ` Devin Heitmueller
2009-10-13 7:55 ` Alain Perrot
2009-10-13 18:27 ` xwang1976
2009-10-13 18:33 ` Devin Heitmueller
2009-10-13 18:52 ` xwang1976
2009-10-24 22:01 ` xwang1976 [this message]
2009-10-12 23:33 ` hermann pitton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AE3793A.6020107@email.it \
--to=xwang1976@email.it \
--cc=dheitmueller@kernellabs.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.