[PATCH] af9035: override tuner id when bad value set into eeprom

2014-07-04 Thread Antti Palosaari
Tuner ID set into EEPROM is wrong in some cases, which causes driver to select wrong tuner profile. That leads device non-working. Fix issue by overriding known bad tuner IDs with suitable default value. Thanks to MX-NET Telekomunikace s.r.o. for providing non-working DTV stick, that I could fix t

Re: [PATCH] af9035: override tuner id when bad value set into eeprom

2014-06-26 Thread Antti Palosaari
On 06/26/2014 12:41 PM, David Shirley wrote: As promised results on the 9033 driver (with the patch to fix the tuner id/eeprom thingy): 3.42: Jun 26 19:30:56 crystal kernel: [ 102.250152] i2c i2c-11: af9033: firmware version: LINK=0.0.0.0 OFDM=3.29.3.3 root@crystal:~# tzap -c ~mythtv/channels -

Re: [PATCH] af9035: override tuner id when bad value set into eeprom

2014-06-26 Thread David Shirley
As promised results on the 9033 driver (with the patch to fix the tuner id/eeprom thingy): 3.42: Jun 26 19:30:56 crystal kernel: [ 102.250152] i2c i2c-11: af9033: firmware version: LINK=0.0.0.0 OFDM=3.29.3.3 root@crystal:~# tzap -c ~mythtv/channels -a 2 ONE using '/dev/dvb/adapter2/frontend0' and

Re: [PATCH] af9035: override tuner id when bad value set into eeprom

2014-06-25 Thread David Shirley
With the IT913X driver: I found that IT9135v2_3.42.3.3_3.29.3.3 wouldn't tune at all and IT9135v2_3.40.1.0_3.17.1.0 appeared to be less happy to tune (rightly so if the reception from the "kernel driver" (ie the one the script ftp's and extracts) is anything to go by) I will retest now that i'm o

Re: [PATCH] af9035: override tuner id when bad value set into eeprom

2014-06-25 Thread Antti Palosaari
On 06/25/2014 01:32 PM, David Shirley wrote: Patched vanilla 3.15.1, this is the dmesg: Jun 25 20:16:16 crystal kernel: [ 136.546403] usb 3-4.1.2: new high-speed USB device number 9 using xhci_hcd Jun 25 20:16:16 crystal kernel: [ 136.634428] usb 3-4.1.2: New USB device found, idVendor=0413, i

Re: [PATCH] af9035: override tuner id when bad value set into eeprom

2014-06-25 Thread David Shirley
Patched vanilla 3.15.1, this is the dmesg: Jun 25 20:16:16 crystal kernel: [ 136.546403] usb 3-4.1.2: new high-speed USB device number 9 using xhci_hcd Jun 25 20:16:16 crystal kernel: [ 136.634428] usb 3-4.1.2: New USB device found, idVendor=0413, idProduct=6a05 Jun 25 20:16:16 crystal kernel: [

[PATCH] af9035: override tuner id when bad value set into eeprom

2014-06-24 Thread Antti Palosaari
Tuner ID set into EEPROM is wrong in some cases, which causes driver to select wrong tuner profile. That leads device non-working. Fix issue by overriding known bad tuner IDs with suitable default value. Cc: sta...@vger.kernel.org # v3.15+ Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb