[Bug 1946525] Re: Removable media are not mounted automatically

2022-03-05 Thread giacof
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: cX
[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: cX

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

Title:
  Removable media are not mounted automatically

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946525] Re: Removable media are not mounted automatically

2022-03-04 Thread Eric Buell
Noob to Ubuntu... I have a similar problem with a U.S. Robotics USR5637
modem.  lsusb and usb-devices both show the device, and dmesg shows it
being recognized, however it does not show up in /dev as ttyACM*.
Running 21.10 on a Raspberry Pi 4.  The device works as expected with
20.04.3 LTS also on a Pi 4.  I tried Henrik Dahle's work around of
reinstalling fuse simply because he had luck with it, but no joy.  The
device is also not created with it installed during a reboot.

lsusb:
Bus 001 Device 008: ID 0baf:0303 U.S. Robotics USR5637 56K Faxmodem

usb-devices:
T:  Bus=01 Lev=04 Prnt=06 Port=01 Cnt=01 Dev#=  8 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=02(commc) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0baf ProdID=0303 Rev=02.00
S:  Manufacturer=U.S.Robotics
S:  Product=USB Modem
S:  SerialNumber=002
C:  #Ifs= 2 Cfg#= 2 Atr=80 MxPwr=360mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=(none)
I:  If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)


dmesg:
[  127.376952] usb 1-1.2.4.1: new high-speed USB device number 7 using xhci_hcd
[  127.585699] usb 1-1.2.4.1: New USB device found, idVendor=0baf, 
idProduct=0303, bcdDevice= 2.00
[  127.585739] usb 1-1.2.4.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=10
[  127.585757] usb 1-1.2.4.1: Product: USB Modem
[  127.585771] usb 1-1.2.4.1: Manufacturer: U.S.Robotics
[  127.585784] usb 1-1.2.4.1: SerialNumber: 002
[  127.747138] kauditd_printk_skb: 518 callbacks suppressed
[  127.747159] audit: type=1400 audit(1646439492.316:597): apparmor="DENIED" 
operation="open" profile="snap.chromium.chromium" 
name="/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4.1/busnum"
 pid=2810 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 
ouid=0
[  127.747191] audit: type=1400 audit(1646439492.316:598): apparmor="DENIED" 
operation="open" profile="snap.chromium.chromium" 
name="/sys/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4.1/devnum"
 pid=2810 comm="ThreadPoolForeg" requested_mask="r" denied_mask="r" fsuid=1000 
ouid=0

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

Title:
  Removable media are not mounted automatically

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946525] Re: Removable media are not mounted automatically

2022-01-24 Thread Henrik Dahle
It's a strange one. I appear to have had this as well. The output from
dmesg shows it detects the drive just fine. It also appears in Nautilus,
which will mount it for you when you click on it, but that's obviously a
complete no-go.

What fixed it for me was simply reinstalling the fuse package:

sudo apt install --reinstall fuse

and rebooting, as per the advice here
https://askubuntu.com/questions/1361627/ubuntu-mate-21-04-usb-stick-
will-not-automount which I know isn't 21.10, but worked for me
regardless. No clue why it went wrong in the first place, but at least
I've got it sorted for now.

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

Title:
  Removable media are not mounted automatically

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946525] Re: Removable media are not mounted automatically

2021-12-29 Thread Johan Tol
** Description changed:

  1) Ubuntu Desktop amd 64 20211008.1 daily build
- 2) udisks 2.9.4-1 
+ 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
+  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
+  /:  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

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

Title:
  Removable media are not mounted automatically

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946525] Re: Removable media are not mounted automatically

2021-10-25 Thread Björn Hutmacher
Okay, so now I've also tried this with 5.13.0-20-generic from the
official repository with the exact same result.

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

Title:
  Removable media are not mounted automatically

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946525] Re: Removable media are not mounted automatically

2021-10-25 Thread Björn Hutmacher
I'm using kernel 5.15.0-051500rc5-lowlatency from
https://kernel.ubuntu.com/~kernel-ppa/mainline. I guess I could try the
official standard kernel as well.

udevadm monitor reports this on insertion of a USB pen drive:

KERNEL[34211.745784] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3 (usb)
KERNEL[34211.766347] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0 (usb)
KERNEL[34211.766487] add  /devices/virtual/workqueue/scsi_tmf_15 (workqueue)
KERNEL[34211.766582] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15 (scsi)
KERNEL[34211.766596] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/scsi_host/host15
 (scsi_host)
KERNEL[34211.766623] bind 
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0 (usb)
KERNEL[34211.766651] bind 
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3 (usb)
UDEV  [34211.768695] add  /devices/virtual/workqueue/scsi_tmf_15 (workqueue)
UDEV  [34211.782340] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3 (usb)
UDEV  [34211.786977] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0 (usb)
UDEV  [34211.787738] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15 (scsi)
UDEV  [34211.788758] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/scsi_host/host15
 (scsi_host)
UDEV  [34211.789765] bind 
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0 (usb)
UDEV  [34211.792650] bind 
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3 (usb)
KERNEL[34212.770824] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0
 (scsi)
KERNEL[34212.770866] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0
 (scsi)
KERNEL[34212.770889] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/scsi_device/15:0:0:0
 (scsi_device)
KERNEL[34212.770943] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/scsi_generic/sg11
 (scsi_generic)
KERNEL[34212.770964] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/scsi_disk/15:0:0:0
 (scsi_disk)
KERNEL[34212.771058] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/bsg/15:0:0:0
 (bsg)
UDEV  [34212.772488] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0
 (scsi)
UDEV  [34212.773741] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0
 (scsi)
UDEV  [34212.774701] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/scsi_device/15:0:0:0
 (scsi_device)
UDEV  [34212.775890] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/scsi_generic/sg11
 (scsi_generic)
UDEV  [34212.776260] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/scsi_disk/15:0:0:0
 (scsi_disk)
UDEV  [34212.776657] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/bsg/15:0:0:0
 (bsg)
KERNEL[34212.781211] add  /devices/virtual/bdi/8:160 (bdi)
UDEV  [34212.781712] add  /devices/virtual/bdi/8:160 (bdi)
KERNEL[34212.850686] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/block/sdk
 (block)
KERNEL[34212.850733] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/block/sdk/sdk1
 (block)
KERNEL[34212.852993] bind 
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0
 (scsi)
UDEV  [34212.887689] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/block/sdk
 (block)
UDEV  [34212.921072] add  
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/block/sdk/sdk1
 (block)
UDEV  [34212.922117] bind 
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0
 (scsi)

... and this on removal:

KERNEL[34235.065672] remove   
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/bsg/15:0:0:0
 (bsg)
KERNEL[34235.065742] remove   
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/scsi_generic/sg11
 (scsi_generic)
KERNEL[34235.065759] remove   
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/scsi_device/15:0:0:0
 (scsi_device)
KERNEL[34235.065784] remove   
/devices/pci:00/:00:01.3/:01:00.0/usb2/2-3/2-3:1.0/host15/target15:0:0/15:0:0:0/scsi_disk/15:0:0:0
 (scsi_disk)
KERNEL[34235.065875] remove   

[Bug 1946525] Re: Removable media are not mounted automatically

2021-10-25 Thread Sebastien Bacher
@Björn, do you use the standard kernel?

Could you start
$ udevadm monitor

connect a device which isn't working properly and then copy the log to
the bug?

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

Title:
  Removable media are not mounted automatically

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946525] Re: Removable media are not mounted automatically

2021-10-24 Thread Björn Hutmacher
No, the only indication of me inserting a removable storage is in dmesg
where the device is acknowledged. I have to either mount the device
manually from shell or go through the Gnome Disks utility. Today I
discovered that connecting my phone, which uses MTP for file transfers,
doesn't mount automatically anymore either. Could be related.

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

Title:
  Removable media are not mounted automatically

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946525] Re: Removable media are not mounted automatically

2021-10-24 Thread Akbarkhon Variskhanov
@bjorn-hutmacher, thank you for the thorough description!

Do removable media show up in the Files at least? In my case, I could
see them being recognized and I could click on them, which would then
mount them successfully.

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

Title:
  Removable media are not mounted automatically

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946525] Re: Removable media are not mounted automatically

2021-10-24 Thread Akbarkhon Variskhanov
** Summary changed:

- Disks are not being mounted automatically
+ Removable media are not mounted automatically

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

Title:
  Removable media are not mounted automatically

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs