Re: No sensors found on i2c-usb-tiny

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

 



Greetings, Jean Delvare!

> 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,

$ echo tmp75 0x48 | sudo tee /sys/class/i2c-adapter/i2c-0/new_device

> 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.



--
WBR,
Andrey Repin (hell-for-yahoo@xxxxxxxx) 06.11.2012, <03:24>

Sorry for my terrible english...


_______________________________________________
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