Re: shamcop adc

From: Phil Blundell <pb_at_nexus.co.uk>
Date: Tue, 2 Mar 2004 17:22:49 +0000

Okay. You patched soc-device.c to neutralize the resource checking,
right? Removing the goto statement in this block of code:

                else {
                        printk (KERN_ERR "%s: cannot find resource %d in
platform resources\n",
                                dev->name, i);
                        rc = -ENOENT;
                        goto err1;
                }

is probably what's required. If the adc device still isn't initialising
after that kind of change, some more debugging will be needed to find
out why.

p.

on Tue, Mar 02, 2004 at 06:13:00PM +0100, Alain2210 wrote:
> Excuse me, I'm not experiented with this.
>
> What I have understood I that for make work the touchscreen, I have to make the
> adc shamcop device register and then to see it on the ipaq in the /sys/....
>
> But in the kernel boot I see only the registration of the ipaq shamcop.
>
> ipaq shamcop: using irq 104-150
> Setting type of unclaimed IRQ28 from shamcop_probe+0xb4/0x2b8
> shamcop adc: cannot find resource 2 in platform resources
> and after that
> ts: Compaq touchscreen protocol output
>
> The only thing I have seen in the /sys tree was an handler for this ts.
>
> The only times, I see a line for adc shamcop it was an oops.... (for exemple I
> write blk->irq=-1 in the shamcop_base.c
>
> I don't know I have answered to your question....
>
> Thanks,
>
> Alain
Received on Tue Mar 02 2004 - 17:22:51 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:25 EDT