linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* memstick - old Memory Sticks not recognized
@ 2011-11-03 19:33 Mantas M.
  2011-11-03 19:41 ` Mantas M.
  0 siblings, 1 reply; 3+ messages in thread
From: Mantas M. @ 2011-11-03 19:33 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

I have a few Sony Memory Stick cards laying around, and tried to use 
them with my laptop's card reader. Unfortunately, while the reader seems 
to recognize all cards, Linux does not -- only the "Memory Stick Pro" 
series one is recognized as a mountable block device. The other two, 
from the original "Memory Stick" series, are not. (They work fine in a 
camera, however.)

Ideas? Patches?

Linux 3.1.0-09034-g70c9f18.

-- 
Mantas M.

[-- Attachment #2: card1-ms-128m.dmesg --]
[-- Type: text/plain, Size: 2228 bytes --]

(card inserted)
[  871.210930] jmb38x_ms 0000:05:00.3: irq_status = 00000008
[  871.210934] jmb38x_ms 0000:05:00.3: media changed
[  871.210951] memstick_host memstick0: memstick_check started
[  871.223747] jmb38x_ms 0000:05:00.3: power on
[  871.223754] jmb38x_ms 0000:05:00.3: Set Host Interface Mode to 0
[  871.223770] jmb38x_ms 0000:05:00.3: tasklet req 0
[  871.223777] memstick_host memstick0: control 000540c7
[  871.223782] memstick_host memstick0: status 00000000
[  871.223787] memstick_host memstick0: hstatus 00000600
[  871.223794] memstick_host memstick0: executing TPC 00080004, len 4
[  871.223853] jmb38x_ms 0000:05:00.3: irq_status = 00000001
[  871.223859] memstick_host memstick0: c control 000544c7
[  871.223863] memstick_host memstick0: c status 00000000
[  871.223868] memstick_host memstick0: c hstatus 00000600
[  871.223892] jmb38x_ms 0000:05:00.3: tasklet req 0
[  871.223898] memstick_host memstick0: control 000540c7
[  871.223901] memstick_host memstick0: status 00000000
[  871.223905] memstick_host memstick0: hstatus 00000600
[  871.223909] memstick_host memstick0: executing TPC 00044004, len 4
[  871.224000] jmb38x_ms 0000:05:00.3: irq_status = 00000001
[  871.224011] memstick_host memstick0: c control 000544c7
[  871.224017] memstick_host memstick0: c status 00000000
[  871.224022] memstick_host memstick0: c hstatus 00000600
[  871.224031] memstick memstick0: if_mode = 00
[  871.224046] memstick_host memstick0: new card 00, 00, 00
[  871.224146] memstick_host memstick0: memstick_check finished
(card removed)
[  915.857652] jmb38x_ms 0000:05:00.3: irq_status = 00000010
[  915.857657] jmb38x_ms 0000:05:00.3: media changed
[  915.857674] memstick_host memstick0: memstick_check started
[  915.857687] jmb38x_ms 0000:05:00.3: tasklet req 0
[  915.857692] memstick_host memstick0: no media status
[  915.857695] jmb38x_ms 0000:05:00.3: tasklet req 0
[  915.857699] memstick_host memstick0: no media status
[  915.857702] jmb38x_ms 0000:05:00.3: tasklet req 0
[  915.857706] memstick_host memstick0: no media status
[  915.857710] jmb38x_ms 0000:05:00.3: tasklet req -11
[  915.857900] jmb38x_ms 0000:05:00.3: power off
[  915.857902] memstick_host memstick0: memstick_check finished

[-- Attachment #3: card1-ms-128m.udev --]
[-- Type: text/plain, Size: 1460 bytes --]

monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[867.357117] add      /devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0 (memstick)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0
MEMSTICK_CATEGORY=00
MEMSTICK_CLASS=00
MEMSTICK_TYPE=00
SEQNUM=1990
SUBSYSTEM=memstick
UDEV_LOG=3

UDEV  [867.358732] add      /devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0 (memstick)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0
MEMSTICK_CATEGORY=00
MEMSTICK_CLASS=00
MEMSTICK_TYPE=00
SEQNUM=1990
SUBSYSTEM=memstick
UDEV_LOG=3
USEC_INITIALIZED=867357458

KERNEL[911.987512] remove   /devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0 (memstick)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0
MEMSTICK_CATEGORY=00
MEMSTICK_CLASS=00
MEMSTICK_TYPE=00
SEQNUM=1991
SUBSYSTEM=memstick
UDEV_LOG=3

UDEV  [911.987833] remove   /devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0 (memstick)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0
MEMSTICK_CATEGORY=00
MEMSTICK_CLASS=00
MEMSTICK_TYPE=00
SEQNUM=1991
SUBSYSTEM=memstick
UDEV_LOG=3
USEC_INITIALIZED=911987557


[-- Attachment #4: card2-ms-16m.dmesg --]
[-- Type: text/plain, Size: 2228 bytes --]

(card inserted)
[  965.754858] jmb38x_ms 0000:05:00.3: irq_status = 00000008
[  965.754863] jmb38x_ms 0000:05:00.3: media changed
[  965.754880] memstick_host memstick0: memstick_check started
[  965.768051] jmb38x_ms 0000:05:00.3: power on
[  965.768058] jmb38x_ms 0000:05:00.3: Set Host Interface Mode to 0
[  965.768074] jmb38x_ms 0000:05:00.3: tasklet req 0
[  965.768082] memstick_host memstick0: control 000540c7
[  965.768087] memstick_host memstick0: status 00000000
[  965.768091] memstick_host memstick0: hstatus 00001600
[  965.768098] memstick_host memstick0: executing TPC 00080004, len 4
[  965.768154] jmb38x_ms 0000:05:00.3: irq_status = 00000001
[  965.768160] memstick_host memstick0: c control 000544c7
[  965.768165] memstick_host memstick0: c status 00000000
[  965.768170] memstick_host memstick0: c hstatus 00001600
[  965.768194] jmb38x_ms 0000:05:00.3: tasklet req 0
[  965.768204] memstick_host memstick0: control 000540c7
[  965.768207] memstick_host memstick0: status 00000000
[  965.768211] memstick_host memstick0: hstatus 00001600
[  965.768215] memstick_host memstick0: executing TPC 00044004, len 4
[  965.768304] jmb38x_ms 0000:05:00.3: irq_status = 00000001
[  965.768315] memstick_host memstick0: c control 000544c7
[  965.768320] memstick_host memstick0: c status 00000000
[  965.768325] memstick_host memstick0: c hstatus 00001600
[  965.768334] memstick memstick0: if_mode = 00
[  965.768350] memstick_host memstick0: new card 00, 00, 00
[  965.768447] memstick_host memstick0: memstick_check finished
(card removed)
[  970.235117] jmb38x_ms 0000:05:00.3: irq_status = 00000010
[  970.235121] jmb38x_ms 0000:05:00.3: media changed
[  970.235139] memstick_host memstick0: memstick_check started
[  970.235152] jmb38x_ms 0000:05:00.3: tasklet req 0
[  970.235157] memstick_host memstick0: no media status
[  970.235160] jmb38x_ms 0000:05:00.3: tasklet req 0
[  970.235165] memstick_host memstick0: no media status
[  970.235167] jmb38x_ms 0000:05:00.3: tasklet req 0
[  970.235171] memstick_host memstick0: no media status
[  970.235175] jmb38x_ms 0000:05:00.3: tasklet req -11
[  970.235334] jmb38x_ms 0000:05:00.3: power off
[  970.235339] memstick_host memstick0: memstick_check finished

[-- Attachment #5: card2-ms-16m.udev --]
[-- Type: text/plain, Size: 1460 bytes --]

monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[961.897152] add      /devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0 (memstick)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0
MEMSTICK_CATEGORY=00
MEMSTICK_CLASS=00
MEMSTICK_TYPE=00
SEQNUM=1992
SUBSYSTEM=memstick
UDEV_LOG=3

UDEV  [961.898702] add      /devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0 (memstick)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0
MEMSTICK_CATEGORY=00
MEMSTICK_CLASS=00
MEMSTICK_TYPE=00
SEQNUM=1992
SUBSYSTEM=memstick
UDEV_LOG=3
USEC_INITIALIZED=961897429

KERNEL[966.364672] remove   /devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0 (memstick)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0
MEMSTICK_CATEGORY=00
MEMSTICK_CLASS=00
MEMSTICK_TYPE=00
SEQNUM=1993
SUBSYSTEM=memstick
UDEV_LOG=3

UDEV  [966.364936] remove   /devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0 (memstick)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1c.5/0000:05:00.3/memstick_host/memstick0/memstick0
MEMSTICK_CATEGORY=00
MEMSTICK_CLASS=00
MEMSTICK_TYPE=00
SEQNUM=1993
SUBSYSTEM=memstick
UDEV_LOG=3
USEC_INITIALIZED=966364672


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: memstick - old Memory Sticks not recognized
  2011-11-03 19:33 memstick - old Memory Sticks not recognized Mantas M.
@ 2011-11-03 19:41 ` Mantas M.
  2011-11-04  9:41   ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Mantas M. @ 2011-11-03 19:41 UTC (permalink / raw)
  To: linux-kernel

What I forgot to add:

* The card reader is listed in `lspci` as:
   05:00.3 System peripheral: JMicron Technology Corp. MS Host 
Controller (rev 80)

* The laptop is Asus K52JT.

* The working card is actually Memory Stick Pro Duo, not Pro, but either 
way it works.

* Standard Arch Linux kernel configuration (plus CONFIG_MEMSTICK_DEBUG, 
which I hoped would give me some clues).

-- 
Mantas M.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: memstick - old Memory Sticks not recognized
  2011-11-03 19:41 ` Mantas M.
@ 2011-11-04  9:41   ` Takashi Iwai
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2011-11-04  9:41 UTC (permalink / raw)
  To: Mantas M.; +Cc: linux-kernel

At Thu, 03 Nov 2011 21:41:15 +0200,
Mantas M. wrote:
> 
> What I forgot to add:
> 
> * The card reader is listed in `lspci` as:
>    05:00.3 System peripheral: JMicron Technology Corp. MS Host 
> Controller (rev 80)
> 
> * The laptop is Asus K52JT.
> 
> * The working card is actually Memory Stick Pro Duo, not Pro, but either 
> way it works.
> 
> * Standard Arch Linux kernel configuration (plus CONFIG_MEMSTICK_DEBUG, 
> which I hoped would give me some clues).

The patches for old memsticks have been posted, but not merged
because of hackish implementation details.  You can give it a try.
See https://lkml.org/lkml/2011/3/3/518


Takashi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-04  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-03 19:33 memstick - old Memory Sticks not recognized Mantas M.
2011-11-03 19:41 ` Mantas M.
2011-11-04  9:41   ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).