From owner-freebsd-questions Wed Aug 15 3:55:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 45EDA37B406 for ; Wed, 15 Aug 2001 03:55:13 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 83676 invoked by uid 100); 15 Aug 2001 10:55:12 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15226.21776.670269.383713@guru.mired.org> Date: Wed, 15 Aug 2001 05:55:12 -0500 To: Laurent Joncheray Cc: questions@freebsd.org Subject: Re: Olympus Brio D-100 digital camera & USB mass storage device In-Reply-To: <31094920@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 Laurent Joncheray types: > Hi, this is not really a question but more a report on how i got > an Olympus Brio D-100 digital camera to work with freeBSD 4.2. Search > engines can catch my mail and help any future user of that camera. > The camera is supposed to act as a mass storage device on a USB bus. > It can be mounted on a file system, and images can be copyed, erased, etc... > using usual file commands. There are some caveas to get the device to work > though, because the camera does not seem to follow the USB mass storage > specification: > - The CSW signature is not 0x53425355 but 0x55425355 (go figure) > - The camera does not support 6 bytes SCSI commands. DA_Q_NO_6_BYTE has to > be set for the device in cam/scsi/scsi_da.c. > Once that's done, i can mount the camera with 'mount_msdos /dev/da0s1 /mnt' > and transfer pictures easily. > The only problem i have is that, once removed, a probe of the devices will > crash the kernel. For instance if i run /stand/sysinstall, the kernel > crashes when the cammand probes the devices. I do not know why and did > not spend any time looking for a fix. > I hope that'll help anyone who wants to use the D-100 with FreeBSD. > I have some diffs for the kernel driver source, but what i've done is really > ugly because i am not very familiar with the drivers, but that could be used > by someone who knows the drivers and is willing to modify them. > -- lpj Try submitting this description, along with diffs for what you did, as a PR, then sending a pointer to the PR to the maintainer of the USB device drivers - n_hibma@freebsd.org. He should also be able to tell you if the crash from probing a device that's been found and removed is normal, or suggest a fix. Be aware that he's not the quickest or most reliable correspondent, so your only response may be a commit that fixes these things. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message