/* These aren't done yet */
-#define ALPHATRACK_HAVE_SYSFS 0
#define SUPPRESS_EXTRA_ONLINE_EVENTS 0
#define BUFFERED_WRITES 0
#define SUPPRESS_EXTRA_OFFLINE_EVENTS 0
usb_kill_urb(dev->interrupt_out_urb);
}
-#if ALPHATRACK_HAVE_SYSFS
-/* lots and lots and lots of sysfs stuff */
-/* Currently borked, probably useless */
-#include "alphatrack_sysfs.c"
-#endif
-
/**
* usb_alphatrack_delete
*/
dev_info(&intf->dev, "Alphatrack Device #%d now attached to major %d minor %d\n",
(intf->minor - USB_ALPHATRACK_MINOR_BASE), USB_MAJOR, intf->minor);
-#if ALPHATRACK_HAVE_SYSFS
- if((retval = device_create_file(&intf->dev, &dev_attr_event))) goto error;
- if((retval = device_create_file(&intf->dev, &dev_attr_dump_state))) goto error;
- if((retval = device_create_file(&intf->dev, &dev_attr_enable))) goto error;
- if((retval = device_create_file(&intf->dev, &dev_attr_offline))) goto error;
-
- /* exercise sysfs */
-
- set_lights("32767"); // turn on all the lights
- set_fader0("1023"); // Move fader to max
- set_screen("INITIALIZING ALPHATRACK...");
- set_lights("0");
- set_fader0("0");
- set_screen(" ");
-
-#endif
-
exit:
return retval;