Bug Report: can't edit Sysfs file.
Moderators: Hacker, petermad, Stefan2, white
Bug Report: can't edit Sysfs file.
After I learn something about linux, now I know this issue :
Bug: Can't edit file in symbol link folder
http://ghisler.ch/board/viewtopic.php?t=34613
should be Sysfs file.... not symbol link
Sysfs - Wikipedia, the free encyclopedia
http://en.wikipedia.org/wiki/Sysfs
Bug: Can't edit file in symbol link folder
http://ghisler.ch/board/viewtopic.php?t=34613
should be Sysfs file.... not symbol link
Sysfs - Wikipedia, the free encyclopedia
http://en.wikipedia.org/wiki/Sysfs
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That doesn't tell me any thing - is there a workaround?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, HTC Desire with Android 2.2 (no newer consumer release of Android has been offered for this device). There is no folder
/sys/class/misc/colorcontrol
on this device.
/sys/class/misc/colorcontrol
on this device.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
no, I mean, any folder in /sys/, this Sysfs is a ramdisk mount at /sys/, and the files inside are stored hardware parameter like CPU frequency and so on. ( because everything is a file in Linux )ghisler(Author) wrote:Yes, HTC Desire with Android 2.2 (no newer consumer release of Android has been offered for this device). There is no folder
/sys/class/misc/colorcontrol
on this device.
So I believe you phone does have an /sys/ folder, and TC can't open any files in it.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have no problems to open files in the TC editor in /sys. For example, the file
/sys/class/misc/alarm/uevent
contains:
although it shows up with 0 bytes in the file list. Other external editors like Ted can open them too.
/sys/class/misc/alarm/uevent
contains:
Code: Select all
MAJOR=10
MINOR=42
DEVNAME=alarm
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
all files show 4KB here, as you can open it without issue, and I encounter that in every ROMs of Galaxy Nexus, I doubt this is a issue of Android 4.0+ specific... or even worse, phone specific... wish there is someone using Android 4.0 to test tighisler(Author) wrote:I have no problems to open files in the TC editor in /sys. For example, the file
/sys/class/misc/alarm/uevent
contains:although it shows up with 0 bytes in the file list. Other external editors like Ted can open them too.Code: Select all
MAJOR=10 MINOR=42 DEVNAME=alarm

- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This might be the problem - TC compares the loaded size with the reported size, and shows an error if they differ - except when the system reports 0 bytes. I wonder why your system reports 4k. Maybe some sort of cluster size?all files show 4KB here
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
no idea, but have to remind you that other apps are fine.ghisler(Author) wrote:This might be the problem - TC compares the loaded size with the reported size, and shows an error if they differ - except when the system reports 0 bytes. I wonder why your system reports 4k. Maybe some sort of cluster size?all files show 4KB here