Re: Afatech AF9015 & MaxLinear MXL5007T dual tuner 2

2010-09-18 Thread Antti Palosaari

On 09/18/2010 04:44 PM, poma wrote:

Problem:
Boot from G2 (S5) aka Soft Off
or
Resume from G1 - S3 aka Suspend to RAM
tuner #2 nonfunctional




p.p.s.
Boot from G2 (S5) aka Soft Off
or
Resume from G1 - S3 aka Suspend to RAM
tuner #1 and tuner #2 functional WITH module option:
dvb-core dvb_powerdown_on_sleep=0
namely dvb_powerdown_on_sleep:
0: do not power down,
1: turn LNB voltage off on sleep (default) (int)

Antti, is this the same case with TerraTec Cinergy T Stick Dual RC and
is this the only solution, to keep the tuners on with "dvb-core
dvb_powerdown_on_sleep=0"?


I think so. Must be GPIO problem. One of the last problematic part is 
GPIOs - feel free to reimplement.



Antti
--
http://palosaari.fi/
--
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.kernel.org/majordomo-info.html


Afatech AF9015 & MaxLinear MXL5007T dual tuner 2

2010-09-18 Thread poma


Hi There,

Device:
Hardware based on Afatech AF9015 USB bridge & AF9013 demodulators & 
MaxLinear MXL5007T tuners:

Not Only TV/LifeView DUAL DVB-T USB LV52T
equivalent to TerraTec Cinergy T Stick Dual RC

Problem:
Boot from G2 (S5) aka Soft Off
or
Resume from G1 - S3 aka Suspend to RAM
tuner #2 nonfunctional

lsusb:
Bus 002 Device 002: ID 15a4:9016 Afatech Technologies, Inc. AF9015 DVB-T 
USB2.0 stick


uname:
2.6.35.4-12.el6.i686.PAE

Ref. modprobe.conf:
options dvb-core frontend_debug=1 debug=1 dvbdev_debug=1
options dvb-usb debug=511
options dvb_usb_af9015 debug=1
options af9013 debug=1
options mxl5007t debug=1

dmesg:
...
usb 2-1: new high speed USB device using ehci_hcd and address 2
psmouse serio1: ID: 10 00 64
usb 2-1: New USB device found, idVendor=15a4, idProduct=9016
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: DVB-T 2
usb 2-1: Manufacturer: Afatech
usb 2-1: SerialNumber: 01010101061
Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7
input: Afatech DVB-T 2 as 
/devices/pci:00/:00:04.1/usb2/2-1/2-1:1.1/input/input3
generic-usb 0003:15A4:9016.0001: input,hidraw0: USB HID v1.01 Keyboard 
[Afatech DVB-T 2] on usb-:00:04.1-1/input1

...
af9015_usb_probe: interface:0
: 2b a5 9b 0b 00 00 00 00 a4 15 16 90 00 02 01 02  +...
0010: 03 80 00 fa fa 0a 40 ef 01 30 31 30 31 30 39 32  ..@..0101092
0020: 31 30 39 30 30 30 30 31 ff ff ff ff ff ff ff ff  1091
0030: 00 01 3a 01 00 08 02 00 da 11 00 00 b1 ff ff ff  ..:.
0040: ff ff ff ff ff 08 02 00 da 11 c4 04 b1 ff ff ff  
0050: ff ff ff ff 10 26 00 00 04 03 09 04 10 03 41 00  .&A.
0060: 66 00 61 00 74 00 65 00 63 00 68 00 10 03 44 00  f.a.t.e.c.h...D.
0070: 56 00 42 00 2d 00 54 00 20 00 32 00 20 03 30 00  V.B.-.T. .2. .0.
0080: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00  1.0.1.0.1.0.1.0.
0090: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff  6.0.0.0.0.1.
00a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
00b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
00c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
00d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
00e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
00f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  
af9015_eeprom_hash: eeprom sum=403c71e6
af9015_read_config: IR mode:1
af9015_read_config: TS mode:1
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:4570
af9015_read_config: [0] MT2060 IF1:0
af9015_read_config: [0] tuner id:177
af9015_read_config: [1] xtal:2 set adc_clock:28000
af9015_read_config: [1] IF1:4570
af9015_read_config: [1] MT2060 IF1:1220
af9015_read_config: [1] tuner id:177
check for cold 15a4 9015
check for cold 15a4 9016
af9015_identify_state: reply:02
dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
power control: 1
dvb-usb: will pass the complete MPEG2 transport stream to the software 
demuxer.

all in all I will use 98136 bytes for streaming
allocating buffer 0
buffer 0: f4dd8000 (dma: 886931456)
allocating buffer 1
buffer 1: f4da8000 (dma: 886734848)
allocating buffer 2
buffer 2: f4dac000 (dma: 886751232)
allocating buffer 3
buffer 3: f4dd (dma: 886898688)
allocating buffer 4
buffer 4: f4dd4000 (dma: 886915072)
allocating buffer 5
buffer 5: f4de (dma: 886964224)
allocation successful
DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
DVB: register adapter0/demux0 @ minor: 0 (0x00)
DVB: register adapter0/dvr0 @ minor: 1 (0x01)
DVB: register adapter0/net0 @ minor: 2 (0x02)
af9015_af9013_frontend_attach: init I2C
af9015_i2c_init:
af9013_attach: chip version:1 ROM version:1.0
af9013: firmware version:5.1.0.0
af9013_set_gpio: gpio:0 gpioval:07
af9013_set_gpio: gpio:1 gpioval:00
af9013_set_gpio: gpio:2 gpioval:00
af9013_set_gpio: gpio:3 gpioval:03
dvb_register_frontend
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
DVB: register adapter0/frontend0 @ minor: 3 (0x03)
af9015_tuner_attach:
mxl5007t 2-00c0: creating new instance
af9013_i2c_gate_ctrl: enable:1
mxl5007t_get_chip_id: unknown rev (3f)
mxl5007t_get_chip_id: MxL5007T detected @ 2-00c0
af9013_i2c_gate_ctrl: enable:0
dvb-usb: will pass the complete MPEG2 transport stream to the software 
demuxer.

all in all I will use 98136 bytes for streaming
allocating buffer 0
buffer 0: f4dcc000 (dma: 886882304)
allocating buffer 1
buffer 1: f4de4000 (dma: 886980608)
allocating buffer 2
buffer 2: f4de8000 (dma: 886996992)
allocating buffer 3
buffer 3: f4dec000 (dma: 887013376)
allocating buffer 4
buffer 4: f4df (dma: 887029760)
allocating buffer 5
buffer 5: f4df4000 (dma: 887046144)
allocation successful
DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
DVB: register adapter1/demux0 @ minor: 4 (0x04)
DVB: register adap