Re: No sensors found on i2c-usb-tiny

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

 



Hi Jan,

On Mon, 5 Nov 2012 13:43:44 +0100, Jan Weber wrote:
> If I do what you suggested, I'll get the following reply:
> 
> janw@eeepc-linux:~$ sudo echo tmp75 0x48 > /sys/bus/i2c/devices/i2c-0/new_device
> bash: /sys/bus/i2c/devices/i2c-0/new_device: No such file or directory
> 
> Sorry, but I don't know how to deal with this one . . .
> Could you point me into the right direction?

Sorry, I didn't notice you were running a relatively ancient kernel.
I2C adapters were listed at a different location back then. Try instead:

# echo tmp75 0x48 > /sys/class/i2c-adapter/i2c-0/new_device

Note that I am not 100% certain that this can be done with sudo as you
wrote above, as I seem to remember the shell redirections apply first,
which means you actually call "echo" as root but try to write to the
file as a standard user. I could be wrong / this may have changed
though.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux