On Tue, Dec 17, 2013 at 9:10 AM, Zrubecz Laszlo <
ma...@zrubi.hu> wrote:
> Hi all,
>
> Just read the whole thread, and now checked the new HCL page... trying
> to respond to the questions, suggestions.
>
> There were mentioned using more simple table structure... The new
> design is more simple, but the wiki syntax still not support any
> background colouring afaik.
Indeed.
> About more automatic reports:
> Really don't know what you mean (whoever was asking).
> * Of course I can make an auto report script, but it would go
> against our privacy for sure.
> * the detailed hardware info have to resolved to user friendly names.
> Actually I'm using this site
http://pci-ids.ucw.cz/read/PC/
The automation I mentioned is to extract meaningful information
out of collected reports and feed them directly into the HCL table format.
This could run on reports (on submitted or directly on users machines)
to create a standard report format (with human input* and readable),
which then can be converted automagically to a HCL table of our choice.
Currently used format:
<tr align='center'>
<td>
Devicename<br>
(CPU; Chipset; embedded VGA; BIOS version)
</td>
<td class='hcl-good'>Yes</td> <!-- Runs out of the box -->
<td class='hcl-good'>Yes</td> <!-- Kernel 3.11.1-2 -->
<td class='hcl-partial'>*</td> <!-- Kernel 3.9.2-2 -->
<td class='hcl-bad'>No</td> <!-- Kernel 3.7.4-5 -->
<td class='hcl-unknown'></td> <!-- VT-x -->
<td class='hcl-partial'>No</td> <!-- VT-d -->
<td class='hcl-partial'>
only works with 3.9 (patched) and newer kernel
</td> <!-- Remarks -->
<td class='hcl-reportedby'>
<a class='ext-link'
href='
https://groups.google.com/d/msg/qubes-user/${ID}'><span
class='icon'></span>Name</a>
</td> <!-- Reported by -->
</tr>
Looking at
https://www.flashrom.org/Supported_hardware#Supported_devices
for a project that uses output from their program to populate such a table.
They also rely on users sending in reports or dropping them into their pastebin.
[*] Submit-HCL-gui with drop-down (Yes, No, Unknown, Remarks) and
remark input fields:
Ask user to run qubes-hcl-collect (qubes-hcl-report) on different
kernel versions
in dom0 (only the collection of information is run in dom0) and send
it to AppVM.
Submit-HCL-gui will invoke qubes-hcl-generate (preferably in AppVM),
which extracts information and ask some questions to create a report.
- Installer runs out of the box?
The kernel branches could be automatically detected out of collected information
and remarks added by user.
- Kernel branch 3.11 works?
- Kernel branch 3.9 works?
- Kernel branch 3.7 works?
- Enabled VT-x and VT-d in BIOS or BIOS won't expose this option?
- Devices, maybe more?
Finally shows user the generated plaintext report, ready to be
submitted to list.
So 'qubes-hcl-convert ~/HCL-reports/* --html --version R2B3' will
output only reports
for R2B3 in the corresponding table format.
So only qubes-hcl-convert has to be modified for a new table format,
be it some change in layout
or moving from html to wiki syntax. And the table can be recreated
with all collected plaintext reports.
Any thoughts about this?
> Overaly I like the new page but:
>
> * "Usable" is really means nothing.
> This is really should mean basic Linux compatibility. And because of
> this we really can't do nothing about this, I would drop this. Instead
> we should CLEARLY declare that the device must be Linux compatible
> (actually f18 with one of the available kernel versions) before anyone
> trying to install Qubes.
We could state the used kernel versions and Fedora version and direct users
to look for compatible devices there, or directly on
kernel.org. ;-)
Also information on VT-x and VT-d support can be found on the vendor
sites or on forums,
so why not ditch the HCL altogether?
This "Usable" column should represent the out of the box experience.
Does everything work as advertised or does the user needs some CLI-fu
or workaround to get the system working.
I've renamed the column to "Runs out of the box" and are open for a better
title, because my choice on "Usable" was indeed not a good catch.
So this column is for the average user, which isn't interested in details and
just wants to insert the DVD into their drive and click though the installer
to be ready to start using Qubes, when this is marked hcl-good.
If it is marked as hcl-partial, the user could read the remarks and
run a workaround
to get it working with the troubleshooting mode and boot a kernel that is marked
supported.
It it is marked as hcl-bad, there is no way to install it out of the ISO.
Maybe there is a newer kernel in the repository that would enable this device,
then there could be a hcl-partial in the out of the box column and the
remarks would state, that you have to install it on a supported system to update
to a kernel, which supports your device and put the drive back to your device.
Or you wait for a new Qubes release, which incorporate this newer
kernel (or build your own).
An report like the following could be classified first as hcl-bad, but
could change to hcl-partial
after a workaround has been found and in the following release to hcl-good,
if this issue gets fixed upstream in time before next release ISO is issued.
https://groups.google.com/d/msg/qubes-users/DTot3wX1-nQ/cpCsRfs5PfgJ
> * different kernels
> The different kernels are because some devices prefers newer some
> needs older ones. So basically the LATEST should be used (because we
> really can't stuck with an old one for long), except one really need
> an older for any reason. (Like my devices :) So I would only have ONE
> kernel column with the used kernel version as a content.
Then we should find a convention to fill in this one kernel column.
Maybe something like this:
- single version reported
3.11.1-2
- working from version onward or until a version
[3.7.4-5
3.7.4-5]
- working in a range of versions 3.7.4-5 till 3.9.2-2
[3.7.4-5 - 3.9.2-2]
- excluding a range or single version
]3.9.2-2 - 3.11.1-3[
]3.11.1-2[
Seems complicated to maintain different branches in one column.
Therefore I'd separate this into different kernel branches, where an short Yes
or No with the kernel version in comment is sufficient.
<td class='hcl-good'>Yes</td> <!-- Kernel 3.11.1-2 -->
The hcl-good entry should be reserved for devices, with a full support
on this kernel version.
So all drivers should work.
An *, if a kernel has to be modified or another workaround is needed.
<td class='hcl-partial'>*</td> <!-- Kernel 3.9.2-2 -->
A hcl-partial entry is usually combined with a modifications or some
unnecessary device
drivers which aren't functioning as expected.
As an example: Not supporting your firewire isn't a catastrophe. Maybe
even a blessing. ;)
<td class='hcl-bad'>No</td> <!-- Kernel 3.7.4-5 -->
The entry with the hcl-bad class means the kernel isn't working.
The script or editor could update the exact kernel version in the comment.
and latest available report would be used to fill a kernel branch column.
The HCL table thus describes a state, which is able to change with
ongoing development.
For instance, there is a indication, that you can run with a kernel
(version branch=green),
but the installer won't come with this version (out-of-the-box
column=yellow), and you've to
workaround with another kernel or install and update on a supported system
or hope for a future release or build your own release ISO with an
updated kernel.
The HCL is a guide, which should easily indicate, if you can run Qubes.
And if not, show what holds you back from running Qubes.
(nag upstream, change graphic card, increase RAM, or whatever)
It is often a shoot in the dark, even with a HCL, but if you hit jackpot, missed
or discover a workaround for a device, let us know.
Would be great if a normal user could tell us about their experience with ease,
and Zrubi, you've decreased the distance to this goal. Thanks.
> @Hakisho Nukama "can you suffix the HCL reports with a time stamp"
> Sure, will do it soon.
Thanks.
>
>
>
>
> --
> Zrubi
Best Regards,
Hakisho Nukama