Plamsa5 Disk and Devices, USB stick detected first plugin only.
by chrisretusn from LinuxQuestions.org on (#5K4VP)
Slackware64-current, Wed Jun 16 01:06:18 UTC 2021 ChangeLog.txt, running KDE Plasma. Noticed this behavior after the after the Sun Jun 13 19:27:08 UTC 2021 or perhaps the Thu Jun 10 23:42:12 UTC 2021 update.
SanDisk USB inserted, Disk and Devices detects it, presents options to Mount and Open, Download images using gweview or digikam, Mount.
Note: code blocks are from /var/log/messages.
Code:Jun 16 19:28:36 racermach kernel: usb 1-2: new high-speed USB device number 10 using ehci-pci
Jun 16 19:28:36 racermach kernel: usb 1-2: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
Jun 16 19:28:36 racermach kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 16 19:28:36 racermach kernel: usb 1-2: Product: Cruzer Blade
Jun 16 19:28:36 racermach kernel: usb 1-2: Manufacturer: SanDisk
Jun 16 19:28:36 racermach kernel: usb 1-2: SerialNumber: 03004803092520015107
Jun 16 19:28:36 racermach kernel: usb-storage 1-2:1.0: USB Mass Storage device detected
Jun 16 19:28:36 racermach kernel: scsi host4: usb-storage 1-2:1.0
Jun 16 19:28:37 racermach mtp-probe: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-2"
Jun 16 19:28:37 racermach mtp-probe: bus: 1, device: 10 was not an MTP device
Jun 16 19:28:37 racermach kernel: scsi 4:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 ANSI: 6
Jun 16 19:28:37 racermach kernel: sd 4:0:0:0: [sdc] 30629376 512-byte logical blocks: (15.7 GB/14.6 GiB)
Jun 16 19:28:37 racermach kernel: sd 4:0:0:0: [sdc] Write Protect is off
Jun 16 19:28:37 racermach kernel: sd 4:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jun 16 19:28:37 racermach kernel: sdc: sdc1
Jun 16 19:28:37 racermach kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jun 16 19:28:38 racermach dbus-daemon[1027]: [system] Activating service name='org.kde.kded.smart' requested by ':1.29' (uid=1000 pid=1555 comm="/usr/bin/kded5 ") (using servicehelper)
Jun 16 19:28:38 racermach dbus-daemon[1027]: [system] Successfully activated service 'org.kde.kded.smart'I use the Mount option. I am able to access it via /run/media/chris/87E3-2C37/ no issues. I can also open with Dolphin and navigate not issues.
Use Safely remove, device is removed from Disk and Devices:
Code:Jun 16 19:36:46 racermach kernel: usb 1-2: USB disconnect, device number 10Remove the USB from the port, messages log entry nothing. Expected this.
Plug the same USB in the same port. Disk and Devices does not detect it.
Code:Jun 16 19:40:34 racermach kernel: usb 1-2: new high-speed USB device number 11 using ehci-pci
Jun 16 19:40:34 racermach kernel: usb 1-2: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
Jun 16 19:40:34 racermach kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 16 19:40:34 racermach kernel: usb 1-2: Product: Cruzer Blade
Jun 16 19:40:34 racermach kernel: usb 1-2: Manufacturer: SanDisk
Jun 16 19:40:34 racermach kernel: usb 1-2: SerialNumber: 03004803092520015107
Jun 16 19:40:34 racermach kernel: usb-storage 1-2:1.0: USB Mass Storage device detected
Jun 16 19:40:34 racermach kernel: scsi host4: usb-storage 1-2:1.0
Jun 16 19:40:35 racermach mtp-probe: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-2"
Jun 16 19:40:35 racermach mtp-probe: bus: 1, device: 11 was not an MTP device
Jun 16 19:40:35 racermach kernel: scsi 4:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 ANSI: 6
Jun 16 19:40:35 racermach kernel: sd 4:0:0:0: [sdc] 30629376 512-byte logical blocks: (15.7 GB/14.6 GiB)
Jun 16 19:40:35 racermach kernel: sd 4:0:0:0: [sdc] Write Protect is off
Jun 16 19:40:35 racermach kernel: sd 4:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jun 16 19:40:35 racermach kernel: sdc: sdc1
Jun 16 19:40:35 racermach kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jun 16 19:40:37 racermach dbus-daemon[1027]: [system] Activating service name='org.kde.kded.smart' requested by ':1.29' (uid=1000 pid=1555 comm="/usr/bin/kded5 ") (using servicehelper)
Jun 16 19:40:37 racermach dbus-daemon[1027]: [system] Successfully activated service 'org.kde.kded.smart'Remove the USB from port:
Code:Jun 16 19:41:31 racermach kernel: usb 1-2: USB disconnect, device number 11Note: This happens no matter which USB port I use, same result.
Now, take a different USB (PNY) and plug it in. THis USB is detected by Disk and Devices. I can mount, browse it with Dolphin.
Code:Jun 16 19:44:08 racermach kernel: usb 1-2: new high-speed USB device number 14 using ehci-pci
Jun 16 19:44:09 racermach kernel: usb 1-2: New USB device found, idVendor=154b, idProduct=6545, bcdDevice= 2.00
Jun 16 19:44:09 racermach kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 16 19:44:09 racermach kernel: usb 1-2: Product: USB 2.0 FD
Jun 16 19:44:09 racermach kernel: usb 1-2: Manufacturer: PNY
Jun 16 19:44:09 racermach kernel: usb 1-2: SerialNumber: 3514030CDE533939
Jun 16 19:44:09 racermach kernel: usb-storage 1-2:1.0: USB Mass Storage device detected
Jun 16 19:44:09 racermach kernel: scsi host4: usb-storage 1-2:1.0
Jun 16 19:44:10 racermach mtp-probe: checking bus 1, device 14: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-2"
Jun 16 19:44:10 racermach mtp-probe: bus: 1, device: 14 was not an MTP device
Jun 16 19:44:10 racermach kernel: scsi 4:0:0:0: Direct-Access PNY USB 2.0 FD 8.02 PQ: 0 ANSI: 0 CCS
Jun 16 19:44:10 racermach kernel: sd 4:0:0:0: [sdc] 7856127 512-byte logical blocks: (4.02 GB/3.75 GiB)
Jun 16 19:44:10 racermach kernel: sd 4:0:0:0: [sdc] Write Protect is off
Jun 16 19:44:10 racermach kernel: sdc: sdc1 sdc2 sdc3
Jun 16 19:44:10 racermach kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jun 16 19:44:11 racermach dbus-daemon[1027]: [system] Activating service name='org.kde.kded.smart' requested by ':1.29' (uid=1000 pid=1555 comm="/usr/bin/kded5 ") (using servicehelper)
Jun 16 19:44:11 racermach dbus-daemon[1027]: [system] Successfully activated service 'org.kde.kded.smart'On mounting PNY device:
Code:Jun 16 20:01:15 racermach kernel: EXT4-fs (sdc3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.On Safely remove:
Code:Jun 16 20:05:16 racermach kernel: sdc: detected capacity change from 7856127 to 0On Unpluging device:
Code:Jun 16 20:05:56 racermach kernel: usb 1-2: USB disconnect, device number 16I now plug in the previous USB (SanDisk) device, it now detected by Disk and Devices
Code: Jun 16 19:45:53 racermach kernel: usb 1-2: new high-speed USB device number 15 using ehci-pci
Jun 16 19:45:53 racermach kernel: usb 1-2: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
Jun 16 19:45:53 racermach kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 16 19:45:53 racermach kernel: usb 1-2: Product: Cruzer Blade
Jun 16 19:45:53 racermach kernel: usb 1-2: Manufacturer: SanDisk
Jun 16 19:45:53 racermach kernel: usb 1-2: SerialNumber: 03004803092520015107
Jun 16 19:45:53 racermach kernel: usb-storage 1-2:1.0: USB Mass Storage device detected
Jun 16 19:45:53 racermach kernel: scsi host4: usb-storage 1-2:1.0
Jun 16 19:45:54 racermach mtp-probe: checking bus 1, device 15: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-2"
Jun 16 19:45:54 racermach mtp-probe: bus: 1, device: 15 was not an MTP device
Jun 16 19:45:54 racermach kernel: scsi 4:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 ANSI: 6
Jun 16 19:45:54 racermach kernel: sd 4:0:0:0: [sdc] 30629376 512-byte logical blocks: (15.7 GB/14.6 GiB)
Jun 16 19:45:54 racermach kernel: sd 4:0:0:0: [sdc] Write Protect is off
Jun 16 19:45:54 racermach kernel: sd 4:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jun 16 19:45:54 racermach kernel: sdc: sdc1
Jun 16 19:45:54 racermach kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jun 16 19:45:56 racermach dbus-daemon[1027]: [system] Activating service name='org.kde.kded.smart' requested by ':1.29' (uid=1000 pid=1555 comm="/usr/bin/kded5 ") (using servicehelper)
Jun 16 19:45:56 racermach dbus-daemon[1027]: [system] Successfully activated service 'org.kde.kded.smart'In summary the USB is only recognized by Disk and Devices on first plugin, plugging the same USB in subsequent times after that and Disk and Devices does not detect it.
Using another USB stick, then going back to the other stick then it is detected.
I discovered that Dolphin picks the device up when reinserted and mounts it correctly when the stick is selected. So I can use Dolphin as a workaround to mount the USB stick.
I anyone else seeing this problem and how to fix it.
SanDisk USB inserted, Disk and Devices detects it, presents options to Mount and Open, Download images using gweview or digikam, Mount.
Note: code blocks are from /var/log/messages.
Code:Jun 16 19:28:36 racermach kernel: usb 1-2: new high-speed USB device number 10 using ehci-pci
Jun 16 19:28:36 racermach kernel: usb 1-2: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
Jun 16 19:28:36 racermach kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 16 19:28:36 racermach kernel: usb 1-2: Product: Cruzer Blade
Jun 16 19:28:36 racermach kernel: usb 1-2: Manufacturer: SanDisk
Jun 16 19:28:36 racermach kernel: usb 1-2: SerialNumber: 03004803092520015107
Jun 16 19:28:36 racermach kernel: usb-storage 1-2:1.0: USB Mass Storage device detected
Jun 16 19:28:36 racermach kernel: scsi host4: usb-storage 1-2:1.0
Jun 16 19:28:37 racermach mtp-probe: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-2"
Jun 16 19:28:37 racermach mtp-probe: bus: 1, device: 10 was not an MTP device
Jun 16 19:28:37 racermach kernel: scsi 4:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 ANSI: 6
Jun 16 19:28:37 racermach kernel: sd 4:0:0:0: [sdc] 30629376 512-byte logical blocks: (15.7 GB/14.6 GiB)
Jun 16 19:28:37 racermach kernel: sd 4:0:0:0: [sdc] Write Protect is off
Jun 16 19:28:37 racermach kernel: sd 4:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jun 16 19:28:37 racermach kernel: sdc: sdc1
Jun 16 19:28:37 racermach kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jun 16 19:28:38 racermach dbus-daemon[1027]: [system] Activating service name='org.kde.kded.smart' requested by ':1.29' (uid=1000 pid=1555 comm="/usr/bin/kded5 ") (using servicehelper)
Jun 16 19:28:38 racermach dbus-daemon[1027]: [system] Successfully activated service 'org.kde.kded.smart'I use the Mount option. I am able to access it via /run/media/chris/87E3-2C37/ no issues. I can also open with Dolphin and navigate not issues.
Use Safely remove, device is removed from Disk and Devices:
Code:Jun 16 19:36:46 racermach kernel: usb 1-2: USB disconnect, device number 10Remove the USB from the port, messages log entry nothing. Expected this.
Plug the same USB in the same port. Disk and Devices does not detect it.
Code:Jun 16 19:40:34 racermach kernel: usb 1-2: new high-speed USB device number 11 using ehci-pci
Jun 16 19:40:34 racermach kernel: usb 1-2: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
Jun 16 19:40:34 racermach kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 16 19:40:34 racermach kernel: usb 1-2: Product: Cruzer Blade
Jun 16 19:40:34 racermach kernel: usb 1-2: Manufacturer: SanDisk
Jun 16 19:40:34 racermach kernel: usb 1-2: SerialNumber: 03004803092520015107
Jun 16 19:40:34 racermach kernel: usb-storage 1-2:1.0: USB Mass Storage device detected
Jun 16 19:40:34 racermach kernel: scsi host4: usb-storage 1-2:1.0
Jun 16 19:40:35 racermach mtp-probe: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-2"
Jun 16 19:40:35 racermach mtp-probe: bus: 1, device: 11 was not an MTP device
Jun 16 19:40:35 racermach kernel: scsi 4:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 ANSI: 6
Jun 16 19:40:35 racermach kernel: sd 4:0:0:0: [sdc] 30629376 512-byte logical blocks: (15.7 GB/14.6 GiB)
Jun 16 19:40:35 racermach kernel: sd 4:0:0:0: [sdc] Write Protect is off
Jun 16 19:40:35 racermach kernel: sd 4:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jun 16 19:40:35 racermach kernel: sdc: sdc1
Jun 16 19:40:35 racermach kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jun 16 19:40:37 racermach dbus-daemon[1027]: [system] Activating service name='org.kde.kded.smart' requested by ':1.29' (uid=1000 pid=1555 comm="/usr/bin/kded5 ") (using servicehelper)
Jun 16 19:40:37 racermach dbus-daemon[1027]: [system] Successfully activated service 'org.kde.kded.smart'Remove the USB from port:
Code:Jun 16 19:41:31 racermach kernel: usb 1-2: USB disconnect, device number 11Note: This happens no matter which USB port I use, same result.
Now, take a different USB (PNY) and plug it in. THis USB is detected by Disk and Devices. I can mount, browse it with Dolphin.
Code:Jun 16 19:44:08 racermach kernel: usb 1-2: new high-speed USB device number 14 using ehci-pci
Jun 16 19:44:09 racermach kernel: usb 1-2: New USB device found, idVendor=154b, idProduct=6545, bcdDevice= 2.00
Jun 16 19:44:09 racermach kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 16 19:44:09 racermach kernel: usb 1-2: Product: USB 2.0 FD
Jun 16 19:44:09 racermach kernel: usb 1-2: Manufacturer: PNY
Jun 16 19:44:09 racermach kernel: usb 1-2: SerialNumber: 3514030CDE533939
Jun 16 19:44:09 racermach kernel: usb-storage 1-2:1.0: USB Mass Storage device detected
Jun 16 19:44:09 racermach kernel: scsi host4: usb-storage 1-2:1.0
Jun 16 19:44:10 racermach mtp-probe: checking bus 1, device 14: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-2"
Jun 16 19:44:10 racermach mtp-probe: bus: 1, device: 14 was not an MTP device
Jun 16 19:44:10 racermach kernel: scsi 4:0:0:0: Direct-Access PNY USB 2.0 FD 8.02 PQ: 0 ANSI: 0 CCS
Jun 16 19:44:10 racermach kernel: sd 4:0:0:0: [sdc] 7856127 512-byte logical blocks: (4.02 GB/3.75 GiB)
Jun 16 19:44:10 racermach kernel: sd 4:0:0:0: [sdc] Write Protect is off
Jun 16 19:44:10 racermach kernel: sdc: sdc1 sdc2 sdc3
Jun 16 19:44:10 racermach kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jun 16 19:44:11 racermach dbus-daemon[1027]: [system] Activating service name='org.kde.kded.smart' requested by ':1.29' (uid=1000 pid=1555 comm="/usr/bin/kded5 ") (using servicehelper)
Jun 16 19:44:11 racermach dbus-daemon[1027]: [system] Successfully activated service 'org.kde.kded.smart'On mounting PNY device:
Code:Jun 16 20:01:15 racermach kernel: EXT4-fs (sdc3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.On Safely remove:
Code:Jun 16 20:05:16 racermach kernel: sdc: detected capacity change from 7856127 to 0On Unpluging device:
Code:Jun 16 20:05:56 racermach kernel: usb 1-2: USB disconnect, device number 16I now plug in the previous USB (SanDisk) device, it now detected by Disk and Devices
Code: Jun 16 19:45:53 racermach kernel: usb 1-2: new high-speed USB device number 15 using ehci-pci
Jun 16 19:45:53 racermach kernel: usb 1-2: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
Jun 16 19:45:53 racermach kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 16 19:45:53 racermach kernel: usb 1-2: Product: Cruzer Blade
Jun 16 19:45:53 racermach kernel: usb 1-2: Manufacturer: SanDisk
Jun 16 19:45:53 racermach kernel: usb 1-2: SerialNumber: 03004803092520015107
Jun 16 19:45:53 racermach kernel: usb-storage 1-2:1.0: USB Mass Storage device detected
Jun 16 19:45:53 racermach kernel: scsi host4: usb-storage 1-2:1.0
Jun 16 19:45:54 racermach mtp-probe: checking bus 1, device 15: "/sys/devices/pci0000:00/0000:00:02.1/usb1/1-2"
Jun 16 19:45:54 racermach mtp-probe: bus: 1, device: 15 was not an MTP device
Jun 16 19:45:54 racermach kernel: scsi 4:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 ANSI: 6
Jun 16 19:45:54 racermach kernel: sd 4:0:0:0: [sdc] 30629376 512-byte logical blocks: (15.7 GB/14.6 GiB)
Jun 16 19:45:54 racermach kernel: sd 4:0:0:0: [sdc] Write Protect is off
Jun 16 19:45:54 racermach kernel: sd 4:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jun 16 19:45:54 racermach kernel: sdc: sdc1
Jun 16 19:45:54 racermach kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk
Jun 16 19:45:56 racermach dbus-daemon[1027]: [system] Activating service name='org.kde.kded.smart' requested by ':1.29' (uid=1000 pid=1555 comm="/usr/bin/kded5 ") (using servicehelper)
Jun 16 19:45:56 racermach dbus-daemon[1027]: [system] Successfully activated service 'org.kde.kded.smart'In summary the USB is only recognized by Disk and Devices on first plugin, plugging the same USB in subsequent times after that and Disk and Devices does not detect it.
Using another USB stick, then going back to the other stick then it is detected.
I discovered that Dolphin picks the device up when reinserted and mounts it correctly when the stick is selected. So I can use Dolphin as a workaround to mount the USB stick.
I anyone else seeing this problem and how to fix it.