[Bug 1717009] Re: fwupd breaking access to certain usb devices

2017-10-11 Thread TheOnlyJoey
@richard-hughes My apologies for the delay, bugreport done at
https://github.com/hughsie/fwupd/issues/275

** Bug watch added: github.com/hughsie/fwupd/issues #275
   https://github.com/hughsie/fwupd/issues/275

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

Title:
  fwupd breaking access to certain usb devices

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1717009] [NEW] fwupd breaking access to certain usb devices

2017-09-13 Thread TheOnlyJoey
Public bug reported:

Since this version, some devices can not be opened as normal anymore.

In this case devices with 0483:5750 STMicroelectronics chips will be claimed by 
fwupd and get stuck in a error state.
fwupd should check the usb descriptor to see if it is actually the right 
device, since chips can be re-used for multiple devices (this one being use in 
the Deepoon E2, NOLO CV1 and to name 2) while being claimed for a 8bitdo 
controller.

kernel: usb 1-1: New USB device found, idVendor=0483, idProduct=5750
kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 1-1: Product: NOLO
kernel: usb 1-1: Manufacturer: LYRobotix
kernel: usb 1-1: SerialNumber: 56E2805B3035
kernel: hid-generic 0003:0483:5750.0010: hiddev2,hidraw6: USB HID v1.10 Device 
[LYRobotix NOLO] on usb-:00:14.0-1/input0
mtp-probe[23555]: checking bus 1, device 25: 
"/sys/devices/pci:00/:00:14.0/usb1/1-1"
mtp-probe[23555]: bus: 1, device: 25 was not an MTP device
fwupd[2667]: Failed to add 8Bitdo device: unexpected device response

It gets stuck in this state and no other applications are able to use the 
devices, i guess that fwupd does not exit correctly.
Checking the name of the device should fix this.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: fwupd 0.9.7-2
ProcVersionSignature: Ubuntu 4.12.0-13.14-generic 4.12.10
Uname: Linux 4.12.0-13-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Sep 13 21:29:15 2017
InstallationDate: Installed on 2017-06-15 (89 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170613)
SourcePackage: fwupd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: fwupd (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug artful

** Description changed:

  Since this version, some devices can not be opened as normal anymore.
  
  In this case devices with 0483:5750 STMicroelectronics chips will be claimed 
by fwupd and get stuck in a error state.
  fwupd should check the usb descriptor to see if it is actually the right 
device, since chips can be re-used for multiple devices (this one being use in 
the Deepoon E2, NOLO CV1 and to name 2) while being claimed for a 8bitdo 
controller.
  
  kernel: usb 1-1: New USB device found, idVendor=0483, idProduct=5750
  kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  kernel: usb 1-1: Product: NOLO
  kernel: usb 1-1: Manufacturer: LYRobotix
  kernel: usb 1-1: SerialNumber: 56E2805B3035
  kernel: hid-generic 0003:0483:5750.0010: hiddev2,hidraw6: USB HID v1.10 
Device [LYRobotix NOLO] on usb-:00:14.0-1/input0
  mtp-probe[23555]: checking bus 1, device 25: 
"/sys/devices/pci:00/:00:14.0/usb1/1-1"
  mtp-probe[23555]: bus: 1, device: 25 was not an MTP device
  fwupd[2667]: Failed to add 8Bitdo device: unexpected device response
  
+ It gets stuck in this state and no other applications are able to use the 
devices, i guess that fwupd does not exit correctly.
+ Checking the name of the device should fix this.
+ 
  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: fwupd 0.9.7-2
  ProcVersionSignature: Ubuntu 4.12.0-13.14-generic 4.12.10
  Uname: Linux 4.12.0-13-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Wed Sep 13 21:29:15 2017
  InstallationDate: Installed on 2017-06-15 (89 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170613)
  SourcePackage: fwupd
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  fwupd breaking access to certain usb devices

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs