From owner-freebsd-questions@FreeBSD.ORG Thu Mar 5 17:07:56 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 756725DA for ; Thu, 5 Mar 2015 17:07:56 +0000 (UTC) Received: from mail.cyberleo.net (paka.cyberleo.net [216.226.128.180]) by mx1.freebsd.org (Postfix) with ESMTP id 529DD81B for ; Thu, 5 Mar 2015 17:07:55 +0000 (UTC) Received: from [172.16.44.4] (vitani.den.cyberleo.net [216.80.73.130]) by mail.cyberleo.net (Postfix) with ESMTPSA id 4EC5D1B68C; Thu, 5 Mar 2015 12:07:49 -0500 (EST) Message-ID: <54F88D64.4000607@cyberleo.net> Date: Thu, 05 Mar 2015 11:07:48 -0600 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Manish Jain , "freeb >> User Questions" Subject: Re: Is there any plan to adopt devtmpfs ? References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2015 17:07:56 -0000 On 03/05/2015 09:38 AM, Manish Jain wrote: > > Hi all, > > I love FreeBSD, and a lot of people whom I have shown my box to have > taken a fancy. It was with a lot of expectation that I downloaded and > installed freebsd-10.1-i386. The system was likable enough, till I found > a lot of hardware would not work - my canon printer gets detected in > dmesg, but cups cannot locate any local printer; my APC UPS is able to > perform a self test but is unable to shut down the system in case of a > power outage on account of some communication failure re battery levels; > and finally my keyboard stops responding. All these are USB devices, and > I for some time believed that there might some problem with the USB stack. Can you provide further details for these failures? Specific device models and relevant dmesg(8) and usbconfig(8) output, for example. > Just for kicks, I decided to try Linux to see if my stuff works. On > Debian 7.8, neither the printer works nor does the UPS. However, with > Ubuntu 14.10 the printer detection and installation was a cinch. I did > not test the UPS, but I am sure that would have worked too - but the > Unity desktop is too painful for me to verify this fully. Linux and FreeBSD have, for the most part, completely different driver and framework implementations. That your hardware works in one and not the other merely indicates that it is probably a deficiency in the FreeBSD drivers. That's fairly common for consumer-grade equipment, given the relative sizes of the two projects and that, due to technical and legal reasons, work cannot flow easily between the two. > The one thing I noticed about Ubuntu 14.10 is that it uses a lot of > virtual filesystems, headed by devtmpfs. Is it possible that a lot of > hardware that currently is not working smoothly on FreeBSD will liven up > simply by migrating one step ahead of devfs ? If yes, is there a > possibility that we might be getting devtmpfs in 10.2/11.x ? Ignoring obvious platform differences, the two are actually pretty much identical in their operation. They are both virtual filesystems whose contents are managed by the kernel, upon which permissions and ownership are applied by a userland daemon according to rules specified by the administrator. Neither of them have anything to do with the drivers that operate the hardware; they merely provide management of the device nodes exposed by those drivers. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/