From owner-freebsd-usb@FreeBSD.ORG Thu Oct 23 15:25:20 2008 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 514C6106566C for ; Thu, 23 Oct 2008 15:25:20 +0000 (UTC) (envelope-from johannes-maria@t-online.de) Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) by mx1.freebsd.org (Postfix) with ESMTP id E16C98FC16 for ; Thu, 23 Oct 2008 15:25:19 +0000 (UTC) (envelope-from johannes-maria@t-online.de) Received: from fwd00.aul.t-online.de by mailout07.sul.t-online.de with smtp id 1Kt23p-0005yI-05; Thu, 23 Oct 2008 17:25:17 +0200 Received: from t-online.de (EeuWkmZcYh7JYKTfxhXEc1Jay-ctpR+uNdSLMltgDDXOfEJ09a7OrU27UMaiM63gDk@[87.181.95.93]) by fwd00.t-online.de with esmtp id 1Kt23c-05QIoS0; Thu, 23 Oct 2008 17:25:04 +0200 Sender: jmk@t-online.de Message-ID: <49009984.9A6D0C3D@t-online.de> Date: Thu, 23 Oct 2008 17:34:28 +0200 From: Johannes-Maria Kaltenbach X-Mailer: Mozilla 4.78 [en] (X11; FreeBSD 6.0-RELEASE i386) MIME-Version: 1.0 To: Julian Stacey References: <200810222227.m9MMRlOF084446@fire.js.berklix.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ID: EeuWkmZcYh7JYKTfxhXEc1Jay-ctpR+uNdSLMltgDDXOfEJ09a7OrU27UMaiM63gDk X-TOI-MSGID: d0f99b59-d954-44f3-aa36-26e960781eec Cc: freebsd-usb@freebsd.org Subject: Re: mounting an MP3 player? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: johannes-maria@t-online.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 15:25:20 -0000 Hello, thanks for your answer. Julian Stacey wrote: > > Hi, > Reference: > > From: Johannes-Maria Kaltenbach > > Roland Smith wrote: > > [...] > > > > # file -s /dev/da* > > > > /dev/da0: writable, no read permission > > > > /dev/da2: writable, no read permission > > > > /dev/da3: writable, no read permission > > > > /dev/da4: writable, no read permission > > > > > > Looking into the source code for the file command, this is an indication > > > that the file command cannot open the files, even with the correct > > > permissions. > > > > the permission is 660 for all this /dev/da#-files > > Likely that excludes you as you are not owner or in same group. I tried the mounting as root. [and I also tried chmod 666, just to be sure] > > > I guess that this device has some quirks that need to be addressed in > > > the driver. Maybe you can find more help on the freebsd-usb list. > > BTW some mp3 players eg mine > http://berklix.com/~jhs/txt/clipman/ > seem to detect the power on the cable, & then turn on or off, > & then devd see what the player has done, & itself removes devices > or recreates (& if so with permissions that dont suit). I switched the on/off on the mp3 player but it had no effect; still not mountable (at least I'm not able to do it). Independent of the on/off switch the display on the mp3 player is always lighted when connected to the PC. > Solutions include to move power switch of mp3 player to force on > or off whatever, & on BSD end, either work as root, or hack the > devd.conf so modes or ownership of device allow access to normal > users. didn't solve my problem. > Beware if mp3 player decides to power down, that can cause DOS FS > to disappear, mounts to fail, that if they were in use, might cause > a crash, I reckon I've experienced that. Best experiment first on > a spare BSD box, not a main server others rely on. thanks for the warning, never expected such a problem; luckily it didn't happen (yet?) to me. It's not a server, just my desktop PC, I'm the only user. Thanks, Johannes-Maria