1180:e230 Request driver for Ricoh Co Ltd R5U2xx (R5U230 / R5U231 / R5U241) [Memory Stick Host Controller]

Bug #626823 reported by Vladimir Hidalgo on 2010-08-30
134
This bug affects 28 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Wishlist
Unassigned

Bug Description

lspci -v

03:00.0 SD Host controller: Ricoh Co Ltd Device e822
 Subsystem: Sony Corporation Device 9071
 Flags: bus master, fast devsel, latency 0, IRQ 17
 Memory at f3802000 (32-bit, non-prefetchable) [size=256]
 Capabilities: <access denied>
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci

03:00.1 System peripheral: Ricoh Co Ltd Device e230
 Subsystem: Sony Corporation Device 9071
 Flags: bus master, fast devsel, latency 0, IRQ 4
 Memory at f3801000 (32-bit, non-prefetchable) [size=256]
 Capabilities: <access denied>

03:00.4 SD Host controller: Ricoh Co Ltd Device e822
 Subsystem: Sony Corporation Device 9071
 Flags: bus master, fast devsel, latency 0, IRQ 19
 Memory at f3800000 (32-bit, non-prefetchable) [size=256]
 Capabilities: <access denied>
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci

I guess 03:00.0 and 03:00.4 are for SD and 03:00.1 is the magic gate.

In bug #238208 Maxim, who did the driver for R5C592 told me that's very unlikely to write a driver for this device:

Maxim Levitsky:
"It is very unlikely that I do the driver for that device, because I suspect that this is very different device.
Maybe I buy a laptop with this device sometime in future."

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/238208/comments/87

So I open this new bug/wishlist for this driver.

Philip Reese (philip-eurolyme) wrote :

I have a Sony Vaio VPCEB2MOE with Ubuntu 10.10 installed. It has two built-in card readers: one for SD, the other for Memory Stick. The SD drive works out of the box but the Memory Stick one does not. I have tried the driver written by Maxim Levitsky (see https://bugs.launchpad.net/bugs/238208) but it does not work - unfortunately I don't know whether this device requires a completely new driver or if Maxim's driver can be easily adapted. When I load the driver I get the following kernel messages:

Sep 13 22:20:42 philip-laptop kernel: [10478.172808] r592 0000:03:00.1: PCI INT B -> GSI 18 (level, low) -> IRQ 18
Sep 13 22:20:42 philip-laptop kernel: [10478.173427] r592: IO: unknown error from memstick_next_req -6
Sep 13 22:20:42 philip-laptop kernel: [10478.173538] r592: driver succesfully loaded
Sep 13 22:20:43 philip-laptop kernel: [10479.006828] intel ips 0000:00:1f.6: MCP power or thermal limit exceeded
Sep 13 22:20:43 philip-laptop kernel: [10479.277490] r592: wait for FIFO empty failed
Sep 13 22:20:44 philip-laptop kernel: [10480.275481] r592: wait for FIFO empty failed
Sep 13 22:20:45 philip-laptop kernel: [10481.273473] r592: wait for FIFO empty failed

Output from lspci -v for the the relevant device reads:

 03:00.1 System peripheral: Ricoh Co Ltd Device e230
 Subsystem: Sony Corporation Device 9071
 Flags: bus master, fast devsel, latency 0, IRQ 18
 Memory at f3801000 (32-bit, non-prefetchable) [size=256]
 Capabilities: <access denied>
 Kernel driver in use: r592
 Kernel modules: r592

Jeremy Foshee (jeremyfoshee) wrote :

Hi Vladimir,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 626823

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Ronnie (ronnie-10) wrote :

I have the same problem on vaio VPCF117HG with kernel 2.6.36-rc6 on Ubuntu 10.10. lspci -k gives the following output

03:00.0 SD Host controller: Ricoh Co Ltd Device e822
 Subsystem: Sony Corporation Device 9067
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci
03:00.1 System peripheral: Ricoh Co Ltd Device e230
 Subsystem: Sony Corporation Device 9067
03:00.3 FireWire (IEEE 1394): Ricoh Co Ltd Device e832
 Subsystem: Sony Corporation Device 9067
 Kernel driver in use: firewire_ohci
 Kernel modules: ohci1394, firewire-ohci
03:00.4 SD Host controller: Ricoh Co Ltd Device e822
 Subsystem: Sony Corporation Device 9067
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci

I also have 2 memory stick readers. 1 for SD and the other for HG pro duo. The sd one is working because it has a kernel module loaded while the HG pro duo which i assume is the "03:00.1 System peripheral: Ricoh Co Ltd Device e230" is not working. I will test the latest kernel today and check if it works.

Vladimir Hidalgo (vlad88sv) wrote :

Jeremy Foshee, I don't believe upgrading would make a difference, as nobody has developed a e230 driver.

Architecture: amd64
DistroRelease: Ubuntu 10.10
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
Tags: maverick
Uname: Linux 2.6.36-candela x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lp lpadmin netdev plugdev sambashare tape vboxusers video

tags: added: apport-collected
description: updated

Using Ubuntu 10.10 on a Sony Vaio VPCF11M1E.

The CardReader for MS-DUO does NOT work.
The CardReader for SDHC Card DOES work

03:00.0 SD Host controller: Ricoh Co Ltd Device e822
 Subsystem: Sony Corporation Device 9067
 Flags: bus master, fast devsel, latency 0, IRQ 17
 Memory at e6603000 (32-bit, non-prefetchable) [size=256]
 Capabilities: <access denied>
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci

03:00.1 System peripheral: Ricoh Co Ltd Device e230
 Subsystem: Sony Corporation Device 9067
 Flags: bus master, fast devsel, latency 0, IRQ 4
 Memory at e6602000 (32-bit, non-prefetchable) [size=256]
 Capabilities: <access denied>

03:00.3 FireWire (IEEE 1394): Ricoh Co Ltd Device e832 (prog-if 10 [OHCI])
 Subsystem: Sony Corporation Device 9067
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at e6601000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: <access denied>
 Kernel driver in use: firewire_ohci
 Kernel modules: firewire-ohci, ohci1394

03:00.4 SD Host controller: Ricoh Co Ltd Device e822
 Subsystem: Sony Corporation Device 9067
 Flags: bus master, fast devsel, latency 0, IRQ 19
 Memory at e6600000 (32-bit, non-prefetchable) [size=256]
 Capabilities: <access denied>
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci

MS doesn't work on Sony VAIO VPCS11J7E running Ubuntu 10.10.

03:00.0 SD Host controller: Ricoh Co Ltd Device e822
03:00.1 System peripheral: Ricoh Co Ltd Device e230
03:00.4 SD Host controller: Ricoh Co Ltd Device e822

totof1169 (bourgeotc) wrote :

same issue on vaio vpcs111fm on ubuntu 10.10
sd card work
memory stick doesn t

Jakob (jjsg90) wrote :

i have the same problem on VPCF126fm on ubuntu 10.10.

James Buchan (javensbukan) wrote :

I also have the same problem on VPCED16FD on ubuntu 9.10 Through to the current 10.10; it has never worked.
03:00.0 SD Host controller: Ricoh Co Ltd Device e822
03:00.1 System peripheral: Ricoh Co Ltd Device e230
03:00.4 SD Host controller: Ricoh Co Ltd Device e822

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Daniël van Eeden (dveeden) wrote :

The Lenovo Thinkpad T410s also has this device
$ lspci | grep Ric
05:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01)
05:00.1 System peripheral: Ricoh Co Ltd Device e230 (rev 01)

The SD cardreader does work, but the MS doesn't.

More info is listed here.
http://www.thinkwiki.org/wiki/Ricoh_5-in-1_MultiCard_Reader

I will add this bug to the avchd-compatible blueprint as support for MS would make it much more easier to copy content from a camera to the computer. Some camera's will only allow read-only access, so without this driver you'll have to boot into another os, use virtualbox/kvm or buy a USB cardreader.

Reloweb (reloweb) wrote :

Any news about it?

Leandro Cioletti (leandro-mat) wrote :

I am having similar problems as described in #1 by Philip Reese, but my computer is a Sony-Vaio VPCEB23FM running Ubuntu 10.04, with the kernel 2.6.32-35 generic. I am trying without success to read a 16Gb Sony memory card in the built-in card reader. Like other users report my SD reader is working perfectly. I am adding to this comment (likely) the relevant output of lspci -k

03:00.0 SD Host controller: Ricoh Co Ltd Device e822
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci
03:00.1 System peripheral: Ricoh Co Ltd Device e230
03:00.4 SD Host controller: Ricoh Co Ltd Device e822
 Kernel driver in use: sdhci-pci
 Kernel modules: sdhci-pci

SAME PROBLEM!!!!!!!!!!

Norbert (nrbrtx) wrote :
Download full text (4.7 KiB)

I have VAIO F13Z1R with SD and MS (label Magic Gate, HG Duo) card readers with Ubuntu 12.04 LTS on it.

My lspci is:
lspci
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 425M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
02:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
03:00.1 System peripheral: Ricoh Co Ltd Memory Stick Host Controller
03:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller
03:00.4 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8057 PCI-E Gigabit Ethernet Controller (rev 10)
05:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
3f:03.0 Host bridge: Intel Cor...

Read more...

tags: added: precise
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Daniël van Eeden (dveeden) wrote :

As reported on thinkwiki there is no driver for this device. This is _ONLY_ the MS/MSPRO part, the other devices like the SD reader are working.

http://www.thinkwiki.org/wiki/Ricoh_5-in-1_MultiCard_Reader

$ lsb_release -a; uname -a; sudo lspci -d 1180:e230 -vvv
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
Linux daniel-thinkpad 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
05:00.1 System peripheral: Ricoh Co Ltd R5U2xx (R5U230 / R5U231 / R5U241) [Memory Stick Host Controller] (rev 01)
 Subsystem: Lenovo Device 2134
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin B routed to IRQ 11
 Region 0: Memory at f1f00400 (32-bit, non-prefetchable) [size=256]
 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
  Address: 0000000000000000 Data: 0000
 Capabilities: [78] Power Management version 3
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME+
 Capabilities: [80] Express (v1) Endpoint, MSI 00
  DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
   ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE+ FLReset-
  DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
   RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
   MaxPayload 128 bytes, MaxReadReq 512 bytes
  DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
  LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
   ClockPM+ Surprise- LLActRep- BwNot-
  LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
   ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
  LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
 Capabilities: [100 v1] Advanced Error Reporting
  UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
  UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
  UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
  CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
  CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
  AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-

Testing with a new upstream kernel is useless as there simply isn't a driver for this device in the tree.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
summary: - Need MemoryStick driver for Ricoh Co Ltd Device e230
+ 1180:e230 Request driver for Ricoh Co Ltd R5U2xx (R5U230 / R5U231 /
+ R5U241) [Memory Stick Host Controller]
Changed in linux (Ubuntu):
importance: Medium → Wishlist
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers