public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] unknown dvbt device 1ae7:0381 Xtensions 380U
@ 2008-07-15  6:43 Robert Goldner
  2008-07-15 11:11 ` Antti Palosaari
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Goldner @ 2008-07-15  6:43 UTC (permalink / raw)
  To: linux-dvb

Hi,

has anyone ever tryed to get the Xtensions 380 working with linux?

url:

http://www.x-tensions.net/support.php?lang=de&view=solo&prod_num=XD-380
But be carefull with the driver on this page. It differs a lot against the 
driver included at the CD delivered with the stick.

I had a look into the windows driver (on the CD) and found nothing what
could give an information which linux-driver is the right one (in my eyes). 
If it is useful, I can put the windows driver to the www.

Is there any realistic hope, to get this device work with linux? I will
test any patches and try any hints etc.

lsusb:
1ae7:0381

lsusb -vvv:

Bus 001 Device 007: ID 1ae7:0381
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1ae7
  idProduct          0x0381
  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)

Best regards

Robert


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

* Re: [linux-dvb] unknown dvbt device 1ae7:0381 Xtensions 380U
  2008-07-15  6:43 [linux-dvb] unknown dvbt device 1ae7:0381 Xtensions 380U Robert Goldner
@ 2008-07-15 11:11 ` Antti Palosaari
  2008-07-15 16:37   ` Antti Palosaari
  0 siblings, 1 reply; 6+ messages in thread
From: Antti Palosaari @ 2008-07-15 11:11 UTC (permalink / raw)
  To: Robert Goldner; +Cc: linux-dvb

Robert Goldner wrote:
> Hi,
> 
> has anyone ever tryed to get the Xtensions 380 working with linux?
> 
> url:
> 
> http://www.x-tensions.net/support.php?lang=de&view=solo&prod_num=XD-380
> But be carefull with the driver on this page. It differs a lot against the 
> driver included at the CD delivered with the stick.
> 
> I had a look into the windows driver (on the CD) and found nothing what
> could give an information which linux-driver is the right one (in my eyes). 
> If it is useful, I can put the windows driver to the www.
> 
> Is there any realistic hope, to get this device work with linux? I will
> test any patches and try any hints etc.

Looks like rebranded KWorld PlusTV 380U. Device is AF9015 chipset based. 
I can add support for this later today.

Antti
-- 
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

* Re: [linux-dvb] unknown dvbt device 1ae7:0381 Xtensions 380U
  2008-07-15 11:11 ` Antti Palosaari
@ 2008-07-15 16:37   ` Antti Palosaari
  2008-07-15 19:58     ` postfix
  0 siblings, 1 reply; 6+ messages in thread
From: Antti Palosaari @ 2008-07-15 16:37 UTC (permalink / raw)
  To: Robert Goldner; +Cc: linux-dvb

Antti Palosaari wrote:
>> http://www.x-tensions.net/support.php?lang=de&view=solo&prod_num=XD-380
>> But be carefull with the driver on this page. It differs a lot against the 
>> driver included at the CD delivered with the stick.
>>
>> I had a look into the windows driver (on the CD) and found nothing what
>> could give an information which linux-driver is the right one (in my eyes). 
>> If it is useful, I can put the windows driver to the www.
>>
>> Is there any realistic hope, to get this device work with linux? I will
>> test any patches and try any hints etc.

Device USB-IDs are now added to the driver. Please test:
http://linuxtv.org/hg/~anttip/af9015

> 
> Looks like rebranded KWorld PlusTV 380U. Device is AF9015 chipset based. 
> I can add support for this later today.

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

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

* Re: [linux-dvb] unknown dvbt device 1ae7:0381 Xtensions 380U
  2008-07-15 16:37   ` Antti Palosaari
@ 2008-07-15 19:58     ` postfix
  2008-07-15 20:35       ` Antti Palosaari
  0 siblings, 1 reply; 6+ messages in thread
From: postfix @ 2008-07-15 19:58 UTC (permalink / raw)
  To: linux-dvb; +Cc: Antti Palosaari

Hello Antti,

thanks for your work. I tryed your patched files and according to dmesg, 
it looks like a good initialisation. But after init there are endless 
failures like:
dvb-usb: error while querying for an remote control event.
af9015: af9015_rw_udev: sending failed: -110 (8/0)
af9015: af9015_rw_udev: receiving failed: -110

here is the full dmesg output:

usb 1-6.1: new high speed USB device using ehci_hcd and address 8
usb 1-6.1: configuration #1 chosen from 1 choice
af9015_usb_probe: interface:0
af9015_read_config: IR mode:4
af9015_read_config: TS mode:0
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125
af9015_read_config: [0] MT2060 IF1:5888
af9015_read_config: [0] tuner id:134
af9015_identify_state: reply:01
dvb-usb: found a 'Xtensions XD-380' in cold state, will try to load a 
firmware
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
af9015_download_firmware:
usb 1-6.1: New USB device found, idVendor=1ae7, idProduct=0381
usb 1-6.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-6.1: Product: DVB-T 2
usb 1-6.1: Manufacturer: Afatech
usb 1-6.1: USB disconnect, address 8
af9015_usb_device_exit:
dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
usb 1-6.1: new high speed USB device using ehci_hcd and address 9
usb 1-6.1: configuration #1 chosen from 1 choice
af9015_usb_probe: interface:0
af9015_read_config: IR mode:4
af9015_read_config: TS mode:0
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125
af9015_read_config: [0] MT2060 IF1:5888
af9015_read_config: [0] tuner id:134
af9015_identify_state: reply:02
dvb-usb: found a 'Xtensions XD-380' in warm state.
i2c-adapter i2c-3: SMBus Quick command not supported, can't probe for chips
dvb-usb: will pass the complete MPEG2 transport stream to the software 
demuxer.
DVB: registering new adapter (Xtensions XD-380)
af9015_af9013_frontend_attach: init I2C
af9015_i2c_init:
i2c-adapter i2c-4: SMBus Quick command not supported, can't probe for chips
00: 2b f0 9b 0b 00 00 00 00 e7 1a 81 03 00 02 01 02
10: 00 80 00 fa fa 10 40 ef 04 30 31 30 31 30 32 30
20: 32 30 37 30 30 30 30 31 ff ff ff ff ff ff ff ff
30: 00 00 3a 01 00 08 02 00 1d 8d 00 17 86 ff ff ff
40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
50: ff ff ff ff ff 26 00 00 04 03 09 04 10 03 41 00
60: 66 00 61 00 74 00 65 00 63 00 68 00 10 03 44 00
70: 56 00 42 00 2d 00 54 00 20 00 32 00 20 03 30 00
80: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00
90: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
af9013: chip version:1 ROM version:1.0
af9013: firmware version:4.65.0
DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
af9015_tuner_attach:
Quantek QT1010 successfully identified.
input: IR-receiver inside an USB DVB receiver as /class/input/input11
dvb-usb: schedule remote query interval to 150 msecs.
dvb-usb: Xtensions XD-380 successfully initialized and connected.
af9015_init:
af9015_init_endpoint: USB speed:3
af9015_download_ir_table:
usb 1-6.1: New USB device found, idVendor=1ae7, idProduct=0381
usb 1-6.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-6.1: Product: DVB-T 2
usb 1-6.1: Manufacturer: Afatech
af9015: af9015_rw_udev: command failed: 255
dvb-usb: error while querying for an remote control event.
af9015: af9015_rw_udev: command failed: 255
dvb-usb: error while querying for an remote control event.
af9015: af9015_rw_udev: command failed: 255
dvb-usb: error while querying for an remote control event.
af9015: af9015_rw_udev: command failed: 255
dvb-usb: error while querying for an remote control event.
af9015: af9015_rw_udev: command failed: 255
dvb-usb: error while querying for an remote control event.
af9015: af9015_rw_udev: command failed: 255
dvb-usb: error while querying for an remote control event.
af9015: af9015_rw_udev: command failed: 255
dvb-usb: error while querying for an remote control event.
....

Sorry for this not so good news in the evening :-|


regards

Robert


Antti Palosaari schrieb:
> Antti Palosaari wrote:
>>> http://www.x-tensions.net/support.php?lang=de&view=solo&prod_num=XD-380
>>> But be carefull with the driver on this page. It differs a lot against the 
>>> driver included at the CD delivered with the stick.
>>>
>>> I had a look into the windows driver (on the CD) and found nothing what
>>> could give an information which linux-driver is the right one (in my eyes). 
>>> If it is useful, I can put the windows driver to the www.
>>>
>>> Is there any realistic hope, to get this device work with linux? I will
>>> test any patches and try any hints etc.
> 
> Device USB-IDs are now added to the driver. Please test:
> http://linuxtv.org/hg/~anttip/af9015
> 
>> Looks like rebranded KWorld PlusTV 380U. Device is AF9015 chipset based. 
>> I can add support for this later today.
> 
> regards
> Antti

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

* Re: [linux-dvb] unknown dvbt device 1ae7:0381 Xtensions 380U
  2008-07-15 19:58     ` postfix
@ 2008-07-15 20:35       ` Antti Palosaari
  0 siblings, 0 replies; 6+ messages in thread
From: Antti Palosaari @ 2008-07-15 20:35 UTC (permalink / raw)
  To: postfix; +Cc: linux-dvb

postfix@au-79.de wrote:
> Hello Antti,
> 
> thanks for your work. I tryed your patched files and according to dmesg, 
> it looks like a good initialisation. But after init there are endless 
> failures like:
> dvb-usb: error while querying for an remote control event.
> af9015: af9015_rw_udev: sending failed: -110 (8/0)
> af9015: af9015_rw_udev: receiving failed: -110

I have no idea what IR-mode is 0x04 but hopefully it will start working 
now when remote polling is disabled.
Please test again.

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

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

* Re: [linux-dvb] unknown dvbt device 1ae7:0381 Xtensions 380U
@ 2008-07-15 21:00 postfix
  0 siblings, 0 replies; 6+ messages in thread
From: postfix @ 2008-07-15 21:00 UTC (permalink / raw)
  To: linux-dvb

Hello Antti,

this was the solution. It works now quite fine. Thanks a lot for your
fast and very good work.

here again the dmesg:

usb 1-6.1: new high speed USB device using ehci_hcd and address 10
usb 1-6.1: configuration #1 chosen from 1 choice
usb 1-6.1: New USB device found, idVendor=1ae7, idProduct=0381
usb 1-6.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-6.1: Product: DVB-T 2
usb 1-6.1: Manufacturer: Afatech
af9015_usb_probe: interface:0
af9015_read_config: IR mode:4
af9015_read_config: TS mode:0
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125
af9015_read_config: [0] MT2060 IF1:5888
af9015_read_config: [0] tuner id:134
af9015_identify_state: reply:01
dvb-usb: found a 'Xtensions XD-380' in cold state, will try to load a
firmware
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
af9015_download_firmware:
usbcore: registered new interface driver dvb_usb_af9015
usb 1-6.1: USB disconnect, address 10
af9015_usb_device_exit:
dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
usb 1-6.1: new high speed USB device using ehci_hcd and address 11
usb 1-6.1: configuration #1 chosen from 1 choice
af9015_usb_probe: interface:0
af9015_read_config: IR mode:4
af9015_read_config: TS mode:0
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125
af9015_read_config: [0] MT2060 IF1:5888
af9015_read_config: [0] tuner id:134
af9015_identify_state: reply:02
dvb-usb: found a 'Xtensions XD-380' in warm state.
i2c-adapter i2c-3: SMBus Quick command not supported, can't probe for chips
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (Xtensions XD-380)
af9015_af9013_frontend_attach: init I2C
af9015_i2c_init:
i2c-adapter i2c-4: SMBus Quick command not supported, can't probe for chips
00: 2b f0 9b 0b 00 00 00 00 e7 1a 81 03 00 02 01 02
10: 00 80 00 fa fa 10 40 ef 04 30 31 30 31 30 32 30
20: 32 30 37 30 30 30 30 31 ff ff ff ff ff ff ff ff
30: 00 00 3a 01 00 08 02 00 1d 8d 00 17 86 ff ff ff
40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
50: ff ff ff ff ff 26 00 00 04 03 09 04 10 03 41 00
60: 66 00 61 00 74 00 65 00 63 00 68 00 10 03 44 00
70: 56 00 42 00 2d 00 54 00 20 00 32 00 20 03 30 00
80: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00
90: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
af9013: chip version:1 ROM version:1.0
af9013: firmware version:4.65.0
DVB: registering frontend 0 (Afatech AF9013 DVB-T)...
af9015_tuner_attach:
Quantek QT1010 successfully identified.
dvb-usb: Xtensions XD-380 successfully initialized and connected.
af9015_init:
af9015_init_endpoint: USB speed:3
af9015_download_ir_table:
usb 1-6.1: New USB device found, idVendor=1ae7, idProduct=0381
usb 1-6.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-6.1: Product: DVB-T 2
usb 1-6.1: Manufacturer: Afatech
af9015_pid_filter_ctrl: onoff:0

If you want me to try any patches etc. please let me know. As far as I
see, this device has no IR-interface.

regards

Robert


Antti Palosaari schrieb:
> postfix@au-79.de wrote:
>> Hello Antti,
>>
>> thanks for your work. I tryed your patched files and according to 
>> dmesg, it looks like a good initialisation. But after init there are 
>> endless failures like:
>> dvb-usb: error while querying for an remote control event.
>> af9015: af9015_rw_udev: sending failed: -110 (8/0)
>> af9015: af9015_rw_udev: receiving failed: -110
> 
> I have no idea what IR-mode is 0x04 but hopefully it will start working 
> now when remote polling is disabled.
> Please test again.
> 
> regards
> Antti


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

end of thread, other threads:[~2008-07-15 21:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15  6:43 [linux-dvb] unknown dvbt device 1ae7:0381 Xtensions 380U Robert Goldner
2008-07-15 11:11 ` Antti Palosaari
2008-07-15 16:37   ` Antti Palosaari
2008-07-15 19:58     ` postfix
2008-07-15 20:35       ` Antti Palosaari
  -- strict thread matches above, loose matches on Subject: below --
2008-07-15 21:00 postfix

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