#StackBounty: #suspend #sd-card #17.04 Ubuntu doesn't read SD Card after wake

Bounty: 50

I have connected a SD card to my notebook and I’m using it as my home partition. When I turn my computer on I have no problem reaching home folder and subdirectories, but when I suspend and resume, the system doesn’t read the SD card so it might freeze, forcing me to reboot the machine to get everything to work.

  • MacBook Air 2016
  • macOS Sierra & Ubuntu 17.04 Dual boot
  • (Problem also occured on 16.10)

Some further info:

$ sudo LC_MESSAGES=POSIX lshw -c storage
*-usb                     
   description: Mass storage device
   product: Card Reader
   vendor: Apple
   physical id: 3
   bus info: usb@2: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

Also the main difference is that before suspend lsblk shows my sdb1 device (which is my SD card mounted as /home). After wake-up lsblk command doesn’t show my SD card and I can’t reach my files on /home folder. Also I can’t reconnect my SD card; it isn’t recognized.

  • syslog – the most recent suspension happens from “May 9 22:56:01” at line 45263.

    The interesting parts appear to be:

    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)
    


Get this bounty!!!

#StackBounty: #suspend #sd-card #17.04 Ubuntu doesn't read SD Card after wake

Bounty: 50

I have connected a SD card to my notebook and I’m using it as my home partition. When I turn my computer on I have no problem reaching home folder and subdirectories, but when I suspend and resume, the system doesn’t read the SD card so it might freeze, forcing me to reboot the machine to get everything to work.

  • MacBook Air 2016
  • macOS Sierra & Ubuntu 17.04 Dual boot
  • (Problem also occured on 16.10)

Some further info:

$ sudo LC_MESSAGES=POSIX lshw -c storage
*-usb                     
   description: Mass storage device
   product: Card Reader
   vendor: Apple
   physical id: 3
   bus info: usb@2: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

Also the main difference is that before suspend lsblk shows my sdb1 device (which is my SD card mounted as /home). After wake-up lsblk command doesn’t show my SD card and I can’t reach my files on /home folder. Also I can’t reconnect my SD card; it isn’t recognized.

  • syslog – the most recent suspension happens from “May 9 22:56:01” at line 45263.

    The interesting parts appear to be:

    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)
    


Get this bounty!!!

#StackBounty: #suspend #sd-card #17.04 Ubuntu doesn't read SD Card after wake

Bounty: 50

I have connected a SD card to my notebook and I’m using it as my home partition. When I turn my computer on I have no problem reaching home folder and subdirectories, but when I suspend and resume, the system doesn’t read the SD card so it might freeze, forcing me to reboot the machine to get everything to work.

  • MacBook Air 2016
  • macOS Sierra & Ubuntu 17.04 Dual boot
  • (Problem also occured on 16.10)

Some further info:

$ sudo LC_MESSAGES=POSIX lshw -c storage
*-usb                     
   description: Mass storage device
   product: Card Reader
   vendor: Apple
   physical id: 3
   bus info: usb@2: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

Also the main difference is that before suspend lsblk shows my sdb1 device (which is my SD card mounted as /home). After wake-up lsblk command doesn’t show my SD card and I can’t reach my files on /home folder. Also I can’t reconnect my SD card; it isn’t recognized.

  • syslog – the most recent suspension happens from “May 9 22:56:01” at line 45263.

    The interesting parts appear to be:

    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)
    


Get this bounty!!!

#StackBounty: #gnome #suspend #lightdm #17.04 #gdm Suspend does not work with gnome and gdm3 on 17.04

Bounty: 50

After upgrade to Ubuntu 17.04 and switch to gnome-desktop and gd3m the suspend does not work anymore. When try to suspend a black screen is displayed but in a fee seconds (1-2s) the login screen appear again, but in this case the login screen does not work because when type the password and hit enter the login screen appear again, without login in the desktop. Then at this point is needed restart. The following is the log that I found in syslog when try to suspend:

May  4 14:49:30 Rafael-PC NetworkManager[1053]: <info>  [1493923770.4435] manager: sleep requested (sleeping: no  enabled: yes)
May  4 14:49:30 Rafael-PC NetworkManager[1053]: <info>  [1493923770.4435] manager: sleeping...
May  4 14:49:30 Rafael-PC NetworkManager[1053]: <info>  [1493923770.4438] device (wlo1): state change: disconnected -> unmanaged (reason 'sleeping') [30 10 37]
May  4 14:49:30 Rafael-PC gnome-shell[2764]: Screen lock is locked down, not locking
May  4 14:49:30 Rafael-PC NetworkManager[1053]: <info>  [1493923770.4474] device (ttyACM0): state change: unavailable -> unmanaged (reason 'sleeping') [20 10 37]
May  4 14:49:30 Rafael-PC NetworkManager[1053]: <info>  [1493923770.4476] manager: NetworkManager state is now ASLEEP
May  4 14:49:30 Rafael-PC wpa_supplicant[1715]: nl80211: deinit ifname=p2p-dev-wlo1 disabled_11b_rates=0
May  4 14:49:30 Rafael-PC wpa_supplicant[1715]: nl80211: deinit ifname=wlo1 disabled_11b_rates=0
May  4 14:49:32 Rafael-PC systemd[1]: systemd-logind.service: Main process exited, code=exited, status=1/FAILURE
May  4 14:49:32 Rafael-PC systemd[1]: systemd-logind.service: Unit entered failed state.
May  4 14:49:32 Rafael-PC systemd[1]: systemd-logind.service: Failed with result 'exit-code'.
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: (EE)
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: Fatal server error:
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: (EE) systemd-logind disappeared (stopped/restarted?)
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: (EE)
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: (EE)
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: Please consult the The X.Org Foundation support
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: #011 at http://wiki.x.org
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]:  for help.
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: (EE)
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]: (EE)
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]: Fatal server error:
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]: (EE) systemd-logind disappeared (stopped/restarted?)
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]: (EE)
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]: (EE)
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]: Please consult the The X.Org Foundation support
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]: #011 at http://wiki.x.org
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]:  for help.
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2591]: (EE)
May  4 14:49:32 Rafael-PC systemd[1]: systemd-logind.service: Service has no hold-off time, scheduling restart.
May  4 14:49:32 Rafael-PC systemd[1]: Stopped Login Service.
May  4 14:49:32 Rafael-PC systemd[1]: Starting Login Service...
May  4 14:49:32 Rafael-PC systemd[1]: Started Login Service.
May  4 14:49:32 Rafael-PC /usr/lib/gdm3/gdm-x-session[2945]: (EE) systemd-logind: ReleaseControl failed: You are not in control of this session

Performed tests:

  • [FAIL] Reinstalling the gdm3 with purge but nothing, suspend does not works.
  • [FAIL] Reinstall Nvidia drivers and test with multiple versions
  • [FAIL] Testing with X.Org Nouveau Display driver
  • [FAIL] apt-get upgrade
  • [OK] Switching the display manager to lightdm and the suspend works fine.

At this point the only solution that I found is switch to lightdm display manager, but for me is not a real solution. Please any suggestion or help?


Get this bounty!!!

#StackBounty: #suspend #sd-card #17.04 Ubuntu doesn't read SD Card after wake

Bounty: 50

I have connected a SD card to my notebook and I’m using it as my home partition. When I turn my computer on I have no problem reaching home folder and subdirectories, but when I suspend and resume, the system doesn’t read the SD card so it might freeze, forcing me to reboot the machine to get everything to work.

  • MacBook Air 2016
  • macOS Sierra & Ubuntu 17.04 Dual boot
  • (Problem also occured on 16.10)

Some further info:

$ sudo LC_MESSAGES=POSIX lshw -c storage
*-usb                     
   description: Mass storage device
   product: Card Reader
   vendor: Apple
   physical id: 3
   bus info: usb@2: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

Also the main difference is that before suspend lsblk shows my sdb1 device (which is my SD card mounted as /home). After wake-up lsblk command doesn’t show my SD card and I can’t reach my files on /home folder. Also I can’t reconnect my SD card; it isn’t recognized.

  • syslog – the most recent suspension happens from “May 9 22:56:01” at line 45263.

    The interesting parts appear to be:

    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)
    


Get this bounty!!!

#StackBounty: #suspend #sd-card #17.04 Ubuntu doesn't read SD Card after wake

Bounty: 50

I have connected a SD card to my notebook and I’m using it as my home partition. When I turn my computer on I have no problem reaching home folder and subdirectories, but when I suspend and resume, the system doesn’t read the SD card so it might freeze, forcing me to reboot the machine to get everything to work.

  • MacBook Air 2016
  • macOS Sierra & Ubuntu 17.04 Dual boot
  • (Problem also occured on 16.10)

Some further info:

$ sudo LC_MESSAGES=POSIX lshw -c storage
*-usb                     
   description: Mass storage device
   product: Card Reader
   vendor: Apple
   physical id: 3
   bus info: usb@2: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

Also the main difference is that before suspend lsblk shows my sdb1 device (which is my SD card mounted as /home). After wake-up lsblk command doesn’t show my SD card and I can’t reach my files on /home folder. Also I can’t reconnect my SD card; it isn’t recognized.

Syslog output is here


Get this bounty!!!

#StackBounty: #suspend #sd-card #17.04 Ubuntu doesn't read SD Card after wake

Bounty: 50

I have connected a SD card to my notebook and I’m using it as my home partition. When I turn my computer on I have no problem reaching home folder and subdirectories, but when I suspend and resume, the system doesn’t read the SD card so it might freeze, forcing me to reboot the machine to get everything to work.

  • MacBook Air 2016
  • macOS Sierra & Ubuntu 17.04 Dual boot
  • (Problem also occured on 16.10)

Some further info:

$ sudo LC_MESSAGES=POSIX lshw -c storage
*-usb                     
   description: Mass storage device
   product: Card Reader
   vendor: Apple
   physical id: 3
   bus info: usb@2: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

Also the main difference is that before suspend lsblk shows my sdb1 device (which is my SD card mounted as /home). After wake-up lsblk command doesn’t show my SD card and I can’t reach my files on /home folder. Also I can’t reconnect my SD card; it isn’t recognized.

Syslog output is here


Get this bounty!!!

#StackBounty: #suspend #sd-card #17.04 Ubuntu doesn't read SD Card after wake

Bounty: 50

I have connected a SD card to my notebook and I’m using it as my home partition. When I turn my computer on I have no problem reaching home folder and subdirectories, but when I suspend and resume, the system doesn’t read the SD card so it might freeze, forcing me to reboot the machine to get everything to work.

  • MacBook Air 2016
  • macOS Sierra & Ubuntu 17.04 Dual boot
  • (Problem also occured on 16.10)

Some further info:

$ sudo LC_MESSAGES=POSIX lshw -c storage
*-usb                     
   description: Mass storage device
   product: Card Reader
   vendor: Apple
   physical id: 3
   bus info: usb@2: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

Also the main difference is that before suspend lsblk shows my sdb1 device (which is my SD card mounted as /home). After wake-up lsblk command doesn’t show my SD card and I can’t reach my files on /home folder. Also I can’t reconnect my SD card; it isn’t recognized.

Syslog output is here


Get this bounty!!!

#StackBounty: #suspend #sd-card Ubuntu doesn't read SD Card after wake

Bounty: 50

I have a setup that I connected a SD card to my notebook and using it as my home partition. When I turned my computer on I have no problem about reaching home folder and derivatives. However when I sleep the computer and reopen, the system doesn’t read the SD card so system might be freeze and I had to reboot the machine to everything to work.


Get this bounty!!!

#StackBounty: #suspend #sd-card Ubuntu doesn't read SD Card after wake

Bounty: 50

I have a setup that I connected a SD card to my notebook and using it as my home partition. When I turned my computer on I have no problem about reaching home folder and derivatives. However when I sleep the computer and reopen, the system doesn’t read the SD card so system might be freeze and I had to reboot the machine to everything to work.


Get this bounty!!!