Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-18-2013, 04:46 PM
|
#1
|
Member
Registered: Jan 2011
Posts: 55
Rep:
|
XFCE 4.10 automount not working
When I attach USB drive it does appear in Thunar, and I can mount it with mouse click, no problem with that. But I want Thunar to pop up with contents of USB device just after I plug in, no clicking etc.
I had checked "Automount ..." in thunar-volman-settings but it dosen't work.
|
|
|
12-18-2013, 05:47 PM
|
#2
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
then try kernel polling as a bootloader first
if usb detection and auto mounting then works then make it permanent as per this link
http://ignorantguru.github.io/spacef...vices-kernpoll
|
|
|
12-18-2013, 07:35 PM
|
#3
|
Member
Registered: Nov 2003
Posts: 528
Rep: 
|
Try this: From the XFCE menu, Settings, Settings Manager, Removable Drives and Media. On the Storage tab, you should check Mount removable drives when hot-plugged and also check Browse removable media when inserted.
Works for me in Slackware-14.1.
|
|
|
12-19-2013, 11:39 AM
|
#4
|
Member
Registered: Jan 2011
Posts: 55
Original Poster
Rep:
|
@aus9 I have autopolling enabled
@ljb643 I have this options enabled
Still nothing...
I'm using Slackware 14.1
|
|
|
12-19-2013, 05:42 PM
|
#5
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
hi
on a full reboot can you insert your usb stick and show the snippet of /var/log/messages pls
what formats are on this usb stick pls?
post the output of this command as a local user IF plugdev is not showing in output
|
|
|
12-19-2013, 06:20 PM
|
#6
|
Member
Registered: Nov 2003
Posts: 528
Rep: 
|
By the way, I tried this myself again on another PC, and it seems intermittent. It doesn't work, and doesn't work again, and then it works, and it keeps working. Then I try a different flash drive, and it might not work, then start working. I can't see what changed to make it work. Membership in the plugdev group doesn't seem to help or hurt. There are so many complex components involved (udisks2, dbus, udev, gvfs, what else?) that I don't know how to troubleshoot it.
|
|
|
12-19-2013, 06:38 PM
|
#7
|
Member
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272
Rep:
|
On Slackware 14.0 it also does'nt work. When Thunar is not running media is not mounted automatically. But when Thunar is running, that works fine. Thread starter, maybe you does'nt have checked that xfce4-volumed to autostart on logging in? Please see Settings > Sessions and launching > Autolaunching of applications > check the Xfce Volume Daemon. But on my system this is checked and does not work. It's not annoying me...
|
|
|
12-20-2013, 12:53 PM
|
#8
|
Member
Registered: Jan 2011
Posts: 55
Original Poster
Rep:
|
Here are logs from /var/log/messages after inserting usb drive:
Code:
Dec 20 17:08:16 desktop kernel: [ 442.914351] usb 2-1.5: new high-speed USB device number 3 using ehci-pci
Dec 20 17:08:16 desktop kernel: [ 443.000171] usb 2-1.5: New USB device found, idVendor=1976, idProduct=1307
Dec 20 17:08:16 desktop kernel: [ 443.000175] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec 20 17:08:16 desktop kernel: [ 443.000178] usb 2-1.5: Product: USB Reader
Dec 20 17:08:16 desktop kernel: [ 443.000180] usb 2-1.5: Manufacturer: ChipsBnk
Dec 20 17:08:16 desktop kernel: [ 443.000181] usb 2-1.5: SerialNumber: 110074973765
Dec 20 17:08:16 desktop mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
Dec 20 17:08:16 desktop mtp-probe: bus: 2, device: 3 was not an MTP device
Dec 20 17:08:16 desktop kernel: [ 443.025815] usb-storage 2-1.5:1.0: USB Mass Storage device detected
Dec 20 17:08:16 desktop kernel: [ 443.025884] scsi8 : usb-storage 2-1.5:1.0
Dec 20 17:08:16 desktop kernel: [ 443.025946] usbcore: registered new interface driver usb-storage
Dec 20 17:08:17 desktop kernel: [ 444.028834] scsi 8:0:0:0: Direct-Access ChipsBnk SD/MMCReader 4081 PQ: 0 ANSI: 2
Dec 20 17:08:17 desktop kernel: [ 444.029192] sd 8:0:0:0: Attached scsi generic sg2 type 0
Dec 20 17:08:17 desktop kernel: [ 444.030496] sd 8:0:0:0: [sdb] 3911680 512-byte logical blocks: (2.00 GB/1.86 GiB)
Dec 20 17:08:17 desktop kernel: [ 444.031142] sd 8:0:0:0: [sdb] Write Protect is off
Dec 20 17:08:17 desktop kernel: [ 444.037576] sdb: sdb1
Dec 20 17:08:17 desktop kernel: [ 444.040647] sd 8:0:0:0: [sdb] Attached SCSI removable disk
And my user groups
Code:
users lp floppy audio video cdrom plugdev power netdev scanner vboxusers burning
I've tested with few flash drives, SD card readers and only 1 had been automounted. Tried different USB ports, but nothing helped. All drives are FAT32.
xfce4-volumed is running all the time.
I thought that's something wrong with my configuration, but as I can see you guys have the same problem.
Hope it get better in future XFCE releases.
|
|
|
12-20-2013, 05:12 PM
|
#9
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep: 
|
just out of interest
open your /boot/config* file and check what this section looks like pls
I show mine as comparison
Quote:
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
CONFIG_EXFAT_FS=m
CONFIG_EXFAT_DISCARD=y
CONFIG_EXFAT_DELAYED_SYNC=y
# CONFIG_EXFAT_KERNEL_DEBUG is not set
# CONFIG_EXFAT_DEBUG_MSG is not set
CONFIG_EXFAT_DEFAULT_CODEPAGE=437
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
|
|
|
|
12-20-2013, 09:49 PM
|
#10
|
Member
Registered: Nov 2003
Posts: 528
Rep: 
|
Quote:
Originally Posted by m1m
Here are logs from /var/log/messages after inserting usb drive: ...
|
That only shows you the udev device detection. If you really want to get into it, here are some more commands you can use to watch what happens when you connect a USB flash drive. Make a separate window for each, plug it in, and watch the messages fly.
Code:
# udisksctl monitor
Shows messages from udisks2. You should see "Added" messages for the drive/device, /dev/sd?, and /dev/sd?1, with the last one showing Filesystem and Partition information.
Code:
$ dbus-monitor --session
Shows d-bus activity for the session (run as the logged in user, not root). Append --profile for a more compact display.
Code:
# dbus-monitor --system
Shows d-bus activity for the system bus (run this one as root). Append --profile for a more compact display.
Shows gvfs. Not sure what role it plays, but when the mount is successful, it shows here too.
These didn't help me, but maybe you can figure something out from it.
|
|
|
12-21-2013, 05:32 AM
|
#11
|
Member
Registered: Jan 2011
Posts: 55
Original Poster
Rep:
|
@aus9 here's mine, standard Slackware 14.1 generic kernel 3.10.17
Code:
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
@ljb643 thanks for helpful commands. I've tried to compare output between device which gets automounted and the other ones, but can't find anything useful.
|
|
|
All times are GMT -5. The time now is 07:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|