Re: [Kernel-packages] [Bug 1291459] Re: ioctl FE_GET_INFO hangs with DViCO FusionHDTV DVB-T Dual Digital 4 card

2014-08-28 Thread Ben Stanley
Sounds like a good solution.


On 28 August 2014 6:21:25 PM Blowdesign 1291...@bugs.launchpad.net wrote:

 Thanks for your reply.

 I think I'll use the old kernel.

 Regards

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1291459

 Title:
   ioctl FE_GET_INFO hangs with DViCO FusionHDTV DVB-T Dual Digital 4
   card

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1291459/+subscriptions

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1291459

Title:
  ioctl FE_GET_INFO hangs with DViCO FusionHDTV DVB-T Dual Digital 4
  card

Status in “linux” package in Ubuntu:
  Confirmed
Status in “linux-firmware” package in Ubuntu:
  Confirmed

Bug description:
  Top level symptom:
  mythtv-backend fails to listen for client connections.
  It stops at: (strace mythbackend)
  open(/dev/dvb/adapter1/frontend0, O_RDWR|O_NONBLOCK) = 16
  ioctl(16, FE_GET_INFO

  me-tv also hangs in a similar manner.

  I expected the ioctl call to succeed, and for the top level
  applications to function properly. Instead, they hang.

  The machine has 3 dvb tuners as follows:
   Adapter 0
  Mar 12 22:32:53 mythtv kernel: [   17.428195] input: Budget-CI dvb ir 
receiver saa7146 (0) as /devices/pci:00/:00:1e.0/:05
  :00.0/rc/rc0/input13
  Mar 12 22:32:53 mythtv kernel: [   17.428251] rc0: Budget-CI dvb ir receiver 
saa7146 (0) as /devices/pci:00/:00:1e.0/:05:0
  0.0/rc/rc0
  Mar 12 22:32:53 mythtv kernel: [   17.432801] budget_ci dvb :05:00.0: 
DVB: registering adapter 0 frontend 0 (Philips TDA10045H DVB
  -T)...
   Adapter 1
  Mar 12 22:32:53 mythtv kernel: [   17.646727] DVB: registering new adapter 
(DViCO FusionHDTV DVB-T Dual Digital 4)
  Mar 12 22:32:53 mythtv kernel: [   17.797366] usb 3-1: DVB: registering 
adapter 1 frontend 0 (Zarlink ZL10353 DVB-T)...
   Adapter 2
  Mar 12 22:32:53 mythtv kernel: [   17.831769] DVB: registering new adapter 
(DViCO FusionHDTV DVB-T Dual Digital 4)
  Mar 12 22:32:53 mythtv kernel: [   17.882250] cxusb: No IR receiver detected 
on this device.
  Mar 12 22:32:53 mythtv kernel: [   17.882258] usb 3-2: DVB: registering 
adapter 2 frontend 0 (Zarlink ZL10353 DVB-T)...

  There appears to be a problem loading the firmware for the xc2028 in
  the DViCO FusionHDTV card:

  Mar 13 02:07:59 mythtv kernel: [   37.348226] xc2028 10-0061: Loading 
firmware for type=BASE F8MHZ (3), id .
  Mar 13 02:07:59 mythtv kernel: [   37.360226] cxusb: i2c wr: len=64 is too 
big!
  Mar 13 02:07:59 mythtv kernel: [   37.360226] 
  Mar 13 02:07:59 mythtv kernel: [   37.360230] xc2028 10-0061: i2c output 
error: rc = -95 (should be 64)
  Mar 13 02:07:59 mythtv kernel: [   37.360231] xc2028 10-0061: -95 returned 
from send
  Mar 13 02:07:59 mythtv kernel: [   37.360234] xc2028 10-0061: Error -22 while 
loading base firmware
  Mar 13 02:07:59 mythtv kernel: [   37.412233] xc2028 11-0061: Loading 
firmware for type=BASE F8MHZ (3), id .
  Mar 13 02:07:59 mythtv kernel: [   37.424360] cxusb: i2c wr: len=64 is too 
big!
  Mar 13 02:07:59 mythtv kernel: [   37.424360] 
  Mar 13 02:07:59 mythtv kernel: [   37.424364] xc2028 11-0061: i2c output 
error: rc = -95 (should be 64)
  Mar 13 02:07:59 mythtv kernel: [   37.424365] xc2028 11-0061: -95 returned 
from send
  Mar 13 02:07:59 mythtv kernel: [   37.424368] xc2028 11-0061: Error -22 while 
loading base firmware
  Mar 13 02:07:59 mythtv kernel: [   37.428486] xc2028 10-0061: Loading 
firmware for type=BASE F8MHZ (3), id .
  Mar 13 02:07:59 mythtv kernel: [   37.492247] xc2028 11-0061: Loading 
firmware for type=BASE F8MHZ (3), id .

  The firmware is loaded from the file xc3028-v27.fw:
  Mar 13 02:07:42 mythtv kernel: [   18.108746] xc2028 11-0061: creating new 
instance
  Mar 13 02:07:42 mythtv kernel: [   18.108748] xc2028 11-0061: type set to 
XCeive xc2028/xc3028 tuner
  Mar 13 02:07:42 mythtv kernel: [   18.108801] xc2028 11-0061: Loading 80 
firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
  Mar 13 02:07:42 mythtv kernel: [   18.109670] dvb-usb: DViCO FusionHDTV DVB-T 
Dual Digital 4 successfully initialized and connected.

  The firmware file /lib/firmware/xc3028-v27.fw belongs to the 
linux-firmware-nonfree 1.14.ubuntu1 package. I have located instructions on the 
origin of this file 
(http://www.linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#How_to_Obtain_the_Firmware)
  and I have verified that the firmware file is identical to the one obtained 
by that method.

  The DViCO FusionHDTV card has been used for several years in this
  machine. This problem only occurred after upgrading to saucy
  salamander.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: 

Re: [Kernel-packages] [Bug 1291459] Re: ioctl FE_GET_INFO hangs with DViCO FusionHDTV DVB-T Dual Digital 4 card

2014-08-27 Thread Ben Stanley
It turns out that a much deeper fix is necessary, and I have not created 
it. My current solution is to blacklist the driver. I plan to replace the card.

Alternatively, you could big the guys at Linux tv.org, the ones who write 
the drivers in the first place. Launched doesn't seem to be where they hang 
out.

The change I made was in the kernel source code. First you have to get the 
ubuntu kernel source. After making the change, you have to recompile the 
kernel module and copy it into the correct location. The process is very 
technical and requires developer skills. But, it doesn't work as well as I 
claimed.

Regards,
Ben Stanley


On 28 August 2014 5:21:08 AM Blowdesign 1291...@bugs.launchpad.net wrote:

 Hi,

 How do fix this issue ?

 I've the same error :

  3242.308051] xc2028 0-0061: i2c output error: rc = -95 (should be 64)
 [ 3242.308055] xc2028 0-0061: -95 returned from send
 [ 3242.317961] xc2028 0-0061: Error -22 while loading base firmware
 [ 3242.352112] xc2028 1-0061: Loading firmware for type=BASE F8MHZ (3), id 
 .
 [ 3242.364130] cxusb: i2c wr: len=64 is too big!

 Where is the file drivers/media/tuners/tuner-xc2028 to change the
 MAX_XFER_SIZE ?

 Thanks in advance.

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1291459

 Title:
   ioctl FE_GET_INFO hangs with DViCO FusionHDTV DVB-T Dual Digital 4
   card

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1291459/+subscriptions

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1291459

Title:
  ioctl FE_GET_INFO hangs with DViCO FusionHDTV DVB-T Dual Digital 4
  card

Status in “linux” package in Ubuntu:
  Confirmed
Status in “linux-firmware” package in Ubuntu:
  Confirmed

Bug description:
  Top level symptom:
  mythtv-backend fails to listen for client connections.
  It stops at: (strace mythbackend)
  open(/dev/dvb/adapter1/frontend0, O_RDWR|O_NONBLOCK) = 16
  ioctl(16, FE_GET_INFO

  me-tv also hangs in a similar manner.

  I expected the ioctl call to succeed, and for the top level
  applications to function properly. Instead, they hang.

  The machine has 3 dvb tuners as follows:
   Adapter 0
  Mar 12 22:32:53 mythtv kernel: [   17.428195] input: Budget-CI dvb ir 
receiver saa7146 (0) as /devices/pci:00/:00:1e.0/:05
  :00.0/rc/rc0/input13
  Mar 12 22:32:53 mythtv kernel: [   17.428251] rc0: Budget-CI dvb ir receiver 
saa7146 (0) as /devices/pci:00/:00:1e.0/:05:0
  0.0/rc/rc0
  Mar 12 22:32:53 mythtv kernel: [   17.432801] budget_ci dvb :05:00.0: 
DVB: registering adapter 0 frontend 0 (Philips TDA10045H DVB
  -T)...
   Adapter 1
  Mar 12 22:32:53 mythtv kernel: [   17.646727] DVB: registering new adapter 
(DViCO FusionHDTV DVB-T Dual Digital 4)
  Mar 12 22:32:53 mythtv kernel: [   17.797366] usb 3-1: DVB: registering 
adapter 1 frontend 0 (Zarlink ZL10353 DVB-T)...
   Adapter 2
  Mar 12 22:32:53 mythtv kernel: [   17.831769] DVB: registering new adapter 
(DViCO FusionHDTV DVB-T Dual Digital 4)
  Mar 12 22:32:53 mythtv kernel: [   17.882250] cxusb: No IR receiver detected 
on this device.
  Mar 12 22:32:53 mythtv kernel: [   17.882258] usb 3-2: DVB: registering 
adapter 2 frontend 0 (Zarlink ZL10353 DVB-T)...

  There appears to be a problem loading the firmware for the xc2028 in
  the DViCO FusionHDTV card:

  Mar 13 02:07:59 mythtv kernel: [   37.348226] xc2028 10-0061: Loading 
firmware for type=BASE F8MHZ (3), id .
  Mar 13 02:07:59 mythtv kernel: [   37.360226] cxusb: i2c wr: len=64 is too 
big!
  Mar 13 02:07:59 mythtv kernel: [   37.360226] 
  Mar 13 02:07:59 mythtv kernel: [   37.360230] xc2028 10-0061: i2c output 
error: rc = -95 (should be 64)
  Mar 13 02:07:59 mythtv kernel: [   37.360231] xc2028 10-0061: -95 returned 
from send
  Mar 13 02:07:59 mythtv kernel: [   37.360234] xc2028 10-0061: Error -22 while 
loading base firmware
  Mar 13 02:07:59 mythtv kernel: [   37.412233] xc2028 11-0061: Loading 
firmware for type=BASE F8MHZ (3), id .
  Mar 13 02:07:59 mythtv kernel: [   37.424360] cxusb: i2c wr: len=64 is too 
big!
  Mar 13 02:07:59 mythtv kernel: [   37.424360] 
  Mar 13 02:07:59 mythtv kernel: [   37.424364] xc2028 11-0061: i2c output 
error: rc = -95 (should be 64)
  Mar 13 02:07:59 mythtv kernel: [   37.424365] xc2028 11-0061: -95 returned 
from send
  Mar 13 02:07:59 mythtv kernel: [   37.424368] xc2028 11-0061: Error -22 while 
loading base firmware
  Mar 13 02:07:59 mythtv kernel: [   37.428486] xc2028 10-0061: Loading 
firmware for type=BASE F8MHZ (3), id .
  Mar 13 02:07:59 mythtv kernel: [   37.492247] xc2028 11-0061: Loading 
firmware for type=BASE F8MHZ (3), id .

  The firmware is loaded from the file xc3028-v27.fw: