[linux-dvb] Re: Patches adding QT1010 support for EM2880 (and also for a broken DIBCOM)

Markus Rechberger mrechberger at gmail.com
Tue Apr 17 00:54:44 CEST 2007


Since this patch was smaller than expected, it was easy to review it..
changes to tuner-types.c and tuner.h weren't necessary since these
files are only valid for analogue tuners.

Can you submit a channelscan for your area? (using dvbscan/scan) I'm
surprised that it seems to work for you.

Markus

On 4/17/07, Markus Rechberger <mrechberger at gmail.com> wrote:
> Hi David,
>
> thanks for your patch!
>
> can you add a small line describing your patches (which can be used
> for committing the code)
>
> Patch1:
> description1
> Signed-off-by: yourname <youremail>
>
> Patch2:
> description2
> Signed-off-by: yourname <youremail>
>
> then we're complete with the formal part as well.
>
> I'd say the dibcom patch can be applied directly to the master
> repository, the qt1010 patch will get applied to the
> v4l-dvb-experimental tree on mcentral.de
>
> thanks,
> Markus
>
>
>
> On 4/17/07, David Edwards <se014a0001 at blueyonder.co.uk> wrote:
> > Dear Markus
> >
> > As requested, please find attached patches that get an EM2880 device
> > working with a QT1010, and a DIBCOM device that has a duff Vendor and
> > Product ID when cold.
> >
> > The patches are against
> >
> > hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental
> >
> > taken this evening at 20:08 GMT.
> >
> > My kernel is  2.6.20-15-generic for Ubuntu 7.04, upgraded this morning.
> >
> > The kernel messages from the two devices are below, the DIBCOM first.
> >
> > The sound and picture for the QT1010 device (which is actually a KWorld
> > 380U, which apparently has the same USB Vendor and Product ID as the
> > 355U), by comparison with the DIBCOM, are terrible, but recognisable,
> > using the same aerial for both. I don't know if it is any better under
> > Windows.
> >
> > Best regards
> >
> >
> >
> > David Edwards
> >
> >
> > Apr 16 22:39:46 e2acer kernel: [  145.196000] usb 3-2: new full speed
> > USB device using uhci_hcd and address 2
> > Apr 16 22:39:46 e2acer kernel: [  145.344000] usb 3-2: configuration #1
> > chosen from 1 choice
> > Apr 16 22:39:46 e2acer kernel: [  145.696000] dvb-usb: found a 'KWorld
> > V-Stream XPERT DTV - DVB-T USB1.1 Duff' in cold state, will try to load
> > a firmware
> > Apr 16 22:39:46 e2acer kernel: [  145.732000] dvb-usb: downloading
> > firmware from file 'dvb-usb-dibusb-5.0.0.11.fw'
> > Apr 16 22:39:47 e2acer kernel: [  146.232000] usbcore: registered new
> > interface driver dvb_usb_dibusb_mb
> > Apr 16 22:39:47 e2acer kernel: [  146.468000] usb 3-2: USB disconnect,
> > address 2
> > Apr 16 22:39:47 e2acer kernel: [  146.468000] dvb-usb: generic DVB-USB
> > module successfully deinitialized and disconnected.
> > Apr 16 22:39:49 e2acer kernel: [  148.192000] usb 3-2: new full speed
> > USB device using uhci_hcd and address 3
> > Apr 16 22:39:49 e2acer kernel: [  148.352000] usb 3-2: configuration #1
> > chosen from 1 choice
> > Apr 16 22:39:49 e2acer kernel: [  148.356000] dvb-usb: found a 'DiBcom
> > USB1.1 DVB-T reference design (MOD3000)' in warm state.
> > Apr 16 22:39:49 e2acer kernel: [  148.376000] dvb-usb: will use the
> > device's hardware PID filter (table count: 16).
> > Apr 16 22:39:49 e2acer kernel: [  148.376000] DVB: registering new
> > adapter (DiBcom USB1.1 DVB-T reference design (MOD3000)).
> > Apr 16 22:39:49 e2acer kernel: [  148.380000] DVB: registering frontend
> > 0 (DiBcom 3000M-B DVB-T)...
> > Apr 16 22:39:49 e2acer kernel: [  148.384000] dibusb: This device has
> > the Thomson Cable onboard. Which is default.
> > Apr 16 22:39:49 e2acer kernel: [  148.384000] input: IR-receiver inside
> > an USB DVB receiver as /class/input/input9
> > Apr 16 22:39:49 e2acer kernel: [  148.384000] dvb-usb: schedule remote
> > query interval to 150 msecs.
> > Apr 16 22:39:49 e2acer kernel: [  148.404000] dvb-usb: DiBcom USB1.1
> > DVB-T reference design (MOD3000) successfully initialized and connected.
> > Apr 16 22:40:38 e2acer kernel: [  197.044000] dvb-usb: bulk message
> > failed: -71 (1/1)
> > Apr 16 22:40:38 e2acer kernel: [  197.092000] usb 3-2: USB disconnect,
> > address 3
> > Apr 16 22:40:38 e2acer kernel: [  197.092000] dvb-usb: DiBcom USB1.1
> > DVB-T reference design (MOD3000) successfully deinitialized and
> > disconnected.
> > Apr 16 22:41:09 e2acer kernel: [  228.600000] usb 4-6: new high speed
> > USB device using ehci_hcd and address 4
> > Apr 16 22:41:09 e2acer kernel: [  228.732000] usb 4-6: configuration #1
> > chosen from 1 choice
> > Apr 16 22:41:10 e2acer kernel: [  228.948000] Linux video capture
> > interface: v2.00
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx v4l2 driver version
> > 0.0.1 loaded
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx new video device
> > (eb1a:e357): interface 0, class 255
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx: device is attached
> > to a USB 2.0 bus
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx: you're using the
> > experimental/unstable tree from mcentral.de
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx: there's also a
> > stable tree available but which is limited to
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx: linux <=2.6.19.2
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx: it's fine to use
> > this driver but keep in mind that it will move
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx: to
> > http://mcentral.de/hg/~mrec/v4l-dvb-kernel as soon as it's
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx: proved to be stable
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx #0: Alternate
> > settings: 8
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx #0: Alternate
> > setting 0, max size= 0
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx #0: Alternate
> > setting 1, max size= 0
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx #0: Alternate
> > setting 2, max size= 1448
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx #0: Alternate
> > setting 3, max size= 2048
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx #0: Alternate
> > setting 4, max size= 2304
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx #0: Alternate
> > setting 5, max size= 2580
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx #0: Alternate
> > setting 6, max size= 2892
> > Apr 16 22:41:10 e2acer kernel: [  229.028000] em28xx #0: Alternate
> > setting 7, max size= 3072
> > Apr 16 22:41:10 e2acer kernel: [  229.424000] attach_inform: eeprom
> > detected.
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 00:
> > 1a eb 67 95 1a eb 57 e3 c0 12 62 40 6a 22 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 10:
> > 00 00 04 57 6a 0d 00 00 60 00 00 00 02 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 20:
> > 54 00 00 00 f0 10 01 00 00 00 00 00 5b 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 30:
> > 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 40:
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 50:
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 60:
> > 00 00 00 00 00 00 00 00 00 00 22 03 55 00 53 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 70:
> > 42 00 20 00 32 00 38 00 37 00 30 00 20 00 44 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 80:
> > 65 00 76 00 69 00 63 00 65 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom 90:
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom a0:
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom b0:
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom c0:
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom d0:
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom e0:
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] em28xx #0: i2c eeprom f0:
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] EEPROM ID= 0x9567eb1a
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] Vendor/Product ID= eb1a:e357
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] No audio on board.
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] 500mA max power
> > Apr 16 22:41:10 e2acer kernel: [  229.448000] Table at 0x04,
> > strings=0x226a, 0x0000, 0x0000
> > Apr 16 22:41:10 e2acer kernel: [  229.456000] tuner 0-0062: chip found @
> > 0xc4 (em28xx #0)
> > Apr 16 22:41:10 e2acer kernel: [  229.456000] attach inform (default):
> > detected I2C address c4
> > Apr 16 22:41:10 e2acer kernel: [  229.456000] tuner 0x62: Configuration
> > acknowledged
> > Apr 16 22:41:10 e2acer kernel: [  229.456000] tuner 0-0062: type set to
> > 76 (Quantek QT1010)
> > Apr 16 22:41:10 e2acer kernel: [  229.464000]
> > FIXME:em28xx_i2c_send_bytes(c4): write failed:
> > Apr 16 22:41:10 e2acer kernel: [  229.464000]
> > ===============================
> > Apr 16 22:41:10 e2acer kernel: [  229.464000] 25 e3 8e 30
> > Apr 16 22:41:10 e2acer kernel: [  229.464000]
> > ================================
> > Apr 16 22:41:10 e2acer kernel: [  229.496000] em28xx #0: Found Kworld
> > 355 U DVB-T
> > Apr 16 22:41:10 e2acer kernel: [  229.496000] usbcore: registered new
> > interface driver em28xx
> > Apr 16 22:41:10 e2acer kernel: [  229.652000] em2880-dvb.c: DVB Init
> > Apr 16 22:41:10 e2acer kernel: [  229.656000] Quantek QT1010
> > successfully identified.
> > Apr 16 22:41:10 e2acer kernel: [  229.660000] DVB: registering new
> > adapter (em2880 DVB-T).
> > Apr 16 22:41:10 e2acer kernel: [  229.660000] DVB: registering frontend
> > 0 (Zarlink ZL10353 DVB-T)...
> > Apr 16 22:41:10 e2acer kernel: [  229.660000] Em28xx: Initialized
> > (Em2880 DVB Extension) extension
> > Apr 16 22:41:42 e2acer kernel: [  261.372000] usb 4-6: USB disconnect,
> > address 4
> >
> >
>
>
> --
> Markus Rechberger
>


-- 
Markus Rechberger



More information about the linux-dvb mailing list