This page is mirrored at
http://dev.librehwdb.tuxfamily.org/tiki-index.php?page=Doc+Database+Requirements&bl
Requirements analysis
Objectives
Identify hardware that can be used freely, i.e. for which GPL drivers are available : that would be a gnuhwdb (GNU Hardware DataBase) for libre hardware (I prefer libre to free as there's no misunderstanding, though a more precise definition is needed).
List not (yet) compliant hardware.
The database can store parameters used afterwards for ldetect-lst lists (available in Mandrakelinux for example)
Enhance existing tools to diagnose whether hardware is known as being compliant
Some definitions may need to be clarified
users
- standard user : wants to know which hardware can be used with no problem and how to identify it (often before buying or just after)
- contributors : that feed data or validate it
- they could be driver's authors : giving latest version of driver, products supported,
- they can be simple users as users' feedback is a good indication whether the hardware is usable at the current time
- international : people seem to contribute if the website is in their language (english seems not suficient)
- identify what needs to be translated or not, this requires that documentation be under a license that permits free translation, GPL for example
- users checking their hardware and how it is recognized / supported (via hwdb-clients in Mandrakelinux for example)
content
those are major tables, fields are to be identified in a data model ; descriptions have to be internationalized
- licences
- vendors
- products : that's the reference
- brand name : the name of the product as it appears on the box
- vendor : who makes the product
- distributor : where you bought it (optional)
- description
- category / subcategory (or tags ?)
- image : url to an image of the product
- documentation : is it provided / URL available on the web
- some more technical info : vendor id, product id (+ sub vid/sub pid, revision, ...) most of the time given by lspci -v (lspci -vv is more verbose)
- connector(s) : PCI, USB, ...
- URL to support page
- note by users : does it work / are you happy with it...
- drivers : take into account architecture ?
- author
- maintainer (either for driver or for package of driver)
- description
- link to download latest version
- URL to documentation site
- firmware needed by products ?
- freeness : this is a note given by users or by moderators to provide an evaluation
- license driver : proprietary / GPL / BSD ...
- license firmware : none means no firmware, unknown means not specified, GPL / BSD ...
- distribution : include version => uname -a (beware : hostname is given... may be necessary to remove it ?)
- category : seems compulsory / sub-category or perhaps tags for more categories for one product ?
- architecture ? could be part of driver parameter or distribution
uses
- identify which hardware to use / which to avoid by listing working products with free drivers (depending on notes of product and driver)
- evaluate whether a product works or not or partially, could rely on user vote on freedom / documentation / works statisfactorily
- check automatically the configuration (lspci, lsusb ...)
- list latest additions (10 latest, 100 latest, last 10 days, last month, last year)
- search by architecture (x86, amd64 or x86_64, PPC, ...)
- statistics
- user feedback ? (should be moderated afterwards, that's not mainly for user support => identify appropriate forum)
requirements
- a product can have multiple drivers or none
- for nvidia there exists two drivers : nv and nvidia, both should be identified with shortcomings some "official" reasons are sometimes given (should be available as comment)
- products with no existing driver should be identified with "no known driver", so that any user could feel the urge to provide more information
- a product may work for one GNU/Linux distribution / version and not for another, could be expanded to *BSD
- a driver may be under several licenses or have dependancies (on firmware for example) under different license (see main / contrib / non-free differences in Debian - non-free should be clarified with distribution license)
- lspcidrake provides a list with driver / product name
To check
- obtain images for products : free use ? for example at Faq:ModemSupport (interwiki) there are links to images, should they be imported ? is linking valid or requires authorization ?
- which license for database content ? Could be mirrorred...
- see InstallHwDb to try installation of mandriva HCL
Typical questions
Those are user oriented questions that come again and again...
http://linuxfr.org/~ploum/16109.html [fr] for wifi : some drivers work better than others for same product
http://lkml.org/lkml/2005/8/10/155 [en] NCQ support for NVidia NForce4(CK804) SATAII based chipsets ? Ask NVIDIA. They are the only company that gives me -zero- information on their SATA controllers.