From owner-freebsd-usb@FreeBSD.ORG Mon May 9 02:53:28 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6068C106564A for ; Mon, 9 May 2011 02:53:28 +0000 (UTC) (envelope-from s.dave.jones@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id F00708FC08 for ; Mon, 9 May 2011 02:53:27 +0000 (UTC) Received: by wwc33 with SMTP id 33so4896322wwc.31 for ; Sun, 08 May 2011 19:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=DVqm5Jvsv0ZS8CHgqdlCLkwNL1LvjWeRr+/LcAXcFbk=; b=Ua1bD4zKmkJfICpsXyHLP5KWo603dQOsfZ0Rw4+BCGRwzNandG/Iqt3fhE1wYW1vLA spLzKvm2ICkFK7n9edu5wICe6C4uOHW2MdhFh+/S5QpFpEwrotKSJ3jslq7mmmeLMX6s f30RWF7eSokPTGQBEAVfulz8yTokDoUN6s4fE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fs5IZWIoB7bYMrmiLXKKoh3D/SECon82jjaZwAcJwmUuPKlU8X2eLuj03dYJ0R7ADU gbCK3eciKht/kNHqLFXDOShbTUtkjpwk9PmeckHKy+E8WkJCWj9dTb9aVeiNA6A5W8ym aNL79pOipraLNYDw6MRI8AYiPG+nrX9jy1pWE= MIME-Version: 1.0 Received: by 10.216.9.141 with SMTP id 13mr2103821wet.73.1304907754755; Sun, 08 May 2011 19:22:34 -0700 (PDT) Received: by 10.216.1.212 with HTTP; Sun, 8 May 2011 19:22:34 -0700 (PDT) Date: Mon, 9 May 2011 10:22:34 +0800 Message-ID: From: dave jones To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Problem with automount usb sd reader X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2011 02:53:28 -0000 Hello, I have a usb-based sdcard reader in my computer: umass0: on usbus4 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:2:0:-1: Attached to scbus2 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 If I want to mount the sd card, I have to run "true > /dev/da0" first to create /dev/da0s1 device node. In order to automount, I was trying to add the following lines in /etc/devd.conf but doesn't work. attach 10 { device-name "umass0"; action "true > /dev/da0; mount /dev/da0s1 /mnt"; }; Any solutions? Thank you. BR. Dave.