From owner-freebsd-gnome@FreeBSD.ORG Tue Feb 22 16:38:30 2011 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6B49106566C for ; Tue, 22 Feb 2011 16:38:30 +0000 (UTC) (envelope-from c47g@gmx.at) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 329878FC15 for ; Tue, 22 Feb 2011 16:38:29 +0000 (UTC) Received: (qmail invoked by alias); 22 Feb 2011 16:11:49 -0000 Received: from cm203-32.liwest.at (EHLO bones.gusis.at) [81.10.203.32] by mail.gmx.net (mp072) with SMTP; 22 Feb 2011 17:11:49 +0100 X-Authenticated: #9978462 X-Provags-ID: V01U2FsdGVkX18FmZFDqGQFuY0yaNJT2rX0lP/+7ZeEJwuu0+eIt3 78HKse2xhGjBXY From: Christian Gusenbauer To: gnome@freebsd.org Date: Tue, 22 Feb 2011 17:13:04 +0100 User-Agent: KMail/1.13.5 (FreeBSD/9.0-CURRENT; KDE/4.5.5; i386; ; ) MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_QC+YN/6x+Pea7nv" Message-Id: <201102221713.04779.c47g@gmx.at> X-Y-GMX-Trusted: 0 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: kde-freebsd@kde.org Subject: Problems with automounting USB stick X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 16:38:31 -0000 --Boundary-00=_QC+YN/6x+Pea7nv Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi! [ I've already sent this below mentioned problem to kde-freebsd@ where Alberto Villa had a look at that it. He suggested to send this mail to gnome@, too, because he thinks it's HAL and not KDE related. So here it comes ... ] I've a problem automounting an USB stick on KDE 4.5.5 and current. At the very first time after booting the machine, I can insert the USB stick and the stick will be automounted without problems. But if I unmount it using the eject button and remove the stick, it will not be automounted again if I reinsert it :-(. After reinserting the stick, I get a Error: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result) It's funny, because HAL thinks that it's a 'mount-fixed' device and not a 'mount-removeable' one (which HAL reports at the very first time). So what's wrong with HAL or my setup? How can I track down that problem or is it already a well-known one? What we did so far: - we found out that restarting hald works but it is unconvenient, if I'd have to restart hald every time I remove the stick :-) - Alberto suggested to try pasting this into /usr/local/etc/hal/fdi/preprobe/20thirdparty/10- ignore-computer_storage.fdi (or /usr/local/share/...): http://pastebin.com/iiTVQARt But that made it worse - now the second insert is not recognized anymore Find attached some debugging output of hal, lshal, ... Please keep me CC'd because I'm not subscribed to gnome@! Many thanks, Christian. --Boundary-00=_QC+YN/6x+Pea7nv--