You are not logged in.
Pages: 1
Topic closed
Hi,
On my Lenovo Yoga 3 Pro I have a 240 GB SD card in the card reader (slim so it doesn't stick out) mounted at all times. I use it as additional (non critical) storage. This has worked well, but the problem is that after waking up from suspend the card isn't mounted again. I have to reboot to get the card to mount. Googling resulted in a script that restarts the USB system. Looks like this:
#!/bin/sh
cd /sys/bus/pci/drivers/xhci_hcd
echo -n "0000:00:14.0" > unbind
echo -n "0000:00:14.0" > bind
This results in the card getting mounted without having to reboot. It is not a very elegant solution but it's all I've got so the question is how do I get this to run every time I come back from suspend? If someone knows a better way to get the card to mount than this please let me know, but I guess I in all cases would have to find a way to run it when the system wakes up.
Offline
Offline
Your approach looks heavy handed. Does this SD card reader disappear from lsusb or lsblk after suspend/resume but before running this script?
Offline
Hi guys! I'm facing this problem again, but this time I can't solve with these commands.
Offline
Open a new topic and provide error messages and logs from your own system instead of bumping 3 year old threads: https://wiki.archlinux.org/index.php/Co … bumping%22
Closing.
Offline
Pages: 1
Topic closed