All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: astrometa device driver
       [not found] <5c13f750-52d1-e8bd-d8f1-f00b8ca6c794@gmail.com>
@ 2017-01-08 18:03 ` Martin Blumenstingl
       [not found]   ` <3322ca41-8b4a-e0a1-95d7-79891b2899ce@gmail.com>
  2017-01-09  0:54   ` Dieter Miosga
  0 siblings, 2 replies; 4+ messages in thread
From: Martin Blumenstingl @ 2017-01-08 18:03 UTC (permalink / raw)
  To: dmiosga6200; +Cc: crope, mchehab, linux-media

Hello Dieter,

(I CC'ed the linux-media mailing list so other users can look this up
when they run into the same problem)

On Sun, Jan 8, 2017 at 7:27 PM, Dieter Miosga <dmiosga6200@gmail.com> wrote:
> Happy 2017!
>
> One of the parts that were placed under my imaginary Christmas tree was an
> Astrometa Hybrid TV DVB-T/T2/C/FM/AV USB 2.0 stick with
> Conexant CX23102
that should be supported through the cx231xx driver

> Rafael Micro R828D
supported by the r820t driver

> Panasonic MN88473
supported by the mn88473 driver

> It was not recognized by the latest kernel versions 4.8-4.10.
> If I can ever help you to integrate this device in your work,
> I would be happy!
can you show us the USB vendor/device ID of this device (please run
"lsusb -vv" and paste the whole block which belongs to your device)?

it seems that the required card definition is missing in
drivers/media/usb/cx231xx/cx231xx-cards.c along with some code that
connects the tuner and demodulator in
drivers/media/usb/cx231xx/cx231xx-dvb.c (there may be more TODOs: for
example fiddling with GPIOs, but if you're lucky this is not required)


Regards,
Martin

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

* Re: astrometa device driver
       [not found]   ` <3322ca41-8b4a-e0a1-95d7-79891b2899ce@gmail.com>
@ 2017-01-09  0:44     ` Martin Blumenstingl
  2017-01-09 10:29       ` Dieter Miosga
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Blumenstingl @ 2017-01-09  0:44 UTC (permalink / raw)
  To: dmiosga6200; +Cc: crope, mchehab, linux-media

On Mon, Jan 9, 2017 at 1:45 AM, Dieter Miosga <dmiosga6200@gmail.com> wrote:
> Here's the result of the lsusb on the HanfTek 15f4:0135
This USB ID is not registered with the cx231xx driver yet - thus the
driver simply ignores your device.
The basics steps for adding support for your card would be:
1. add new "#define CX231XX_BOARD_..." in cx231xx.h
2. add new entry to cx231xx_boards[] in cx231xx-cards.c with the
correct values (NOTE: has to figure out the correct values, maybe
Antti can give a hint which of the existing boards could be used as
staring point)
3. add a new entry to cx231xx_id_table (with USB vendor/device IDs) in
cx231xx-cards.c
4. add r820t_config to cx231xx-dvb.c (maybe you can even copy the one
from rtl28xxu.c)
5. add mn88473_config to cx231xx-dvb.c (again, copying the one from
rtl28xxu.c may work)
6. add a new case statement to dvb_init in cx231xx-dvb.c and connect
the rt820t_config and mn88473_config (you can probably use the code of
another board and adapt it accordingly)
7. test + bugfix :)


Regards,
Martin

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

* Re: astrometa device driver
  2017-01-08 18:03 ` astrometa device driver Martin Blumenstingl
       [not found]   ` <3322ca41-8b4a-e0a1-95d7-79891b2899ce@gmail.com>
@ 2017-01-09  0:54   ` Dieter Miosga
  1 sibling, 0 replies; 4+ messages in thread
From: Dieter Miosga @ 2017-01-09  0:54 UTC (permalink / raw)
  To: Martin Blumenstingl; +Cc: crope, mchehab, linux-media

I already tried to load the appropriate drivers.
The device is _not_ recognized with the cx231xx, r820t, mn88473 drivers 
as well

Many thanks ahead
Dieter

On 01/08/17 18:03, Martin Blumenstingl wrote:
> Hello Dieter,
>
> (I CC'ed the linux-media mailing list so other users can look this up
> when they run into the same problem)
>
> On Sun, Jan 8, 2017 at 7:27 PM, Dieter Miosga <dmiosga6200@gmail.com> wrote:
>> Happy 2017!
>>
>> One of the parts that were placed under my imaginary Christmas tree was an
>> Astrometa Hybrid TV DVB-T/T2/C/FM/AV USB 2.0 stick with
>> Conexant CX23102
> that should be supported through the cx231xx driver
>
>> Rafael Micro R828D
> supported by the r820t driver
>
>> Panasonic MN88473
> supported by the mn88473 driver
>
>> It was not recognized by the latest kernel versions 4.8-4.10.
>> If I can ever help you to integrate this device in your work,
>> I would be happy!
> can you show us the USB vendor/device ID of this device (please run
> "lsusb -vv" and paste the whole block which belongs to your device)?
>
> it seems that the required card definition is missing in
> drivers/media/usb/cx231xx/cx231xx-cards.c along with some code that
> connects the tuner and demodulator in
> drivers/media/usb/cx231xx/cx231xx-dvb.c (there may be more TODOs: for
> example fiddling with GPIOs, but if you're lucky this is not required)
>
>
> Regards,
> Martin
>


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

* Re: astrometa device driver
  2017-01-09  0:44     ` Martin Blumenstingl
@ 2017-01-09 10:29       ` Dieter Miosga
  0 siblings, 0 replies; 4+ messages in thread
From: Dieter Miosga @ 2017-01-09 10:29 UTC (permalink / raw)
  To: Martin Blumenstingl; +Cc: crope, mchehab, linux-media

That's a clear instruction and it seems that
not much more efforts above the code-cook level are required.
I already took a look at the cx231xx, umt-10  and other drivers
related to the predecessor HanfTek 15f4:0131, but from the first view
I could not derive such a procedure!

Will report back to you on any remarkable progress
Dieter

On 01/09/17 00:44, Martin Blumenstingl wrote:
> On Mon, Jan 9, 2017 at 1:45 AM, Dieter Miosga <dmiosga6200@gmail.com> wrote:
>> Here's the result of the lsusb on the HanfTek 15f4:0135
> This USB ID is not registered with the cx231xx driver yet - thus the
> driver simply ignores your device.
> The basics steps for adding support for your card would be:
> 1. add new "#define CX231XX_BOARD_..." in cx231xx.h
> 2. add new entry to cx231xx_boards[] in cx231xx-cards.c with the
> correct values (NOTE: has to figure out the correct values, maybe
> Antti can give a hint which of the existing boards could be used as
> staring point)
> 3. add a new entry to cx231xx_id_table (with USB vendor/device IDs) in
> cx231xx-cards.c
> 4. add r820t_config to cx231xx-dvb.c (maybe you can even copy the one
> from rtl28xxu.c)
> 5. add mn88473_config to cx231xx-dvb.c (again, copying the one from
> rtl28xxu.c may work)
> 6. add a new case statement to dvb_init in cx231xx-dvb.c and connect
> the rt820t_config and mn88473_config (you can probably use the code of
> another board and adapt it accordingly)
> 7. test + bugfix :)
>
>
> Regards,
> Martin
>


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

end of thread, other threads:[~2017-01-09  9:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5c13f750-52d1-e8bd-d8f1-f00b8ca6c794@gmail.com>
2017-01-08 18:03 ` astrometa device driver Martin Blumenstingl
     [not found]   ` <3322ca41-8b4a-e0a1-95d7-79891b2899ce@gmail.com>
2017-01-09  0:44     ` Martin Blumenstingl
2017-01-09 10:29       ` Dieter Miosga
2017-01-09  0:54   ` Dieter Miosga

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.