From owner-freebsd-questions@FreeBSD.ORG Tue Jul 14 03:47:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27E8A106564A for ; Tue, 14 Jul 2009 03:47:25 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: from us1.tomahawkonline.net (us1.tomahawkonline.net [66.98.178.56]) by mx1.freebsd.org (Postfix) with SMTP id DD4968FC0C for ; Tue, 14 Jul 2009 03:47:24 +0000 (UTC) (envelope-from sagara@tomahawk.com.sg) Received: (qmail 6464 invoked by alias); 14 Jul 2009 00:29:06 -0000 Message-ID: <20090714002906.6463.qmail@us1.tomahawkonline.net> References: <4A560B28.6080705@tomahawk.com.sg> <20090710184945.GA4323@slackbox.xs4all.nl> <20090711083609.32515.qmail@us1.tomahawkonline.net> <200907121042.33314.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200907121042.33314.mel.flynn+fbsd.questions@mailing.thruhere.net> From: "Sagara Wijetunga" To: Mel Flynn Date: Mon, 13 Jul 2009 19:29:06 -0500 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: Why this flash drive not detected in devd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 03:47:25 -0000 Mel Flynn writes:=20 > On Saturday 11 July 2009 00:36:09 Sagara Wijetunga wrote:=20 >=20 >> I prefer to handle mounting through an automounter even without KDE >> running. >=20 > I think most users want to handle the disk based on the content not on = the=20 > device that has the disk. Ideally I would want my desktop to: > 1) automount below a root that I can configure > 2) when a disk is labeled, use the lowercase version of the label as=20 > mountpoint, resolving conflicts using 2-digit serial suffixes. > 3) when a disk is not labeled, mount it temporarily using a unique name = (f.e.=20 > using uuid(3)), provide me with an option to label it > a) if yes, label and remount, asking me to abort if this means disk = content=20 > gets lost > b) if no, show me where it's mounted.=20 >=20 > Of course, YMMV, but I really don't care if my SD card with my photos i= s in=20 > the built-in SD card holder, in the camera itself or on an USB SD card = reader=20 > I plugged in. I want my photos to be under ~/photos each time. > --=20 > Mel Hi Mel=20 Thanks for your feedback.=20 Our Tomahawk Desktop (http://www.tomahawkcomputers.com/) is targeted for = end=20 users, from years two (2) onwards :) My son is now two and quarter. He pl= ays=20 music, just drag and drop music files (flac) to Xine, play videos, draw=20 stars, circles, cars, parrots, etc. on Inkscape, see his photos, etc. on=20 Tomahawk Desktop.=20 Here is what we have done five years ago based on Linux and how people us= ed=20 Tomahawk Desktop 1.x series.=20 You plug in your Thumb drive and go to /media/thumdrive and access your=20 thumb drive. Close your app (eg. Konqueror), system automatically unmount=20 the thumb drive for you. An average Tomahawk Desktop 1.x user is not even=20 aware that there is such thing as mount and unmount of devices. Its just=20 plug and play for them.=20 You plug in your camera and go to /media/camera and access your camera. J= ust=20 drag and drop your photos or videos to your computer or transfer to anoth= er=20 thumb drive.=20 Now we have switched to FreeBSD from Linux. We would still like to offer=20 this feature as a minimum for Tomahawk Desktop users. We do not want to t= ell=20 our users it is not supported on FreeBSD, therefore, you are crippled now= .=20 Knowing that a device has been created with the device name da0 or da0s1 = is=20 insufficient for us to determine whether that device is a thumb drive,=20 camera, audio player, etc.=20 We need another event to devd once the device (eg. da0, da1, etc) is know= n=20 with minimum vendor and product ids. For this purpose, we would like to=20 modify the USB sub system. We need help in this regard.=20 I have posted another post to freebsd-stable list titled =E2=80=9CFreeBSD = 7.2 USB=20 stack info needed=E2=80=9D. Please reply if you do have time.=20 Best regards Sagara