rtsx_usb module for Realtek Semiconductor Corp. RTS5139 Card Reader Controller doesn't load

Bug #1371379 reported by Matthew Haughton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Unknown
Unknown
linux (Debian)
Fix Released
Unknown
linux (Ubuntu)
Fix Released
Medium
Unassigned
Utopic
Fix Released
Medium
Unassigned
linux (openSUSE)
Fix Released
Medium

Bug Description

The module for Realtek Semiconductor Corp. RTS5139 Card Reader Controller (lsbusb ID 0bda:0139) does not load automatically on boot, so the SD card reader won't work.

If I add "rtsx_usb" to /etc/modules then the correct modules are loaded on boot and the SD card reader will work.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-3.16.0-16-generic 3.16.0-16.22
ProcVersionSignature: Ubuntu 3.16.0-16.22-generic 3.16.2
Uname: Linux 3.16.0-16-generic x86_64
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: snafu109 2918 F.... pulseaudio
CurrentDesktop: XFCE
Date: Thu Sep 18 21:36:55 2014
HibernationDevice: RESUME=UUID=4e46a15c-d441-4b34-ae15-a93302da75a5
InstallationDate: Installed on 2012-12-26 (631 days ago)
InstallationMedia: Xubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.3)
MachineType: ASUSTeK COMPUTER INC. UX32VD
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-16-generic root=UUID=687d7b6d-6fe2-413c-84c1-ed511edff5f9 ro quiet splash intel_pstate=enable vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-16-generic N/A
 linux-backports-modules-3.16.0-16-generic N/A
 linux-firmware 1.134
SourcePackage: linux
UpgradeStatus: Upgraded to utopic on 2014-08-31 (18 days ago)
dmi.bios.date: 01/29/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX32VD.214
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX32VD
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX32VD.214:bd01/29/2013:svnASUSTeKCOMPUTERINC.:pnUX32VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX32VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: UX32VD
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
In , Marcel Witte (wittemar) wrote :

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

I use an ASUS N550JV. After updating from 13.1 to Factory, the card reader in not detected anymore. The driver now moved to rtsx_usb module and that is not loaded automatically. After modprobe rtsx_usb the card reader is working again.

lsusb:

Bus 003 Device 005: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 255 Vendor Specific Class
  bDeviceSubClass 255 Vendor Specific Subclass
  bDeviceProtocol 255 Vendor Specific Protocol
  bMaxPacketSize0 64
  idVendor 0x0bda Realtek Semiconductor Corp.
  idProduct 0x0139 RTS5139 Card Reader Controller
  bcdDevice 39.60
  iManufacturer 1 Generic
  iProduct 2 USB2.0-CRW
  iSerial 3 20100201396000000
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 39
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 4 CARD READER
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 500mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 3
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 6
      bInterfaceProtocol 80
      iInterface 5 Bulk-In, Bulk-Out, Interface
      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 0x82 EP 2 IN
        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 0x83 EP 3 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0003 1x 3 bytes
        bInterval 10
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0000
  (Bus Powered)

Reproducible: Always

Revision history for this message
In , Jeffm-9 (jeffm-9) wrote :

This might be a bug in depmod. The device IDs are in the driver (which is how it actually loads when you modprobe it) but they're not getting picked up for modules.alias, which is what gets used for autoloading.

Revision history for this message
In , Jeffm-9 (jeffm-9) wrote :

Actually, no, it's much simpler. It's just not publishing its device table.

Revision history for this message
In , Jeffm-9 (jeffm-9) wrote :

Created attachment 601759
rtsx_usb: export device table

Revision history for this message
In , Jeffm-9 (jeffm-9) wrote :

This patch has been committed to the git master branch.

Revision history for this message
Matthew Haughton (snafu109) wrote :
Revision history for this message
Matthew Haughton (snafu109) wrote :

Is apparently fixed upstream in http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1813908986e36119228c158aae1c6a0267c99e77 which should be included in an upcoming 3.16 release.

Changed in linux (Debian):
status: Unknown → New
Revision history for this message
Tim Gardner (timg-tpi) wrote :

commit 35dca0e6c20e797175ce8c5f47b03630bb397af3 (drivers/mfd/rtsx_usb.c: export device table) in v3.16.3. Destined for release in 3.16.0-17.23

Changed in linux (Ubuntu Utopic):
status: New → Fix Committed
Changed in linux (Ubuntu Utopic):
importance: Undecided → Medium
no longer affects: linux (Fedora)
Changed in linux (Debian):
status: New → Fix Released
Revision history for this message
Matthew Haughton (snafu109) wrote :

Looks fixed with 3.16.0-17.23, change status to Fix Released? It wasn't mentioned in the changelog.

Changed in linux (Ubuntu Utopic):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in linux (openSUSE):
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.