[hid-sony] sony_controller_battery led triggers not working

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

 



Hi,

The battery triggers aren't working for some reason, trying to write
them comes back with -EINVAL. I'm on somewhat old kernel, 3.17, but the
relevant parts haven't changed from the commit Frank made in 2014
adding the MAC address to the name.

# cat trigger
none timer heartbeat backlight [default-on]
sony_controller_battery_00:26:5c:31:a2:c8-charging-or-full
sony_controller_battery_00:26:5c:31:a2:c8-charging
sony_controller_battery_00:26:5c:31:a2:c8-full
sony_controller_battery_00:26:5c:31:a2:c8-charging-blink-full-solid

# echo sony_controller_battery_00:26:5c:31:a2:c8-charging-blink-full-solid > trigger
bash: echo: write error: Invalid argument

The shorter triggers do work. Is it something caused by the long name,
or the colons? Do they work for others?

My controller is the Gasia one:
sony 0003:054C:0268.0005: input: USB HID v1.11 Joystick [Gasia Co.,Ltd
PS(R) Gamepad] on usb-0000:00:12.2-2.3/input0

- Lauri
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux