Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Mar 2015 11:07:48 -0600
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        Manish Jain <bourne.identity@hotmail.com>,  "freeb >> User Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Is there any plan to adopt devtmpfs ?
Message-ID:  <54F88D64.4000607@cyberleo.net>
In-Reply-To: <BLU436-SMTP37B91369BA1F4532599758F61F0@phx.gbl>
References:  <BLU436-SMTP37B91369BA1F4532599758F61F0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://www.fur.com/peace/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54F88D64.4000607>