View previous topic :: View next topic |
Author |
Message |
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Wed Apr 06, 2005 3:03 pm Post subject: Memory stick duo |
|
|
Hi all. I've been trying to use a memory stick duo witha card reader under linux. I made it some time ago under windows (with some drivers), with the same card reader, but under linux it is a problem. I've been able to use a usb camera and other memory stick under linux with the same card reader, but it seems that this memory stick is different. Maybe it needs some drivers which linux doesn't have? The card reader is used by my cell sony ericsson to store data, so maybe it needs driver by sony?
Thanks. |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Wed Apr 06, 2005 7:50 pm Post subject: |
|
|
What modules or options do you have compiled into the kernel for usb and scsi? It might be the case that you only need to add an additional module to get everything to work. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Wed Apr 06, 2005 9:29 pm Post subject: |
|
|
I followed a guide I found on the internet (I can't find it anymore ), but nothing happened. Maybe you can tell me what modules I have to compile with the kernel, or a guide that explain it?
I haven't inserted anything about scsi, maybe thay could be the problem?
Thanks. |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Thu Apr 07, 2005 1:20 am Post subject: |
|
|
Usb storage traditionally relies upon scsi emulation, and in turn, scsi hard drive support. If you look in the SCSI and USB subsections in the kernel config, you should be able to see if you've enabled it or not. I suspect that you probably added USB storage, but you might have forgotten to include the SCSI support it relies on. What modules do you currently have loaded when you insert the device? (Check with /sbin/lsmod after waiting a few seconds for it to show up in dmesg.) _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Thu Apr 07, 2005 9:13 am Post subject: |
|
|
diastelo wrote: | Usb storage traditionally relies upon scsi emulation, and in turn, scsi hard drive support. If you look in the SCSI and USB subsections in the kernel config, you should be able to see if you've enabled it or not. I suspect that you probably added USB storage, but you might have forgotten to include the SCSI support it relies on. |
This is very likely .
diastelo wrote: | What modules do you currently have loaded when you insert the device? (Check with /sbin/lsmod after waiting a few seconds for it to show up in dmesg.) |
Ok, I inserted the device and waited a few seconds as you said. The output of the command is:
Code: |
Module Size Used by
vfat 10752 0
fat 34588 1 vfat
usb_storage 28032 0
i2c_sensor 3072 0
ppp_synctty 7680 0
ppp_async 9088 1
crc_ccitt 1920 1 ppp_async
ppp_generic 19732 6 ppp_synctty,ppp_async
slhc 6656 1 ppp_generic
ipt_MASQUERADE 2688 1
iptable_nat 19548 2 ipt_MASQUERADE
ip_conntrack 37272 2 ipt_MASQUERADE,iptable_nat
ip_tables 18688 2 ipt_MASQUERADE,iptable_nat
lp 9156 0
snd_pcm_oss 46496 0
snd_mixer_oss 16128 1 snd_pcm_oss
snd_seq_oss 29056 0
snd_seq_midi_event 6016 1 snd_seq_oss
snd_seq 45072 4 snd_seq_oss,snd_seq_midi_event
ohci_hcd 18440 0
parport_pc 29508 1
parport 30664 2 lp,parport_pc
snd_via82xx 21696 0
snd_ac97_codec 68216 1 snd_via82xx
snd_pcm 76040 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 19460 2 snd_seq,snd_pcm
snd_page_alloc 7428 2 snd_via82xx,snd_pcm
gameport 3712 1 snd_via82xx
snd_mpu401_uart 5760 1 snd_via82xx
snd_rawmidi 18848 1 snd_mpu401_uart
snd_seq_device 6796 3 snd_seq_oss,snd_seq,snd_rawmidi
snd 44388 11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
i2c_viapro 6800 0
i2c_core 17680 2 i2c_sensor,i2c_viapro
ehci_hcd 27656 0
uhci_hcd 28304 0
via_agp 7424 1
agpgart 27688 1 via_agp
usblp 10880 0
usbcore 99192 6 usb_storage,ohci_hcd,ehci_hcd,uhci_hcd,usblp
8139too 20096 0
ne2k_pci 8544 0
8390 7808 1 ne2k_pci
|
I report the whole response cause I don't want to miss something (I'm new to this things).
Do you think there's something missing? I don't see the scsi module.
Thanks for your help. |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Thu Apr 07, 2005 10:47 am Post subject: |
|
|
Well, I ran genkernel --menuconfig all and I saw that some scsi modules are selected. The problem is that I don't know what I should check in particular, there are too many items. |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Thu Apr 07, 2005 12:15 pm Post subject: |
|
|
You'll need scsi emulation and either scsi hard drive support or scsi generic support, depending on the type of device. You might even need both. Unless they're built in to your kernel (not modules), you don't have any of them. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Fri Apr 08, 2005 4:58 pm Post subject: |
|
|
I checked and, except "scsi emulation" everything is built in. I can't find this scsi emulation. Where can I find it? The device still doesn't work. Any idea of why?
Thanks. |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Fri Apr 08, 2005 5:12 pm Post subject: |
|
|
SCSI emulation is either under SCSI or under the section where you enable support for your ATA/IDE devices. I'm sorry I can't be more precise, since I don't have any way to check from work. If you can't find it by the time I get home from work, I'll dig it out for you. _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Fri Apr 08, 2005 5:28 pm Post subject: |
|
|
OK, great! Found, under ATA/ATAPI etc..., but it is already built in. This wasn't the problem. Maybe something else is missing?
Thanks. |
|
Back to top |
|
|
diastelo Guru
Joined: 23 Feb 2004 Posts: 521
|
Posted: Fri Apr 08, 2005 6:03 pm Post subject: |
|
|
I admit I'm baffled. I only have SCSI generic support, SCSI hard drive support, SCSI emulation and USB storage, and I have gotten both a USB keychain drive and a USB hard drive to work without a problem. I have everything compiled as modules, but I wouldn't know if that makes a difference in this case (sometimes it does, such as in ALSA support). _________________ "No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw |
|
Back to top |
|
|
Luc484 Veteran
Joined: 26 Mar 2005 Posts: 1035 Location: Italy
|
Posted: Fri Apr 08, 2005 6:27 pm Post subject: |
|
|
The fact is that I have already used some cards witht he usb card reader, and everyone has worked correctly. This is the only one which isn't working. Is it possible that this particular key needs some drivers which I don't have? Windows needed those drivers.
Thanks anyway. |
|
Back to top |
|
|
|