Project: | Trisquel |
Component: | Live System |
Category: | feature request |
Priority: | normal |
Assigned: | Unassigned |
Status: | active |
I just tried running Trisquel on my girlfriend's lappy and couldn't make the wireless work. After a bit of fooling around I found out that the Intel chip requires non-free firmware...
I think it would be in line with Trisquel's mission to (at request) scan users' hardware and report any it recognizes as free and non-free. This way it would be easy for anybody to find out whether their hardware is supported or not.
I guess such a system would be rather easy to do, just checking lspci output against a list of known devices.
It remembers me microsoft windows's message "You may be a victim of software falsification". I think it could be interesting, but the fact that hardware doesn't work with free software is a time matter and the same hardware could work with free software in the future. It is possible that some one has not internet access and the program says him a wrong sentence.
It remembers me MS Windows's message "You may be a victim of software falsification". I think it could be interesting, but the fact that hardware doesn't work with free software is a time matter and the same hardware could work with free software in the future. It is possible that some one has not internet access and the program says him a wrong sentence.
IIRC when the Linux-libre version of the kernel tries to load a non-free firmware/software (for hardware) it sends *DEBLOBBED* messages to the system if the hardware uses non-free software.Using dmesg helps to find out, so the system can use dmesg to know non-free issues on the computer instead of comparing lists of hardware. Either way i'm not a programer.
I think that this is an excellent idea. I have started work on a C program to do this. Currently, it redirects stdout to a temporary file, executes "lspci -m" and then un-redirects stdout again before loading the output file into the program as a space-separated-values spreadsheet. The next step is to use this table of values to populate a graphical interface, which I intend to create using GTK+ 2.0. Currently, the table of hardware is simply exported to an HTML5 file, which confirms that the current code seems to work correctly, at least. I would appreciate assistance in translating the GUI into other languages and compiling a list of Free hardware. I would suggest that hardware be categorised in three ways: Green (fully free), Amber (partially free, such as graphics cards that do not support 3D) and Red (Unsupported). Please respond with your thoughts. EDIT: I have now created the basic GTK program. It compares the output of lspci against a "database" file of known hardware devices, each with a short comment and a rating from 1 to 3 (1=unsupported, 2=partially supported and 3=fully supported). Devices not listed on the file (or which use values other than 1, 2 and 3) are rated as zero for "Unknown". It's currently hard-coded to use en-US as the language, but I intend to make it multi-lingual at some point. I can email the x86 binaries and source code to anyone who is interested - just be aware that the "database" currently consists of the hardware installed on my current desktop machine and nothing else.
Wow!, anyway to try this.Any help needed (non-code related) on it?. Can this be added to the wiki to keep an eye on it?Best regards
I've attached the most recent version (as of 17th August 2010) here (in .iso format, since .tar.gz is not allowed). Note that the included binaries are for 32-bit, x86 systems. The current implementation has a few things missing:
The database file can be loaded in OpenOffice.org as a space-separated values file. If you would like to append or modify ratings, then here is what you need to know:
Bear in mind that it's really just a proof-of-concept right now. That said, I hope that you all find this useful.
"The selected file ismyhwok_17thAug2010.iso could not be uploaded. The file is 626 KB which would exceed your disk quota of 1 MB." Hmm, looks like I'll need another way to get this to you all...
Send it to me, i'll upload it to my home server. (mail: ark at switnet dot org) or submitting a SF, Savannah project could be a good idea too.
It took me longer that i wanted but here it is:http://switnet.org/repo/ismyhwok_17thAug2010.isoCheers!
After my first attempt, I've had a few ideas about how to improve the program.
The problem here is that a user who only cares about, for example, French-language descriptions would also be forced to download the data for English, German and Spanish comments if all languages were stored in one file.
In any case, I shall continue working on this project when I have time (I'm rather busy with my day job during the week).Also: Perhaps it would be useful to include the output of lsusb?
I just recall that i had seen something like it before:
Cheers
Here the new version released by gobusto
Cheers
Here is how to edit the comma-separated values files:
You can edit any of these files using OpenOffice.org or gEdit. I have actually been adding more device ratings this afternoon, mostly for USB devices, and so I might deliver a slightly larger database sometime in the near future.
Just a progress report to let you know that I am still working on this. I won't bother putting the new version up for download just yet - I'll wait until it is a bit more complete.
The program has also had the code tidied up a bit and I have managed to get it to compile and run on Windows. It works correctly, except that it fails to run lspci or lsusb and so the interface is blank. When the program is more mature, I plan to try and emulate those programs using WIndows-specific code, but that's not a very high priority for now. I would also like to do this for other platforms, such as MacOSX, so that potentially interested users don't even need to use a LiveCD to check their system for compatibility.
I've just came across this project: http://www.h-node.com/home/index/en
Here the new release of Hardware Tool (v0.3.0) by gobusto
Cheers!
I can't seem to be able to access it now.
The term non-free hardware is not optimal. Hardware is difficult to copy, share or make changes. It's good to know that devices are compatible with free software that makes optimum use of the device freely. Good references are Lemote devices. And companies support this initiative. Make a software like the one here will help to really arises when purchasing a computer. But I think it's more fun to go through overcoming the hardware does not publish specifications.
Works now, nevermind.
Ask and you may be answered :)
Thanks to the h-node project
I have been considering the possibility of linking with h-node for a while now, which is why I added the uname data for kernel and version information.
I don't think that this hardware tool should be h-node specific, though. Instead, I'd like to have a "submit" option on the menu bar that allows you to submit the information to various sites, such as h-node, the FSF hardware page, etc.
EDIT: It looks like the XML file provided by h-node doesn't contain PCI/USB IDs for hardware, which would be necessary for the data to work with the Hardware Tool. I'll ask the site admin whether this data could be added to the database.
Of course that making this tool design to one site wouldn't be the goal, but by making it compatible with one web site it establish the format/standard/way to interact with others sites/projects. Helping to define the format to exchange data to hardware detection and compatibility. Either way, it would be great to join the efforts from two different sides to achieve one goal.
Thanks for considering the h-node.com project!I've added the VendorId_ProductId in the xml file of the database (the tag is named <vendorId_ProductId>).New types of hardware will be added in the next future (printers will be the next one, see this discussion http://trisquel.info/en/forum/re-h-nodecom-new-website-hardware-database ).We are trying to choose the useful entries for each type of hardware.Perhaps some standard names for the form entries could be decided, the one chosen by h-node.com could be a starting point.
News:
HTD - 0.4.0 by gobusto
Good! I think I will try it today. Do I have to install some libraries in order to get the program working? Do I have simply to use the bin/ismyhwok file (./ismyhwok )? I've modified a bit the xml file of the h-node.com database: now the description entry has the strings <![cdata[ and ]]>. This shouldn't be a problem (it is foreseen in the xml standard)
I can't run the program. I've tried with both a double click on the binary file and by means of the terminal. Can you please give me some indications on how to compile the software from source?
Sorry for the delay, I've been busy with other things recently. The archive should contain a Code::Blocks project file - install Code::Blocks using Synaptic and open the .cbp file with that. You can then choose the build target you want and it should compile as-is. (EDIT: Also, you need to rename the CSV files to en_US (or whatever) instead of en_GB.)
Here the latest release by gobusto:
Please find attached a slightly updated version of the Hardware Tool.
Not a huge number of changes, but it tidies things up a bit.
Now available here at the h-node project website.
this reply is 4 all above i`m a newbie to this Trisquel... i`m testing it in VMware so far it seems ok....but the really test will be when i`m back at home....since just learning Linux,,, mainly a win7 enterprise fan with all the bells and other things.... i wonder if a programmer one will incorprate like driver genuis or drivermax to device files. not the whole program but, more like a search tool to help loading the driver files so people that r new to Linux, Unix, and other ssh files get pissed off at the system.. and quest wat we loose more open-source people..and back to Microsoft they go.... i mean to make a speech out of this but being NEWBIE TO lINUX I GUEST THAT GIVES ME THE RIGHT 2. but i am plan to run netopia usb adaptor on my system my question is this has any1 tryed this adaptor before and any advice would be helpfull.......
Signed.........
CrazyKevo from Dallas,Tx.
Will you make a deb package please?