Results 1 to 10 of 10

Thread: Laptop sd-card reader not working properly.

  1. #1

    Default Laptop sd-card reader not working properly.

    Running Tumbleweed rather well this past year on an Asus UX303 laptop, with one issue which is the internal sd-card reader. This never automatically mounts a card, they are detected but not mounted. In order to use I always have to enter "e2fsck -fD /dev/sdb" which gives some error messages, but the card is then mounted and can be used with no issues at all.

    Now I have over a dozen sd-cards, none of which are faulty, and I've tried formatting etc just in case. How can I get them to mount automatically or what is going on? Thanks in advance !



  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,828
    Blog Entries
    1

    Default Re: Laptop sd-card reader not working properly.

    Welcome to openSUSE Forums.

    1) Which desktop environment are you using? Check that you have configured the DE to automatically mount removable media.

    2) Open a terminal and run
    Code:
    sudo journalctl -f
    Insert the SD card and capture the output from the terminal. Post here for others to advise further.

    It might also be useful to capture the output from udev as well. Again, run it before inserting the memory card.
    Code:
    udevadm monitor
    Last edited by deano_ferrari; 28-Oct-2016 at 02:24.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,295
    Blog Entries
    14

    Default Re: Laptop sd-card reader not working properly.

    Another source of info can be to run
    Code:
    dmesg -w
    in a terminal window and see what it reports when inserting a card
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Default Re: Laptop sd-card reader not working properly.

    Hi, apologies for the very slow reply, been on hols and flat out working. I'm running KDE with the latest updates.

    sudo journalctl -f shows...

    -- Logs begin at Thu 2016-06-02 17:24:09 IST. --
    Nov 10 17:37:08 linux-hd2h kernel: pcieport 0000:00:1c.0: AER: Corrected error received: id=00e0
    Nov 10 17:37:08 linux-hd2h kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical
    Layer, id=00e0(Receiver ID)
    Nov 10 17:37:08 linux-hd2h kernel: pcieport 0000:00:1c.0: device [8086:9d15] error status/mask=00000001/0
    0002000
    Nov 10 17:37:08 linux-hd2h kernel: pcieport 0000:00:1c.0: [ 0] Receiver Error
    Nov 10 17:37:12 linux-hd2h sudo[3144]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/jour
    nalctl -f
    Nov 10 17:37:12 linux-hd2h sudo[3144]: pam_unix(sudo:session): session opened for user root by paddyu(uid=0
    )
    Nov 10 17:37:12 linux-hd2h audit[3144]: USER_CMD pid=3144 uid=0 auid=1000 ses=1 msg='cwd="/root" cmd=6A6F75
    726E616C63746C202D66 terminal=pts/0 res=success'
    Nov 10 17:37:12 linux-hd2h audit[3144]: CRED_REFR pid=3144 uid=0 auid=1000 ses=1 msg='op=PAM:setcred granto
    rs=pam_env,pam_gnome_keyring,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0
    res=success'
    Nov 10 17:37:12 linux-hd2h sudo[3144]: pam_systemd(sudo:session): Cannot create session: Already running in
    a session
    Nov 10 17:37:12 linux-hd2h audit[3144]: USER_START pid=3144 uid=0 auid=1000 ses=1 msg='op=PAM:session_open
    grantors=pam_limits,pam_unix,pam_umask,pam_systemd,pam_gnome_keyring,pam_env acct="root" exe="/usr/bin/sudo
    " hostname=? addr=? terminal=/dev/pts/0 res=success'
    Nov 10 17:37:14 linux-hd2h kernel: usb 2-4: new SuperSpeed USB device number 6 using xhci_hcd
    Nov 10 17:37:15 linux-hd2h kernel: usb 2-4: New USB device found, idVendor=05e3, idProduct=0747
    Nov 10 17:37:15 linux-hd2h kernel: usb 2-4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
    Nov 10 17:37:15 linux-hd2h kernel: usb 2-4: Product: USB Storage
    Nov 10 17:37:15 linux-hd2h kernel: usb 2-4: Manufacturer: Generic
    Nov 10 17:37:15 linux-hd2h kernel: usb 2-4: SerialNumber: 000000000819
    Nov 10 17:37:15 linux-hd2h kernel: usb-storage 2-4:1.0: USB Mass Storage device detected
    Nov 10 17:37:15 linux-hd2h kernel: scsi host2: usb-storage 2-4:1.0
    Nov 10 17:37:15 linux-hd2h mtp-probe[3150]: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:14.0
    /usb2/2-4"
    Nov 10 17:37:15 linux-hd2h mtp-probe[3150]: bus: 2, device: 6 was not an MTP device
    Nov 10 17:37:16 linux-hd2h kernel: scsi 2:0:0:0: Direct-Access Generic STORAGE DEVICE 0819 PQ: 0 ANS
    I: 6
    Nov 10 17:37:16 linux-hd2h kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
    Nov 10 17:37:16 linux-hd2h kernel: sd 2:0:0:0: [sdb] Spinning up disk...
    Nov 10 17:37:18 linux-hd2h kernel: .
    Nov 10 17:37:18 linux-hd2h kernel: sd 2:0:0:0: [sdb] Attached SCSI removable disk

    udevadm monitor shows....

    KERNEL[1078.884601] add /devices/pci0000:00/0000:00:14.0/usb2/2-4 (usb)
    KERNEL[1078.886338] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0 (usb)
    KERNEL[1078.887149] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2 (scsi)
    KERNEL[1078.887785] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/scsi_host/host2 (scsi_
    host)
    UDEV [1079.418800] add /devices/pci0000:00/0000:00:14.0/usb2/2-4 (usb)
    UDEV [1079.422270] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0 (usb)
    UDEV [1079.423886] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2 (scsi)
    UDEV [1079.424360] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/scsi_host/host2 (scsi_
    host)
    KERNEL[1079.906641] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0 (scsi)
    KERNEL[1079.906828] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0 (s
    csi)
    KERNEL[1079.906957] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/sc
    si_disk/2:0:0:0 (scsi_disk)
    KERNEL[1079.907209] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/sc
    si_device/2:0:0:0 (scsi_device)
    KERNEL[1079.907521] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/sc
    si_generic/sg1 (scsi_generic)
    KERNEL[1079.907751] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/bs
    g/2:0:0:0 (bsg)
    UDEV [1079.911888] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0 (scsi)
    UDEV [1079.912615] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0 (s
    csi)
    UDEV [1079.914559] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/sc
    si_device/2:0:0:0 (scsi_device)
    UDEV [1079.914845] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/sc
    si_disk/2:0:0:0 (scsi_disk)
    UDEV [1079.915130] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/bs
    g/2:0:0:0 (bsg)
    UDEV [1079.915167] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/sc
    si_generic/sg1 (scsi_generic)
    KERNEL[1080.485261] add /devices/virtual/bdi/8:16 (bdi)
    UDEV [1080.488808] add /devices/virtual/bdi/8:16 (bdi)
    KERNEL[1081.267721] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/bl
    ock/sdb (block)
    UDEV [1081.661445] add /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/host2/target2:0:0/2:0:0:0/bl
    ock/sdb (block)


    dmesg -w shows..

    1161.323450] usb 2-4: new SuperSpeed USB device number 8 using xhci_hcd
    [ 1161.345797] usb 2-4: New USB device found, idVendor=05e3, idProduct=0747
    [ 1161.345806] usb 2-4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
    [ 1161.345812] usb 2-4: Product: USB Storage
    [ 1161.345817] usb 2-4: Manufacturer: Generic
    [ 1161.345822] usb 2-4: SerialNumber: 000000000819
    [ 1161.348569] usb-storage 2-4:1.0: USB Mass Storage device detected
    [ 1161.349202] scsi host2: usb-storage 2-4:1.0
    [ 1162.364874] scsi 2:0:0:0: Direct-Access Generic STORAGE DEVICE 0819 PQ: 0 ANSI: 6
    [ 1162.365948] sd 2:0:0:0: Attached scsi generic sg1 type 0
    [ 1163.302591] sd 2:0:0:0: [sdb] Spinning up disk...
    [ 1164.315099] .
    [ 1164.629092] sd 2:0:0:0: [sdb] Attached SCSI removable disk

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,828
    Blog Entries
    1

    Default Re: Laptop sd-card reader not working properly.

    So, the output shows that the removable device node assigned is /dev/sdb

    You should be able to mount it manually using
    Code:
    udisksctl mount /dev/sdb

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,828
    Blog Entries
    1

    Default Re: Laptop sd-card reader not working properly.

    For KDE, you can check/change removable device behaviour via System Settings > Removable Devices...

  7. #7

    Default Re: Laptop sd-card reader not working properly.

    Thanks for the suggestions but I'm afraid they don't work. I've everything turned on in KDE settings and the udisksctl mount does not appear to do anything other than give a list of useage commands ?

  8. #8

    Default Re: Laptop sd-card reader not working properly.

    Quote Originally Posted by BloddyBogHopper View Post
    and the udisksctl mount does not appear to do anything other than give a list of useage commands ?
    It should be:
    Code:
    udisksctl mount -b /dev/sdb

  9. #9

    Default Re: Laptop sd-card reader not working properly.

    Quote Originally Posted by wolfi323 View Post
    It should be:
    Code:
    udisksctl mount -b /dev/sdb
    Thanks for that. I now get the following error (it's now sdc for some reason)..

    Error udisksctl mount -b /dev/sdc
    Object /org/freedesktop/UDisks2/block_devices/sdc is not a mountable filesystem.


    Dmesg shows..

    usb 2-4: new SuperSpeed USB device number 6 using xhci_hcd
    [ 1163.865278] usb 2-4: New USB device found, idVendor=05e3, idProduct=0747
    [ 1163.865288] usb 2-4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
    [ 1163.865294] usb 2-4: Product: USB Storage
    [ 1163.865299] usb 2-4: Manufacturer: Generic
    [ 1163.865303] usb 2-4: SerialNumber: 000000000819
    [ 1163.867858] usb-storage 2-4:1.0: USB Mass Storage device detected
    [ 1163.868538] scsi host3: usb-storage 2-4:1.0
    [ 1164.871312] scsi 3:0:0:0: Direct-Access Generic STORAGE DEVICE 0819 PQ: 0 ANSI: 6
    [ 1164.872212] sd 3:0:0:0: Attached scsi generic sg2 type 0
    [ 1165.289930] sd 3:0:0:0: [sdc] 124735488 512-byte logical blocks: (63.9 GB/59.5 GiB)
    [ 1165.290465] sd 3:0:0:0: [sdc] Write Protect is off
    [ 1165.290475] sd 3:0:0:0: [sdc] Mode Sense: 87 00 00 00
    [ 1165.290976] sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [ 1165.892103] sd 3:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [ 1165.892112] sd 3:0:0:0: [sdc] tag#0 Sense Key : Aborted Command [current]
    [ 1165.892119] sd 3:0:0:0: [sdc] tag#0 Add. Sense: Data phase CRC error detected
    [ 1165.892126] sd 3:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
    [ 1165.892132] blk_update_request: I/O error, dev sdc, sector 0
    [ 1165.892146] Buffer I/O error on dev sdc, logical block 0, async page read
    [ 1166.436982] ldm_validate_partition_table(): Disk read failed.
    [ 1166.438733] sdc: unable to read partition table
    [ 1166.441209] sd 3:0:0:0: [sdc] Attached SCSI removable disk

    If I put it into a card reader and plug that into a usb port it's fine.


  10. #10

    Default Re: Laptop sd-card reader not working properly.

    Quote Originally Posted by BloddyBogHopper View Post
    Thanks for that. I now get the following error (it's now sdc for some reason)..
    Yes, it can change.

    That's the reason why you should rather mount by UUID or LABEL if you do so in the fstab.

    ... stripped ...
    If I put it into a card reader and plug that into a usb port it's fine.
    May be a problem in udisks2 or in the kernel then.
    You may want to file a bug report about it.

    But before you do that, does mounting with "sudo mount /dev/sdc mountpoint" work (in the original internal sdcard reader)?
    (mountpoint should be an actual directory on your hard disk, where the files would show up then)
    That's the most obvious thing to try IMHO, and AFAICS it wasn't suggested yet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •