* ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934)
@ 2008-07-25 7:36 Alan Knowles
2008-07-25 10:26 ` Alan Knowles
2008-07-25 16:06 ` Markus Rechberger
0 siblings, 2 replies; 8+ messages in thread
From: Alan Knowles @ 2008-07-25 7:36 UTC (permalink / raw)
To: video4linux-list
I've been looking at the drivers for My Cinema-U3100Mini/DMB-TH
The source is available directly from ASUS now.
http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/source_code.zip
I've diffed it to the version they have used, and applied it, and fixed
it against the current source
http://www.akbkhome.com/svn/asus_dvb_driver/v4l-dvb-diff-from-current.diff
In addition there are the drivers for the ADI MTV102 silicon tuner driver
http://www.akbkhome.com/svn/asus_dvb_driver/frontends/
(all the adimtv* files)
The source code appears to use a slightly differ usb stick to the one's
I have.
0x1748 (cold) / 0x1749 (warm)
where as I've got
0x1721(cold) / 0x1722 (warm)
It looks like they hacked up dib3000mc.c, rather than writing a new driver
I've got to the point where it builds, firmware installs etc. (firmware
is available inside the deb packages)
http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/asus-dmbth-20080528_tar.zip
The driver initializes correctly when plugged in.
[302520.686782] dvb-usb: ASUSTeK DMB-TH successfully deinitialized and
disconnected.
[302530.550018] dvb-usb: found a 'ASUSTeK DMB-TH' in warm state.
[353408.577741] dvb-usb: will pass the complete MPEG2 transport stream
to the software demuxer.
[353408.680977] DVB: registering new adapter (ASUSTeK DMB-TH)
[302530.670387] Cannot find LGS8934
[302530.670596] DVB: registering frontend 0 (Legend Slilicon 8934)...
[302530.670668] adimtv102_readreg 0x00
[302530.676090] adimtv102_readreg 0x01
[302530.681578] adimtv102_readreg 0x02
[302530.687077] adimtv102: successfully identified (ff ff ff)
[302530.688577] dvb-usb: ASUSTeK DMB-TH successfully initialized and
connected.
[302530.688624] usbcore: registered new interface driver dvb_usb_dibusb_mc
[353413.776593] adimtv102_init
when w_scan is run, it outputs activity...
[353416.533576] lgs8934_SetAutoMode!
[353416.553928] lgs8934_auto_detect!
[353418.285686] lgs8934_auto_detect, lock 0
[353418.285686] adimtv102_set_params freq=184500
[353418.378803] MTV102>>tp->freq=184 PLLF=d8000 PLLFREQ=1472000
MTV10x_REFCLK=16384 !
......
however fails to pick up any channels...
I'm trying to connect to these -
http://en.wikipedia.org/wiki/Digital_television_in_Hong_Kong
Any ideas welcome..
Regards
Alan
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934)
2008-07-25 7:36 ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934) Alan Knowles
@ 2008-07-25 10:26 ` Alan Knowles
2008-07-25 11:03 ` Markus Rechberger
2008-07-25 16:06 ` Markus Rechberger
1 sibling, 1 reply; 8+ messages in thread
From: Alan Knowles @ 2008-07-25 10:26 UTC (permalink / raw)
To: video4linux-list
Just a small update on this - I suspect ASUS released the wrong tarball
for this device - as comparing the output from 'strings dib3000mc.ko' to
the source code finds quite a few things missing..
Waiting on a response from ASUS now.
Regards
Alan
Alan Knowles wrote:
> I've been looking at the drivers for My Cinema-U3100Mini/DMB-TH
>
> The source is available directly from ASUS now.
> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/source_code.zip
>
> I've diffed it to the version they have used, and applied it, and
> fixed it against the current source
> http://www.akbkhome.com/svn/asus_dvb_driver/v4l-dvb-diff-from-current.diff
>
>
> In addition there are the drivers for the ADI MTV102 silicon tuner driver
> http://www.akbkhome.com/svn/asus_dvb_driver/frontends/
> (all the adimtv* files)
>
> The source code appears to use a slightly differ usb stick to the
> one's I have.
> 0x1748 (cold) / 0x1749 (warm)
> where as I've got
> 0x1721(cold) / 0x1722 (warm)
>
> It looks like they hacked up dib3000mc.c, rather than writing a new
> driver
>
> I've got to the point where it builds, firmware installs etc.
> (firmware is available inside the deb packages)
> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/asus-dmbth-20080528_tar.zip
>
> The driver initializes correctly when plugged in.
> [302520.686782] dvb-usb: ASUSTeK DMB-TH successfully deinitialized and
> disconnected.
> [302530.550018] dvb-usb: found a 'ASUSTeK DMB-TH' in warm state.
> [353408.577741] dvb-usb: will pass the complete MPEG2 transport stream
> to the software demuxer.
> [353408.680977] DVB: registering new adapter (ASUSTeK DMB-TH)
> [302530.670387] Cannot find LGS8934
> [302530.670596] DVB: registering frontend 0 (Legend Slilicon 8934)...
> [302530.670668] adimtv102_readreg 0x00
> [302530.676090] adimtv102_readreg 0x01
> [302530.681578] adimtv102_readreg 0x02
> [302530.687077] adimtv102: successfully identified (ff ff ff)
> [302530.688577] dvb-usb: ASUSTeK DMB-TH successfully initialized and
> connected.
> [302530.688624] usbcore: registered new interface driver
> dvb_usb_dibusb_mc
> [353413.776593] adimtv102_init
>
> when w_scan is run, it outputs activity...
> [353416.533576] lgs8934_SetAutoMode!
> [353416.553928] lgs8934_auto_detect!
> [353418.285686] lgs8934_auto_detect, lock 0
> [353418.285686] adimtv102_set_params freq=184500
> [353418.378803] MTV102>>tp->freq=184 PLLF=d8000 PLLFREQ=1472000
> MTV10x_REFCLK=16384 !
> ......
>
> however fails to pick up any channels...
>
> I'm trying to connect to these -
> http://en.wikipedia.org/wiki/Digital_television_in_Hong_Kong
>
> Any ideas welcome..
>
> Regards
> Alan
>
> --
> video4linux-list mailing list
> Unsubscribe
> mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934)
2008-07-25 10:26 ` Alan Knowles
@ 2008-07-25 11:03 ` Markus Rechberger
2008-07-25 11:06 ` Markus Rechberger
0 siblings, 1 reply; 8+ messages in thread
From: Markus Rechberger @ 2008-07-25 11:03 UTC (permalink / raw)
To: Alan Knowles; +Cc: video4linux-list
Hi,
On Fri, Jul 25, 2008 at 12:26 PM, Alan Knowles <alan@akbkhome.com> wrote:
> Just a small update on this - I suspect ASUS released the wrong tarball for
> this device - as comparing the output from 'strings dib3000mc.ko' to the
> source code finds quite a few things missing..
>
> Waiting on a response from ASUS now.
>
after a first look over it the code seems to be a bit "inconsitent"
eg.:
+static struct mt2060_config stk3000p_adimtv102_config = {
+ (0xC2>>1)
+};
...
+ if (dvb_attach(adimtv102_attach, adap->fe, tun_i2c,
&stk3000p_adimtv102_config, if1) == NULL) {
----
whereas:
mt2060.h:
(the size of the struct is the same but the purpose of the elements
are probably not)
struct mt2060_config {
u8 i2c_address;
u8 clock_out; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */
};
adimtv102.h:
struct adimtv102_config {
u8 i2c_address;
u8 is_through_asic;
};
#if defined(CONFIG_DVB_TUNER_ADIMTV102) ||
(defined(CONFIG_DVB_TUNER_ADIMTV102_MODULE) && defined(MODULE))
extern struct dvb_frontend * adimtv102_attach(struct dvb_frontend *fe,
struct i2c_adapter *i2c, struct adimtv102_config *cfg, u16 if1);
#else
static inline struct dvb_frontend * adimtv102_attach(struct
dvb_frontend *fe, struct i2c_adapter *i2c, struct adimtv102_config
*cfg, u16 if1)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
return NULL;
}
within the whole code if1 isn't needed (the adimtv102.h header is just
copied from mt2060) some cleanup still seems to be required there but
it's already a good start.
Markus
> Regards
> Alan
>
> Alan Knowles wrote:
>>
>> I've been looking at the drivers for My Cinema-U3100Mini/DMB-TH
>>
>> The source is available directly from ASUS now.
>> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/source_code.zip
>>
>> I've diffed it to the version they have used, and applied it, and fixed it
>> against the current source
>> http://www.akbkhome.com/svn/asus_dvb_driver/v4l-dvb-diff-from-current.diff
>>
>> In addition there are the drivers for the ADI MTV102 silicon tuner driver
>> http://www.akbkhome.com/svn/asus_dvb_driver/frontends/
>> (all the adimtv* files)
>>
>> The source code appears to use a slightly differ usb stick to the one's I
>> have.
>> 0x1748 (cold) / 0x1749 (warm)
>> where as I've got
>> 0x1721(cold) / 0x1722 (warm)
>>
>> It looks like they hacked up dib3000mc.c, rather than writing a new driver
>>
>> I've got to the point where it builds, firmware installs etc. (firmware is
>> available inside the deb packages)
>> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/asus-dmbth-20080528_tar.zip
>>
>> The driver initializes correctly when plugged in.
>> [302520.686782] dvb-usb: ASUSTeK DMB-TH successfully deinitialized and
>> disconnected.
>> [302530.550018] dvb-usb: found a 'ASUSTeK DMB-TH' in warm state.
>> [353408.577741] dvb-usb: will pass the complete MPEG2 transport stream to
>> the software demuxer.
>> [353408.680977] DVB: registering new adapter (ASUSTeK DMB-TH)
>> [302530.670387] Cannot find LGS8934
>> [302530.670596] DVB: registering frontend 0 (Legend Slilicon 8934)...
>> [302530.670668] adimtv102_readreg 0x00
>> [302530.676090] adimtv102_readreg 0x01
>> [302530.681578] adimtv102_readreg 0x02
>> [302530.687077] adimtv102: successfully identified (ff ff ff)
>> [302530.688577] dvb-usb: ASUSTeK DMB-TH successfully initialized and
>> connected.
>> [302530.688624] usbcore: registered new interface driver dvb_usb_dibusb_mc
>> [353413.776593] adimtv102_init
>>
>> when w_scan is run, it outputs activity...
>> [353416.533576] lgs8934_SetAutoMode!
>> [353416.553928] lgs8934_auto_detect!
>> [353418.285686] lgs8934_auto_detect, lock 0
>> [353418.285686] adimtv102_set_params freq=184500
>> [353418.378803] MTV102>>tp->freq=184 PLLF=d8000 PLLFREQ=1472000
>> MTV10x_REFCLK=16384 !
>> ......
>>
>> however fails to pick up any channels...
>>
>> I'm trying to connect to these -
>> http://en.wikipedia.org/wiki/Digital_television_in_Hong_Kong
>>
>> Any ideas welcome..
>>
>> Regards
>> Alan
>>
>> --
>> video4linux-list mailing list
>> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/video4linux-list
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934)
2008-07-25 11:03 ` Markus Rechberger
@ 2008-07-25 11:06 ` Markus Rechberger
2008-07-25 15:18 ` Alan Knowles
0 siblings, 1 reply; 8+ messages in thread
From: Markus Rechberger @ 2008-07-25 11:06 UTC (permalink / raw)
To: Alan Knowles; +Cc: video4linux-list
On Fri, Jul 25, 2008 at 1:03 PM, Markus Rechberger
<mrechberger@gmail.com> wrote:
> Hi,
>
> On Fri, Jul 25, 2008 at 12:26 PM, Alan Knowles <alan@akbkhome.com> wrote:
>> Just a small update on this - I suspect ASUS released the wrong tarball for
>> this device - as comparing the output from 'strings dib3000mc.ko' to the
>> source code finds quite a few things missing..
>>
>> Waiting on a response from ASUS now.
>>
>
> after a first look over it the code seems to be a bit "inconsitent"
>
> eg.:
>
> +static struct mt2060_config stk3000p_adimtv102_config = {
> + (0xC2>>1)
> +};
>
> ...
>
> + if (dvb_attach(adimtv102_attach, adap->fe, tun_i2c,
> &stk3000p_adimtv102_config, if1) == NULL) {
> ----
>
> whereas:
> mt2060.h:
>
> (the size of the struct is the same but the purpose of the elements
> are probably not)
> struct mt2060_config {
> u8 i2c_address;
> u8 clock_out; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */
> };
>
> adimtv102.h:
>
> struct adimtv102_config {
> u8 i2c_address;
> u8 is_through_asic;
> };
> #if defined(CONFIG_DVB_TUNER_ADIMTV102) ||
> (defined(CONFIG_DVB_TUNER_ADIMTV102_MODULE) && defined(MODULE))
> extern struct dvb_frontend * adimtv102_attach(struct dvb_frontend *fe,
> struct i2c_adapter *i2c, struct adimtv102_config *cfg, u16 if1);
> #else
> static inline struct dvb_frontend * adimtv102_attach(struct
> dvb_frontend *fe, struct i2c_adapter *i2c, struct adimtv102_config
> *cfg, u16 if1)
> {
> printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
> return NULL;
> }
>
> within the whole code if1 isn't needed (the adimtv102.h header is just
> copied from mt2060) some cleanup still seems to be required there but
> it's already a good start.
>
The lgs8934 implementation should also not depend on the dibcom module
(which can be seen in your diff).
> Markus
>
>> Regards
>> Alan
>>
>> Alan Knowles wrote:
>>>
>>> I've been looking at the drivers for My Cinema-U3100Mini/DMB-TH
>>>
>>> The source is available directly from ASUS now.
>>> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/source_code.zip
>>>
>>> I've diffed it to the version they have used, and applied it, and fixed it
>>> against the current source
>>> http://www.akbkhome.com/svn/asus_dvb_driver/v4l-dvb-diff-from-current.diff
>>>
>>> In addition there are the drivers for the ADI MTV102 silicon tuner driver
>>> http://www.akbkhome.com/svn/asus_dvb_driver/frontends/
>>> (all the adimtv* files)
>>>
>>> The source code appears to use a slightly differ usb stick to the one's I
>>> have.
>>> 0x1748 (cold) / 0x1749 (warm)
>>> where as I've got
>>> 0x1721(cold) / 0x1722 (warm)
>>>
>>> It looks like they hacked up dib3000mc.c, rather than writing a new driver
>>>
>>> I've got to the point where it builds, firmware installs etc. (firmware is
>>> available inside the deb packages)
>>> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/asus-dmbth-20080528_tar.zip
>>>
>>> The driver initializes correctly when plugged in.
>>> [302520.686782] dvb-usb: ASUSTeK DMB-TH successfully deinitialized and
>>> disconnected.
>>> [302530.550018] dvb-usb: found a 'ASUSTeK DMB-TH' in warm state.
>>> [353408.577741] dvb-usb: will pass the complete MPEG2 transport stream to
>>> the software demuxer.
>>> [353408.680977] DVB: registering new adapter (ASUSTeK DMB-TH)
>>> [302530.670387] Cannot find LGS8934
>>> [302530.670596] DVB: registering frontend 0 (Legend Slilicon 8934)...
>>> [302530.670668] adimtv102_readreg 0x00
>>> [302530.676090] adimtv102_readreg 0x01
>>> [302530.681578] adimtv102_readreg 0x02
>>> [302530.687077] adimtv102: successfully identified (ff ff ff)
>>> [302530.688577] dvb-usb: ASUSTeK DMB-TH successfully initialized and
>>> connected.
>>> [302530.688624] usbcore: registered new interface driver dvb_usb_dibusb_mc
>>> [353413.776593] adimtv102_init
>>>
>>> when w_scan is run, it outputs activity...
>>> [353416.533576] lgs8934_SetAutoMode!
>>> [353416.553928] lgs8934_auto_detect!
>>> [353418.285686] lgs8934_auto_detect, lock 0
>>> [353418.285686] adimtv102_set_params freq=184500
>>> [353418.378803] MTV102>>tp->freq=184 PLLF=d8000 PLLFREQ=1472000
>>> MTV10x_REFCLK=16384 !
>>> ......
>>>
>>> however fails to pick up any channels...
>>>
>>> I'm trying to connect to these -
>>> http://en.wikipedia.org/wiki/Digital_television_in_Hong_Kong
>>>
>>> Any ideas welcome..
>>>
>>> Regards
>>> Alan
>>>
>>> --
>>> video4linux-list mailing list
>>> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>
>> --
>> video4linux-list mailing list
>> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>
>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934)
2008-07-25 11:06 ` Markus Rechberger
@ 2008-07-25 15:18 ` Alan Knowles
2008-07-25 15:49 ` Markus Rechberger
0 siblings, 1 reply; 8+ messages in thread
From: Alan Knowles @ 2008-07-25 15:18 UTC (permalink / raw)
To: Markus Rechberger; +Cc: video4linux-list
I'm pretty certain this is the wrong code for my device, I'm guessing
it's the code for a My Cinema-U3100Mini/DVBT rather than the DMB-TH card.
Since I can't test the code, I'll leave that in the mailing list so if
someone want's to tidy it up to merge with v4l, then it should save them
a bit of work.
I presume it was written in-house or by a contract engineer, so they cut
a few corners to get the job done.
Regards
Alan
Markus Rechberger wrote:
> On Fri, Jul 25, 2008 at 1:03 PM, Markus Rechberger
> <mrechberger@gmail.com> wrote:
>
>> Hi,
>>
>> On Fri, Jul 25, 2008 at 12:26 PM, Alan Knowles <alan@akbkhome.com> wrote:
>>
>>> Just a small update on this - I suspect ASUS released the wrong tarball for
>>> this device - as comparing the output from 'strings dib3000mc.ko' to the
>>> source code finds quite a few things missing..
>>>
>>> Waiting on a response from ASUS now.
>>>
>>>
>> after a first look over it the code seems to be a bit "inconsitent"
>>
>> eg.:
>>
>> +static struct mt2060_config stk3000p_adimtv102_config = {
>> + (0xC2>>1)
>> +};
>>
>> ...
>>
>> + if (dvb_attach(adimtv102_attach, adap->fe, tun_i2c,
>> &stk3000p_adimtv102_config, if1) == NULL) {
>> ----
>>
>> whereas:
>> mt2060.h:
>>
>> (the size of the struct is the same but the purpose of the elements
>> are probably not)
>> struct mt2060_config {
>> u8 i2c_address;
>> u8 clock_out; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */
>> };
>>
>> adimtv102.h:
>>
>> struct adimtv102_config {
>> u8 i2c_address;
>> u8 is_through_asic;
>> };
>> #if defined(CONFIG_DVB_TUNER_ADIMTV102) ||
>> (defined(CONFIG_DVB_TUNER_ADIMTV102_MODULE) && defined(MODULE))
>> extern struct dvb_frontend * adimtv102_attach(struct dvb_frontend *fe,
>> struct i2c_adapter *i2c, struct adimtv102_config *cfg, u16 if1);
>> #else
>> static inline struct dvb_frontend * adimtv102_attach(struct
>> dvb_frontend *fe, struct i2c_adapter *i2c, struct adimtv102_config
>> *cfg, u16 if1)
>> {
>> printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
>> return NULL;
>> }
>>
>> within the whole code if1 isn't needed (the adimtv102.h header is just
>> copied from mt2060) some cleanup still seems to be required there but
>> it's already a good start.
>>
>>
>
> The lgs8934 implementation should also not depend on the dibcom module
> (which can be seen in your diff).
>
>
>> Markus
>>
>>
>>> Regards
>>> Alan
>>>
>>> Alan Knowles wrote:
>>>
>>>> I've been looking at the drivers for My Cinema-U3100Mini/DMB-TH
>>>>
>>>> The source is available directly from ASUS now.
>>>> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/source_code.zip
>>>>
>>>> I've diffed it to the version they have used, and applied it, and fixed it
>>>> against the current source
>>>> http://www.akbkhome.com/svn/asus_dvb_driver/v4l-dvb-diff-from-current.diff
>>>>
>>>> In addition there are the drivers for the ADI MTV102 silicon tuner driver
>>>> http://www.akbkhome.com/svn/asus_dvb_driver/frontends/
>>>> (all the adimtv* files)
>>>>
>>>> The source code appears to use a slightly differ usb stick to the one's I
>>>> have.
>>>> 0x1748 (cold) / 0x1749 (warm)
>>>> where as I've got
>>>> 0x1721(cold) / 0x1722 (warm)
>>>>
>>>> It looks like they hacked up dib3000mc.c, rather than writing a new driver
>>>>
>>>> I've got to the point where it builds, firmware installs etc. (firmware is
>>>> available inside the deb packages)
>>>> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/asus-dmbth-20080528_tar.zip
>>>>
>>>> The driver initializes correctly when plugged in.
>>>> [302520.686782] dvb-usb: ASUSTeK DMB-TH successfully deinitialized and
>>>> disconnected.
>>>> [302530.550018] dvb-usb: found a 'ASUSTeK DMB-TH' in warm state.
>>>> [353408.577741] dvb-usb: will pass the complete MPEG2 transport stream to
>>>> the software demuxer.
>>>> [353408.680977] DVB: registering new adapter (ASUSTeK DMB-TH)
>>>> [302530.670387] Cannot find LGS8934
>>>> [302530.670596] DVB: registering frontend 0 (Legend Slilicon 8934)...
>>>> [302530.670668] adimtv102_readreg 0x00
>>>> [302530.676090] adimtv102_readreg 0x01
>>>> [302530.681578] adimtv102_readreg 0x02
>>>> [302530.687077] adimtv102: successfully identified (ff ff ff)
>>>> [302530.688577] dvb-usb: ASUSTeK DMB-TH successfully initialized and
>>>> connected.
>>>> [302530.688624] usbcore: registered new interface driver dvb_usb_dibusb_mc
>>>> [353413.776593] adimtv102_init
>>>>
>>>> when w_scan is run, it outputs activity...
>>>> [353416.533576] lgs8934_SetAutoMode!
>>>> [353416.553928] lgs8934_auto_detect!
>>>> [353418.285686] lgs8934_auto_detect, lock 0
>>>> [353418.285686] adimtv102_set_params freq=184500
>>>> [353418.378803] MTV102>>tp->freq=184 PLLF=d8000 PLLFREQ=1472000
>>>> MTV10x_REFCLK=16384 !
>>>> ......
>>>>
>>>> however fails to pick up any channels...
>>>>
>>>> I'm trying to connect to these -
>>>> http://en.wikipedia.org/wiki/Digital_television_in_Hong_Kong
>>>>
>>>> Any ideas welcome..
>>>>
>>>> Regards
>>>> Alan
>>>>
>>>> --
>>>> video4linux-list mailing list
>>>> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>>>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>>>
>>> --
>>> video4linux-list mailing list
>>> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>>
>>>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934)
2008-07-25 15:18 ` Alan Knowles
@ 2008-07-25 15:49 ` Markus Rechberger
0 siblings, 0 replies; 8+ messages in thread
From: Markus Rechberger @ 2008-07-25 15:49 UTC (permalink / raw)
To: Alan Knowles; +Cc: video4linux-list
Hi,
On Fri, Jul 25, 2008 at 5:18 PM, Alan Knowles <alan@akbkhome.com> wrote:
> I'm pretty certain this is the wrong code for my device, I'm guessing it's
> the code for a My Cinema-U3100Mini/DVBT rather than the DMB-TH card.
>
When looking at it and the component names it is DMB-TH. Some parts
might not be correct and that's probably the problem you face there.
> Since I can't test the code, I'll leave that in the mailing list so if
> someone want's to tidy it up to merge with v4l, then it should save them a
> bit of work.
>
I'm trying to verify the code and split it up as far as I can.
-Markus
> I presume it was written in-house or by a contract engineer, so they cut a
> few corners to get the job done.
>
> Regards
> Alan
>
>
>
> Markus Rechberger wrote:
>>
>> On Fri, Jul 25, 2008 at 1:03 PM, Markus Rechberger
>> <mrechberger@gmail.com> wrote:
>>
>>>
>>> Hi,
>>>
>>> On Fri, Jul 25, 2008 at 12:26 PM, Alan Knowles <alan@akbkhome.com> wrote:
>>>
>>>>
>>>> Just a small update on this - I suspect ASUS released the wrong tarball
>>>> for
>>>> this device - as comparing the output from 'strings dib3000mc.ko' to the
>>>> source code finds quite a few things missing..
>>>>
>>>> Waiting on a response from ASUS now.
>>>>
>>>>
>>>
>>> after a first look over it the code seems to be a bit "inconsitent"
>>>
>>> eg.:
>>>
>>> +static struct mt2060_config stk3000p_adimtv102_config = {
>>> + (0xC2>>1)
>>> +};
>>>
>>> ...
>>>
>>> + if (dvb_attach(adimtv102_attach, adap->fe, tun_i2c,
>>> &stk3000p_adimtv102_config, if1) == NULL) {
>>> ----
>>>
>>> whereas:
>>> mt2060.h:
>>>
>>> (the size of the struct is the same but the purpose of the elements
>>> are probably not)
>>> struct mt2060_config {
>>> u8 i2c_address;
>>> u8 clock_out; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */
>>> };
>>>
>>> adimtv102.h:
>>>
>>> struct adimtv102_config {
>>> u8 i2c_address;
>>> u8 is_through_asic;
>>> };
>>> #if defined(CONFIG_DVB_TUNER_ADIMTV102) ||
>>> (defined(CONFIG_DVB_TUNER_ADIMTV102_MODULE) && defined(MODULE))
>>> extern struct dvb_frontend * adimtv102_attach(struct dvb_frontend *fe,
>>> struct i2c_adapter *i2c, struct adimtv102_config *cfg, u16 if1);
>>> #else
>>> static inline struct dvb_frontend * adimtv102_attach(struct
>>> dvb_frontend *fe, struct i2c_adapter *i2c, struct adimtv102_config
>>> *cfg, u16 if1)
>>> {
>>> printk(KERN_WARNING "%s: driver disabled by Kconfig\n",
>>> __FUNCTION__);
>>> return NULL;
>>> }
>>>
>>> within the whole code if1 isn't needed (the adimtv102.h header is just
>>> copied from mt2060) some cleanup still seems to be required there but
>>> it's already a good start.
>>>
>>>
>>
>> The lgs8934 implementation should also not depend on the dibcom module
>> (which can be seen in your diff).
>>
>>
>>>
>>> Markus
>>>
>>>
>>>>
>>>> Regards
>>>> Alan
>>>>
>>>> Alan Knowles wrote:
>>>>
>>>>>
>>>>> I've been looking at the drivers for My Cinema-U3100Mini/DMB-TH
>>>>>
>>>>> The source is available directly from ASUS now.
>>>>> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/source_code.zip
>>>>>
>>>>> I've diffed it to the version they have used, and applied it, and fixed
>>>>> it
>>>>> against the current source
>>>>>
>>>>> http://www.akbkhome.com/svn/asus_dvb_driver/v4l-dvb-diff-from-current.diff
>>>>>
>>>>> In addition there are the drivers for the ADI MTV102 silicon tuner
>>>>> driver
>>>>> http://www.akbkhome.com/svn/asus_dvb_driver/frontends/
>>>>> (all the adimtv* files)
>>>>>
>>>>> The source code appears to use a slightly differ usb stick to the one's
>>>>> I
>>>>> have.
>>>>> 0x1748 (cold) / 0x1749 (warm)
>>>>> where as I've got
>>>>> 0x1721(cold) / 0x1722 (warm)
>>>>>
>>>>> It looks like they hacked up dib3000mc.c, rather than writing a new
>>>>> driver
>>>>>
>>>>> I've got to the point where it builds, firmware installs etc. (firmware
>>>>> is
>>>>> available inside the deb packages)
>>>>>
>>>>> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/asus-dmbth-20080528_tar.zip
>>>>>
>>>>> The driver initializes correctly when plugged in.
>>>>> [302520.686782] dvb-usb: ASUSTeK DMB-TH successfully deinitialized and
>>>>> disconnected.
>>>>> [302530.550018] dvb-usb: found a 'ASUSTeK DMB-TH' in warm state.
>>>>> [353408.577741] dvb-usb: will pass the complete MPEG2 transport stream
>>>>> to
>>>>> the software demuxer.
>>>>> [353408.680977] DVB: registering new adapter (ASUSTeK DMB-TH)
>>>>> [302530.670387] Cannot find LGS8934
>>>>> [302530.670596] DVB: registering frontend 0 (Legend Slilicon 8934)...
>>>>> [302530.670668] adimtv102_readreg 0x00
>>>>> [302530.676090] adimtv102_readreg 0x01
>>>>> [302530.681578] adimtv102_readreg 0x02
>>>>> [302530.687077] adimtv102: successfully identified (ff ff ff)
>>>>> [302530.688577] dvb-usb: ASUSTeK DMB-TH successfully initialized and
>>>>> connected.
>>>>> [302530.688624] usbcore: registered new interface driver
>>>>> dvb_usb_dibusb_mc
>>>>> [353413.776593] adimtv102_init
>>>>>
>>>>> when w_scan is run, it outputs activity...
>>>>> [353416.533576] lgs8934_SetAutoMode!
>>>>> [353416.553928] lgs8934_auto_detect!
>>>>> [353418.285686] lgs8934_auto_detect, lock 0
>>>>> [353418.285686] adimtv102_set_params freq=184500
>>>>> [353418.378803] MTV102>>tp->freq=184 PLLF=d8000 PLLFREQ=1472000
>>>>> MTV10x_REFCLK=16384 !
>>>>> ......
>>>>>
>>>>> however fails to pick up any channels...
>>>>>
>>>>> I'm trying to connect to these -
>>>>> http://en.wikipedia.org/wiki/Digital_television_in_Hong_Kong
>>>>>
>>>>> Any ideas welcome..
>>>>>
>>>>> Regards
>>>>> Alan
>>>>>
>>>>> --
>>>>> video4linux-list mailing list
>>>>> Unsubscribe
>>>>> mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>>>>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>>>>
>>>>
>>>> --
>>>> video4linux-list mailing list
>>>> Unsubscribe
>>>> mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>>>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>>>
>>>>
>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934)
2008-07-25 7:36 ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934) Alan Knowles
2008-07-25 10:26 ` Alan Knowles
@ 2008-07-25 16:06 ` Markus Rechberger
2008-07-26 0:16 ` Alan Knowles
1 sibling, 1 reply; 8+ messages in thread
From: Markus Rechberger @ 2008-07-25 16:06 UTC (permalink / raw)
To: Alan Knowles; +Cc: video4linux-list
On Fri, Jul 25, 2008 at 9:36 AM, Alan Knowles <alan@akbkhome.com> wrote:
> I've been looking at the drivers for My Cinema-U3100Mini/DMB-TH
>
> The source is available directly from ASUS now.
> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/source_code.zip
>
> I've diffed it to the version they have used, and applied it, and fixed it
> against the current source
> http://www.akbkhome.com/svn/asus_dvb_driver/v4l-dvb-diff-from-current.diff
>
> In addition there are the drivers for the ADI MTV102 silicon tuner driver
> http://www.akbkhome.com/svn/asus_dvb_driver/frontends/
> (all the adimtv* files)
>
> The source code appears to use a slightly differ usb stick to the one's I
> have.
> 0x1748 (cold) / 0x1749 (warm)
> where as I've got
> 0x1721(cold) / 0x1722 (warm)
>
> It looks like they hacked up dib3000mc.c, rather than writing a new driver
>
> I've got to the point where it builds, firmware installs etc. (firmware is
> available inside the deb packages)
> http://dlcdnet.asus.com/pub/ASUS/vga/tvtuner/asus-dmbth-20080528_tar.zip
>
> The driver initializes correctly when plugged in.
> [302520.686782] dvb-usb: ASUSTeK DMB-TH successfully deinitialized and
> disconnected.
> [302530.550018] dvb-usb: found a 'ASUSTeK DMB-TH' in warm state.
> [353408.577741] dvb-usb: will pass the complete MPEG2 transport stream to
> the software demuxer.
> [353408.680977] DVB: registering new adapter (ASUSTeK DMB-TH)
> [302530.670387] Cannot find LGS8934
this is basically the problem here.
> [302530.670596] DVB: registering frontend 0 (Legend Slilicon 8934)...
> [302530.670668] adimtv102_readreg 0x00
> [302530.676090] adimtv102_readreg 0x01
> [302530.681578] adimtv102_readreg 0x02
> [302530.687077] adimtv102: successfully identified (ff ff ff)
> [302530.688577] dvb-usb: ASUSTeK DMB-TH successfully initialized and
> connected.
> [302530.688624] usbcore: registered new interface driver dvb_usb_dibusb_mc
> [353413.776593] adimtv102_init
>
> when w_scan is run, it outputs activity...
> [353416.533576] lgs8934_SetAutoMode!
> [353416.553928] lgs8934_auto_detect!
> [353418.285686] lgs8934_auto_detect, lock 0
> [353418.285686] adimtv102_set_params freq=184500
> [353418.378803] MTV102>>tp->freq=184 PLLF=d8000 PLLFREQ=1472000
> MTV10x_REFCLK=16384 !
> ......
>
> however fails to pick up any channels...
>
> I'm trying to connect to these -
> http://en.wikipedia.org/wiki/Digital_television_in_Hong_Kong
>
> Any ideas welcome..
>
> Regards
> Alan
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934)
2008-07-25 16:06 ` Markus Rechberger
@ 2008-07-26 0:16 ` Alan Knowles
0 siblings, 0 replies; 8+ messages in thread
From: Alan Knowles @ 2008-07-26 0:16 UTC (permalink / raw)
To: Markus Rechberger; +Cc: video4linux-list
snip .....
>> [353408.680977] DVB: registering new adapter (ASUSTeK DMB-TH)
>> [302530.670387] Cannot find LGS8934
>>
>
> this is basically the problem here.
>
>
Which along with:
= the binary modules released by asus for the eeepc for this device
(which I've heard works)
dib3000mc.ko dvb-core.ko dvb-usb-dibusb-mc.ko
dibx000_common.ko dvb-usb-dibusb-common.ko dvb-usb.ko
* note - no adimtv module...? - I'm guessing it uses one of the existing
tuners..
doing a strings on dib3000mc.ko finds a few interesting items:
# strings dib3000mc.ko | grep -i dmbth
u3100DMBTH set freq=%d
u3100dmbth init
u3100dmbth 8GL5 init <-- a known ledgend chip for DMB-TH (and the code
is not in the tarball)
u3100dmbth 8934 init
U3100-DMBTH Device ID: %d
So since those strings are missing from the source file, I'm pretty
convinced they released the wrong code..
Regards
Alan
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-07-26 0:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-25 7:36 ASUS My Cinema-U3100Mini/DMB-TH (Legend Slilicon 8934) Alan Knowles
2008-07-25 10:26 ` Alan Knowles
2008-07-25 11:03 ` Markus Rechberger
2008-07-25 11:06 ` Markus Rechberger
2008-07-25 15:18 ` Alan Knowles
2008-07-25 15:49 ` Markus Rechberger
2008-07-25 16:06 ` Markus Rechberger
2008-07-26 0:16 ` Alan Knowles
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox