Re: m920x device: Genius TVGo DVB-T02Q

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2007/11/28, Pere Blay <pereblay@xxxxxxxxx>:
> Hi,
>
> I've been away for a bit long.... But i'm very happy to see this nice
> surprise when i'm back... a good firmware!! wonderful! i never thought
> the parser could need some tuning, that was a very good work!
>

Thank you! But it wasn't that difficult once I compared the firmware
to other m920x's ones ;-)


> I'm willing to test the firmware, i'll post results as soon as i try it.
>
> Regards,
> Pere Blay
>

I'll wait impatiently ;-)

BTW it would be interesting to have another firmware for the same
device, could you please extract it from your capturer using the
tweaked script (if you have the time, of course, and a windows system
near you -- or a backup of the snoopy logs), and post it, or make a
diff and post the results? In any case it's not crucial, I'm just
curious, so don't waste your efforts on it if you don't think it would
deserve it.

Apart from the firmware, remember I changed .demod_addres in struct
zl10353_config to 0x0f, but also be aware that I recently did another
change to function mt2060_tuner_attach. Now it looks like this:
----------------
static int mt2060_tuner_attach(struct dvb_usb_adapter *adap)
{
	int if1 = 1220;
	return dvb_attach(mt2060_attach,adap->fe, &adap->dev->i2c_adap,
			  &tvgot02q_mt2060_config, if1) == NULL ? -ENODEV : 0;
}
----------------
where you can see I've changed a 0 to a 1220, based on what other
drivers do, when using a mt2060 tuner. In fact, this seems as some
kind of default value, and then they read something from the eeprom to
adjust it. I'm still understanding it, so take a look if you want to
dib0700_devices.c or af9005-fe.c. Anyway, that change seems to give me
a better signal reception.

Finally, for the record, here are some logs I got. To me, it seems
like the device is completely recognized and is tuning fine, but for
some reason /dev/dvb/adapter0/dvr0 is not serving any data. Please,
tell me your impressions.

Regards,

--

           Román


----------------
dmesg
----------------
[35961.500458] usb 5-6: new high speed USB device using ehci_hcd and address 30
[35961.573610] usb 5-6: configuration #1 chosen from 1 choice
[35961.573731] dvb-usb: found a 'Genius TVGo DVB-T02Q' in cold state,
will try to load a firmware
[35961.583198] dvb-usb: downloading firmware from file 'dvb-usb-t02q-02.fw'
[35962.008972] dvb_usb_m920x: probe of 5-6:1.0 failed with error 64
[35962.009146] usb 5-6: USB disconnect, address 30
[35962.067424] usb 5-6: new high speed USB device using ehci_hcd and address 31
[35962.156124] usb 5-6: configuration #1 chosen from 1 choice
[35962.156253] dvb-usb: found a 'Genius TVGo DVB-T02Q' in warm state.
[35962.156326] i2c-adapter i2c-4: SMBus Quick command not supported,
can't probe for chips
[35962.156332] dvb-usb: will pass the complete MPEG2 transport stream
to the software demuxer.
[35962.156459] DVB: registering new adapter (Genius TVGo DVB-T02Q)
[35962.205619] DVB: registering frontend 0 (Zarlink ZL10353 DVB-T)...
[35962.208747] MT2060: successfully identified (IF1 = 1220)
[35962.522187] input: IR-receiver inside an USB DVB receiver as
/class/input/input21
[35962.522237] dvb-usb: schedule remote query interval to 100 msecs.
[35962.522245] dvb-usb: Genius TVGo DVB-T02Q successfully initialized
and connected.


----------------
$ tzap -r test_channel_1
----------------
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 690000000 Hz
video pid 0x012d, audio pid 0x012e
status 00 | signal a4a4 | snr 0000 | ber 00000000 | unc 00000000 |
status 1e | signal bb5c | snr 9292 | ber 00000000 | unc 00000013 | FE_HAS_LOCK
status 1e | signal bb28 | snr 9393 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1e | signal baf0 | snr 9292 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1e | signal bad4 | snr 9393 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1e | signal bab8 | snr 9393 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1e | signal baf0 | snr 9292 | ber 0000fc02 | unc 00000000 | FE_HAS_LOCK
status 1e | signal bacc | snr 9393 | ber 0000fc02 | unc 00000000 | FE_HAS_LOCK
status 1e | signal ba70 | snr 9393 | ber 0000fc02 | unc 00000000 | FE_HAS_LOCK
status 1e | signal ba78 | snr 9292 | ber 0000fc02 | unc 00000000 | FE_HAS_LOCK
status 1e | signal ba74 | snr 9292 | ber 0000fc02 | unc 00000000 | FE_HAS_LOCK
status 1e | signal ba08 | snr 9292 | ber 0000fc02 | unc 00000000 | FE_HAS_LOCK
status 1e | signal ba4c | snr 9292 | ber 0000db13 | unc 00000000 | FE_HAS_LOCK
status 1e | signal ba98 | snr 9191 | ber 0000db13 | unc 00000000 | FE_HAS_LOCK
status 1e | signal ba00 | snr 9292 | ber 0000db13 | unc 00000000 | FE_HAS_LOCK
status 1e | signal b994 | snr 9292 | ber 0000db13 | unc 00000000 | FE_HAS_LOCK
status 1e | signal b9e8 | snr 9393 | ber 0000db13 | unc 00000000 | FE_HAS_LOCK
status 1e | signal b974 | snr 9292 | ber 0000db13 | unc 00000000 | FE_HAS_LOCK
status 1e | signal b9d4 | snr 9292 | ber 0000d99e | unc 00000000 | FE_HAS_LOCK
(...)


----------------
$ scan -c
----------------
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
WARNING: filter timeout pid 0x0011
WARNING: filter timeout pid 0x0000
dumping lists (0 services)
Done.


----------------
$ scan -v -v -v -v -c
----------------
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
add_filter:1377: add filter pid 0x0000
start_filter:1317: start filter pid 0x0000 table_id 0x00
update_poll_fds:1297: poll fd 4
add_filter:1377: add filter pid 0x0011
start_filter:1317: start filter pid 0x0011 table_id 0x42
update_poll_fds:1297: poll fd 5
update_poll_fds:1297: poll fd 4
WARNING: filter timeout pid 0x0011
remove_filter:1385: remove filter pid 0x0011
stop_filter:1363: stop filter pid 0x0011
update_poll_fds:1297: poll fd 4
WARNING: filter timeout pid 0x0000
remove_filter:1385: remove filter pid 0x0000
stop_filter:1363: stop filter pid 0x0000
dumping lists (0 services)
Done.



----------------
$ mplayer -v dvb://test_channel_1
----------------
(...)
OPEN_DVB: prog=test_channel_1, card=1, type=2, vid=0, aid=0

dvb_streaming_start(PROG: test_channel_1, CARD: 1, VID: 0, AID: 0,
TYPE: , FILE: (null))
PROGRAM NUMBER 17: name=test_channel_1, freq=690000000
DVB_OPEN_DEVICES(3)
OPEN(0), file /dev/dvb/adapter0/demux0: FD=4, CNT=0
OPEN(1), file /dev/dvb/adapter0/demux0: FD=5, CNT=1
OPEN(2), file /dev/dvb/adapter0/demux0: FD=6, CNT=2
DVB_SET_CHANNEL: new channel name=test_channel_1, card: 0, channel 17
DIFFERENT TUNING THAN THE PREVIOUS:   -> 0|690000000|2|0|2|3|1|3
dvb_tune Freq: 690000000
TUNE_IT, fd_frontend 3, fd_sec 0
freq 690000000, srate 0, pol Using DVB card "Zarlink ZL10353 DVB-T"
tuning DVB-T to 690000000 Hz, bandwidth: 0
Getting frontend status
Bit error rate: 0
Signal strength: 47128
SNR: 34695
UNC: 1
FE_STATUS: FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
SET PES FILTER ON PID 301 to fd 4, RESULT: 0, ERRNO: 0
SET PES FILTER ON PID 302 to fd 5, RESULT: 0, ERRNO: 0
SET PES FILTER ON PID 0 to fd 6, RESULT: 0, ERRNO: 0
SUCCESSFUL EXIT from dvb_streaming_start
STREAM: [dvbin] dvb://test_channel_1
STREAM: Description: Dvb Input
STREAM: Author: Nico
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for MPEG-TS...
dvb_streaming_read, attempt N. 6 failed with errno 0 when reading 2048 bytes
dvb_streaming_read, attempt N. 5 failed with errno 0 when reading 2048 bytes
dvb_streaming_read, attempt N. 4 failed with errno 0 when reading 2048 bytes
dvb_streaming_read, attempt N. 3 failed with errno 0 when reading 2048 bytes
dvb_streaming_read, attempt N. 2 failed with errno 0 when reading 2048 bytes
dvb_streaming_read, attempt N. 1 failed with errno 0 when reading 2048 bytes
dvb_streaming_read, return 0 bytes
THIS DOESN'T LOOK LIKE AN MPEG-TS FILE!
TRIED UP TO POSITION 0, FOUND ffffff00, packet_size= 0, SEEMS A TS? 0

DVBIN_CLOSE, close(2), fd=6, COUNT=2
DVBIN_CLOSE, close(1), fd=5, COUNT=1
DVBIN_CLOSE, close(0), fd=4, COUNT=0
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)

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


[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux