From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 09:29:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B0254472 for ; Fri, 25 Jul 2014 09:29:09 +0000 (UTC) Received: from ex.volia.net (ex.volia.net [82.144.192.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 683EE291E for ; Fri, 25 Jul 2014 09:29:08 +0000 (UTC) Received: from em.volia.net ([82.144.192.9]) by ex.volia.net with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1XAbaO-000Ncw-Nl for freebsd-questions@freebsd.org; Fri, 25 Jul 2014 12:14:44 +0300 Received: from acceptable.tryouts.volia.net ([93.72.62.0] helo=kushnir1.kiev.ua) by em.volia.net with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1XAbP5-000OOP-Ez for freebsd-questions@freebsd.org; Fri, 25 Jul 2014 12:03:03 +0300 Received: from localhost (localhost [IPv6:::1]) by kushnir1.kiev.ua (8.14.9/8.14.9) with ESMTP id s6P93GK8037523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 25 Jul 2014 12:03:16 +0300 (EEST) (envelope-from vkushnir@bigmir.net) Date: Fri, 25 Jul 2014 12:03:15 +0300 (EEST) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: freebsd-questions@freebsd.org Subject: KDE4, HAL, flash drives Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Volia-Original-IP: 93.72.62.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 09:29:09 -0000 Hello deeply respected All! I got a (possibly) NOOBish question on the subject which, however IS annoying. Setup: amd64-CURRENT, KDE4 desktop env. with all bells & whistles (OK, sorry, I just like the "style uniformity" and DISlike the huge GNOME's decorations - my bad). Running (obviously) dbus and hald. My problem is: Any kind of memory stick/cardreader/whatever USB device at all plugged in is recognized only once. Whatever I do the second time it's invisible for the kernel. After it is unmounted/unplugged, /dev/da0 (if that's what it was recognized as) is never destroyed, usbconfig just hangs and to make a next use of any flash drive (or, to be precise, of any USB storage - and perhaps any USB in general - device at all) I have to reboot. Besides, even reboot goes unsuccessfull if "sysctl hw.usb.no_shutdown_wait" is not set. None of these not-so-pleasant things happen when I'm in pure console session with no dbus and hald running. A question is obvious: how do I configure these bl...dy HW abstraction layers (and perhaps devd, devfs.{conf,rules} or whatever I need) to make them work as they are supposed to? TIA, Vladimir