[linux-dvb] DIB7000 with xc3028

Michael Wünscher michael.wuenscher at gmx.de
Tue Jan 23 11:23:08 CET 2007


Hello to the list,

in my Samsung R55 laptop there is an integrated dvb-t device.

the listing of lsusb says it is a dibcom stk7700D wich should be a
stk7700p in another design. 

lsusb -v:

Bus 005 Device 002: ID 1164:1efc YUAN High-Tech Development Co., Ltd 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1164 YUAN High-Tech Development Co., Ltd
  idProduct          0x1efc 
  bcdDevice            0.01
  iManufacturer           1 dibcom
  iProduct                2 STK7700D
  iSerial                 3 0000000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    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     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      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               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
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)


-------

So i tried to get the dib driver to work and added my device to the
dib0700_device.c (source's from http://linuxtv.org/hg/v4l-dvb).

dmesg:

[   14.468000] dib0700: loaded with support for 3 different device-types
[   14.516000] check for cold 10b8 1e14
[   14.516000] check for cold 10b8 1e78
[   14.516000] check for cold 2040 7050
[   14.516000] check for cold 7ca a807
[   14.516000] check for cold 185b 1e78
[   14.516000] check for cold 1584 6003
[   14.516000] check for cold 2040 9941
[   14.516000] check for cold 2040 9950
[   14.516000] check for cold 1164 1efc
[   14.516000] dvb-usb: found a 'YUAN Tech STK7700D  with XC3028' in
cold state, will try to load a firmware
[   14.664000] dvb-usb: downloading firmware from file
'dvb-usb-dib0700-01.fw'
[   14.840000] dib0700: firmware started successfully.
[   15.344000] dvb-usb: found a 'YUAN Tech STK7700D  with XC3028' in
warm state.
[   15.344000] power control: 1
[   15.344000] dvb-usb: will pass the complete MPEG2 transport stream to
the software demuxer.
[   15.344000] DVB: registering new adapter (YUAN Tech STK7700D  with
XC3028).
[   15.560000] DVB: registering frontend 0 (DiBcom 7000PC)...
[   15.560000] Tuner: registering extension (MT2060 Silicon Tuner)
[   15.656000] mt2060 I2C read failed
[   15.656000] power control: 0
[   15.656000] dvb-usb: YUAN Tech STK7700D  with XC3028 successfully
initialized and connected.
[   15.656000] usbcore: registered new interface driver dvb_usb_dib0700

-------

This works until the tuner gets registered. (There were also an older
posting http://www.mail-archive.com/linux-dvb@linuxtv.org/msg20994.html)

I found out that there is a xc3028 tuner on the device. This based of
investigating the windows driver. It includes a file named xc3028.rom
and the inf file had the following line for the device:

%YUAN.DeviceDesc_cold%  = MOD7000.Device,USB
\VID_1164&PID_1EFC          ; C version + 843 + 3028, NO AV S & NO FM
%YUAN.DeviceDesc%       = MOD7000.Device,USB
\VID_1164&PID_1EFD&MI_00    ; C version + 843 + 3028, NO AV S & NO FM


So i tried to understand the xc3028-tuner.c .

I think i need to port the driver to the dvb-frontend framework to get
it working?? or is there another way?

The em28xx-dvb driver use another driver for the dvb-tuner not the
xc3028 ?

My last question, Does anybody know what the 843 chip could be? Its
written in the inf file of the windows driver. Because it is build-in
the laptop i can not get a picture of the device :-(

Thanks at all

Michael Wünscher
(Germany - Berlin)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070123/1905d7f4/attachment.pgp


More information about the linux-dvb mailing list