public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: DM1105: could not attach frontend 195d:1105
@ 2010-01-16  2:49 paul10
  2010-01-16  3:11 ` paul10
  0 siblings, 1 reply; 51+ messages in thread
From: paul10 @ 2010-01-16  2:49 UTC (permalink / raw)
  To: Igor M. Liplianin, linux-media

Paul wrote:
> Is it likely that there is a tuner under the card labelled "ERIT"?  To
> take it off I have to unsolder some stuff - I can do that, but I reckon
> it's only 50% chance the card will work again when I put it back
together -
> my soldering isn't so good.

Igor wrote:
> No need to unsolder. I see a Serit can tuner. There is a sticked paper
with a label on right side 
> of the tuner. It must contain something like "sp2636lhb" or "sp2633chb".
Please provide me text of 
> label.

Ah, I see.   The whole thing is a tuner, and the label that I thought said
"ERIT" actually says "SERIT".  Yes, it does have a label on it, I should
have given you that up front.  I had searched for it on the internet and
decided that it didn't mean anything.  Thanks so much for your help.

The label reads SP1514LHb  D0943B

If I follow your decipher instructions that means:

1: DVB-S
5: 16cc
1: Unsure, but it has an LNB in and an LNB out, so I guess it does have
loop through?
4: Si2109
L: Si labs
H: Horizontal
b: Lead free

So I'm looking for some code to enable an Si2109 tuner?

Thanks again,

Paul


^ permalink raw reply	[flat|nested] 51+ messages in thread
* Re: DM1105: could not attach frontend 195d:1105
@ 2011-05-05 18:41 Igor M. Liplianin
  2011-05-05 19:01 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 51+ messages in thread
From: Igor M. Liplianin @ 2011-05-05 18:41 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: Hendrik Skarpeid, linux-media, Nameer Kazzaz

В сообщении от 4 мая 2011 00:33:51 автор Mauro Carvalho Chehab написал:
> Hi Igor,
> 
> Em 23-10-2010 07:20, Igor M. Liplianin escreveu:
> > В сообщении от 10 марта 2010 14:15:49 автор Hendrik Skarpeid написал:
> >> Igor M. Liplianin skrev:
> >>> On 3 марта 2010 18:42:42 Hendrik Skarpeid wrote:
> >>>> Igor M. Liplianin wrote:
> >>>>> Now to find GPIO's for LNB power control and ... watch TV :)
> >>>> 
> >>>> Yep. No succesful tuning at the moment. There might also be an issue
> >>>> with the reset signal and writing to GPIOCTR, as the module at the
> >>>> moment loads succesfully only once.
> >>>> As far as I can make out, the LNB power control is probably GPIO 16
> >>>> and 17, not sure which is which, and how they work.
> >>>> GPIO15 is wired to tuner #reset
> >>> 
> >>> New patch to test
> >> 
> >> I think the LNB voltage may be a little to high on my card, 14.5V and
> >> 20V. I would be a little more happy if they were 14 and 19, 13 and 18
> >> would be perfect.
> >> Anyways, as Igor pointet out, I don't have any signal from the LNB,
> >> checked with another tuner card. It's a quad LNB, and the other outputs
> >> are fine. Maybe it's' toasted from to high supply voltage! I little word
> >> of warning then.
> >> Anyways, here's my tweaked driver.
> > 
> > Here is reworked patch for clear GPIO's handling.
> > It allows to support I2C on GPIO's and per board LNB control through
> > GPIO's. Also incuded support for Hendrik's card.
> > I think it is clear how to change and test GPIO's for LNB and other stuff
> > now.
> > 
> > To Hendrik:
> > 	Not shure, but there is maybe GPIO for raise/down LNB voltage a little
> > 	(~1v). It is used for long coaxial lines to compensate voltage
> > 	dropping.
> > 
> > Signed-off-by: Igor M. Liplianin <liplianin@me.by>
> 
> I'm not sure if this patch is still valid or not, and if it should or not
> be applied, as there were several discussions around it. As a reference,
> it is stored at patchwork with:
> 	X-Patchwork-Id: 279091
> 
> And still applies fine (yet, patchwork lost patch history/comments and
> SOB).
> 
> Igor, could you please update me if I should apply this patch or if the
> patch got rejected/superseeded?
> 
> Thanks!
> Mauro.
Hi Mauro,
The patch should be applied.
Do I need to do something, it means apply to a tree and send pull request? 

Thanks!
Igor
-- 
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks

^ permalink raw reply	[flat|nested] 51+ messages in thread
[parent not found: <4B7D83B2.4030709@online.no>]
* Re: DM1105: could not attach frontend 195d:1105
@ 2010-01-16 11:55 Igor M. Liplianin
  0 siblings, 0 replies; 51+ messages in thread
From: Igor M. Liplianin @ 2010-01-16 11:55 UTC (permalink / raw)
  To: paul10; +Cc: linux-media

On 16 января 2010, paul10@planar.id.au wrote:
> Sorry for the many e-mails.
>
> I've looked through the code for si21xx.c.  I can't see any obvious reason
> it wouldn't be working.  si21xx_attach calls read_reg, and read_reg is not
> returning a value.  The datasheet for the chip
> (http://www.datasheetarchive.com/datasheet-pdf/016/DSA00286370.html) says
> those registers are correct.
>
> I'm assuming the problem would be the demod_address?  I modified the code
> in dm1105.c to try all options for demod_address between 0x01 and 0x100.
> None of them seemed to work.  The code looked like this:
>                 int demod = 0x01;
>                 while (demod < 0x100) {
>                     serit_config.demod_address = demod;
>                     dm1105dvb->fe = dvb_attach(
>                         si21xx_attach, &serit_config,
>                         &dm1105dvb->i2c_adap);
>                     if (dm1105dvb->fe) {
>                         dm1105dvb->fe->ops.set_voltage =
>                                                 dm1105dvb_set_voltage;
>                         break;
>                     }
>                     printk(KERN_ERR "Try: %x\n", demod);
>                     demod++;
>                 }
>
> The output from dmesg looks something like this (obviously much longer):
> [196838.768110] Try: fb
> [196838.768162] si21xx: si21xx_attach
> [196839.016208] si21xx: si21_readreg: readreg error (reg == 0x01, ret ==
> -1)
> [196839.264255] si21xx: si21_writereg: writereg error (reg == 0x01, data
> == 0x40, ret == -1)
> [196839.716056] si21xx: si21_readreg: readreg error (reg == 0x00, ret ==
> -1)
> [196839.716112] Try: fc
> [196839.716164] si21xx: si21xx_attach
> [196839.964211] si21xx: si21_readreg: readreg error (reg == 0x01, ret ==
> -1)
> [196840.212259] si21xx: si21_writereg: writereg error (reg == 0x01, data
> == 0x40, ret == -1)
> [196840.664056] si21xx: si21_readreg: readreg error (reg == 0x00, ret ==
> -1)
> [196840.664112] Try: fd
> [196840.664164] si21xx: si21xx_attach
> [196840.912211] si21xx: si21_readreg: readreg error (reg == 0x01, ret ==
> -1)
> [196841.160258] si21xx: si21_writereg: writereg error (reg == 0x01, data
> == 0x40, ret == -1)
> [196841.612053] si21xx: si21_readreg: readreg error (reg == 0x00, ret ==
> -1)
> [196841.612111] Try: fe
> [196841.612162] si21xx: si21xx_attach
> [196841.860209] si21xx: si21_readreg: readreg error (reg == 0x01, ret ==
> -1)
> [196842.108256] si21xx: si21_writereg: writereg error (reg == 0x01, data
> == 0x40, ret == -1)
> [196842.560055] si21xx: si21_readreg: readreg error (reg == 0x00, ret ==
> -1)
> [196842.560112] Try: ff
> [196842.560115] dm1105 0000:06:00.0: could not attach frontend
> [196842.560287] dm1105 0000:06:00.0: PCI INT A disabled
>
>
> I'm now out of ideas for what to do next.  In the mean-time, I noticed a
> couple of tidyups in the code for si21xx.c.  They are cosmetic only, patch
> is attached if you happened to be in that module for some other reason:
>
> diff si21xx.c.old si21xx.c
> 99a100,104
>
> > #define VERSION_SI2107                        0x34
> > #define VERSION_SI2108                        0x24
> > #define VERSION_SI2109                        0x14
> > #define VERSION_SI2110                        0x04
>
> 945c950
> <       id = si21_readreg(state, 0x00);
> ---
>
> >       id = si21_readreg(state, REVISION_REG);
>
> 947c952
> <       /* register 0x00 contains:
> ---
>
> >       /* register REVISION_REG contains:
>
> 953c958
> <       if (id != 0x04 && id != 0x14)
> ---
>
> >       if (id != VERSION_SI2110 && id != VERSION_SI2109)
>
> 954a960
>
> >                 /* only 2110 and 2109 are currently supported */
>
> Thanks again for your help,
>
> Paul

Accordingly datasheet possible demod addresses are 0x68, 0x69, 0x6a, 0x6b only.
Possibly there is some DM1105 GPIO drives reset for demod.
I assume it is last (26, top right if you look from card elements side) pin on tuner.
You can visually trace way from can tuner. Or use multimeter.

-- 
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks


^ permalink raw reply	[flat|nested] 51+ messages in thread
* Re: DM1105: could not attach frontend 195d:1105
@ 2010-01-15 23:14 paul10
  2010-01-15 23:54 ` Igor M. Liplianin
  2010-01-16  0:10 ` Igor M. Liplianin
  0 siblings, 2 replies; 51+ messages in thread
From: paul10 @ 2010-01-15 23:14 UTC (permalink / raw)
  To: linux-media, Igor M. Liplianin

On 15 января 2010 11:15:26 paul10@planar.id.au wrote:
> I bought a DVB-S card to attach to my mythtv setup.  I knew it was
perhaps
> not going to work, and I only spent $15 on it.  However, based on the
info
> the guy on eBay provided, it had a pci address of 195d:1105, which I
could
> see some people had cards that were working.

> The card itself is a no-name jobby.  I can see the DM1105 chip on it, I
> can't see any other chips with any significant pin count (lots with 3 -
8
> pins, but nothing with enough to be important).  There is a metal case
> around the connectors that might be hiding a frontend chip of some sort,
> but it doesn't seem to have enough connectors in and out to be doing
much
> that is important beyond just providing connectivity to the LNB.
>

Igor wrote:
> Hi Paul,

> Frontend/tuner must lay under cover.
> Subsystem: Device 195d:1105 indicates that there is no EEPROM in card.
> If you send some links/pictures/photos then it would helped a lot.
> Is there a disk with drivers for Windows?
> Also I know about dm1105 based cards with tda10086 demod, those are not
supported in the driver 
yet.

> BR
> Igor

Igor,

Photos:
1.  Front of card.  You can see the DM1105 in the foreground.  There are
no other significant looking chips on the card.
http://planar.id.au/Photos/img_1964.jpg

2.  Back of card - as you can see, there aren't a lot of places where a
lot of pins are connecting - mainly the DM1105 itself
http://planar.id.au/Photos/img_1965.jpg

3.  With the top metal plate removed, and with the other end of the card
in better focus.
http://planar.id.au/Photos/img_1966.jpg

Is it likely that there is a tuner under the card labelled "ERIT"?  To
take it off I have to unsolder some stuff - I can do that, but I reckon
it's only 50% chance the card will work again when I put it back together -
my soldering isn't so good.

Thanks heaps for the assistance.

Paul


^ permalink raw reply	[flat|nested] 51+ messages in thread
* DM1105: could not attach frontend 195d:1105
@ 2010-01-15  9:15 paul10
  2010-01-15 15:21 ` Igor M. Liplianin
  0 siblings, 1 reply; 51+ messages in thread
From: paul10 @ 2010-01-15  9:15 UTC (permalink / raw)
  To: linux-media

I bought a DVB-S card to attach to my mythtv setup.  I knew it was perhaps
not going to work, and I only spent $15 on it.  However, based on the info
the guy on eBay provided, it had a pci address of 195d:1105, which I could
see some people had cards that were working.

The card itself is a no-name jobby.  I can see the DM1105 chip on it, I
can't see any other chips with any significant pin count (lots with 3 - 8
pins, but nothing with enough to be important).  There is a metal case
around the connectors that might be hiding a frontend chip of some sort,
but it doesn't seem to have enough connectors in and out to be doing much
that is important beyond just providing connectivity to the LNB.

I've got the latest kernel (2.6.33-rc4) and I've checked the code and it
looks like the latest DM1105 code.  When booting I get:

[    9.766188] dm1105 0000:06:00.0: PCI INT A -> GSI 20 (level, low) ->
IRQ 20
[   10.047331] dm1105 0000:06:00.0: MAC 00:00:00:00:00:00
[   12.464628] dm1105 0000:06:00.0: could not attach frontend
[   12.479830] dm1105 0000:06:00.0: PCI INT A disabled

With lspci -vv I get:
06:00.0 Ethernet controller: Device 195d:1105 (rev 10)
        Subsystem: Device 195d:1105
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 20
        Region 0: I/O ports at b000 [size=256]

No DVB devices are created.

I see from other people using a card with this chipset that there probably
would be a tuner/frontend as well as the DM1105. I've also tried card=5 in
the insmod parameters.

It seems to me that the card probably has a tuner/frontend on id different
from the Axess board, but I'm not sure how I'd work out what that is.  Is
it possible that it doesn't have any chips on it other than the DM1105? 
Should I take the board apart a bit to find out?

Thanks,

Paul


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

end of thread, other threads:[~2011-05-05 19:01 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-16  2:49 DM1105: could not attach frontend 195d:1105 paul10
2010-01-16  3:11 ` paul10
2010-01-16 13:18   ` paul10
2010-01-16 14:12     ` Igor M. Liplianin
2010-01-19  8:51     ` paul10
2010-01-19 13:45       ` Igor M. liplianin
2010-01-20 21:20       ` paul10
2010-01-31 13:45         ` Igor M. Liplianin
2010-02-01 12:17           ` Nameer Kazzaz
2010-02-02 15:21             ` Nameer Kazzaz
2010-02-02 16:57               ` Igor M. Liplianin
2010-02-02 17:16                 ` Nameer Kazzaz
2010-02-02 22:07                   ` Nameer Kazzaz
2010-02-03 17:41                     ` Igor M. Liplianin
2010-02-04  9:56                       ` Nameer Kazzaz
  -- strict thread matches above, loose matches on Subject: below --
2011-05-05 18:41 Igor M. Liplianin
2011-05-05 19:01 ` Mauro Carvalho Chehab
     [not found] <4B7D83B2.4030709@online.no>
2010-02-20 17:49 ` Igor M. Liplianin
2010-02-22 20:56   ` Nameer Kazzaz
2010-02-23 12:14     ` Hendrik Skarpeid
2010-02-23 13:12       ` Nameer Kazzaz
2010-02-23 17:40         ` Igor M. Liplianin
2010-02-23 19:40           ` Nameer Kazzaz
2010-03-02 13:06           ` Hendrik Skarpeid
2010-03-02 19:09           ` Hendrik Skarpeid
2010-03-02 23:10             ` Igor M. Liplianin
2010-03-03  8:38               ` Hendrik Skarpeid
2010-03-03 15:49                 ` Igor M. Liplianin
2010-03-03 16:42                   ` Hendrik Skarpeid
2010-03-03 19:05                     ` Igor M. Liplianin
2010-03-04 21:27                       ` Hendrik Skarpeid
2010-03-04 22:16                       ` Hendrik Skarpeid
2010-03-04 22:46                         ` Hendrik Skarpeid
2010-03-06 11:52                         ` Igor M. Liplianin
2010-03-06 19:18                           ` Hendrik Skarpeid
2010-03-07 10:12                             ` Igor M. Liplianin
2010-03-10 12:15                       ` Hendrik Skarpeid
2010-03-31 10:47                         ` Hendrik Skarpeid
2010-10-23  9:20                         ` Igor M. Liplianin
2011-01-31  9:33                           ` Matt Vickers
2011-01-31 17:55                             ` Igor M. Liplianin
2011-02-01  5:17                               ` Matt Vickers
2011-02-02 18:39                                 ` Igor M. Liplianin
2011-02-02 18:41                                   ` Igor M. Liplianin
2011-05-03 21:33                           ` Mauro Carvalho Chehab
2010-01-16 11:55 Igor M. Liplianin
2010-01-15 23:14 paul10
2010-01-15 23:54 ` Igor M. Liplianin
2010-01-16  0:10 ` Igor M. Liplianin
2010-01-15  9:15 paul10
2010-01-15 15:21 ` Igor M. Liplianin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox