From owner-freebsd-questions Tue Dec 25 12:13: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freebsdportal.com (ci590846-b.lxintn1.ky.home.com [24.9.218.175]) by hub.freebsd.org (Postfix) with ESMTP id CC46837B405 for ; Tue, 25 Dec 2001 12:12:56 -0800 (PST) Received: (from jfreeze@localhost) by freebsdportal.com (8.11.6/8.11.6) id fBPKGNW19818; Tue, 25 Dec 2001 15:16:23 -0500 (EST) (envelope-from jfreeze) Date: Tue, 25 Dec 2001 15:16:22 -0500 From: Jim Freeze To: jbw Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Anyone using USB cameras with FreeBSD 4.4? Message-ID: <20011225151622.A19770@freebsdportal.com> References: <200112120147.RAA761627@meer.meer.net> <20011211223328.A1407@arem.peritian.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011211223328.A1407@arem.peritian.com>; from j.bw@verizon.net on Tue, Dec 11, 2001 at 10:33:28PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Dec 11, 2001 at 10:33:28PM -0500, jbw wrote: > > when you plug in the camera to the USB port it registers in the message > log i.e. > > Dec 11 22:22:00 arem /kernel: umass0: OLYMPUS C-4040ZOOM, rev 1.10/1.00, addr 2 > Dec 11 22:22:00 arem /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Dec 11 22:22:00 arem /kernel: da0: Removable Direct Access SCSI-2 device > Dec 11 22:22:00 arem /kernel: da0: 650KB/s transfers > Dec 11 22:22:00 arem /kernel: da0: 62MB (128000 512 byte sectors: 64H 32S/T 62C) > > then you just do the following > > mount_msdos /dev/da0s1 /mnt > > cd /mnt and then just copy the files over > Hi: I have a 2040Z and tried the above. Almost worked, but not quite. Below is a listing of what I did and the corresponding output of /var/log/messages: => Plugged camera into usb port Dec 25 15:02:14 rabbit /kernel: umass0: OLYMPUS C-2040ZOOM, rev 1.10/1.00, addr 2 Dec 25 15:02:14 rabbit /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Dec 25 15:02:14 rabbit /kernel: da0: Removable Direct Access SCSI-2 device Dec 25 15:02:14 rabbit /kernel: da0: 650KB/s transfers Dec 25 15:02:14 rabbit /kernel: da0: 62MB (128000 512 byte sectors: 64H 32S/T 62C) => All looks good. Now su to root so we can mount the drive. Dec 25 15:03:00 rabbit su: jfreeze to root on /dev/ttyp4 => # mount_msdos /dev/da0s1 /mnt Dec 25 15:03:42 rabbit /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1 0 Dec 25 15:03:42 rabbit /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 Dec 25 15:03:42 rabbit /kernel: (da0:umass-sim0:0:0:0): Invalid command operation code Dec 25 15:03:42 rabbit /kernel: da0: reading primary partition table: error reading fsbn 0 I also tried mount -t msdos and other variants on /dev/da0xx, but no luck. I have all the necessary devices in my kernel, I think. The usb section of my kernel: # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device uscanner # Scanners # USB Ethernet, requires mii device aue # ADMtek USB ethernet device cue # CATC USB ethernet device kue # Kawasaki LSI USB ethernet # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) I am running 4.4R. uname -a FreeBSD rabbit 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Sat Oct 6 13:08:28 EDT 2001 jfreeze@rabbit:/usr/obj/usr/src/sys/RABBIT i386 -- Jim Freeze Today is a fine day for Ruby programming. www.freeze.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message