Skip to contentSkip to conversation

New: config 1 has an invalid interface number: 2 but max is 1

Bug 216630 [email protected] 1 participant 6 messages Oct 27, 2022 – Nov 9, 2022 USB

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=216630

            Bug ID: 216630
           Summary: config 1 has an invalid interface number: 2 but max is
                    1
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.0.5
          Hardware: AMD
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

I'm getting these messages on boot and I wonder if they are superficial, there's a bug in the kernel or my HW is not working properly:

usb 3-6: config 1 has an invalid interface number: 2 but max is 1 usb 3-6: config 1 has no interface number 1

lsusb -tv

/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 480M

    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 5: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
        ID 8087:0025 Intel Corp. Wireless-AC 9260 Bluetooth Adapter
    |__ Port 5: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
        ID 8087:0025 Intel Corp. Wireless-AC 9260 Bluetooth Adapter
    |__ Port 6: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
        ID 0b05:18f3 ASUSTek Computer, Inc. 
    |__ Port 6: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        ID 0b05:18f3 ASUSTek Computer, Inc.
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 216630] config 1 has an invalid interface number: 2 but max is 1

https://bugzilla.kernel.org/show_bug.cgi?id=216630

--- Comment #1 from Alan Stern ([email protected]) --- These messages indicate that the device's firmware doesn't conform to the USB specification. You can see the problem in the lsusb output for Port 6 Dev 3. The two entries say "If 0" and "If 2". But the USB spec says that interface numbers must be consecutive (starting at 0).

It's a harmless error.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 216630] config 1 has an invalid interface number: 2 but max is 1

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216630

--- Comment #2 from Artem S. Tashkinov ([email protected]) --- (In reply to Alan Stern from comment #1)

Quoted 6 lines

These messages indicate that the device's firmware doesn't conform to the USB specification. You can see the problem in the lsusb output for Port 6 Dev 3. The two entries say "If 0" and "If 2". But the USB spec says that interface numbers must be consecutive (starting at 0).

It's a harmless error.

Thanks a lot for the explanation!

Since these messages can be seen at: dmesg -t --level=alert,crit,err,emerg,warn

is is it possible to decrease their level to e.g. notice or info?

I've google for it and there are literally hundreds of affected systems. I don't think it's worth alerting the use to something they are unable to fix or get fixed.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 216630] config 1 has an invalid interface number: 2 but max is 1

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216630

--- Comment #3 from Alan Stern ([email protected]) ---
I suppose these messages could be changed to log level notice instead of warning (although the documentation says that notice is for "normal but significant conditions", and these conditions are not normal). The boundaries between the different log levels are not specified very clearly. In particular, there's no explanation of what should count as a warning.

On the other hand, if you don't want to see those messages now, you can just do "dmesg -t --level=alert,crit,err,emerg" (i.e., don't show warnings).

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 216630] config 1 has an invalid interface number: 2 but max is 1

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216630

--- Comment #4 from Artem S. Tashkinov ([email protected]) --- (In reply to Alan Stern from comment #3)

Quoted 6 lines

I suppose these messages could be changed to log level notice instead of warning (although the documentation says that notice is for "normal but significant conditions", and these conditions are not normal). The boundaries between the different log levels are not specified very clearly. In particular, there's no explanation of what should count as a warning.

I like this idea a lot. Thanks a lot in advance!

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 216630] config 1 has an invalid interface number: 2 but max is 1

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216630

Artem S. Tashkinov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.