From owner-freebsd-questions@FreeBSD.ORG Mon May 17 20:58:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A77D16A4CE for ; Mon, 17 May 2004 20:58:01 -0700 (PDT) Received: from serve.wwwroot7.net (server.wwwroot7.net [216.180.224.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id C05C543D3F for ; Mon, 17 May 2004 20:57:59 -0700 (PDT) (envelope-from mendonan@absolute-p.ath.cx) Received: from [127.0.0.1] (helo=sazli.rumah.my) by serve.wwwroot7.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BPvjm-0003Kw-MO for freebsd-questions@freebsd.org; Mon, 17 May 2004 22:57:55 -0500 Received: from localhost (localhost [127.0.0.1]) by sazli.rumah.my (8.12.11/8.12.11) with ESMTP id i4I3vbcQ008219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 May 2004 11:57:39 +0800 (MYT) (envelope-from mendonan@absolute-p.ath.cx) Date: Tue, 18 May 2004 11:57:37 +0800 (MYT) From: Senandung Mendonan To: "freebsd-questions@freebsd.org" In-Reply-To: <1084849352.10631.54.camel@chaucer> Message-ID: <20040518114307.K930@ybpnyubfg> References: <200405172050.45546.ben@spooty.net> <200405172340.42203.ben@spooty.net> <20040517154639.0efb33c1@vixen42.24-119-122-191.cpe.cableone.net> <1084849352.10631.54.camel@chaucer> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - serve.wwwroot7.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - absolute-p.ath.cx X-Source: X-Source-Args: X-Source-Dir: Subject: umass devices and devd [ was Re: mounting usb camera - no /dev/da* !!! ] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 03:58:01 -0000 On Tue, 17 May 2004, Mike Jeays wrote: > I have a Canon Powershot A70, and the same problem. I bought a SanDisk > card reader, and it works perfectly with a Compact Flash card that has > been used in the A70. It can be mounted as > mount -t msdos /dev/da0s1 /mnt > > You do need to put the card in the reader first, and then plug in the > USB connector to make it work properly. > > Much the easiest solution, IMHO. And very much easier than using the > software supplied with the camera on a Windows machine. I thought for Windows XP most USB storage devices don't need additional software to work. My digital camera for example (a nifty Sony Cyber-shot DSC-F77A), you can connect and disconnect and they get mounted/dismounted automatically as an external drive. Tried to do the same in FreeBSD via devd, in /etc/dev.conf:- attach 0 { device-name "umass[0-9]+"; action "(sleep 2; mount /mnt/digicam)&"; }; detach 0 { device-name "umass[0-9]+"; action "(sleep 2; umount -f /mnt/digicam)&"; }; with the line in /etc/fstab:- /dev/da0s1 /mnt/digicam msdosfs rw,noauto 0 0 Attaching my usb digicam (mine is a nifty Sony Cyber-shot DSC-F77A) works great, but detaching it has random effects (ranging from works with system intact to instant kernel panic). Resorted to unmount first before detaching (when I remember to do so ;-) ). Any similar experience, and should I send-pr? Thanks. --mendonan "Yang mimpikan secangkir kopi panas dengan selimut.." (Dreaming of a cup of hot coffee, and a blanket..")