diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-09-28 22:44:37 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-09-28 22:44:37 +0200 |
| commit | 7df8823768dc8b55d482dde5b58bf7c423a7c8bc (patch) | |
| tree | 6fca91ee61b697bb0f19d8ae1a078d9e209f1e24 /usr/src/dkms_source_tree | |
| parent | fb4bc306514811e77ad141ad989640811b381d6a (diff) | |
for testing on the other device
Diffstat (limited to 'usr/src/dkms_source_tree')
| -rw-r--r-- | usr/src/dkms_source_tree/hid-egalax.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/dkms_source_tree/hid-egalax.c b/usr/src/dkms_source_tree/hid-egalax.c index db4fbc9..625e947 100644 --- a/usr/src/dkms_source_tree/hid-egalax.c +++ b/usr/src/dkms_source_tree/hid-egalax.c | |||
| @@ -272,7 +272,7 @@ static int egalax_probe(struct hid_device *hdev, const struct hid_device_id *id) | |||
| 272 | if (ret) | 272 | if (ret) |
| 273 | goto end; | 273 | goto end; |
| 274 | 274 | ||
| 275 | report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[5]; | 275 | report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[5]; |
| 276 | if (report) { | 276 | if (report) { |
| 277 | report->field[0]->value[0] = 2; | 277 | report->field[0]->value[0] = 2; |
| 278 | usbhid_submit_report(hdev, report, USB_DIR_OUT); | 278 | usbhid_submit_report(hdev, report, USB_DIR_OUT); |
| @@ -294,6 +294,8 @@ static void egalax_remove(struct hid_device *hdev) | |||
| 294 | 294 | ||
| 295 | static const struct hid_device_id egalax_devices[] = { | 295 | static const struct hid_device_id egalax_devices[] = { |
| 296 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, | 296 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, |
| 297 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH) }, | ||
| 298 | { HID_USB_DEVICE(USB_VENDOR_ID_DWAV, | ||
| 297 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1) }, | 299 | USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH1) }, |
| 298 | { } | 300 | { } |
| 299 | }; | 301 | }; |
| @@ -305,7 +307,7 @@ static const struct hid_usage_id egalax_grabbed_usages[] = { | |||
| 305 | }; | 307 | }; |
| 306 | 308 | ||
| 307 | static struct hid_driver egalax_driver = { | 309 | static struct hid_driver egalax_driver = { |
| 308 | .name = "egalax-joojoo", | 310 | .name = "egalax-touch", |
| 309 | .id_table = egalax_devices, | 311 | .id_table = egalax_devices, |
| 310 | .probe = egalax_probe, | 312 | .probe = egalax_probe, |
| 311 | .remove = egalax_remove, | 313 | .remove = egalax_remove, |
