From: Patrick Boettcher <pboettcher@kernellabs.com>
To: Mario Bachmann <mbachman@stud.uni-frankfurt.de>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: dibusb-common.c FE_HAS_LOCK problem
Date: Mon, 23 Nov 2009 12:11:40 +0100 (CET) [thread overview]
Message-ID: <alpine.LRH.2.00.0911231206450.14263@pub1.ifh.de> (raw)
In-Reply-To: <20091123120310.5b10c9cc@x2.grafnetz>
On Mon, 23 Nov 2009, Mario Bachmann wrote:
>> sequence in dibusb_i2c_xfer
>>
>> instead of break, please add something like
>>
>> printk(KERN_ERR "----- hello stupid I2C access ----\n");
>>
>> recompile and load the new module, then check whether the line is
>> appearing in /var/log/messages or /var/log/syslog when you tune the board.
>>
>> If this is the case, try to identify which device is issuing the access by
>> printing the i2c-address of struct i2c_msg.
>>
>> HTH,
>> --
>>
>> Patrick
>> http://www.kernellabs.com/
>
> Hello Patrick,
>
> I tried it with Kernel 2.6.31.6 (same as before).
>
> I made the printk-change, recompiled and reloaded the modules and pluged in my Twinhan Magic Box...
> It definately jumps in the last else-branch and shows "hello stupid I2C access", but no KERN_ERR ?!
KERN_ERR is a prefix for printk to define the message priority to high.
(to have it in syslog or messages)
> dibusb: This device has the Thomson Cable onboard. Which is default.
> ----- hello stupid I2C access ----
Hmm... where is this coming from:
can you write it like that:
else {
printk(...);
dump_stack();
}
> Hey, without the break-command, tuning seems to work:
> $ tzap pro7 -r
> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> reading channels from file '/home/grafrotz/.tzap/channels.conf'
> tuning to 738000000 Hz
> video pid 0x0131, audio pid 0x0132
> status 00 | signal 0000 | snr 0000 | ber 001fffff | unc 0000ffff |
> status 1f | signal 0b20 | snr 008d | ber 001fffff | unc 0000ffff | FE_HAS_LOCK
> status 1f | signal f4dd | snr 0077 | ber 00000770 | unc 00000000 | FE_HAS_LOCK
> status 1f | signal ffff | snr 008c | ber 00000770 | unc 00000000 | FE_HAS_LOCK
We are close to identify the drivers in charge for the stupid I2c access.
--
Patrick Boettcher - Kernel Labs
http://www.kernellabs.com/
next prev parent reply other threads:[~2009-11-23 11:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-07 9:56 dibusb-common.c FE_HAS_LOCK problem Mario Bachmann
2009-11-19 15:37 ` Patrick Boettcher
2009-11-21 17:25 ` grafgrimm77
2009-11-23 9:01 ` Patrick Boettcher
2009-11-23 11:03 ` Mario Bachmann
2009-11-23 11:11 ` Patrick Boettcher [this message]
2009-11-23 11:33 ` grafgrimm77
2009-11-23 12:24 ` Patrick Boettcher
2009-11-23 13:19 ` Patrick Boettcher
2009-11-23 13:41 ` grafgrimm77
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LRH.2.00.0911231206450.14263@pub1.ifh.de \
--to=pboettcher@kernellabs.com \
--cc=linux-media@vger.kernel.org \
--cc=mbachman@stud.uni-frankfurt.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox