On 13/10/15 16:26, Bryce Stenberg wrote: > Hi, > > I was trying to create a file called 'pwm1' manually as that is what > the script creates.
I don't think the script creates .../pwm1, rather it echoes a value into the existing sysfs attribute /sys/devices/platform/mv64xxx_i2c.0/i2c-0/0-003e/pwm1 If this doesn't already exist, then there is not a controllable pwm being exposed there. Maybe its name has changed? What does "ls /sys/devices/platform/nct6775.2608" give you? Does it resemble things documented here: https://www.kernel.org/doc/Documentation/hwmon/nct6775 > just has a number in it to tell the fanoveride > process how to work stuff, but script was failing with permission > denied. ( all based on a discussion at > https://community.netgear.com/t5/New-to-ReadyNAS/How-to-control-fanspeed-on-a-RN104/td-p/911970 > ). > > I can write to other places on same drive so is mounted read/write sysfs is a separate virtual filesystem mounted at /sys so, it is not "on the same drive" See this for technical details. https://www.kernel.org/doc/Documentation/filesystems/sysfs.txt > > So, even if nothing happens, with previous permissions I should be > able to write where I like as root shouldn't I? I don't know the details, but I wouldn't expect to be able to create files in /sys/... (only to read and sometimes write their contents) _______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
