Hello Anton,
I had already put a few printk lines into hamcop_base without realizing that
there are pr_debug statements available and I had only to define DEBUG. Thank
you for the tip.
The result is:
Switching on Bluetooth gives me the lines:
hamcop_set_led: LED number 2, 1, 31
hamcop_set_led: LED number 2, 0, 0
The blue LED is flashing!
Putting h2200 into craddle or give power to the plug I see that the battery
gets loaded but nothing happens. No LED is flashing, no dmesg output is
created in leds-hamcop.c.
leds-hamcop.c seems not to be the problem.
Any further idea where to look?
Sorry for all those stupid questions and thx in advance.
Gerhard
On Friday 29 June 2007 20:16:43 Anton Vorontsov wrote:
> On Fri, Jun 29, 2007 at 07:38:41PM +0200, Gerhard Zintel wrote:
> > Hello List,
> >
> > Paul gave me a few hints how to proceed with searching for the non
> > working charging LED on h2200 (thanks a lot Paul). Unfortunately they do
> > not help me truly. Thus I have to ask for further help. Here are my
> > problems:
> >
> > On Wednesday 27 June 2007 00:31:25 Paul Sokolovsky wrote:
> > > 1. Make sure you use h2200_static_defconfig
> >
> > Yes sure, I have used h2200_static_defconfig
> >
> > > 2. Make sure you have entries in /sys for both "hamcop-leds"
> > > *device* and *driver*. If you don't know where, it's good time to
> > > learn /sys (and I don't remember exact paths form memory too, but it's
> > > all easy).
> >
> > looking for hamcop-leds under /sys I found:
> >
> > - devices/platform/hamcop-leds.0/power
> > - devices/platform/hamcop-leds.0
> > and
> > - devices/platform/hamcop/hamcop leds/power
> > - devices/platform/hamcop/hamcop leds
> >
> > don't find any additional entries concerning leds within the whole /sys
> > folders especially not under /sys/bus/platform/drivers.
> >
> > What can I do to "make sure" to have the appropiate entries? What should
> > the entries look like and wich part of the kernel does create this
> > entries?
>
> Please apply attached patch, and look for dmesg messages.
>
> > Gerhard
>
> Thanks,
Received on Sun Jul 01 2007 - 17:24:53 EDT
This archive was generated by hypermail 2.2.0 : Sun Jul 01 2007 - 17:25:13 EDT