Add apport hook for lspci

Bug #579548 reported by Michael Terry
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clutter-1.0 (Ubuntu)
In Progress
Wishlist
Unassigned

Bug Description

It would be nice if bugs filed against clutter with apport included lspci info or something, to see what kind of hardware the user has.

Revision history for this message
Draycen DeCator (ddecator) wrote :

I'm interested in writing this hook if you guys decide you would like to have it. I created a basic one that grabs the standard hardware info using attach_hardware, but if you would like something more specific then that can be changed. Were you looking for the hook to be used when someone reports a bug for libclutter-1.0-0?

If you guys decide you don't want this hook or to write it yourselves, no problem, just looking to help!

Revision history for this message
Draycen DeCator (ddecator) wrote :

Assigning to myself since Didier approves of the idea for this hook and I will be working on this.

Changed in clutter-1.0 (Ubuntu):
assignee: nobody → Draycen DeCator (ddecator)
importance: Undecided → Wishlist
status: New → In Progress
Revision history for this message
Draycen DeCator (ddecator) wrote :

Here is what I have so far. Originally I also had attach_hardware included, but I wasn't sure it would give any info really relevant to clutter. However, if you want it added, that will be simple enough. The extra info you would get would be:
- Kernel dmesg logs (boot and current)
- The output of /proc/interrupts
- The output of /proc/cpuinfo
- The output of /proc/cmdline
- The output of /proc/modules
- The output of 'lspci -vvnn'

If you just want a couple of those, then they can be added easy enough. I thought about adding 'lspci -vvnn' but PciDisplay should give you all of the info you will need on the graphics card. I also wasn't sure if any xorg logs would be useful.

Let me know if you want any changes made!

Changed in clutter-1.0 (Ubuntu):
assignee: Draycen DeCator (ddecator) → nobody
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your work and sorry it stayed there for a while without review, in practice we have very few bugs opened against clutter itself it seems and the package is on sync with debian so we should better get the hook added there.

The hook there is also a start but it seems like we would better simply trigger the xorg one which already collect all the needed informations?

Unsubscribing sponsors, that seems to still require some thinking and work

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.