public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel 3.17.0 broke xc4000-based DTV1800h
@ 2014-10-16  7:03 Rodney Baker
  2014-10-20  1:10 ` Rodney Baker
  0 siblings, 1 reply; 11+ messages in thread
From: Rodney Baker @ 2014-10-16  7:03 UTC (permalink / raw)
  To: Linux-Media

Since installing kernel 3.17.0-1.gc467423-desktop (on openSuSE 13.1) my 
xc4000/zl10353/cx88 based DTV card has failed to initialise on boot.

The following messages are from dmesg; 

[   78.468221] xc4000: I2C read failed
[   80.074604] xc4000: I2C read failed
[   80.074605] Unable to read tuner registers.
[   82.622062] Selecting best matching firmware (7 bits differ) for type=(0), 
id 000000200000b700:
[   82.626375] i2c i2c-0: sendbytes: NAK bailout.
[  148.063594] xc4000: I2C read failed
[  149.669994] xc4000: I2C read failed
[  149.669995] Unable to read tuner registers.
[  149.670198] cx88[0]/0: registered device video1 [v4l2]
[  149.670287] cx88[0]/0: registered device vbi0
[  149.670338] cx88[0]/0: registered device radio0
[  149.670340] cx88[0]/0: failed to create cx88 audio thread, err=-4
[  149.670382] cx88[0]/2: cx2388x based DVB/ATSC card
[  149.670384] cx8802_alloc_frontends() allocating 1 frontend(s)
[  149.670515] cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
[  151.305364] zl10353_read_register: readreg error (reg=127, ret==-6)
[  151.305367] cx88[0]/2: frontend initialization failed
[  151.305369] cx88[0]/2: dvb_register failed (err = -22)
[  151.305370] cx88[0]/2: cx8802 probe failed, err = -22

It worked with 3.16.3-1.gd2bbe7f-desktop on the same machine.

Regards,
Rodney.

-- 
==============================================================
Rodney Baker VK5ZTV
rodney.baker@iinet.net.au
==============================================================

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Kernel 3.17.0 broke xc4000-based DTV1800h
@ 2014-11-30 17:38 István, Varga
  2014-12-01  9:20 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 11+ messages in thread
From: István, Varga @ 2014-11-30 17:38 UTC (permalink / raw)
  To: linux-media; +Cc: Rodney Baker

> On 16 Oct 2014, at 17:33, Rodney Baker <rodney.baker <at> iinet.net.au> wrote:
>
> Since installing kernel 3.17.0-1.gc467423-desktop (on openSuSE 13.1) my
> xc4000/zl10353/cx88 based DTV card has failed to initialise on boot.

Apparently, the default firmware file name has been changed to
dvb-fe-xc4000-1.4.1.fw,
and the firmware package for the kernel now includes this file from
kernellabs.com.
However, this firmware file is incomplete (only includes minimal DVB-T
support for the
PCTV 340e), and also incompatible with the driver. That is why trying
to load it results
in i2c errors.

To get a firmware file that actually works, download this package, and build it:
  http://juropnet.hu/~istvan_v/xc4000_firmware.tar.gz
Actually, it was posted to the linux-media list in the past, but the
file did not end up being
included with the kernel firmware packages for some reason. The include path to
tuner-xc2028-types.h needs to be changed in build_fw.c, since the
"tuners" subdirectory is
now in "drivers/media", rather than "drivers/media/common". After
that, running make will
produce a correct firmware file named dvb-fe-xc4000-1.4.fw.

Some distributions include older firmware files from this page:
  http://istvanv.users.sourceforge.net/v4l/xc4000.html
These are slightly different from the newer one, and are extracted
from the Windows
drivers, rather than from the xc4000_firmwares.h file provided by
Xceive, but should still
work nevertheless.

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Kernel 3.17.0 broke xc4000-based DTV1800h
@ 2014-11-30 17:55 István, Varga
  0 siblings, 0 replies; 11+ messages in thread
From: István, Varga @ 2014-11-30 17:55 UTC (permalink / raw)
  To: linux-media

By the way, from the xc4000_firmware.tar.gz package, the only files
that are actually needed are:
  build_fw.c (source code of simple program to write the firmware file)
  xc4000_firmwares.h (header file from Xceive)
  xc4000_scodes.h (also from Xceive)

Everything else is related to extracting the firmware from Windows drivers,
and was included only for completeness.

The license for the Xceive header files can be found here:
  http://www.kernellabs.com/firmware/xc4000/README.xc4000

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

end of thread, other threads:[~2014-12-08 14:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-16  7:03 Kernel 3.17.0 broke xc4000-based DTV1800h Rodney Baker
2014-10-20  1:10 ` Rodney Baker
  -- strict thread matches above, loose matches on Subject: below --
2014-11-30 17:38 István, Varga
2014-12-01  9:20 ` Mauro Carvalho Chehab
2014-12-01 12:24   ` István, Varga
2014-12-01 12:52     ` Mauro Carvalho Chehab
2014-12-01 14:15       ` Devin Heitmueller
2014-12-01 15:30         ` István, Varga
2014-12-08 14:43         ` István, Varga
2014-12-02 11:23       ` István, Varga
2014-11-30 17:55 István, Varga

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