[Bug 1550719] Re: Add output of usb-devices when ubuntu-bug linux or apport-collect'ing existing report affecting linux (Ubuntu)

Brian Murray brian at ubuntu.com
Mon Feb 29 19:16:38 UTC 2016


lsusb is already gathered. From the linux hook we see:

 47     apport.hookutils.attach_hardware(report)
 48     apport.hookutils.attach_alsa(report)
 49     apport.hookutils.attach_wifi(report)

And in apport/hookutils.py we have the following:

233 def attach_hardware(report):
234     '''Attach a standard set of hardware-related data to the report, including:
235 
236     - kernel dmesg (boot and current)
237     - /proc/interrupts
238     - /proc/cpuinfo
239     - /proc/cmdline
240     - /proc/modules
241     - lspci -vvnn
242     - lsusb
243     - devices from udev
244     - DMI information from /sys
245     - prtconf (sparc)
246     - pccardctl status/ident
247     '''
248     attach_dmesg(report)
...
257     report['Lsusb'] = command_output(['lsusb'])

Is lsusb insufficient?


** Changed in: apport (Ubuntu)
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1550719

Title:
  Add output of usb-devices when ubuntu-bug linux or apport-collect'ing
  existing report affecting linux (Ubuntu)

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  What is expected to happen is when an original reporter files a report via a terminal:
  ubuntu-bug linux

  or performs an apport-collect to a report that is affecting tbe linux (Ubuntu) package, apport automatically gathers the following command and adds it as an attachment:
  usb-devices

  Without this information, bluetooth device patches can't be committed
  upstream.

  Please add this output to apport.

  If needed, I can provide a patch, but it is very straight-forward to
  add.

  The is motivated due to the circumstances surrounding:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1546694

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: apport 2.14.1-0ubuntu3.19
  ProcVersionSignature: Ubuntu 4.2.0-30.35~14.04.1-generic 4.2.8-ckt3
  Uname: Linux 4.2.0-30-generic x86_64
  NonfreeKernelModules: nvidia
  ApportLog:

  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Feb 27 17:23:18 2016
  InstallationDate: Installed on 2013-10-17 (863 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: Upgraded to trusty on 2014-04-16 (681 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1550719/+subscriptions



More information about the foundations-bugs mailing list