| Summary: | Add USB ID/quirks for Optio 230GS Digital Camera | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Oliver Brandmueller <obi> |
| Component: | kern | Assignee: | njl |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.8-PRERELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->njl Over to quirks maintainer. I need some more information from you. Please send the results of
camcontrol inquiry <your device> after it has successfully attached as
well as output of "usbdevs -v".
Instead of your patch, please try the following:
--- src/sys/dev/usb/umass.c 14 Mar 2003 13:23:05 -0000 1.11.2.18
+++ src/sys/dev/usb/umass.c 27 Apr 2003 19:52:14 -0000
@@ -616,10 +616,8 @@
* The Pentax Optio 230 requires RS_NO_CLEAR_UA
* PR: kern/46369
*/
- if (UGETW(dd->idVendor) == USB_VENDOR_ASAHIOPTICAL
- && UGETW(dd->idProduct) == USB_PRODUCT_ASAHIOPTICAL_OPTIO230) {
+ if (UGETW(dd->idVendor) == USB_VENDOR_ASAHIOPTICAL)
sc->quirks |= RS_NO_CLEAR_UA;
- }
if (UGETW(dd->idVendor) == USB_VENDOR_FUJIPHOTO
&& UGETW(dd->idProduct) == USB_PRODUCT_FUJIPHOTO_MASS0100) {
State Changed From-To: open->feedback Submitter will test patch and report back. State Changed From-To: feedback->closed Generalized quirk (all of Asahi Optical devices) has been committed and MFCd. It will be in 5.1R and subsequent 4.x releases. |
I've successfully connected a Pentax Optio 230GS camera with the same options/quirks as the Optio 230 camera which is already mentioned in the sources. Fix: In /usr/src/sys/dev/usb/usbdevs add: product ASAHIOPTICAL OPTIO230GS 0x0006 Digital camera In /usr/src/sys/dev/usb/umass.c add: if (UGETW(dd->idVendor) == USB_VENDOR_ASAHIOPTICAL && UGETW(dd->idProduct) == USB_PRODUCT_ASAHIOPTICAL_OPTIO230GS) { sc->quirks |= RS_NO_CLEAR_UA; } After rebuilding usbdevs.h and building/installing the new kernel the camera works just fine as a umass device. How-To-Repeat: connect Optio 230GS camera to USB port