All of lore.kernel.org
 help / color / mirror / Atom feed
* Fwd: Delock 61959
       [not found] <CALS5Gh60mV5UiOeNPf98QrhmY_j5MDi2T1xsjRn7DzdAYj7fQg@mail.gmail.com>
@ 2013-03-24  1:51 ` David
  2013-03-24 13:10   ` Antti Palosaari
  0 siblings, 1 reply; 5+ messages in thread
From: David @ 2013-03-24  1:51 UTC (permalink / raw)
  To: linux-media

Hi there,

today i got a new DVB-T / DVB-C USB Stick but as far as i can see on
the web it is not (yet) supported.

Is this currently being worked on or is there something i can do to
get it working?

Here is the lsusb output:

Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1b80 Afatech
  idProduct          0xe1cc
  bcdDevice            1.00
  iManufacturer           0
  iProduct                1 USB 2875 Device
  iSerial                 0
  bNumConfigurations      1


David

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

* Re: Fwd: Delock 61959
  2013-03-24  1:51 ` Fwd: Delock 61959 David
@ 2013-03-24 13:10   ` Antti Palosaari
  2013-04-09 12:48     ` Jakob Haufe
  0 siblings, 1 reply; 5+ messages in thread
From: Antti Palosaari @ 2013-03-24 13:10 UTC (permalink / raw)
  To: David; +Cc: linux-media

Maybe it is em28xx + DRX-K + tda18271 based. There is few such devices 
already supported by em28xx driver. First device to test is 1b80:e425 
MaxMedia UB425-TC. Just replace USB ID 0xe425 with 0xe1cc, compile and 
test. There is some other devices too, especially all those which are 
using drx-k.

regards
Antti


On 03/24/2013 03:51 AM, David wrote:
> Hi there,
>
> today i got a new DVB-T / DVB-C USB Stick but as far as i can see on
> the web it is not (yet) supported.
>
> Is this currently being worked on or is there something i can do to
> get it working?
>
> Here is the lsusb output:
>
> Device Descriptor:
>    bLength                18
>    bDescriptorType         1
>    bcdUSB               2.00
>    bDeviceClass            0 (Defined at Interface level)
>    bDeviceSubClass         0
>    bDeviceProtocol         0
>    bMaxPacketSize0        64
>    idVendor           0x1b80 Afatech
>    idProduct          0xe1cc
>    bcdDevice            1.00
>    iManufacturer           0
>    iProduct                1 USB 2875 Device
>    iSerial                 0
>    bNumConfigurations      1
>
>
> David
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
http://palosaari.fi/

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

* Re: Delock 61959
  2013-03-24 13:10   ` Antti Palosaari
@ 2013-04-09 12:48     ` Jakob Haufe
  2013-04-12 14:17       ` Jakob Haufe
  0 siblings, 1 reply; 5+ messages in thread
From: Jakob Haufe @ 2013-04-09 12:48 UTC (permalink / raw)
  To: linux-media

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 24 Mar 2013 15:10:54 +0200
Antti Palosaari <crope@iki.fi> wrote:

> Maybe it is em28xx + DRX-K + tda18271 based. There is few such devices 
> already supported by em28xx driver. First device to test is 1b80:e425 
> MaxMedia UB425-TC.

Perfect guess! I just got this Delock stick as well and my first action was
to crack it open:

* Empia EM2874B D56CN-017 1132-107G (12MHz XTAL next to it)
* NXP 18271HDC2 CS5418 17 TSD11301 (16MHz XTAL next to it)
* MICRONAS DRX 3913KA2 750274.000. 1213E 9325 (20.250MHz XTAL next to it)
* IR Receiver
* Sticker: C02-210026 UB425-TC 13012-60003-05010-G 416
* Board says: UB425-TC Ver: A

> Just replace USB ID 0xe425 with 0xe1cc, compile and test. There is some
> other devices too, especially all those which are using drx-k.

Will do so tonight and report back.

Cheers,
Jakob

- -- 
ceterum censeo microsoftem esse delendam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlFkDgUACgkQ1YAhDic+adYl5QCfXtU2V6CPax6Qc4qPHTRIRP/C
fkcAoI7HOXVHB0DBx1joXRd6w94bBTtP
=To/A
-----END PGP SIGNATURE-----

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

* Re: Delock 61959
  2013-04-09 12:48     ` Jakob Haufe
@ 2013-04-12 14:17       ` Jakob Haufe
  2013-04-12 14:48         ` Antti Palosaari
  0 siblings, 1 reply; 5+ messages in thread
From: Jakob Haufe @ 2013-04-12 14:17 UTC (permalink / raw)
  To: linux-media

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 9 Apr 2013 14:48:05 +0200
Jakob Haufe <sur5r@sur5r.net> wrote:

> Will do so tonight and report back.

Took a little longer but it worked as expected. Patch follows in a separate
mail.

dmesg output:

[19.474818] em28xx: New device  USB 2875 Device @ 480 Mbps (1b80:e1cc, interface 0, class 0)
[19.484245] em28xx: DVB interface 0 found: isoc
[19.493626] em28xx: chip ID is em2874
[19.771843] em2874 #0: i2c eeprom 0000: 26 00 01 00 02 08 c8 e5 f5 64 01 60 09 e5 f5 64
[19.781820] em2874 #0: i2c eeprom 0010: 09 60 03 c2 c6 22 e5 f7 b4 03 13 e5 f6 b4 87 03
[19.791682] em2874 #0: i2c eeprom 0020: 02 08 63 e5 f6 b4 93 03 02 06 f7 c2 c6 22 c2 c6
[19.801429] em2874 #0: i2c eeprom 0030: 22 00 60 00 90 00 60 12 06 29 7b 95 7a 67 79 eb
[19.810955] em2874 #0: i2c eeprom 0040: 78 1a c3 12 06 18 70 03 d3 80 01 c3 92 02 90 78
[19.820345] em2874 #0: i2c eeprom 0050: 0b 74 96 f0 74 82 f0 90 78 5d 74 05 f0 a3 f0 22
[19.829532] em2874 #0: i2c eeprom 0060: 00 00 00 00 1a eb 67 95 80 1b cc e1 f0 93 6b 00
[19.838768] em2874 #0: i2c eeprom 0070: 6a 20 00 00 00 00 04 57 4e 07 09 00 00 00 00 00
[19.848037] em2874 #0: i2c eeprom 0080: 00 00 00 00 4e 00 12 00 f0 10 44 89 88 00 00 00
[19.857240] em2874 #0: i2c eeprom 0090: 5b 81 c0 00 00 00 20 40 20 80 02 20 01 01 00 00
[19.866452] em2874 #0: i2c eeprom 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[19.875663] em2874 #0: i2c eeprom 00b0: c6 40 00 00 00 00 87 00 00 00 00 00 00 40 00 00
[19.884863] em2874 #0: i2c eeprom 00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 03
[19.894000] em2874 #0: i2c eeprom 00d0: 55 00 53 00 42 00 20 00 32 00 38 00 37 00 35 00
[19.903174] em2874 #0: i2c eeprom 00e0: 20 00 44 00 65 00 76 00 69 00 63 00 65 00 04 03
[19.912282] em2874 #0: i2c eeprom 00f0: 31 00 00 00 33 00 34 00 35 00 36 00 37 00 38 00
[19.921329] em2874 #0: i2c eeprom 0100: ... (skipped)
[19.930134] em2874 #0: EEPROM ID = 26 00 01 00, EEPROM hash = 0xde1f879b
[19.938967] em2874 #0: EEPROM info:
[19.947590] em2874 #0:       microcode start address = 0x0004, boot configuration = 0x01
[19.964171] em2874 #0:       No audio on board.
[19.972548] em2874 #0:       500mA max power
[19.980912] em2874 #0:       Table at offset 0x00, strings=0x0000, 0x0000, 0x0000
[19.989859] em2874 #0: Identified as MaxMedia UB425-TC (card=84)
[19.998518] em2874 #0: v4l2 driver version 0.2.0
[20.012548] em2874 #0: V4L2 video device registered as video0
[20.021268] em2874 #0: dvb set to isoc mode.
[20.066662] drxk: status = 0x439130d9
[20.075896] drxk: detected a drx-3913k, spin A2, xtal 20.250 MHz
[20.158282] DRXK driver version 0.9.4300
[20.184878] drxk: frontend initialized.
[22.025707] em2874 #0: MaxMedia UB425-TC: only DVB-C supported by that driver version
[22.035149] DVB: registering new adapter (em2874 #0)
[22.044967] usb 1-1: DVB: registering adapter 0 frontend 0 (DRXK DVB-C DVB-T)...
[22.061012] em2874 #0: Successfully loaded em28xx-dvb

I then ran tvheadend for a couple of hours and it worked without problems.

I'm just wondering how to get the IR remote to work. As the UB425-TC comes
with a remote as well I kind of expected that the codes will be the same.

Would trying different values for .ir_codes make sense or is there some other
way to find this out?

Cheers,
Jakob

- -- 
ceterum censeo microsoftem esse delendam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlFoF3gACgkQ1YAhDic+adZ1BQCeJbr86AncHGM+Rw2rwuDiDDDi
0qAAoIHdhZYoYxCP6fPWlfO8aH0rIC3U
=dIxP
-----END PGP SIGNATURE-----

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

* Re: Delock 61959
  2013-04-12 14:17       ` Jakob Haufe
@ 2013-04-12 14:48         ` Antti Palosaari
  0 siblings, 0 replies; 5+ messages in thread
From: Antti Palosaari @ 2013-04-12 14:48 UTC (permalink / raw)
  To: Jakob Haufe; +Cc: linux-media

On 04/12/2013 05:17 PM, Jakob Haufe wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, 9 Apr 2013 14:48:05 +0200
> Jakob Haufe <sur5r@sur5r.net> wrote:
>
>> Will do so tonight and report back.
>
> Took a little longer but it worked as expected. Patch follows in a separate
> mail.
>
> dmesg output:
>
> [19.474818] em28xx: New device  USB 2875 Device @ 480 Mbps (1b80:e1cc, interface 0, class 0)
> [19.484245] em28xx: DVB interface 0 found: isoc
> [19.493626] em28xx: chip ID is em2874
> [19.771843] em2874 #0: i2c eeprom 0000: 26 00 01 00 02 08 c8 e5 f5 64 01 60 09 e5 f5 64
> [19.781820] em2874 #0: i2c eeprom 0010: 09 60 03 c2 c6 22 e5 f7 b4 03 13 e5 f6 b4 87 03
> [19.791682] em2874 #0: i2c eeprom 0020: 02 08 63 e5 f6 b4 93 03 02 06 f7 c2 c6 22 c2 c6
> [19.801429] em2874 #0: i2c eeprom 0030: 22 00 60 00 90 00 60 12 06 29 7b 95 7a 67 79 eb
> [19.810955] em2874 #0: i2c eeprom 0040: 78 1a c3 12 06 18 70 03 d3 80 01 c3 92 02 90 78
> [19.820345] em2874 #0: i2c eeprom 0050: 0b 74 96 f0 74 82 f0 90 78 5d 74 05 f0 a3 f0 22
> [19.829532] em2874 #0: i2c eeprom 0060: 00 00 00 00 1a eb 67 95 80 1b cc e1 f0 93 6b 00
> [19.838768] em2874 #0: i2c eeprom 0070: 6a 20 00 00 00 00 04 57 4e 07 09 00 00 00 00 00
> [19.848037] em2874 #0: i2c eeprom 0080: 00 00 00 00 4e 00 12 00 f0 10 44 89 88 00 00 00
> [19.857240] em2874 #0: i2c eeprom 0090: 5b 81 c0 00 00 00 20 40 20 80 02 20 01 01 00 00
> [19.866452] em2874 #0: i2c eeprom 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> [19.875663] em2874 #0: i2c eeprom 00b0: c6 40 00 00 00 00 87 00 00 00 00 00 00 40 00 00
> [19.884863] em2874 #0: i2c eeprom 00c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 03
> [19.894000] em2874 #0: i2c eeprom 00d0: 55 00 53 00 42 00 20 00 32 00 38 00 37 00 35 00
> [19.903174] em2874 #0: i2c eeprom 00e0: 20 00 44 00 65 00 76 00 69 00 63 00 65 00 04 03
> [19.912282] em2874 #0: i2c eeprom 00f0: 31 00 00 00 33 00 34 00 35 00 36 00 37 00 38 00
> [19.921329] em2874 #0: i2c eeprom 0100: ... (skipped)
> [19.930134] em2874 #0: EEPROM ID = 26 00 01 00, EEPROM hash = 0xde1f879b
> [19.938967] em2874 #0: EEPROM info:
> [19.947590] em2874 #0:       microcode start address = 0x0004, boot configuration = 0x01
> [19.964171] em2874 #0:       No audio on board.
> [19.972548] em2874 #0:       500mA max power
> [19.980912] em2874 #0:       Table at offset 0x00, strings=0x0000, 0x0000, 0x0000
> [19.989859] em2874 #0: Identified as MaxMedia UB425-TC (card=84)
> [19.998518] em2874 #0: v4l2 driver version 0.2.0
> [20.012548] em2874 #0: V4L2 video device registered as video0
> [20.021268] em2874 #0: dvb set to isoc mode.
> [20.066662] drxk: status = 0x439130d9
> [20.075896] drxk: detected a drx-3913k, spin A2, xtal 20.250 MHz
> [20.158282] DRXK driver version 0.9.4300
> [20.184878] drxk: frontend initialized.
> [22.025707] em2874 #0: MaxMedia UB425-TC: only DVB-C supported by that driver version

IIRC you mentioned (on IRC?) it works well for DVB-T too? In that case 
there is likely newer DRX-K chip (with newer inbuild firmware) than 
device I added that board originally. Anyhow, it is only that log 
printing so let it be...

> [22.035149] DVB: registering new adapter (em2874 #0)
> [22.044967] usb 1-1: DVB: registering adapter 0 frontend 0 (DRXK DVB-C DVB-T)...
> [22.061012] em2874 #0: Successfully loaded em28xx-dvb
>
> I then ran tvheadend for a couple of hours and it worked without problems.
>
> I'm just wondering how to get the IR remote to work. As the UB425-TC comes
> with a remote as well I kind of expected that the codes will be the same.

I didn't add remote keytable as I was lazy at the time.

Here is pictures from my device, look if it is similar.
https://plus.google.com/photos/117997283802118441421/albums/5721245288768209697

> Would trying different values for .ir_codes make sense or is there some other
> way to find this out?

Use em28xx ir debug to dump raw codes. Then look all existing remote 
keytables if there is already correct table.

regards
Antti


-- 
http://palosaari.fi/

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

end of thread, other threads:[~2013-04-12 14:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CALS5Gh60mV5UiOeNPf98QrhmY_j5MDi2T1xsjRn7DzdAYj7fQg@mail.gmail.com>
2013-03-24  1:51 ` Fwd: Delock 61959 David
2013-03-24 13:10   ` Antti Palosaari
2013-04-09 12:48     ` Jakob Haufe
2013-04-12 14:17       ` Jakob Haufe
2013-04-12 14:48         ` Antti Palosaari

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.