Re: [PATCH] i2c: mux: create proper topology in sysfs

Jean Delvare
2014-11-10T20:57:04Z

Hi Danielle,

On Tue, 4 Nov 2014 01:07:08 -0800, Danielle Costantino wrote:
> This is a tool I have been developing for complex I2C bus structures
> (lsi2c) the output of this should help with this complex multiplexer
> testing. I was able to overcome the problem by creating persistent
> paths describing where the devices reside. I will be testing
> compatibility with this setup. I will be reporting on my test results
> within a few days.
>
> [root@p2020 ~]# ./lsi2c -h
> Usage: lsi2c [OPTION]...
> -c, --config-file Specify a config file
> -C, --print-config Display i2c devices in configuration file
> -a, --all Print all i2c-devs in bus tree
> -d, --print-devices Display sysfs i2c devices
> -t, --tree Print i2c bus and children
> -p, --path Parse an i2c-dev path
> -P, --probe Probe an i2c-dev at addr on path
> -F, --func Print I2C bus functionality
> -T, --timeout Set adapter timeout in milliseconds
> -S, --retry-count Set adapter max retry count
> -h, --help Display this help text
> -V, --version Display the program version
> -v, --verbose Be verbose
> -i, --initialize Initialize devices in configuration file
> -r, --remove Remove devices in configuration file
> -k, --kmod Try to initialize i2c_dev kernel module
>
> Use `-' after `-c' to read the config file from stdin.

Is the source code of this tool available somewhere?

Thanks,
--
Jean Delvare
SUSE L3 Support