Igor M. Liplianin skrev:
On 2 марта 2010, "Igor M. Liplianin" <liplianin@xxxxx> wrote:
Igor M. Liplianin skrev:
On 23 февраля 2010 15:12:05 Nameer Kazzaz wrote:
Sounds cool, let me know if I can help you with anything.
Thanks
Nameer
Hendrik Skarpeid wrote:
No luck here either, still working on it.
My plan is to solder som wires on strategic points on the board and
debug i2c and other activity with an oscilloscope. Will probably start
next week.
Nameer Kazzaz wrote:
Hey Igor,
I'm getting the same error:
dm1105 0000:04:0b.0: could not attach frontend
Did you get your one to work.
Thanks
Nameer
Igor M. Liplianin wrote:
On 18 февраля 2010, liplianin@xxxxx wrote:
I also got the unbranded dm1105 card. I tried the four possible i2c
addresses, just i case. Noen worked of course. Then I traced the i2c
pins on the tuner to pins 100 and 101 on the DM1105.
These are GPIO pins, so bit-banging i2c on these pins seems to be
the solution.
scl = p101 = gpio14
sda = p100 = gpio13
Here is the patch to test. Use option card=4.
modprobe dm1105 card=4
I didn't test patch in real hardware.
But I can connect GPIO14 and GPIO13 to SCL and SDA in any dm1105 card and
test whether it works. Then I will ask you to test also.
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.733 / Virus Database: 271.1.1/2708 - Release Date: 02/24/10
20:34:00
Think I solved it.
The dm1105_getsda and dm1105_getscl functions need to mask out the other
GPIO bits.
I hacked the code to return 1 if corresponding GPIO set, and 0 if not
set. That did the trick. Now the frontend registers and /dev/dvb is
populated. :)
Haven't done any tuning yet.
Do you cut connections between dm1105 i2c pins and the
gpio pins you make earlier?
Success!
[ 4354.673688] dm1105 0000:03:01.0: PCI INT A -> GSI 19 (level, low) ->
IRQ 19
[ 4354.673806] DVB: registering new adapter (dm1105)
[ 4354.921866] dm1105 0000:03:01.0: MAC 00:00:00:00:00:00
[ 4355.533170] DVB: registering adapter 0 frontend 0 (SL SI21XX DVB-S)...
[ 4355.533327] input: DVB on-card IR receiver as
/devices/pci0000:00/0000:00:1e.0/0000:03:01.0/input/input7
[ 4355.533377] Creating IR device irrcv0
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html