python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Windows Driver substitue for linux device driver sysfs interface
Let me describe what sysfs does : its a pseudo file system where files, directories are generated by the core kernel or kernel drivers. And these files have read/write access and are a mechanism to co...
hit.at.ro
Votes: 0
Answers: 0
What is the default direction and value when a GPIO is exported?
What is the default direction and value when a GPIO is first-time exported?
Can I achieve a glitch-free operation using sysfs? I mean "export -> set direction -> set value" in atomic m...
guan boshen
Votes: 0
Answers: 1
Embedded Linux: Adding device file to existing device sysfs class
I am using Linux kernel release 5.4. I have one kernel built-in driver, which creates a sysfs class: /sys/night_owl/tick1/* using class_create() and device_create_file() function. I am developing anot...
Duy Trần Phạm
Votes: 0
Answers: 0
Passing int to sysfs
I want to pass int to sysfs_store
What I tried
userspace
int tid = 5234; // can be negative as well
char buf[5];
sprintf(buf, "%d\n", tid);
write (fd, buf, 1);
driver sysfs_store
int v;
kst...
ruke
Votes: 0
Answers: 1