0a5c: 58xx USB device doesn't receive suspend interrupt from USBD Linux Driver/controller

Bug #2066218 reported by prafulla chandra kota
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

0a5c: 58xx USB device doesn't receive suspend interrupt from Intel USBD Linux Driver/controller by default when no user space fingerprint drivers are installed for this device.
Where as similar situation at windows, Windows USB controller sends suspend interrupt to device.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-jammy-amd64-20220504-33+jellyfish-oddish+X118
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2024-03-20 (61 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - somerville-jammy-amd64-20220504-33
Package: gnome-control-center (not installed)
ProcEnviron:
 LANGUAGE=en_IN:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_IN
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 6.5.0-1023.24-oem 6.5.13
Tags: jammy
Uname: Linux 6.5.0-1023-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True

Revision history for this message
prafulla chandra kota (prafullakota) wrote :

Kindly move the defect to Intel USB controller Linux driver package to address it, i couldn't assign it to right package.

tags: added: apport-collected jammy
description: updated
Revision history for this message
prafulla chandra kota (prafullakota) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
prafulla chandra kota (prafullakota) wrote :
Download full text (5.1 KiB)

Bus 003 Device 004: ID 0a5c:5864 Broadcom Corp. 58200
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x0a5c Broadcom Corp.
  idProduct 0x5864
  bcdDevice 1.01
  iManufacturer 1 Broadcom Corp
  iProduct 2 58200
  iSerial 3 0123456789ABCD
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 0x008b
    bNumInterfaces 2
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 100mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 254 Application Specific Interface
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 4 Broadcom ControlVault 3+
      ** UNRECOGNIZED: 10 25 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x85 EP 5 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 1
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 11 Chip/SmartCard
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 5 Contacted SmartCard
      ChipCard Interface Descriptor:
        bLength 54
        bDescriptorType 33
        bcdCCID 1.00
        nMaxSlotIndex 0
        bVoltageSupport 7 5.0V 3.0V 1.8V
        dwProtocols 3 T=0 T=1
        dwDefaultClock 4000
        dwMaxiumumClock 4000
        bNumClockSupported 0
        dwDataRate 9600 bps
        dwMaxDataRate 250000 bps
    ...

Read more...

Revision history for this message
prafulla chandra kota (prafullakota) wrote :

adminuser@adminuser-Latitude-7350:~$ sudo cat /sys/bus/usb/devices/3-10/power/control
auto

adminuser@adminuser-Latitude-7350:~$ lsusb | grep Broadcom Bus 003 Device 004: ID 0a5c:5864 Broadcom Corp. 58200

affects: gnome-control-center (Ubuntu) → linux (Ubuntu)
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

I feel this is because the device is not in the libfprint list of unsupported devices, for which we still apply the auto-suspend mode.

The device is now added to https://gitlab.freedesktop.org/libfprint/wiki/-/wikis/Unsupported-Devices and so once we sync that doc with the libfprint code, it will not leak anymore even if the driver is not installed.

Let me know if that's something else, but if that's the case then it's only about fixing libfprint to generate an udev/hwdb rule for that.

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.