Ich habe eine SD-Karte an mein Notebook angeschlossen und verwende sie als Home-Partition. Wenn ich meinen Computer einschalte, habe ich kein Problem, den Home-Ordner und die Unterverzeichnisse zu erreichen, aber wenn ich ihn anhalte und fortsetze, liest das System die SD-Karte nicht. Daher kann es sein, dass es einfriert und mich zwingt, den Computer neu zu starten, damit alles wieder funktioniert.
Einige nützliche Informationen sind:
- MacBook Air 2016
- macOS Sierra und Ubuntu 17.04 Dual-Boot
- (Dasselbe Problem trat auch am 16.10 auf)
Einige weitere Informationen:
$ sudo LC_MESSAGES=POSIX lshw -c storage
*-usb
description: Mass storage device
product: Card Reader
vendor: Apple
physical id: 3
bus info: [email protected]:3
logical name: scsi1
version: 8.20
serial: 000000000820
capabilities: usb-3.00 scsi emulated scsi-host
configuration: driver=usb-storage maxpower=896mA speed=5000Mbit/s
$ lsusb -vd 05ac:8406 is:
Bus 002 Device 002: ID 05ac:8406 Apple, Inc.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x05ac Apple, Inc.
idProduct 0x8406
bcdDevice 8.20
iManufacturer 3
iProduct 4
iSerial 5
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 224mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 4
Der Hauptunterschied besteht auch darin, dass vor lsblk
suspendiert wird zeigt meine sdb1
device (das ist meine SD-Karte, die als /home
gemountet ist ). Nach dem Aufwachen lsblk
Befehl zeigt meine SD-Karte nicht an und ich kann meine Dateien unter /home
nicht erreichen Mappe. Außerdem kann ich meine SD-Karte nicht erneut anschließen; es wird nicht erkannt.
-
syslog – die letzte Unterbrechung erfolgt am „9. Mai 22:56:01“ in Zeile 45263.
Die interessanten Teile scheinen zu sein:
May 9 22:56:25 MacBookAir kernel: [ 5883.035573] PM: Finishing wakeup. May 9 22:56:25 MacBookAir kernel: [ 5883.035575] Restarting tasks ... May 9 22:56:25 MacBookAir kernel: [ 5883.035795] usb 2-3: USB disconnect, device number 2 [...snip...] May 9 22:56:26 MacBookAir kernel: [ 5884.869838] usb usb2-port3: cannot disable (err = -32) May 9 22:56:26 MacBookAir kernel: [ 5884.869942] xhci_hcd 0000:00:14.0: Cannot set link state. May 9 22:56:26 MacBookAir kernel: [ 5884.869969] usb usb2-port3: cannot disable (err = -32)
Akzeptierte Antwort:
Einige USB-Festplatten verfügen über eine Firmware, die sie nach Zeiten der Nichtbenutzung in den Ruhezustand zwingt. Vielleicht ist das auch Ihr Problem.
Verwandte:ein gutes Standard-Backend für matplotlib?Automounter kann Geräte aufwecken (https://help.ubuntu.com/community/Autofs).
Ich hoffe, das wird Ihnen helfen.