I'm having the same issue on Ubuntu 21.10. It's NOT a VirtualBox virtual
machine, but an Ubuntu desktop installation on a physical volume.

When I insert any usb device, it doesn't get mounted, despite
org.gnome.desktop.media-handling configuration:

$ gsettings get org.gnome.desktop.media-handling automount
true
$ gsettings get org.gnome.desktop.media-handling automount-open
true

Here is dmesg log after connecting my smartphone via usb:

[13254.311575] usb 3-6: USB disconnect, device number 5
[13265.122249] usb 3-6: new high-speed USB device number 7 using xhci_hcd
[13265.250291] usb 3-6: device descriptor read/64, error -32
[13265.506983] usb 3-6: New USB device found, idVendor=2717, idProduct=ff40, 
bcdDevice= 4.04
[13265.506991] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[13265.506994] usb 3-6: Product: Redmi 9
[13265.506996] usb 3-6: Manufacturer: Xiaomi
[13265.506998] usb 3-6: SerialNumber: cXXXXXXXXX
[13272.500089] usb 3-6: USB disconnect, device number 7
[13272.946154] usb 3-6: new high-speed USB device number 8 using xhci_hcd
[13273.094848] usb 3-6: New USB device found, idVendor=2717, idProduct=ff40, 
bcdDevice= 4.04
[13273.094862] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[13273.094867] usb 3-6: Product: Redmi 9
[13273.094872] usb 3-6: Manufacturer: Xiaomi
[13273.094875] usb 3-6: SerialNumber: cXXXXXXXXX

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1946525

Title:
  Removable media are not mounted automatically

Status in udisks2 package in Ubuntu:
  Confirmed

Bug description:
  1) Ubuntu Desktop amd 64 20211008.1 daily build
  2) udisks 2.9.4-1
  3) Inserted disks, in this case the Ubuntu and VirtualBox Guest Additions 
disk images, should be mounted automatically
  4) the automount feature seems to be gone or non-functional in the last 
couple of days

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: udisks2 2.9.4-1
  ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
  Uname: Linux 5.13.0-16-generic x86_64
  ApportVersion: 2.20.11-0ubuntu70
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  CustomUdevRuleFiles: 70-snap.firefox.rules 70-snap.core.rules 
60-vboxadd.rules 70-snap.snap-store.rules
  Date: Sat Oct  9 01:37:13 2021
  InstallationDate: Installed on 2021-10-08 (0 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Daily amd64 (20211008.1)
  Lsusb:
   Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
   Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Lsusb-t:
   /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/12p, 12M
       |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
  MachineType: innotek GmbH VirtualBox
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-16-generic 
root=UUID=d07fdf87-8838-4ac4-889b-0ae8cdf3ebb5 ro quiet splash
  SourcePackage: udisks2
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/01/2006
  dmi.bios.vendor: innotek GmbH
  dmi.bios.version: VirtualBox
  dmi.board.name: VirtualBox
  dmi.board.vendor: Oracle Corporation
  dmi.board.version: 1.2
  dmi.chassis.type: 1
  dmi.chassis.vendor: Oracle Corporation
  dmi.modalias: 
dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:sku:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
  dmi.product.family: Virtual Machine
  dmi.product.name: VirtualBox
  dmi.product.version: 1.2
  dmi.sys.vendor: innotek GmbH

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to