Code: Select all
$ lsb_release -ds
Linux Mint Debian Edition
$ cat /etc/debian_version
wheezy/sid
$ uname -rv
3.2.0-4-amd64 #1 SMP Debian 3.2.32-1
$ gcc --version | head -n 1
gcc (Debian 4.6.3-1) 4.6.3
- hotplugged USB drives no longer automount (more below)
- [url=http://forums.linuxmint.com/viewtopic.php?f=199&t=140871]wake-from-sleep fails: it "wakes" to black screen, and I cannot get either a tty or X display[/url]
- installing something that requires (or strongly suggests) reboot (e.g., new kernel)--not much I can do about that :-)
Periodically (several times/day) I plug an MP3 player (containing an internal FAT USB drive as well as an "external" microSD) into one of its USB ports to download audio. After a few seconds, a nautilus window pops up, letting me know I have automounted (path=/media/drive_label); I then download the content, `umount` the mount point, and disconnect the player.
Infrequently, and inadvertently, I will sleep the laptop while the player is still USB-attached :-( I can still wake the laptop, and all seems well, but if I subsequently plugin the MP3 player ... nothing happens. I can manually mount the player's USB drives, but that's tedious.
The only thing I know will restore hotplug automount is reboot. I'd like to know, how to restore USB automount when it fails, *without* rebooting? Things I have tried/failed include:
1. stop/start udevd
Code: Select all
me@it:~$ pgrep -l udev
> 304 udevd
> 4379 udevd
> 4380 udevd
me@it:~$ sudo /etc/init.d/udev stop
> Stopping the hotplug events dispatcher: udevd.
me@it:~$ sudo /etc/init.d/udev start
> Starting the hotplug events dispatcher: udevd.
> Synthesizing the initial hotplug events...done.
> Waiting for /dev to be fully populated...done.
me@it:~$ pushd /media/mp3player/content/
> bash: pushd: /media/mp3player/content/: No such file or directory
Code: Select all
me@it:~$ sudo pkill -9 udev
me@it:~$ pkill -9 udev
me@it:~$ sudo /etc/init.d/udev start
> Starting the hotplug events dispatcher: udevd.
> Synthesizing the initial hotplug events...done.
> Waiting for /dev to be fully populated...done.
me@it:~$ pushd /media/mp3player/content/
> bash: pushd: /media/mp3player/content/: No such file or directory