Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

SD Card Reader

User avatar
robert1
Forum Regular
Forum Regular
Posts: 204
Joined: Thu Jul 12, 2007 11:19 pm

SD Card Reader

#1

Post by robert1 » Mon Jun 18, 2018 10:50 pm

I am having a problem with MX17 recognising a SD card when it is inserted into the card reader slot. this is a internal Multi - card reader that is connected to one of the headers on the motherboard. It was working when i had MX16 installed. i just upgraded to MX 17 yesterday. what is happening is when i insert the SD card in the slot, (when i was using MX-16, it would show up under "Devices" in Thunar's sidebar), however, after i installed MX-17, when i insert the card, it does not show up in thunar. the strangest thing is that if i leave the SD card inserted, then reboot the computer, it will show up as removable device in thunar. i could even add or delete files from it up until i unmount it. once i unmount it, i cannot get access or remount it until i reboot again.
is there a way to fix this?

User avatar
robert1
Forum Regular
Forum Regular
Posts: 204
Joined: Thu Jul 12, 2007 11:19 pm

Re: SD Card Reader

#2

Post by robert1 » Mon Jun 18, 2018 11:41 pm

When i run dmesg, i could find reference to the card reader & the inserted SD card, but that is only after i reboot with the card still inserted.
this is before i open it in Thunar & actually browse the files.

Code: Select all

[    3.262710] sd 6:0:0:0: [sdd] 7829504 512-byte logical blocks: (4.01 GB/3.73 GiB)
[    3.263330] sd 6:0:0:1: [sde] Attached SCSI removable disk
[    3.264102] sd 6:0:0:2: [sdf] Attached SCSI removable disk
[    3.264830] sd 6:0:0:3: [sdg] Attached SCSI removable disk
[    3.265952] sd 6:0:0:0: [sdd] Write Protect is off
[    3.265954] sd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00
[    3.267098] sd 6:0:0:0: [sdd] No Caching mode page found
[    3.267162] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[    3.273213]  sdd: sdd1
[    3.276579] sd 6:0:0:0: [sdd] Attached SCSI removable disk
this is after i open Thunar & click on "4.0 GB file system & run dmesg again;

Code: Select all

  2.912075] scsi 6:0:0:0: Direct-Access     Generic  USB SD Reader    1.00 PQ: 0 ANSI: 0
[    2.912700] scsi 6:0:0:1: Direct-Access     Generic  USB CF Reader    1.01 PQ: 0 ANSI: 0
[    2.913343] scsi 6:0:0:2: Direct-Access     Generic  USB SM Reader    1.02 PQ: 0 ANSI: 0
[    2.913966] scsi 6:0:0:3: Direct-Access     Generic  USB MS Reader    1.03 PQ: 0 ANSI: 0
[    3.053768] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    3.261124] sd 6:0:0:0: [sdd] 7829504 512-byte logical blocks: (4.01 GB/3.73 GiB)
[    3.261742] sd 6:0:0:1: [sde] Attached SCSI removable disk
[    3.262366] sd 6:0:0:2: [sdf] Attached SCSI removable disk
[    3.262991] sd 6:0:0:3: [sdg] Attached SCSI removable disk
[    3.264173] sd 6:0:0:0: [sdd] Write Protect is off
[    3.264176] sd 6:0:0:0: [sdd] Mode Sense: 03 00 00 00
[    3.265277] sd 6:0:0:0: [sdd] No Caching mode page found
[    3.265340] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[    3.271141]  sdd: sdd1
[    3.274625] sd 6:0:0:0: [sdd] Attached SCSI removable disk
the url in Thunar shows the address as: /media/robert/FC30-3DA9/
It also shows up listed as USB_SD_Reader 4.1 GB Volume in the USB unmounter applet
however, when i unmount it, ether using the unmounter applet or the "Safely remove" in thuner's sidebar, it disapears from the list & i cannot find it anywhere. even if i remove & re-insert the card.
also after that, i run dmesg again & get this at the bottom;

Code: Select all

[   56.343503] FAT-fs (sdd1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  137.327331] traps: xfce4-notifyd[2884] general protection ip:7f668619a248 sp:7ffc3b842f50 error:0 in libc-2.24.so[7f6686123000+195000]
Here's my system info;

Code: Select all

System:    Host: mx1 Kernel: 4.15.0-1-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.3 
           Distro: MX-17.1_x64 Horizon March 14, 2018 
Machine:   Type: Desktop System: Seneca product: pro274851 v: N/A serial: <root required> 
           Mobo: Intel model: DH61CR v: AAG14064-205 serial: <root required> BIOS: Intel 
           v: BEH6110H.86A.0023.2011.0524.1826 date: 05/24/2011 
CPU:       Topology: Dual Core model: Intel Pentium G630 bits: 64 type: MCP L2 cache: 3072 KiB 
           Speed: 1839 MHz min/max: 1600/2700 MHz Core speeds (MHz): 1: 1596 2: 1600 
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: i915 
           v: kernel 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Sandybridge Desktop v: 3.3 Mesa 13.0.6 
Audio:     Card-1: Intel 6 Series/C200 Series Family High Definition Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k4.15.0-1-amd64 
Network:   Card-1: Intel 82579V Gigabit Network Connection driver: e1000e 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 38:60:77:6a:f1:a4 
Drives:    HDD Total Size: 1.06 TiB used: 57.88 GiB (5.3%) 
           ID-1: /dev/sda vendor: Western Digital model: WD1600AAJS-22L7A0 size: 149.05 GiB 
           ID-2: /dev/sdb vendor: Western Digital model: WD5000AAKS-60A7B0 size: 465.76 GiB 
           ID-3: /dev/sdc vendor: Western Digital model: WD5000AAKS-60A7B0 size: 465.76 GiB 
           ID-4: /dev/sdd type: USB vendor: Generic model: USB SD Reader size: 3.73 GiB 
Partition: ID-1: / size: 11.67 GiB used: 6.67 GiB (57.1%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 132.42 GiB used: 48.71 GiB (36.8%) fs: ext4 dev: /dev/sda5 
           ID-3: swap-1 size: 2.47 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 

User avatar
rokytnji.1
Forum Regular
Forum Regular
Posts: 887
Joined: Sun Apr 13, 2014 9:06 pm

Re: SD Card Reader

#3

Post by rokytnji.1 » Tue Jun 19, 2018 12:33 pm

I am on my

Code: Select all

harry@shop1:~
$ inxi -M
Machine:   Type: Desktop System: Dell product: Precision WorkStation T3400 v: N/A serial: N/A 
           Mobo: Dell model: 0TP412 serial: N/A BIOS: Dell v: A09 date: 06/04/2009 
harry@shop1:~
$ inxi -S
System:    Host: shop1 Kernel: 4.9.0-0.bpo.5-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.2 
           Distro: MX-16_x64 Metamorphosis 12 December 2016 
Granted it is not mx 17 like you are running. I have had problems myself on those cheap inbuilt floppy bay disc readers myself
Which are just 2 wires plugged into the front usb pins on the motherboard. So in essence. They are interfaced with usb connections.

I used to trouble shoot with

Code: Select all

lsusb -v
To give a example. I use a usb 3.0 hub via usb connection of the front usb port of this machine. It also has a sd card slot.

Code: Select all

root@shop1:/home/harry# fdisk -l

Disk /dev/sda: 160 GB, 160039272960 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1   *           1       19458   156296353    5  Extended
/dev/sda5               1        1021     8193150   83  Linux
/dev/sda6            1021        3035    16177455   83  Linux
/dev/sda7            3035       18948   127821172   83  Linux
/dev/sda8           18948       19458     4096575   82  Linux swap


Disk /dev/sdb: 31 GB, 31914086400 bytes
255 heads, 63 sectors/track, 3880 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdb1               1        3881    31174101    b  FAT32
I get a icon on my desktop the minute I insert the card. I can right click on it and pick mount.

Code: Select all

harry@shop1:~
$ cd /media
harry@shop1:/media
$ ls
_data  harry
harry@shop1:/media
$ cd harry
harry@shop1:/media/harry
$ ls
E10C-A032
harry@shop1:/media/harry
$ cd E10-A032
bash: cd: E10-A032: No such file or directory
harry@shop1:/media/harry
$ cd E10C-A032
harry@shop1:/media/harry/E10C-A032
$ ls
Books  Docs  Icons  Images  Isos  Misc  Movies  Music  Pics  Public  Scrennys  Wallpaper
harry@shop1:/media/harry/E10C-A032
$ 

Code: Select all

harry@shop1:/media/harry/E10C-A032
$ lsusb -v

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.09
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.09
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.09
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.09
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 001 Device 003: ID 1908:0226 GEMBIRD 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1908 GEMBIRD
  idProduct          0x0226 
  bcdDevice            1.11
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              150mA
    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     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

Bus 001 Device 002: ID 214b:7000  
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x214b 
  idProduct          0x7000 
  bcdDevice            1.00
  iManufacturer           0 
  iProduct                1 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.09
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.09
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.09
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.09
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
harry@shop1:/media/harry/E10C-A032
Not sure where I am going with this since I am comparing apples vs pinapples here. Maybe just showing the OP what to look for maybe?

Edit: Just more info. I ejected my card. Used the force eject optopn because it said it was writing and busy. Said go ehead and remove card. Icon stayed on desktop. Log out would not fix that. Reboot did. So mine is not perfect either.

Here is what I see as robert1 problem myself.

Code: Select all

[   56.343503] FAT-fs (sdd1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

User avatar
robert1
Forum Regular
Forum Regular
Posts: 204
Joined: Thu Jul 12, 2007 11:19 pm

Re: SD Card Reader

#4

Post by robert1 » Tue Jun 19, 2018 1:10 pm

rokytnji.1 wrote:
Tue Jun 19, 2018 12:33 pm
Granted it is not mx 17 like you are running. I have had problems myself on those cheap inbuilt floppy bay disc readers myself
Which are just 2 wires plugged into the front usb pins on the motherboard. So in essence. They are interfaced with usb connections.
Mine did not come with the machine, this was home built by me & the multi card reader was one i added on when i built this box. also, this has more then "Two" wires on the header pin.
Like i said in the earlier post, I can see it listed under devices in the file manager, Access the files on it with both read & write permissions as well as delete or add files, ONLY if i insert the card in the card reader BEFORE booting up the computer, however, if i unmount the card & remove it, Then insert it (or another SDCard), while the computer is running, there is no notification & it does not show up as a device listing in the file manager.

I did not have this trouble with it when i had MX-16 on it just a couple of days ago.
i use the SD cards quite often & it working is important to me, however, if i can't get this problem resolved, i will re-install MX-16
rokytnji.1 wrote:
Tue Jun 19, 2018 12:33 pm
Here is what I see as robert1 problem myself.

Code: Select all

[   56.343503] FAT-fs (sdd1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
I did properly unmount the card, in fact i got that in the dmesg message when i run dmesg command BEFORE i physically removed the card from the slot

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4580
Joined: Wed Apr 11, 2018 5:09 pm

Re: SD Card Reader

#5

Post by fehlix » Tue Jun 19, 2018 1:50 pm

robert1 wrote:
Mon Jun 18, 2018 11:41 pm
...

Code: Select all

[    3.265277] sd 6:0:0:0: [sdd] No Caching mode page found
[    3.265340] sd 6:0:0:0: [sdd] Assuming drive cache: write through
This indicates to me that the kernel is a bit to fast to recognise the cache-pages to use for those slow SDcard devices. You might consider to calm down the kernel a bit by increasing
the default delay of 1 sec e.g. to 5 sec by adding this to your linux boot parameter:

Code: Select all

usb-storage.delay_use=5
The current value in use you can display like this:

Code: Select all

 cat /sys/module/usb_storage/parameters/delay_use
Adding boot paramter:
Either from with the GRUB-menu by pressing 'E' for edit
and add to the line starting with linux the boot parameter.
Or change the default paramters added during boot-menu generation
by GRUB within /etc/default/grub
and add to GRUB_CMDLINE_LINUX_DEFAULT or GRUB_CMDLINE_LINUX
so it looks like:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet usb-storage.delay_use=5"
and regenrate the grub menu like this

Code: Select all

$ sudo update-grub
The GUI-alternative is to use from the menu GRUB-customizer to edit that line.

This would also avoid to make your SDcard currupted due to missing properly
sync signals the kernel can handle.
Let me know whether this cured the symptom for your SD-drive.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
robert1
Forum Regular
Forum Regular
Posts: 204
Joined: Thu Jul 12, 2007 11:19 pm

Re: SD Card Reader

#6

Post by robert1 » Tue Jun 19, 2018 2:52 pm

fehlix wrote:
Tue Jun 19, 2018 1:50 pm
robert1 wrote:
Mon Jun 18, 2018 11:41 pm
...

Code: Select all

[    3.265277] sd 6:0:0:0: [sdd] No Caching mode page found
[    3.265340] sd 6:0:0:0: [sdd] Assuming drive cache: write through
This indicates to me that the kernel is a bit to fast to recognise the cache-pages to use for those slow SDcard devices. You might consider to calm down the kernel a bit by increasing
the default delay of 1 sec e.g. to 5 sec by adding this to your linux boot parameter:

Code: Select all

usb-storage.delay_use=5
The current value in use you can display like this:

Code: Select all

 cat /sys/module/usb_storage/parameters/delay_use
Adding boot paramter:
Either from with the GRUB-menu by pressing 'E' for edit
and add to the line starting with linux the boot parameter.
Or change the default paramters added during boot-menu generation
by GRUB within /etc/default/grub
and add to GRUB_CMDLINE_LINUX_DEFAULT or GRUB_CMDLINE_LINUX
so it looks like:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet usb-storage.delay_use=5"
and regenrate the grub menu like this

Code: Select all

$ sudo update-grub
The GUI-alternative is to use from the menu GRUB-customizer to edit that line.

This would also avoid to make your SDcard currupted due to missing properly
sync signals the kernel can handle.
Let me know whether this cured the symptom for your SD-drive.
:puppy:
Thanks for responding. I made the entries that you posted in the /etc/grub
file on both "GRUB_CMDLINE_LINUX_DEFAULT and "GRUB_CMDLINE_LINUX" lines, then run "update-grub", & then rebooted without the card inserted the slot.
after it rebooted, i inserted the card, but it's still the same thing, it is not showing up anywhere. i ran the dmesg command before & after i inserted the card
It appears that even though the kernel sees the card reader all the time, it wont see the card when it is inserted. it will only see the sdcard if it is inserted before bootup.

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4580
Joined: Wed Apr 11, 2018 5:09 pm

Re: SD Card Reader

#7

Post by fehlix » Tue Jun 19, 2018 3:30 pm

robert1 wrote:
Tue Jun 19, 2018 2:52 pm
It appears that even though the kernel sees the card reader all the time, it wont see the card when it is inserted. it will only see the sdcard if it is inserted before bootup.
Are you saying when you insert the card after boot, you will not see within dmesg , lsusb, blkid or in gparted?
Not seeing with Thunar is on a secondary level.(E.g if the fs-system is curruped you would not see either.)
We need first to find whether the inserted card as recognised as a block device, at all.
E.g. some udev rules might not play well to see it not as media device.
Has the delay change been accepted by the kernel can you check with the cat-command above.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
robert1
Forum Regular
Forum Regular
Posts: 204
Joined: Thu Jul 12, 2007 11:19 pm

Re: SD Card Reader

#8

Post by robert1 » Tue Jun 19, 2018 4:07 pm

fehlix wrote:
Tue Jun 19, 2018 3:30 pm
Are you saying when you insert the card after boot, you will not see within dmesg , lsusb, blkid or in gparted?

I do not see it in dmesg, however i see it in blkid

Code: Select all

$ blkid
/dev/sdb1: LABEL="Storage-2" UUID="395a0e7e-89b5-45db-ac22-7a6b3d2ca3a1" TYPE="ext4" PARTUUID="b84ab84a-01"
/dev/sdc1: LABEL="Storage-1" UUID="b5b0b1cf-3ad0-420c-9b5d-bbce600b7e47" TYPE="ext4" PARTUUID="b84ab84a-01"
/dev/sda1: LABEL="rootMX17.1" UUID="3f28b84c-09a0-4d28-9f3f-45d39744b93f" TYPE="ext4" PARTUUID="000a9e46-01"
/dev/sda2: UUID="1adfee24-e35b-4850-92b4-d1b595ee118b" TYPE="swap" PARTUUID="000a9e46-02"
/dev/sda5: LABEL="homeMX" UUID="3902d9d0-41c0-439b-a83e-194c17e2af44" TYPE="ext4" PARTUUID="000a9e46-05"
/dev/sdd1: UUID="3262-3339" TYPE="vfat"

I also see it in Gparted as SDD1
lsusb sees my card reader

Code: Select all

$ lsusb
Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
fehlix wrote:
Tue Jun 19, 2018 3:30 pm
Not seeing with Thunar is on a secondary level.(E.g if the fs-system is curruped you would not see either.)
We need first to find whether the inserted card as recognised as a block device, at all.
The filesystem appears to be Ok as there is no errors when mounted on another PC or when i boot with the card inserted on this one. I guess that since both Gparted & blkid both see the card as a block device
fehlix wrote:
Tue Jun 19, 2018 3:30 pm
E.g. some udev rules might not play well to see it not as media device.
Has the delay change been accepted by the kernel can you check with the cat-command above.
Heres what shows using the "cat-command"

Code: Select all

$ cat /sys/module/usb_storage/parameters/delay_use
5
apparently, the delay change was accepted.
in regards to the udev rules, what can be done to check / change that?

User avatar
robert1
Forum Regular
Forum Regular
Posts: 204
Joined: Thu Jul 12, 2007 11:19 pm

Re: SD Card Reader [Solved]

#9

Post by robert1 » Tue Jun 19, 2018 4:28 pm

Well, I'll be. It's working now. I think when i opened GParted, it must have updated something. now, it is being seen when i plug the card in, open it, unmount it remove it, & re-insert it, it is being seen by the file manager.
I think i can mark this topic "Solved" for now. i hope it still works after the next boot.

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4580
Joined: Wed Apr 11, 2018 5:09 pm

Re: SD Card Reader

#10

Post by fehlix » Tue Jun 19, 2018 4:59 pm

Well, if you don't see this messgage anymore with dmesg

Code: Select all

 sd 6:0:0:0: [sdd] No Caching mode page found
[sd 6:0:0:0: [sdd] Assuming drive cache: write through
 
the delay might have solved it.
Just to make sure, you have not "something" in fstab,
might you also paste the fstab here:

Code: Select all

cat /etc/fstab
I'll see, I find a rig with such a card reader... will also try to reproduce this further.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Hardware /Configuration”