
Dne Út 25. listopadu 2014 10:42:39, Anton Aylward napsal(a):
On 11/25/2014 10:20 AM, Vojtěch Zeisek wrote:
Could it be udev problem? Where to check it?
I know little about udev, but I do observer in the logs what happens when a USB device is pluged in or removed and can trace that back to udev rules.
What do you see in the logs when you plugin in a USB device?
This is what happens whe I do that
2014-11-25T10:37:56.302222-05:00 Mainbox kernel: [317747.130029] usb 1-3: new high-speed USB device number 4 using ehci-pci 2014-11-25T10:37:56.417233-05:00 Mainbox kernel: [317747.245517] usb 1-3: New USB device found, idVendor=1221, idProduct=3234 2014-11-25T10:37:56.417254-05:00 Mainbox kernel: [317747.245523] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 2014-11-25T10:37:56.417256-05:00 Mainbox kernel: [317747.245527] usb 1-3: Product: Flash Disk 2014-11-25T10:37:56.417258-05:00 Mainbox kernel: [317747.245530] usb 1-3: Manufacturer: USB 2.0 2014-11-25T10:37:56.417260-05:00 Mainbox kernel: [317747.245533] usb 1-3: SerialNumber: 4999216001701879 2014-11-25T10:37:56.732845-05:00 Mainbox mtp-probe: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3" 2014-11-25T10:37:56.740231-05:00 Mainbox mtp-probe: bus: 1, device: 4 was not an MTP device 2014-11-25T10:37:57.003230-05:00 Mainbox kernel: [317747.831668] usb-storage 1-3:1.0: USB Mass Storage device detected 2014-11-25T10:37:57.004091-05:00 Mainbox kernel: [317747.832297] scsi host8: usb-storage 1-3:1.0 2014-11-25T10:37:57.004099-05:00 Mainbox kernel: [317747.832480] usbcore: registered new interface driver usb-storage 2014-11-25T10:37:58.007244-05:00 Mainbox kernel: [317748.835686] scsi 8:0:0:0: Direct-Access USB 2.0 Flash Disk 2.90 PQ: 0 ANSI: 2 2014-11-25T10:37:58.007273-05:00 Mainbox kernel: [317748.836060] sd 8:0:0:0: Attached scsi generic sg2 type 0 2014-11-25T10:37:58.009219-05:00 Mainbox kernel: [317748.837166] sd 8:0:0:0: [sdb] 15974400 512-byte logical blocks: (8.17 GB/7.61 GiB) 2014-11-25T10:37:58.009239-05:00 Mainbox kernel: [317748.837782] sd 8:0:0:0: [sdb] Write Protect is off 2014-11-25T10:37:58.009241-05:00 Mainbox kernel: [317748.837788] sd 8:0:0:0: [sdb] Mode Sense: 0b 00 00 08 2014-11-25T10:37:58.010207-05:00 Mainbox kernel: [317748.838409] sd 8:0:0:0: [sdb] No Caching mode page found 2014-11-25T10:37:58.010217-05:00 Mainbox kernel: [317748.838414] sd 8:0:0:0: [sdb] Assuming drive cache: write through 2014-11-25T10:37:58.035228-05:00 Mainbox kernel: [317748.863570] sdb: sdb1 2014-11-25T10:37:58.037216-05:00 Mainbox kernel: [317748.865907] sd 8:0:0:0: [sdb] Attached SCSI removable diskdevice fsid 933f8b90-8f90-4c96-9a90-4705d77f0505 devid 1 transid 219 /dev/sdb1 2014-11-25T10:38:01.986570-05:00 Mainbox udisksd[2169]: Mounted /dev/sdb1 at /run/media/anton/933f8b90-8f90-4c96-9a90-4705d77f0505 on behalf of uid 501
I then get the KDE popup of the device notifier on my panel.
Yes, lots of settings to fiddle with
$ dmesg | grep sdc [ 2507.755697] sd 6:0:0:0: [sdc] 7886848 512-byte logical blocks: (4.03 GB/3.76 GiB) [ 2507.756286] sd 6:0:0:0: [sdc] Write Protect is off [ 2507.756291] sd 6:0:0:0: [sdc] Mode Sense: 43 00 00 00 [ 2507.756881] sd 6:0:0:0: [sdc] No Caching mode page found [ 2507.756885] sd 6:0:0:0: [sdc] Assuming drive cache: write through [ 2507.760051] sdc: sdc1 [ 2507.762196] sd 6:0:0:0: [sdc] Attached SCSI removable disk [10258.441052] sd 7:0:0:0: [sdc] 15669248 512-byte logical blocks: (8.02 GB/7.47 GiB) [10258.441307] sd 7:0:0:0: [sdc] Write Protect is off [10258.441312] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00 [10258.441554] sd 7:0:0:0: [sdc] No Caching mode page found [10258.441557] sd 7:0:0:0: [sdc] Assuming drive cache: write through [10258.444299] sdc: sdc1 sdc2 sdc3 [10258.445959] sd 7:0:0:0: [sdc] Attached SCSI removable disk [12694.515326] sdc: sdc1 sdc2 [12711.649846] sd 8:0:0:0: [sdc] 15669248 512-byte logical blocks: (8.02 GB/7.47 GiB) [12711.650108] sd 8:0:0:0: [sdc] Write Protect is off [12711.650110] sd 8:0:0:0: [sdc] Mode Sense: 03 00 00 00 [12711.650340] sd 8:0:0:0: [sdc] No Caching mode page found [12711.650341] sd 8:0:0:0: [sdc] Assuming drive cache: write through [12711.652950] sdc: sdc1 sdc2 [12711.655029] sd 8:0:0:0: [sdc] Attached SCSI removable disk [13102.846129] sd 9:0:0:0: [sdc] 15669248 512-byte logical blocks: (8.02 GB/7.47 GiB) [13102.846448] sd 9:0:0:0: [sdc] Write Protect is off [13102.846451] sd 9:0:0:0: [sdc] Mode Sense: 03 00 00 00 [13102.846735] sd 9:0:0:0: [sdc] No Caching mode page found [13102.846737] sd 9:0:0:0: [sdc] Assuming drive cache: write through [13102.849727] sdc: sdc1 [13102.851930] sd 9:0:0:0: [sdc] Attached SCSI removable disk [14901.530431] sdc: sdc1 sdc2 [20055.545464] sd 10:0:0:0: [sdc] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB) [20055.545810] sd 10:0:0:0: [sdc] Write Protect is off [20055.545815] sd 10:0:0:0: [sdc] Mode Sense: 23 00 00 00 [20055.546104] sd 10:0:0:0: [sdc] No Caching mode page found [20055.546109] sd 10:0:0:0: [sdc] Assuming drive cache: write through [20055.646811] sdc: sdc1 [20055.648199] sd 10:0:0:0: [sdc] Attached SCSI removable disk [28121.840450] sd 11:0:0:0: [sdc] 31277056 512-byte logical blocks: (16.0 GB/14.9 GiB) [28121.840867] sd 11:0:0:0: [sdc] Write Protect is off [28121.840872] sd 11:0:0:0: [sdc] Mode Sense: 23 00 00 00 [28121.841197] sd 11:0:0:0: [sdc] No Caching mode page found [28121.841200] sd 11:0:0:0: [sdc] Assuming drive cache: write through [28121.941566] sdc: sdc1 [28121.942661] sd 11:0:0:0: [sdc] Attached SCSI removable dis It appears in KDE notifications as usual, but mounting fails... -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/