public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
@ 2008-03-21  5:49 Igor Alexeiuk
  0 siblings, 0 replies; 30+ messages in thread
From: Igor Alexeiuk @ 2008-03-21  5:49 UTC (permalink / raw)
  To: linux-dvb

Hi,
> On Fri, 21 Mar 2008, timf wrote:
> 
> > [   51.446308] xc2028 2-0061: Device is Xceive 3028 version 1.0, firmware version 2.7
> 
> Ok, xc3028 loaded the firmware. This means that reset GPIO's are correct.
> 
> > Info:	- have /dev/video0
> > 	- tvtime - no signal
> > 	- have soundcard
> 
> There are some possibilities:
> 
> 1) This board doesn't work with firmware version 2.7;
> 
> 2) GPIO's are wrong;
> 
> 3) vmux value is wrong.
> 
> I guess the issue is with the firmware version. Probably, it will need an 
> earlier version.

In addition to Tim's info/report:

While my dmesg looks similar to what Tim posted here
, there is more ( perhaps useful ) messages:
     
1) On try to tune analog radio it looks like this:

xc2028 0-0061: load_firmware called
xc2028 0-0061: seek_firmware called, want type=BASE FM (401), id 0000000000000000.
xc2028 0-0061: Found firmware for type=BASE FM (401), id 0000000000000000.
xc2028 0-0061: Loading firmware for type=BASE FM (401), id 0000000000000000.
xc2028 0-0061: i2c output error: rc = -5 (should be 64)
xc2028 0-0061: -5 returned from send
xc2028 0-0061: Error -22 while loading base firmware


2) on try to tune analog tv :

xc2028 0-0061: check_firmware called
xc2028 0-0061: checking firmware, user requested type=F8MHZ MTS (6), id 00000000000000ff, scode_tbl (0), scode_nr 0
xc2028 0-0061: load_firmware called
xc2028 0-0061: seek_firmware called, want type=BASE F8MHZ MTS (7), id 0000000000000000.
xc2028 0-0061: Found firmware for type=BASE F8MHZ MTS (7), id 0000000000000000.
xc2028 0-0061: Loading firmware for type=BASE F8MHZ MTS (7), id 0000000000000000.
xc2028 0-0061: i2c output error: rc = -5 (should be 64)
xc2028 0-0061: -5 returned from send
xc2028 0-0061: Error -22 while loading base firmware


BTW: I tried firmware v25 - unfortunately it failed with this:
 
xc2028 0-0061: Reading firmware xc3028-v25.fw
xc2028 0-0061: Loading 60 firmware images from xc3028-v25.fw, type: xc2028 firmware, ver 2.5
xc2028 0-0061: Reading firmware type BASE F8MHZ (3), id 0, size=6621.
xc2028 0-0061: Reading firmware type BASE F8MHZ MTS (7), id 0, size=6617.
xc2028 0-0061: Reading firmware type BASE FM (401), id 0, size=6517.
xc2028 0-0061: Reading firmware type BASE FM INPUT1 (c01), id 0, size=6531.
xc2028 0-0061: Reading firmware type BASE (1), id 0, size=6611.
xc2028 0-0061: Reading firmware type BASE MTS (5), id 0, size=6595.
xc2028 0-0061: Reading firmware type (0), id 100000007, size=161.
xc2028 0-0061: Firmware type INIT1 F8MHZ D2620 DTV7 (408a), id 2012d00022000 is corrupted (size=10946, expected 786712)
xc2028 0-0061: Error: firmware file is corrupted!
xc2028 0-0061: Releasing partially loaded firmware file.


Any suggestions ?

Igor.



_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 30+ messages in thread
[parent not found: <1206635698.5965.5.camel@ubuntu>]
[parent not found: <1206604694.6098.14.camel@ubuntu>]
* [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
@ 2008-03-26  3:11 Cheng-Min Lien
  0 siblings, 0 replies; 30+ messages in thread
From: Cheng-Min Lien @ 2008-03-26  3:11 UTC (permalink / raw)
  To: linux-dvb

sorry for the wrong subject.

On Wed, Mar 26, 2008 at 11:02 AM, Cheng-Min Lien <mimic0310@gmail.com> wrote:
> Hi all,
>
>  After using Mauro's patch, I try to set the gpio pin in function
>  "saa7134_xc2028_callback".
>  Now, I can watch analog TV.
>  The  GPIO pin 21 seems the reset pin for tuner.
>  The mt352 demod is still no response....
>
>  ===========================================================
>  static int saa7134_xc2028_callback(struct saa7134_dev *dev,
>                    int command, int arg)
>  {
>
>     switch (command) {
>     case XC2028_TUNER_RESET:
>         saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
>         saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
>         saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02);
>         saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81);
>         saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7);
>         saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03);
>         saa_andorl(SAA7134_AUDIO_CLOCKS_PER_FIELD0 >> 2,
>                0x0001e000, 0x0001e000);
>
>         #if 1
>         saa7134_set_gpio(dev, 21, 0);
>         msleep(20);
>         saa7134_set_gpio(dev, 21, 1);
>         #endif
>
>         return 0;
>     }
>     return -EINVAL;
>  }
>  ====================================================================
>

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 30+ messages in thread
[parent not found: <47E030C1.2000805@inwind.it>]
* [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please?
@ 2008-02-03 15:07 Richard (MQ)
  2008-02-05  9:50 ` Mauro Carvalho Chehab
       [not found] ` <1205875868.3385.133.camel@pc08.localdom.local>
  0 siblings, 2 replies; 30+ messages in thread
From: Richard (MQ) @ 2008-02-03 15:07 UTC (permalink / raw)
  To: linux-dvb

I tried contacting Markus with the following but no response - probably
one of you experienced coders on this list will know what's wrong
though? As I say below, the 'standard' v4l-dvb builds fine but is no use
with this card.

Cheers
Richard (MQ)

> Having another try to get my Avermedia A16D card working with latest hg
> code. I'm also using the very latest OpenSuSE 'factory' platform, with
> kernel 2.6.24-rc8-git2-5-default. gcc is 4.3.0
> 
> I can build the 'standard' v4l-dvb tree OK, though as expected it
> doesn't see my card. However, when I try to build your
> v4l-dvb-experimental tree (in a separate directory) I get
> 
>> > rpm@DevBox2400:~/Progs/v4l-dvb-experimental/v4l> make
> ...
>> > make -C ../../../linux-2.6.24-rc8-git2-5 O=../linux-2.6.24-rc8-git2-5-obj/i386/default modules
>> >   CC [M]  /home/rpm/Progs/v4l-dvb-experimental/v4l/flexcop-pci.o
>> > In file included from /home/rpm/Progs/v4l-dvb-experimental/v4l/flexcop-common.h:23,
>> >                  from /home/rpm/Progs/v4l-dvb-experimental/v4l/flexcop-pci.c:10:
>> > /home/rpm/Progs/v4l-dvb-experimental/v4l/dvb_frontend.h:42:33: error: media/v4l_dvb_tuner.h: No such file or directory
> 
> Indeed there's no directory 'media' at the current level, though there's
> one at ../linux, so I tried
> 
>> > ln -s ../linux/include/media media
> 
> Now make gets a bit further, but dies building bttv-driver
> 
> Please have you any suggestions?
> 
> By the way - is it more appropriate to post this e.g. at linux-dvb?
> 
> Many thanks
> Richard.
> 

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2008-04-25 10:53 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21  5:49 [linux-dvb] Any chance of help with v4l-dvb-experimental / Avermedia A16D please? Igor Alexeiuk
     [not found] <1206635698.5965.5.camel@ubuntu>
2008-03-27 17:42 ` Mauro Carvalho Chehab
     [not found]   ` <1206683274.5986.6.camel@ubuntu>
2008-03-28 17:59     ` Mauro Carvalho Chehab
     [not found] <1206604694.6098.14.camel@ubuntu>
2008-03-27 16:37 ` Mauro Carvalho Chehab
  -- strict thread matches above, loose matches on Subject: below --
2008-03-26  3:11 Cheng-Min Lien
     [not found] <47E030C1.2000805@inwind.it>
2008-03-18 21:28 ` Mauro Carvalho Chehab
     [not found]   ` <47E9A539.1050706@inwind.it>
2008-03-26 16:49     ` Mauro Carvalho Chehab
2008-02-03 15:07 Richard (MQ)
2008-02-05  9:50 ` Mauro Carvalho Chehab
     [not found]   ` <47A8CE7E.6020908@googlemail.com>
     [not found]     ` <20080205222437.1397896d@gaivota>
     [not found]       ` <47AA014F.2090608@googlemail.com>
2008-02-07 11:26         ` Mauro Carvalho Chehab
     [not found]           ` <47AAF0C4.8030804@googlemail.com>
     [not found]             ` <47AB6A1B.5090100@googlemail.com>
2008-02-07 20:42               ` Mauro Carvalho Chehab
     [not found]                 ` <47ACA9AA.4090702@googlemail.com>
     [not found]                   ` <47AE20BD.7090503@googlemail.com>
2008-02-12 14:47                     ` Mauro Carvalho Chehab
     [not found]                       ` <47B1E22D.4090901@googlemail.com>
2008-03-13 14:46                         ` Mauro Carvalho Chehab
     [not found]                           ` <1205457408.6358.5.camel@ubuntu>
2008-03-14 15:14                             ` Mauro Carvalho Chehab
     [not found]                               ` <1205518856.6094.14.camel@ubuntu>
2008-03-14 18:58                                 ` Mauro Carvalho Chehab
     [not found]                                   ` <1205523274.6364.5.camel@ubuntu>
2008-03-14 20:21                                     ` Mauro Carvalho Chehab
     [not found]                                       ` <1205573636.5941.1.camel@ubuntu>
2008-03-18 13:30                                         ` Mauro Carvalho Chehab
     [not found]                                           ` <1205864312.11231.11.camel@ubuntu>
2008-03-18 19:17                                             ` Mauro Carvalho Chehab
     [not found]                                               ` <1205873332.11231.17.camel@ubuntu>
2008-03-18 21:04                                                 ` Mauro Carvalho Chehab
     [not found]                                                   ` <1205877331.11231.38.camel@ubuntu>
2008-03-18 23:25                                                     ` Darren Salt
     [not found]                           ` <47DEC660.3080005@googlemail.com>
2008-03-18 13:10                             ` Mauro Carvalho Chehab
     [not found] ` <1205875868.3385.133.camel@pc08.localdom.local>
     [not found]   ` <1205904196.6510.3.camel@ubuntu>
2008-03-19  8:14     ` Matthias Schwarzott
2008-03-20 14:55     ` Mauro Carvalho Chehab
     [not found]       ` <1206030503.5997.2.camel@ubuntu>
2008-03-20 17:07         ` Mauro Carvalho Chehab
     [not found]           ` <1206061004.6988.3.camel@ubuntu>
2008-03-21  1:53             ` Mauro Carvalho Chehab
2008-03-21 11:31             ` Mauro Carvalho Chehab
     [not found]           ` <20080322083435.2432256b@gaivota>
     [not found]             ` <47E51CBD.1000906@googlemail.com>
2008-03-22 14:59               ` Mauro Carvalho Chehab
     [not found]                 ` <1206200253.6403.11.camel@ubuntu>
2008-03-22 16:13                   ` Mauro Carvalho Chehab
2008-03-22 16:28                   ` Mauro Carvalho Chehab
     [not found]                 ` <47E79DE5.1050404@googlemail.com>
     [not found]                   ` <47E7D4B0.30706@googlemail.com>
     [not found]                     ` <20080326134500.34a245be@gaivota>
     [not found]                       ` <47EAA833.7050507@googlemail.com>
     [not found]                         ` <20080326171546.37b819ad@gaivota>
     [not found]                           ` <47EABCF3.7070605@googlemail.com>
     [not found]                             ` <20080326183336.0cbd04a4@gaivota>
     [not found]                               ` <c09aacb50804250142h49fd47edia96ca3ae830c2354@mail.gmail.com>
2008-04-25 10:52                                 ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox