public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* af9015: Second Tuner hangs after a while
@ 2011-12-27 16:44 Thomas Holzeisen
  2011-12-27 17:25 ` Antti Palosaari
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Holzeisen @ 2011-12-27 16:44 UTC (permalink / raw)
  To: linux-media

Hello there,

I got a MSI DigiVox Duo stick identifying as:

Bus 001 Device 005: ID 1462:8801 Micro Star International
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1462 Micro Star International
  idProduct          0x8801
  bcdDevice            2.00
  iManufacturer           1 Afatech
  iProduct                2 DVB-T 2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Until some time ago, there was not even a remote chance getting this Dual-Tuner Stick to work. When trying to tune in a
second transponder, the log got spammed with these:

[  835.412375] af9015: command failed:1
[  835.412383] mxl5005s I2C write failed

However, I applied the patches ba730b56cc9afbcb10f329c17320c9e535c43526 and 61875c55170f2cf275263b4ba77e6cc787596d9f
from Antti Palosaari. For the first time I got able to receive two Transponders at once. Sadly after a while the second
adapter stops working, showing the I2C erros above. The first adapter keeps working. Also attaching and removing the
stick does not work out very well.

First plugin attempt:
[   78.552597] dvb-usb: found a 'MSI DIGIVOX Duo' in cold state, will try to load a firmware
[   78.592456] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[   78.662114] dvb-usb: found a 'MSI DIGIVOX Duo' in warm state.
[   78.662251] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   78.663514] DVB: registering new adapter (MSI DIGIVOX Duo)
[   78.709768] af9013: firmware version 0.0.0.0
[   78.711858] DVB: registering adapter 0 frontend 0 (Afatech AF9013)...
[   78.745265] MXL5005S: Attached at address 0xc6
[   78.745278] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   78.746513] DVB: registering new adapter (MSI DIGIVOX Duo)
[   79.361106] af9015: firmware did not run
[   79.361117] af9015: firmware copy to 2nd frontend failed, will disable it
[   79.361127] dvb-usb: no frontend was attached by 'MSI DIGIVOX Duo'
[   79.361136] dvb-usb: MSI DIGIVOX Duo successfully initialized and connected.
[   79.368407] usbcore: registered new interface driver dvb_usb_af9015

removing and inserting again
[  160.290935] dvb-usb: MSI DIGIVOX Duo successfully deinitialized and disconnected.
[  197.576325] af9015: recv bulk message failed:-110
[  197.576338] af9015: eeprom read failed=-1
[  197.576363] dvb_usb_af9015: probe of 1-1:1.0 failed with error -1

third one
[  222.198442] dvb-usb: found a 'MSI DIGIVOX Duo' in cold state, will try to load a firmware
[  222.205585] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[  222.274229] dvb-usb: found a 'MSI DIGIVOX Duo' in warm state.
[  222.274371] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[  222.275468] DVB: registering new adapter (MSI DIGIVOX Duo)
[  222.277066] af9013: firmware version 4.95.0.0
[  222.280128] DVB: registering adapter 0 frontend 0 (Afatech AF9013)...
[  222.280480] MXL5005S: Attached at address 0xc6
[  222.280490] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[  222.280978] DVB: registering new adapter (MSI DIGIVOX Duo)
[  222.997193] af9013: found a 'Afatech AF9013' in warm state.
[  223.000695] af9013: firmware version 4.95.0.0
[  223.006960] DVB: registering adapter 1 frontend 0 (Afatech AF9013)...
[  223.007258] MXL5005S: Attached at address 0xc6
[  223.007269] dvb-usb: MSI DIGIVOX Duo successfully initialized and connected.

this is repeatable to me every time. Removing the stick when in warm state, leads to kernel oops every time. Kernel
Version is 3.1.2.

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

* Re: af9015: Second Tuner hangs after a while
  2011-12-27 16:44 af9015: Second Tuner hangs after a while Thomas Holzeisen
@ 2011-12-27 17:25 ` Antti Palosaari
  2011-12-27 18:00   ` Thomas Holzeisen
  0 siblings, 1 reply; 3+ messages in thread
From: Antti Palosaari @ 2011-12-27 17:25 UTC (permalink / raw)
  To: Thomas Holzeisen; +Cc: linux-media

On 12/27/2011 06:44 PM, Thomas Holzeisen wrote:
> Until some time ago, there was not even a remote chance getting this Dual-Tuner Stick to work. When trying to tune in a
> second transponder, the log got spammed with these:
>
> [  835.412375] af9015: command failed:1
> [  835.412383] mxl5005s I2C write failed
>
> However, I applied the patches ba730b56cc9afbcb10f329c17320c9e535c43526 and 61875c55170f2cf275263b4ba77e6cc787596d9f
> from Antti Palosaari. For the first time I got able to receive two Transponders at once. Sadly after a while the second
> adapter stops working, showing the I2C erros above. The first adapter keeps working. Also attaching and removing the
> stick does not work out very well.

> this is repeatable to me every time. Removing the stick when in warm state, leads to kernel oops every time. Kernel
> Version is 3.1.2.

Rather interesting problems. As I understand there is two success 
reports and of course tests I have done. This is first report having 
problems.

I have PULL requested those changes about one month ago and hope those 
will committed soon in order to get more testers... It is big change, 
basically whole driver is rewritten and as it is one of the most popular 
devices it will be big chaos after Kernel merge if there will be 
problems like you have. For now I will still be and wait more reports.


regards
Antti
-- 
http://palosaari.fi/

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

* Re: af9015: Second Tuner hangs after a while
  2011-12-27 17:25 ` Antti Palosaari
@ 2011-12-27 18:00   ` Thomas Holzeisen
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Holzeisen @ 2011-12-27 18:00 UTC (permalink / raw)
  To: Antti Palosaari; +Cc: linux-media

I managed to get the Oops when disconnecting:

Message from syslogd@xbmc at Dec 27 17:53:32 ...
 kernel:[  493.144450] Oops: 0000 [#1] SMP
Message from syslogd@xbmc at Dec 27 17:53:32 ...
 kernel:[  493.147537] Process kworker/0:4 (pid: 1912, ti=f2f94000 task=f44d6180 task.ti=f2f94000)
Message from syslogd@xbmc at Dec 27 17:53:32 ...
 kernel:[  493.147682] Stack:
Message from syslogd@xbmc at Dec 27 17:53:32 ...
 kernel:[  493.148008] Call Trace:
Message from syslogd@xbmc at Dec 27 17:53:32 ...
 kernel:[  493.148008] Code: f8 75 09 83 ea 28 74 04 89 d0 eb e7 83 c0 10 e9 ba 73 d9 c8 55 89 cd 57 56 89 c6 53 bb a1
ff ff ff 83 ec 08 89 54 24 04 8b 40 08
Message from syslogd@xbmc at Dec 27 17:53:32 ...
 kernel:[  493.148008] EIP: [<f850c92e>] i2c_transfer+0x17/0xb7 [i2c_core] SS:ESP 0068:f2f95eec
Message from syslogd@xbmc at Dec 27 17:53:32 ...
 kernel:[  493.148008] CR2: 0000000000000002
Message from syslogd@xbmc at Dec 27 17:53:32 ...
 kernel:[  493.164072] Oops: 0000 [#2] SMP


Antti Palosaari wrote:
> On 12/27/2011 06:44 PM, Thomas Holzeisen wrote:
>> Until some time ago, there was not even a remote chance getting this Dual-Tuner Stick to work. When trying to tune in a
>> second transponder, the log got spammed with these:
>>
>> [  835.412375] af9015: command failed:1
>> [  835.412383] mxl5005s I2C write failed
>>
>> However, I applied the patches ba730b56cc9afbcb10f329c17320c9e535c43526 and 61875c55170f2cf275263b4ba77e6cc787596d9f
>> from Antti Palosaari. For the first time I got able to receive two Transponders at once. Sadly after a while the second
>> adapter stops working, showing the I2C erros above. The first adapter keeps working. Also attaching and removing the
>> stick does not work out very well.
> 
>> this is repeatable to me every time. Removing the stick when in warm state, leads to kernel oops every time. Kernel
>> Version is 3.1.2.
> 
> Rather interesting problems. As I understand there is two success reports and of course tests I have done. This is first
> report having problems.
> 
> I have PULL requested those changes about one month ago and hope those will committed soon in order to get more
> testers... It is big change, basically whole driver is rewritten and as it is one of the most popular devices it will be
> big chaos after Kernel merge if there will be problems like you have. For now I will still be and wait more reports.
> 
> 
> regards
> Antti


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

end of thread, other threads:[~2011-12-27 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-27 16:44 af9015: Second Tuner hangs after a while Thomas Holzeisen
2011-12-27 17:25 ` Antti Palosaari
2011-12-27 18:00   ` Thomas Holzeisen

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