https://bugs.kde.org/show_bug.cgi?id=493199

            Bug ID: 493199
           Summary: Thunderbolt device notifier requests authentication
                    multiple times
    Classification: Plasma
           Product: plasmashell
           Version: git-stable-Plasma/6.1
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: System Tray
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

I have an automatically authorized TB4 dock, but plasma-thunderbolt
notifies for authorization every time I plug it in. This is the
situation after the third plug-in of the dock today.

1. My dock authorizes automatically each time it is plugged in
2. Plasma shows notification "Thundebolt device needs authorization" -> Fails
3. Boltctl operations fail with "Authorization error: kernel error:
write error: Invalid argument"

But: device is already authorized. Is that the reason for "Invalid argument"?
Below is the boltctl and boltd outputs:

$ sudo boltctl

● Lenovo ThinkPad Thunderbolt 4 Dock
   ├─ type:          peripheral
   ├─ name:          ThinkPad Thunderbolt 4 Dock
   ├─ vendor:        Lenovo
   ├─ uuid:          05b18780-0062-c194-ffff-ffffffffffff
   ├─ generation:    USB4
   ├─ status:        authorization error
   │  ├─ domain:     3068094b-53b5-8780-ffff-ffffffffffff
   │  ├─ rx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  ├─ tx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  └─ authflags:  none
   ├─ authorized:    ma 16. syyskuuta 2024 12.16.14
   ├─ connected:     ma 16. syyskuuta 2024 12.10.39
   └─ stored:        no

$ sudo boltctl enroll --policy auto 05b18780-0062-c194-ffff-ffffffffffff


15:17:16 dbus: query_authorization returned:
15:17:16 dbus: authorization done: yes
15:17:16 [05b18780-0062-ThinkPad Thunderb] status changed: auth-error ->
15:17:16 probing: started [1000
15:17:16 dbus: prop Probing
15:17:16 dbus: emitted property 1
15:17:16 dbus: prop Status
15:17:16 dbus: emitted property 1
15:17:16 [05b18780-0062-ThinkPad Thunderb] authorize: authorization
prepared for 'none'
15:17:16 [05b18780-0062-ThinkPad Thunderb] authorize: writing
authorization 15:17:16 [05b18780-0062-ThinkPad Thunderb] authorize:
finished: FAIL (status: auth-error, flags: 0
15:17:16 [05b18780-0062-ThinkPad Thunderb] status changed: authorizing
-> auth-error 15:17:16 dbus: prop Status changed
15:17:16 dbus: prop AuthorizeTime changed
15:17:16 dbus: emitted property 2 changes


$ sudo boltctl authorize 05b18780-0062-c194-ffff-ffffffffffff

15:19:23 dbus: query_authorization returned: yes
15:19:23 dbus: authorization done: yes
15:19:23 [05b18780-0062-ThinkPad Thunderb] status changed: auth-error
-> authorizing
15:19:23 probing: started [1000]
15:19:23 dbus: prop Probing changed
15:19:23 dbus: emitted property 1 changes
15:19:23 dbus: prop Status changed
15:19:23 dbus: emitted property 1 changes
15:19:23 [05b18780-0062-ThinkPad Thunderb] authorize: authorization
prepared for 'none' level
15:19:23 [05b18780-0062-ThinkPad Thunderb] authorize: writing authorization
15:19:23 [05b18780-0062-ThinkPad Thunderb] authorize: finished: FAIL
(status: auth-error, flags: 0)
15:19:23 [05b18780-0062-ThinkPad Thunderb] status changed: authorizing
-> auth-error
15:19:23 dbus: prop Status changed
15:19:23 dbus: prop AuthorizeTime changed
15:19:23 dbus: emitted property 2 changes



SYSTEM INFORMATION
Operating System: openSUSE Tumbleweed-Slowroll 20240803
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11850H @ 2.50GHz
Memory: 46,8 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 20YRS21300
System Version: ThinkPad P15 Gen 2i

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to