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

Re: kblevel - set keyboard illumination directly

Johannes Berg <johannes@sipsolutions.net> writes:

> Indeed, that can't be right, you'll have to crawl /sys:
> /sys/class/i2c-dev/*/name
> The LMU node on my tree is below uni-n@f8000000/i2c@f8001000/i2c-bus@0
> which is the i2c bus named "uni-n 0". (combined from uni-n@....@0 as far
> as I can tell). Maybe we can convince benh to add a property to the i2c
> busses that tell which path they have in the device tree. Ben?

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.

Paul Collins
Melbourne, Australia

Dag vijandelijk luchtschip de huismeester is dood

Reply to: