Date: Tue, 25 Dec 2001 15:16:22 -0500 From: Jim Freeze <jfreeze@freebsdportal.com> To: jbw <j.bw@verizon.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Anyone using USB cameras with FreeBSD 4.4? Message-ID: <20011225151622.A19770@freebsdportal.com> In-Reply-To: <20011211223328.A1407@arem.peritian.com>; from j.bw@verizon.net on Tue, Dec 11, 2001 at 10:33:28PM -0500 References: <200112120147.RAA761627@meer.meer.net> <ILEALFKFCNJHKDLMPOEOCEPCBPAE.cmeiklejohn@conversent.com> <20011211223328.A1407@arem.peritian.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <OLYMPUS C-4040ZOOM 1.00> 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: <OLYMPUS C-2040ZOOM 1.00> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011225151622.A19770>