Memory stick isn't recognized on SZ2XP with feisty

Bug #105180 reported by Tim Penhey
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Inserting the Memory Stick PRO Duo into the slot on the left hand side of the laptop doesn't make the files available in the media area.

I'm using an up to date (as of today) feisty beta. 2.6.20-14-generic kernel with kubuntu.

Revision history for this message
Tim Penhey (thumper) wrote :

Attached is the output of:
  * dmesg
  * lsmod
  * lspci -vvnn

Revision history for this message
Brian Murray (brian-murray) wrote :

I don't think this device is supported yet and believe I have seen a previous kernel bug about it.
Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@Tim

Can you please run the command 'sudo udevmonitor -e' and then insert the card and attach output to the bug? I feel like this bug is same as the one I filed, bug 85862. Just want to confirm.
My bug was originally filed for edgy kernel but it was rejected with suggestion to reproduce it on feisty kernel. If you can provide sufficient information then I will be able to reopen it.

Revision history for this message
Andrew Waldram (andrew-waldram) wrote :

This is not a bug the developer of the tifm Module has only completed support for SD cards at this time.

YMMV switching over to the sdhci driver as some TI modules are supported by this module.

Check the fiesty forum for info how todo this or LP 53923

Devs I think you should close/reject this as there is no support for Memory stick in the driver at present.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@Andrew

As per comment by Tim Gardner on bug 85862, the support for memory stick cards is present in feisty kernel. I will be glad to know any definite source of information for your claim that the case is otherwise.

Revision history for this message
Andrew Waldram (andrew-waldram) wrote :

I did not say that the feisty kernal did not support memory stick cards

I said the TIFM module doesn't (i.e the native driver for this reader)

As you seem unable todo any research (just looking at bug 53923) here is the FACTS from the tifm developer

Driver is implemented using several modules:

tifm_core - serves as "bus" driver for the adapters and cards
tifm_7xx1 - "host" adapter for the pci device in question
tifm_sd - driver for MMC/SD cards (registers itself as mmc_host under kernel's mmc subsystem)
Currently in development:

tifm_ms - driver for MemoryStick cards (very early alpha; does not work)
Pending implementation:

tifm_xd - driver for xD/SmartMedia cards

NOTE the tifm_ms driver is not present in the kernel.

Hence my coment to try the sdhci Driver because I believe that does support memmory sticks (Like you I haven't checked) but you need to switch the TIFM readers mode using setPCI and sdhci does not work for all TI hardware.

I checked the OP's logs and he is trying to use the TIFM module which does not support memmory sticks SO no bug.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@Andrew,

Thanks for all the information. Unfortunately, I am currently away form my dad's laptop which has TI card reader. I am not sure whether this bug should be closed. Let the kernel team decide that. I just wanted to point out that this seems to be very similar to my own bug (which again might not be a bug as per your explanation :-) )

I recently upgraded my dad's laptop to feisty but didn't get enough time to check memory stick support.

Revision history for this message
Andrew Waldram (andrew-waldram) wrote :

This gives more information on the 2 interface that TI flashmedia chips support A bit old now but still usefull

http://mmc.drzeus.cx/wiki/Controllers/TexasInstruments/FlashMedia

I would try the setpci hack if I was you remove the tifm modules so there is no confusion

rmmod tifm_sd
rmmod tifm_7xx1
rmmod tifm_core

Iformation on the sdhci driver is available here
http://mmc.drzeus.cx/wiki/Linux/Drivers/sdhci

It is included in Linux kernel 2.6.17 (since 2.6.17-rc1). In order for it to work on my HP 6120 notebook, I require this command :

# lspci
02:09.0 CardBus bridge: Texas Instruments PCI6411,6421,6611,6621,7411,7421,7611,7621 Cardbus Controller
02:09.2 FireWire (IEEE 1394): Texas Instruments PCI7411,7421,7611,7621 Firewire Controller
02:09.3 <-------- Unknown mass storage controller: Texas Instruments PCI6411,6421,6611,6621,7411,7421,7611,7621 Flash Media Controller
02:09.4 Class 0805: Texas Instruments PCI6411,6421,6611,6621,7411,7421,7611,7621 SD Host Controller

# setpci -s 02:09.3 4c.b=02

This command _disables_ the SD support in TI's "FlashMedia" device, which reverts control of the SD socket to the "SD-Host Controller", for which the above sdhci driver works.

 This will give you read/write access (albeit quite slow, < 500 kB/s) to SD cards (and maybe MMC?) only.
This will not work for Memory Stick, XD, or SM.

The above seems to indicate that Memory Stick, XD, or SM wil not work but was from a web site date June 06 so Ymmv.

If this is the case I would use the TIFM driver as its a SHxT load faster and is also the one I'm pushing to get fixed for auto mounting see 53923

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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