diff options
author | brix <brix@FreeBSD.org> | 2008-08-12 19:40:28 +0000 |
---|---|---|
committer | brix <brix@FreeBSD.org> | 2008-08-12 19:40:28 +0000 |
commit | 5df11898c8345a80f4b3e8c399812bd43d0d678c (patch) | |
tree | 04c4956915e750fb0ccd040c0677662db00fdbba /sys/dev | |
parent | 44b7f08818f3c40e12b713dd752cc282def4787f (diff) | |
download | FreeBSD-src-5df11898c8345a80f4b3e8c399812bd43d0d678c.zip FreeBSD-src-5df11898c8345a80f4b3e8c399812bd43d0d678c.tar.gz |
MFC of SVN rev 181482:
Add quirks for making uhid(4) ignore the Apple iPhone and iPhone 3G.
Approved by: sam
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/usb_quirks.c | 5 | ||||
-rw-r--r-- | sys/dev/usb/usbdevs | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_quirks.c b/sys/dev/usb/usb_quirks.c index 4049e39..8efe4bb 100644 --- a/sys/dev/usb/usb_quirks.c +++ b/sys/dev/usb/usb_quirks.c @@ -128,6 +128,11 @@ 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_WISPY, ANY, { UQ_KBD_IGNORE }}, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index cdb8097..0986c9a 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -685,6 +685,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 /* Arkmicro Technologies */ product ARKMICRO ARK3116 0x0232 ARK3116 Serial |