Re: usb/93389 : Digital Camera Pentax S60 don't work
The following reply was made to PR usb/93389; it has been noted by GNATS. From: Alexander Demin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: Ganbold <[EMAIL PROTECTED]> Subject: Re: usb/93389 : Digital Camera Pentax S60 don't work Date: Tue, 15 Aug 2006 16:27:57 +0400 Hi. Thank for you pacth. I have checked this patch on my workstation and my digital camera Pentax Optio S60 is working now. uname -a FreeBSD support.spectrum.ru 5.5-STABLE FreeBSD 5.5-STABLE #26: Tue Aug 15 12:22:00 MSD 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYGENERIC i386 usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel (0x), rev 1.00 port 1 powered port 2 addr 2: full speed, self powered, config 1, product 0x0047 (0x0047), PENTAX(0x0a17), rev 0.00 umass0: PENTAX product 0x0047, rev 1.10/0.00, addr 2 umass0: 8070i (ATAPI) over Bulk-Only; quirks = 0x0002 umass0:2:0:-1: Attached to scbus2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 11MB (22559 512 byte sectors: 64H 32S/T 11C) Thank you very much. On Tue, 08 Aug 2006 13:16:26 +0900 Ganbold <[EMAIL PROTECTED]> wrote: > Hi, > > I have Pentax Optio S60 and I got it working in Dell D620 under > FreeBSD-6.1-STABLE by patching umass.c and scsi_da.c. > > # uname -an > FreeBSD devil.micom.mng.net 6.1-STABLE FreeBSD 6.1-STABLE #7: Tue Aug 8 > 12:52:48 ULAST 2006 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DEVIL i386 > > Aug 8 12:59:39 devil kernel: umass0: PENTAX product 0x0047, rev > 1.10/0.00, addr 2 > Aug 8 12:59:40 devil kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Aug 8 12:59:40 devil kernel: da0: > Removable Direct Access SCSI-0 device > Aug 8 12:59:40 devil kernel: da0: 1.000MB/s transfers > Aug 8 12:59:40 devil kernel: da0: 243MB (498176 512 byte sectors: 64H > 32S/T 243C) > > # usbdevs -v > ... > Controller /dev/usb2: > addr 1: full speed, self powered, config 1, UHCI root hub(0x), > Intel(0x), rev 1.00 > port 1 powered > port 2 addr 2: full speed, self powered, config 1, product > 0x0047(0x0047), PENTAX(0x0a17), rev 0.00 > ... > > Patches are here: > > --- > --- /usr/src/sys/dev/usb/umass.c-orig Tue Aug 8 12:54:25 2006 > +++ /usr/src/sys/dev/usb/umass.cTue Aug 8 12:55:37 2006 > @@ -321,7 +321,7 @@ > > Static struct umass_devdescr_t umass_devdescrs[] = { > { USB_VENDOR_ASAHIOPTICAL, PID_WILDCARD, RID_WILDCARD, > - UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, > + UMASS_PROTO_ATAPI | UMASS_PROTO_BBB, > RS_NO_CLEAR_UA > }, > { USB_VENDOR_ADDON, USB_PRODUCT_ADDON_ATTACHE, RID_WILDCARD, > --- > --- /usr/src/sys/cam/scsi/scsi_da.c-origTue Aug 8 12:53:37 2006 > +++ /usr/src/sys/cam/scsi/scsi_da.c Tue Aug 8 12:47:15 2006 > @@ -436,6 +436,11 @@ > "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > + /* PENTAX Optio S60. */ > + {T_DIRECT, SIP_MEDIA_REMOVABLE, "PENTAX", > "DIGITAL_CAMERA", "*"}, > + /*quirks*/ DA_Q_NO_SYNC_CACHE > + }, > + { > /* > * Genesys 6-in-1 Card Reader > * PR: usb/94647 > > hth, > > Ganbold > > > -- === Demin Alexander / Network Administarator Group of companies Spectrum / tel. (+7 495) 995-8999 Moscow, 103009, Strastnoy blvr. 8 === ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb/93389 : Digital Camera Pentax S60 don't work
The following reply was made to PR usb/93389; it has been noted by GNATS. From: Ganbold <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: usb/93389 : Digital Camera Pentax S60 don't work Date: Tue, 08 Aug 2006 13:16:26 +0900 Hi, I have Pentax Optio S60 and I got it working in Dell D620 under FreeBSD-6.1-STABLE by patching umass.c and scsi_da.c. # uname -an FreeBSD devil.micom.mng.net 6.1-STABLE FreeBSD 6.1-STABLE #7: Tue Aug 8 12:52:48 ULAST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DEVIL i386 Aug 8 12:59:39 devil kernel: umass0: PENTAX product 0x0047, rev 1.10/0.00, addr 2 Aug 8 12:59:40 devil kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Aug 8 12:59:40 devil kernel: da0: Removable Direct Access SCSI-0 device Aug 8 12:59:40 devil kernel: da0: 1.000MB/s transfers Aug 8 12:59:40 devil kernel: da0: 243MB (498176 512 byte sectors: 64H 32S/T 243C) # usbdevs -v ... Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00 port 1 powered port 2 addr 2: full speed, self powered, config 1, product 0x0047(0x0047), PENTAX(0x0a17), rev 0.00 ... Patches are here: --- --- /usr/src/sys/dev/usb/umass.c-orig Tue Aug 8 12:54:25 2006 +++ /usr/src/sys/dev/usb/umass.cTue Aug 8 12:55:37 2006 @@ -321,7 +321,7 @@ Static struct umass_devdescr_t umass_devdescrs[] = { { USB_VENDOR_ASAHIOPTICAL, PID_WILDCARD, RID_WILDCARD, - UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, + UMASS_PROTO_ATAPI | UMASS_PROTO_BBB, RS_NO_CLEAR_UA }, { USB_VENDOR_ADDON, USB_PRODUCT_ADDON_ATTACHE, RID_WILDCARD, --- --- /usr/src/sys/cam/scsi/scsi_da.c-origTue Aug 8 12:53:37 2006 +++ /usr/src/sys/cam/scsi/scsi_da.c Tue Aug 8 12:47:15 2006 @@ -436,6 +436,11 @@ "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE }, { + /* PENTAX Optio S60. */ + {T_DIRECT, SIP_MEDIA_REMOVABLE, "PENTAX", "DIGITAL_CAMERA", "*"}, + /*quirks*/ DA_Q_NO_SYNC_CACHE + }, + { /* * Genesys 6-in-1 Card Reader * PR: usb/94647 hth, Ganbold ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[EMAIL PROTECTED]"
usb/93389: Digital Camera Pentax S60 don't work
>Number: 93389 >Category: usb >Synopsis: Digital Camera Pentax S60 don't work >Confidential: no >Severity: non-critical >Priority: low >Responsible:freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 15 13:40:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Demin Alexander >Release:FreeBSD 5.5-PRERELEASE i386 >Organization: Group of companies Spectrum >Environment: System: FreeBSD support.spectrum.ru 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #22: Thu Feb 9 16:38:07 MSK 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYGENERIC i386 FreeBSD 5.5-PRERELEASE #22: Thu Feb 9 16:38:07 MSK 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYGENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.12-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff real memory = 536805376 (511 MB) avail memory = 515629056 (491 MB) ioapic0 irqs 0-23 on motherboard netsmb_dev: loaded acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xdd98-0xdd9f,0xd800-0xdbff,0xde00-0xdeff irq 16 at device 0.0 on pci1 uhci0: port 0xd400-0xd41f irq 16 at device 29.0 on pci0 uhci0: LegSup = 0x2f00 usb0: on uhci0 usb0: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xd800-0xd81f irq 19 at device 29.1 on pci0 uhci1: LegSup = 0x2f00 usb1: on uhci1 usb1: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xdc00-0xdc1f irq 18 at device 29.2 on pci0 uhci2: LegSup = 0x2f00 usb2: on uhci2 usb2: USB revision 1.0 usbd_get_string: getting lang failed, using 0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdc00-0xdfff irq 23 at device 29.7 on pci0 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib2: at device 30.0 on pci0 pci3: on pcib2 rl0: port 0xbc00-0xbcff mem 0xdfefff00-0xdfef irq 18 at device 2.0 on pci3 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:80:48:23:bc:f7 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xb800-0xb87f mem 0xdfeffe80-0xdfeffeff irq 17 at device 5.0 on pci3 miibus1: on xl0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:76:9c:b5:0e isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0xcc00-0xcc3f,0xd000-0xd0ff mem 0xd900-0xd9ff,0xda00-0xdbff irq 17 at device 31.5 on pci0 pcm0: acpi_button1: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 fdc0: port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 npx0: on motherboard npx0: INT 16 interface pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter "TSC" frequency 2800115568 Hz quality 800 Timecounters tick every 10.000 msec ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging unlimited ad0: 286168MB [581421/16/63] at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 acd1: DVDR at ata1-slave UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ata1 bus 0 target 1 lun 0 cd1: <_NEC DVD_RW ND-3500AG 2.16> Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present >Description: This message is displayed after connection digital camera: umass0: PENTAX product 0x0047, rev 1.10/0.00, addr 2 umass0: 8070i (ATAPI) over CBI with CCI (using CBI); quirks = 0x0002 umass0:2:0:-1: Attached to scbus2 umass0: CBI reset failed,