[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kblevel - set keyboard illumination directly



Johannes Berg <johannes@sipsolutions.net> writes:

> On Tue, 2006-06-20 at 18:50 +1000, Paul Collins wrote:
>
>> It's in my device-tree as uni-n@f8000000/i2c@f8001000/lmu-controller@84.
>> I also have cereal@1c0 and fan@15c in there, but there's no "uni-n 2"
>> in /sys/class/i2c-dev/*/name, so I guess simply sorting by @foo
>> isn't the way to map to the i2c-dev name attributes.
>
> Yeah, I was wrong, see my other mail.

No worries.  I have sysfs-based probing code working now.

> Btw, it's in my device-tree as
> uni-n@f8000000/i2c@f8001000/i2c-bus@0/lmu-micro@84 with a compatible
> 'lmu-controller' property.

Does this mean that of_find_node_by_name("lmu-controller", 0) will
return the correct node?  I don't know much about device tree stuff.

-- 
Paul Collins
Melbourne, Australia

Dag vijandelijk luchtschip de huismeester is dood



Reply to: