Re: [BUG] SD card reader disappears after suspend

2018-02-15 Thread Mathias Nyman
On 14.02.2018 15:06, Samuel Sadok wrote: Thanks for the patches. However no luck yet, the usb device still doesn't reinitialize. Logs: https://gist.github.com/90ccb390c5777b9e2d5dc595f44d50da Can I somehow check if it is at all possible to bring back this particular device after hub power loss

Re: [BUG] SD card reader disappears after suspend

2018-02-14 Thread Samuel Sadok
Thanks for the patches. However no luck yet, the usb device still doesn't reinitialize. Logs: https://gist.github.com/90ccb390c5777b9e2d5dc595f44d50da Can I somehow check if it is at all possible to bring back this particular device after hub power loss? For instance would you expect reloading a

Re: [BUG] SD card reader disappears after suspend

2018-02-13 Thread Mathias Nyman
On 12.02.2018 16:03, Mathias Nyman wrote: On 10.02.2018 02:01, Samuel Sadok wrote: Thanks Mathias for looking into this. 2018-02-06 18:32 GMT+01:00 Mathias Nyman : Does reverting 37be6676 usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices help? Unfortunately not, the card

Re: [BUG] SD card reader disappears after suspend

2018-02-12 Thread Mathias Nyman
On 10.02.2018 02:01, Samuel Sadok wrote: Thanks Mathias for looking into this. 2018-02-06 18:32 GMT+01:00 Mathias Nyman : Does reverting 37be6676 usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices help? Unfortunately not, the card reader is still missing after resume. Her

Re: [BUG] SD card reader disappears after suspend

2018-02-09 Thread Samuel Sadok
Thanks Mathias for looking into this. 2018-02-06 18:32 GMT+01:00 Mathias Nyman : > > Does reverting > 37be6676 usb: hub: Fix auto-remount of safely removed or ejected USB-3 > devices > help? Unfortunately not, the card reader is still missing after resume. Here's the dmesg and usbmon (as previou

Re: [BUG] SD card reader disappears after suspend

2018-02-06 Thread Mathias Nyman
On 29.01.2018 16:24, Mathias Nyman wrote: On 25.01.2018 17:51, Alan Stern wrote: On Thu, 25 Jan 2018, Samuel Sadok wrote: 2018-01-23 17:31 GMT+01:00 Alan Stern : On Tue, 23 Jan 2018, Samuel Sadok wrote: Thanks Alan, While I was at it I also enabled debug logs for xhci_hcd and xhci_pci. $

Re: [BUG] SD card reader disappears after suspend

2018-01-29 Thread Mathias Nyman
On 25.01.2018 17:51, Alan Stern wrote: On Thu, 25 Jan 2018, Samuel Sadok wrote: 2018-01-23 17:31 GMT+01:00 Alan Stern : On Tue, 23 Jan 2018, Samuel Sadok wrote: Thanks Alan, While I was at it I also enabled debug logs for xhci_hcd and xhci_pci. $ echo module usbcore =p > /sys/kernel/debug/

Re: [BUG] SD card reader disappears after suspend

2018-01-25 Thread Alan Stern
On Thu, 25 Jan 2018, Samuel Sadok wrote: > 2018-01-23 17:31 GMT+01:00 Alan Stern : > > On Tue, 23 Jan 2018, Samuel Sadok wrote: > > > >> Thanks Alan, > >> > >> While I was at it I also enabled debug logs for xhci_hcd and xhci_pci. > >> > >> $ echo module usbcore =p > /sys/kernel/debug/dynamic_debu

Re: [BUG] SD card reader disappears after suspend

2018-01-25 Thread Samuel Sadok
2018-01-23 17:31 GMT+01:00 Alan Stern : > On Tue, 23 Jan 2018, Samuel Sadok wrote: > >> Thanks Alan, >> >> While I was at it I also enabled debug logs for xhci_hcd and xhci_pci. >> >> $ echo module usbcore =p > /sys/kernel/debug/dynamic_debug/control >> $ echo module xhci_hcd =p > /sys/kernel/debug

Re: [BUG] SD card reader disappears after suspend

2018-01-23 Thread Alan Stern
On Tue, 23 Jan 2018, Samuel Sadok wrote: > Thanks Alan, > > While I was at it I also enabled debug logs for xhci_hcd and xhci_pci. > > $ echo module usbcore =p > /sys/kernel/debug/dynamic_debug/control > $ echo module xhci_hcd =p > /sys/kernel/debug/dynamic_debug/control > $ echo module xhci_pci

Re: [BUG] SD card reader disappears after suspend

2018-01-23 Thread Samuel Sadok
Thanks Alan, While I was at it I also enabled debug logs for xhci_hcd and xhci_pci. $ echo module usbcore =p > /sys/kernel/debug/dynamic_debug/control $ echo module xhci_hcd =p > /sys/kernel/debug/dynamic_debug/control $ echo module xhci_pci =p > /sys/kernel/debug/dynamic_debug/control $ modprobe

Re: [BUG] SD card reader disappears after suspend

2018-01-22 Thread Alan Stern
On Mon, 22 Jan 2018, Samuel Sadok wrote: > As requested by Chen Yu on bugzilla, I added no_console_suspend=1 to > the kernel cmdline and updated to the (roughly) latest kernel, > 4.14.14-1-ARCH. > > Here's the new log: > https://pastebin.com/buhEMyKk > > From a quick comparison with the old log

Re: [BUG] SD card reader disappears after suspend

2018-01-22 Thread Samuel Sadok
As requested by Chen Yu on bugzilla, I added no_console_suspend=1 to the kernel cmdline and updated to the (roughly) latest kernel, 4.14.14-1-ARCH. Here's the new log: https://pastebin.com/buhEMyKk >From a quick comparison with the old log I don't see any significant difference, except that these

Re: [BUG] SD card reader disappears after suspend

2018-01-19 Thread Samuel Sadok
Hi! I just noticed I hit the wrong reply button. Here's what I replied to Alexander: I just tried `echo 0 > /sys/bus/usb/devices/2-4/power/persist`, however the card reader is still missing after suspend/resume. Here's the new kernel log: [ 2241.861114] pcieport :00:1c.3: Enabling MPC IRBNCE

Re: [BUG] SD card reader disappears after suspend

2018-01-01 Thread Alexander Kappner
I've seen similar issues caused by USB persist. Try disabling it (echo 0 > /sys/bus/usb/devices//power/persist), and then resuming. On 01/01/2018 10:53 PM, Samuel Sadok wrote: > Hello! > > I'm observing a bug where the most prominent symptom is that the > built-in SD card reader disappears afte