You are not logged in.

#1 2010-12-14 06:27:38

w7nz7k
Member
Registered: 2010-08-18
Posts: 13

[SOLVED] M2 Memory Stick & Custom Kernel

Hello! I am using a custom kernel. I bought a SonyEricsson phone with a 4GB M2 memory stick which does not get recognized by my custom kernel (not even in /dev) but does with the generic kernel shipped with Arch. I do, however, get the phone itself recognized/mounted properly with both kernels.

I have been "lsmod-ing" throughout the plug/mount process with the genkernel... the modules mounted are usb_storage, vfat, fat and nls_cp437. All of them are enabled in my custom kernel but with no luck.

Any ideas?

extra: enabling

Symbol: MEMSTICK [=n]
Type  : tristate
Prompt: Sony MemoryStick card support (EXPERIMENTAL)
  Defined at drivers/memstick/Kconfig:5   
  Location:
      -> Device Drivers 

does not work.

Last edited by w7nz7k (2010-12-17 02:28:42)

Offline

#2 2010-12-14 07:18:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] M2 Memory Stick & Custom Kernel

My guess is you're using a built-in card reader, and you haven't include support for it in your custom kernel.

Some more details would avoid the need for guessing.

Offline

#3 2010-12-14 07:49:03

w7nz7k
Member
Registered: 2010-08-18
Posts: 13

Re: [SOLVED] M2 Memory Stick & Custom Kernel

Thank you for the reply, I'll keep looking for such support.

It is a SonyEricsson C510. I'll post what I think could help, please let me know what else could give us some hints.

dmesg custom kernel: http://w7nz7k.pastebin.com/HENm5yNq
dmesg genkernel: http://w7nz7k.pastebin.com/EEQ4YJdY
my .config: http://w7nz7k.pastebin.com/CszFxk7S

w7nz7k

Offline

#4 2010-12-14 21:56:46

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] M2 Memory Stick & Custom Kernel

lspci output would be useful too.

Offline

#5 2010-12-15 04:44:47

w7nz7k
Member
Registered: 2010-08-18
Posts: 13

Re: [SOLVED] M2 Memory Stick & Custom Kernel

Offline

#6 2010-12-17 02:27:40

w7nz7k
Member
Registered: 2010-08-18
Posts: 13

Re: [SOLVED] M2 Memory Stick & Custom Kernel

It's done! I found it on a thread of the Gentoo people. This love-hate relationship with Gentoo does not cease to impress me.
http://forums.gentoo.org/viewtopic-t-82 … b4828ba565
This worked for a completely different phone, so in seems to be quite a good thing to have around.

Anyhoo... it didn't show on lsmod because this feature cannot be compiled in such way:

Symbol: SCSI_MULTI_LUN [=y] 
Type  : boolean 
Prompt: Probe all LUNs on each SCSI device  
    Defined at drivers/scsi/Kconfig:200  
    Depends on: SCSI [=y] 
    Location: 
        -> Device Drivers 
            -> SCSI device support

Marking as solved.

Offline

Board footer

Powered by FluxBB