summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2007-04-29Simplify flag setup.autodevGiuseppe Bilotta1-9/+2
2007-04-29More whitespace/coding style cleanups.Giuseppe Bilotta1-19/+19
2007-04-29Centralize the success code for the probe routine.Giuseppe Bilotta1-8/+8
2007-04-28Keep track of device availability.Giuseppe Bilotta2-16/+34
Don't spam the log with errors about the device not being available, just inform the user when the device is available again.
2007-04-28NOTAVAIL macro to check if errno means device not available.Giuseppe Bilotta2-1/+3
Define (and use) a NOTAVAIL macro that checks errno against ENODEV, ENXIO and ENOENT, instead of checking manually against ENODEV only.
2007-04-28Make acecadAutoDev into a flag.Giuseppe Bilotta2-5/+5
Introduce AUTODEV_FLAG for the flags field in AceCadPrivateRec to tell if we are autodetecting devices or not, instead of having a separate acecadAutoDev field.
2007-04-28Make acecadUSB into a flag.Giuseppe Bilotta2-4/+4
Introduce USB_FLAG for the flags field in AceCadPrivateRec to tell if we have a USB device or not, instead of having a separate acecadUSB field.
2007-04-28More whitespace cleanup.Giuseppe Bilotta2-16/+16
2007-04-28More coding style cleanups.Giuseppe Bilotta1-16/+16
2007-04-28Add missing newlines in a couple of messages.Giuseppe Bilotta1-3/+3
2007-04-28Whitespace cleanup.Giuseppe Bilotta2-713/+696
2007-04-28De-spammify AceCadAutoDevProbe().Giuseppe Bilotta2-13/+14
Demote X_ERRORs in AceCadAutoDevProbe() to X_WARNINGs, and add an X-style verbosity parameter. This is set to 0 during initial probe, and to 4 during runtime probes.
2007-04-28Re-probe on device not found on input if auto-dev is active.Giuseppe Bilotta1-0/+4
If USBReadInput() fails because the device is not being found, and auto-dev is active, try re-probing for the device. The only downside of this procedure is that the log may get spammed a lot as long as no device can be found.
2007-04-28Re-probe for device if DeviceOn fails and auto-dev is active.Giuseppe Bilotta2-2/+9
If DeviceOn does not find the device and auto-dev is active, run the probe again to try to find the new location of the device (if present).
2007-04-28Device autodetection via sysfs.Giuseppe Bilotta1-9/+81
If support for sysfs is compiled in and the libsysfs library is found, the acecad driver will now try to autodetect the device via sysfs at first. If this fails, it will probe /dev/input/eventX devices. Currently the Name option is ignored during sysfs detection: the first possibly valid candidate is accepted without further checks.
2007-04-27"Name" option to configure autodev detection string.Giuseppe Bilotta2-7/+14
The string we look for when probing event devices can now be configured with the "Name" option.
2007-04-26Initial support for device autodetection.Giuseppe Bilotta2-0/+88
When the "Device" option is missing or set to "auto-dev" the acecad module will attempt autodetection of the correct device. Currently, it will probe all /dev/input/eventX nodes until one is found that reports a device name that begins with "ACECAD".
2007-04-26Uniformize messages.Giuseppe Bilotta1-38/+42
Use xf86Msg, prepending local->name when possible and upcasing ACECAD (as per their site, and to differentiate from the software company). Also reduce verbosity by using xf86MsgVerb with verbosity 4 for messages which are not of interest for users.
2007-04-26We always have config.h.Giuseppe Bilotta1-6/+0
Quoting Alan Coopersmith from http://lists.x.org/archives/xorg/2007-April/024058.html > Now that we are no longer sharing source with the monolith, should > all the #ifdef HAVE_CONFIG_H's be removed and just always include > config.h now?
2007-04-24Use autoconfigured package version if possible.Giuseppe Bilotta1-1/+5
2007-04-24Bump to 1.1.1.xf86-input-acecad-1.1.1Giuseppe Bilotta1-1/+1
2007-04-24Support 2.6.x kernels.Giuseppe Bilotta1-4/+16
2007-04-24Use the proper MessageType for probed, default, info and error messages.Giuseppe Bilotta1-26/+36
2007-04-24Clean up defines, and add an include to fix compilation when LINUX_INPUT is ↵Giuseppe Bilotta1-1/+6
defined
2006-04-07Bump to 1.1.0.xf86-video-impact-0_2_0acecad-1_1_0XORG-7_1Adam Jackson1-1/+1
2006-04-07Unlibcwrap and bump server version requirement.Adam Jackson1-2/+3
2005-11-21Add .cvsignores for drivers.Eric Anholt1-0/+6
2005-07-13Update all input drivers to pass distcheckKevin E Martin1-1/+1
2005-07-12Build skeletons for input drivers. Should basically work.Adam Jackson1-0/+31
2005-07-11Prep input drivers for modularizing by adding guarded #include "config.h"XORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15Adam Jackson1-0/+4
2005-06-28Bug #1565: Don't delete the driver twice. (Stéphane VOLTZ)XORG-6_8_99_14Adam Jackson1-3/+0
2005-06-25Bug #3626: _X_EXPORT tags for video and input drivers.XORG-6_8_99_13Adam Jackson1-2/+6
2004-12-04Encoding of numerous files changed to UTF-8sco_port_update-baseXORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10XORG-6_8_99_1Markus Kuhn1-1/+1
2004-04-23Merging XORG-CURRENT into trunkrel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1XACE-SELINUX-MERGEXORG-6_8-branchEgbert Eich2-3/+3
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich2-2/+2
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich2-2/+2
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich2-2/+2
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich2-2/+2
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330Kaleb Keithley2-22/+34
2003-11-14Initial revisionXORG-STABLEKaleb Keithley2-0/+1027