[oi-dev] OI no longer automounts USB sticks

Gary Mills gary_mills at fastmail.fm
Fri Jun 4 20:11:31 UTC 2021


On Fri, Jun 04, 2021 at 07:31:20AM -0500, Gary Mills wrote:
> I found a document that might help.  It describes:
> 
>     lshal --monitor
>     dbus-monitor --system

Ah, I tried the first command on an OI system running the 2020-11-27
BE and did get some output while I inserted and removed a USB stick:

    <root at ryzen># lshal --monitor
    
    Start monitoring devicelist:
    -------------------------------------------------
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_0 added
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0 added
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0 added
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4 added
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4/sd4 added
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4/sd4/p0_1 added
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4/sd4/p0_1 property volume.mount_point = '/media/STORE N GO'
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4/sd4/p0_1 property volume.is_mounted_read_only = false (new)
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4/sd4/p0_1 property volume.is_mounted = true
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4/sd4/p0_1 property volume.mount_point = ''
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4/sd4/p0_1 property volume.is_mounted = false
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4/sd4/p0_1 removed
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4/sd4 removed
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0/disk4 removed
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0/scsi_host0 removed
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_if0_0 removed
    pci_0_0/pci1022_1453_1_3/pci1b21_1142_0/storage_a_0 removed

This system did automount the USB stick and did pop up a window
showing the contents of the stick.  Now we are getting somewhere.
Something is wrong with the OS upgrade.  All that's left is to figure
out what is missing or what is ignoring USB events.


-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-



More information about the oi-dev mailing list