On Tue, Jul 19, 2011 at 07:21:05PM -0400, Brynet wrote:
> The userland stuff I found depends on libusb-1.x which currently lacks an 
> OpenBSD backend.
> 
> So this is pretty much just a cosmetic change until we get that or people 
> stop 
> using libusb 1.x and use the widely ported libusb-0.x.
> 
> So this can be ignored, but still a step in the right direction.
> 
> -Bryan.

I just noticed that the device supports PTP mode, so with the patch I can 
upload/download files to the device using the gphoto2 port.

So I guess it would help for it to go in, any comments?

-Bryan.

Index: uaudio.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/uaudio.c,v
retrieving revision 1.92
diff -u -r1.92 uaudio.c
--- uaudio.c    3 Jul 2011 15:47:17 -0000       1.92
+++ uaudio.c    19 Jul 2011 21:09:45 -0000
@@ -187,6 +187,8 @@
                UAUDIO_FLAG_BAD_ADC } ,
        { { USB_VENDOR_ALTEC, USB_PRODUCT_ALTEC_ASC495 },
                UAUDIO_FLAG_BAD_AUDIO },
+       { { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPOD_4G },
+               UAUDIO_FLAG_BAD_AUDIO },
        { { USB_VENDOR_CREATIVE, USB_PRODUCT_CREATIVE_EMU0202 },
                UAUDIO_FLAG_VENDOR_CLASS | UAUDIO_FLAG_EMU0202 |
                UAUDIO_FLAG_DEPENDENT },
Index: usb_quirks.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/usb_quirks.c,v
retrieving revision 1.64
diff -u -r1.64 usb_quirks.c
--- usb_quirks.c        9 Mar 2011 17:03:06 -0000       1.64
+++ usb_quirks.c        19 Jul 2011 21:09:45 -0000
@@ -112,6 +112,7 @@
  { USB_VENDOR_APC, USB_PRODUCT_APC_UPS,                        ANY,    { 
UQ_BAD_HID }},
  { USB_VENDOR_APC, USB_PRODUCT_APC_UPS5G,              ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_SPEAKERS,       ANY,    { UQ_BAD_HID }},
+ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPOD_4G,        ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F6C100,       ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F6C120,       ANY,    { UQ_BAD_HID }},
  { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F6C550AVR,    ANY,    { UQ_BAD_HID }},
Index: usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.548
diff -u -r1.548 usbdevs
--- usbdevs     8 Jul 2011 23:09:06 -0000       1.548
+++ usbdevs     19 Jul 2011 21:09:46 -0000
@@ -877,6 +877,7 @@
 product APPLE OPTMOUSE         0x0302  Optical mouse
 product APPLE ADB              0x1000  ADB device
 product APPLE SPEAKERS         0x1101  Speakers
+product APPLE IPOD_4G          0x129e  iPod Touch 4G
 product APPLE ETHERNET         0x1402  Ethernet A1277
 product APPLE BLUETOOTH2       0x8205  Bluetooth
 product APPLE BLUETOOTH                0x8300  Bluetooth

Reply via email to