diff options
author | Henrik Brix Andersen <brix@FreeBSD.org> | 2008-08-09 22:25:13 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@FreeBSD.org> | 2008-08-09 22:25:13 +0000 |
commit | d09ece9e4ee33330f65cf90ef38f1597d54f2c81 (patch) | |
tree | 779d4e558987057f80e97cc7ef944a55aefe28bd /sys/dev/usb | |
parent | 9265278667ff39de532910485ae837b052c4c622 (diff) | |
download | src-d09ece9e4ee33330f65cf90ef38f1597d54f2c81.tar.gz src-d09ece9e4ee33330f65cf90ef38f1597d54f2c81.zip |
Add quirks for making uhid(4) ignore the Apple iPhone and iPhone 3G.
Reviewed by: sam
Approved by: sam
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=181482
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/usb_quirks.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/usbdevs | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_quirks.c b/sys/dev/usb/usb_quirks.c index a0aa1f126757..d3d4c1fb89ed 100644 --- a/sys/dev/usb/usb_quirks.c +++ b/sys/dev/usb/usb_quirks.c @@ -106,6 +106,10 @@ static const struct usbd_quirk_entry { ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS2, ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE, + ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_3G, + ANY, { UQ_HID_IGNORE }}, /* Devices which should be ignored by both ukbd and uhid */ { USB_VENDOR_CYPRESS, USB_PRODUCT_CYPRESS_WISPY1A, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index 1de0b35decb9..73e4d29f2f1d 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -853,6 +853,8 @@ product APPLE IPOD_07 0x1207 iPod '07' product APPLE IPOD_08 0x1208 iPod '08' product APPLE IPODVIDEO 0x1209 iPod Video product APPLE IPODNANO 0x120a iPod Nano +product APPLE IPHONE 0x1290 iPhone +product APPLE IPHONE_3G 0x1292 iPhone 3G product APPLE ETHERNET 0x1402 Ethernet A1277 /* Arkmicro Technologies */ |