Commit Graph

204 Commits (973348e5371542d16569228a2ae4c03639d47634)

Author SHA1 Message Date
Nirenjan Krishnan 5add6a544d Add sysfs files to control LED and MFD brightness
This also fixes the issue with the text display on the MFD.
2012-09-30 15:23:35 -07:00
Nirenjan Krishnan 02a7c326c7 Update x52 driver with write to MFD code.
This still has a bug in that the text is not written correctly. It
shows up as garbage. For now, I'm committing it so that I can work
on it later after the brightness configuration is set up.

Also add the commands header file.
2012-09-30 14:28:51 -07:00
Nirenjan Krishnan 42642d5905 Add initial version of X52pro joystick driver
This is pretty much bare bones code to get a basic sysfs filesystem
in place. It has only code to create sysfs files for the 3 MFD lines.

Right now, this needs to be enabled by unplugging the joystick,
insmod'ing the x52joy.ko module, rmmod'ing the usbhid module and
replugging the joystick. We don't yet have a /dev/input/ interface
and there's no interrupt message handling yet.
2012-09-30 12:38:29 -07:00
Nirenjan e9bfeb0f02 Add controller information 2012-09-30 11:54:34 -07:00