Skip to content

toshiba_haps is now in /sys/devices/platform/TOS620A:00 #15

@mercuriete

Description

@mercuriete

im not sure if i am doing something wrong but i dont have no one of this files

#define TOSHIBA_MOVEMENT_FILE   "/sys/devices/platform/toshiba_haps/movement"
#define TOSHIBA_LEVEL_FILE  "/sys/devices/platform/toshiba_haps/protection_level"
#define TOSHIBA_POSITION_FILE   "/sys/devices/platform/toshiba_acpi/position"

but i have this other ones:

mercuriete@localhost /sys/devices/platform/TOS620A:00/firmware_node $ ls -l
total 0
lrwxrwxrwx 1 root root    0 sep 20 11:27 driver -> ../../../../bus/acpi/drivers/Toshiba HAPS
-r--r--r-- 1 root root 4096 sep 20 12:00 hid
-r--r--r-- 1 root root 4096 sep 20 12:00 modalias
-r--r--r-- 1 root root 4096 sep 20 12:00 path
lrwxrwxrwx 1 root root    0 sep 20 12:00 physical_node -> ../../../platform/TOS620A:00
drwxr-xr-x 2 root root    0 sep 20 12:00 power
-rw-r--r-- 1 root root 4096 sep 20 12:00 protection_level
--w------- 1 root root 4096 sep 20 12:00 reset_protection
-r--r--r-- 1 root root 4096 sep 20 12:00 status
lrwxrwxrwx 1 root root    0 sep 20 11:27 subsystem -> ../../../../bus/acpi
-rw-r--r-- 1 root root 4096 sep 20 12:00 uevent

i need some help because the driver is working because it writes to dmesg an event every time that i move the computer. and hdapsd starts automatically with systemd but then exits with code 255 after tries to load a lot of modules.

by the way, i compile toshiba_haps inside the kernel not as a module. i dont know if this could be the problem.

thanks for your work

edit: version of linux:
uname -a
Linux localhost 4.0.5-gentoo SMP PREEMPT Tue Sep 8 21:37:19 WEST 2015 x86_64 Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz GenuineIntel GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions