#
29ae0e0f |
| 23-May-2020 |
CodeforEvolution <secundaja@gmail.com> |
wacom: SMAP Fixes and Refactoring
Utilize user_memcpy and IS_USER_ADDRESS when necessary to prevent SMAP violations. Also add a "wacom_device_header" struct to more easily share data between the wac
wacom: SMAP Fixes and Refactoring
Utilize user_memcpy and IS_USER_ADDRESS when necessary to prevent SMAP violations. Also add a "wacom_device_header" struct to more easily share data between the wacom kernel driver and input_server addon.
Should fix #14589
Change-Id: Ie2784020b21523f82fd450a2db2de60ccf9d6620 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2783 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
show more ...
|
#
d4122828 |
| 19-Feb-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* Reworked debugging feature, it's now much more simple to use, copied from the input_server implementation to create a log file. * DeviceReader already provided the data byte count, since this is
* Reworked debugging feature, it's now much more simple to use, copied from the input_server implementation to create a log file. * DeviceReader already provided the data byte count, since this is a USB only Wacom driver, we can simply use the max_packet_size from the endpoint descriptor. Changed TabledDevice accordingly to use the already existing DeviceReader::MaxPacketSize(). * Reworked DeviceReader::ReadData(). Renamed variables for clarity and removed the restriction to read exactly the requested ammount of bytes, reading more than the "header" (which contains vendor id, product id and max packet size) is already considered a successful read. * Refactored TabledDevice::poll_usb_device().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24018 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
dc1bdabb |
| 20-Jan-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* added an input_server add-on for interfacing with the wacom kernel driver * the structure of the add-on was originally designed to handle all kinds of different input devices, but has been limite
* added an input_server add-on for interfacing with the wacom kernel driver * the structure of the add-on was originally designed to handle all kinds of different input devices, but has been limited to handle Wacom tablets for now, since our mouse add-on handles the rest already. * various Wacom Tablets are supported including Cintiq Partner, Graphire, Graphire2/3/4, Intuos, Intous2/3, PenStation, PenPartner and Volito
TODO: Currently, the add-on does not work for some reason, though the kernel driver publishes a devfs entry and the input_server picks it up, the Wacom device thread is running. Need to investigate...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23667 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|