LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-09-2005, 04:04 PM   #1
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Rep: Reputation: 15
USB Flash card reader probs


Ive searched everywhere for an answer to this, tried multiple instances of various help scripts and FTAB entries but to no avail, so here I am, resorting to asking for help

The problem is with my USB 8in1 card reader, when I plug it in and perform a dmesg|tail command all it states is :

usb 3-1: new high speed USB device using ehci_hcd and address 3

This doesnt really help me with knowing which command to enter into the ftab file to mount the thing, nothing else happens on insertion.
I tried using sda2 which was stated in some help file somewhere, but then that just mounts the Ipod :\

SO someone .. help .. put me out of my misery, I don't really want to resort to windows just to get my photos of the card.

TIA
 
Old 08-09-2005, 04:17 PM   #2
Occulum
Member
 
Registered: Aug 2005
Distribution: FreeBSD
Posts: 52

Rep: Reputation: 15
yes i have the same prob but im in GNOME so it brings up a window that says "Could not mount volume"
 
Old 08-09-2005, 04:23 PM   #3
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
Hey, at least you get something, mine just sits there ..seems to be anything I plug into the USB ports doesnt work, which is odd because the printer is fine, and yep,thats USB :\ .. sooo confused.
 
Old 08-09-2005, 05:03 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Do not Suse distros very well but try these ideas.
As root ' su - ' type ' /sbin/fdisk -l '. Note do not include the ' ' and also the -l is a lower case capital L. See if it displays any/dev/sd** devices whether /dev/sda* or /dev/sdb* or higher value.

If you get none and from what you posted above that it is seen, then a quick try if you can, is to install as many different type media cards (borrow from friends if posiable) to fill every slot and keep trying the fdisk -l command. Now if it picks up one of them finally then what you will need to do is recompile your kernel and add multi-lun support or may be called probe all luns.

Reason is most mult slot meadia readers I have seen require multilun support in the kernel. Not all do. Multilun is the key to most of these devices and if it is not in the kernel then it has to be recompiled and be included in it.

Now some see slots in order say: /dev/sda1, /dev/sda2, /dev/sda3, and so on.
Some see them as /dev/sda1, /dev/sdb1, /dev/sdc3, and so on.

Here are a few links that give a little more info. There are several post here on the subject, unfortunely many do not have answers, but some do. You just have to look at them all.

Most of the info is about the Redhat/Fedora distros.
http://www.linuxquestions.org/quest...8331#post498331
http://www.linuxquestions.org/quest...136#post1401136

The only easiest card readers are single slot readers.

Hope this helps
Brian1
 
Old 08-09-2005, 05:48 PM   #5
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
So, here goes, plugged everything I have that is USB in, and I get the following on a reboot:


fdisk -l

Disk /dev/hda: 61.4 GB, 61475807232 bytes
255 heads, 63 sectors/track, 7474 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 7473 60026841 7 HPFS/NTFS

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 2 19456 156272287+ f W95 Ext'd (LBA)
/dev/hdb5 2 9160 73569636 b W95 FAT32
/dev/hdb6 9161 9290 1044193+ 82 Linux swap / Solaris
/dev/hdb7 * 9291 19456 81658363+ 83 Linux

Now, this doesnt even pick up the IPod which it picks up when using Firewire, so this leads me to believe, since the Ipod only works with USB2 ports that I quite possibly have none. Although there is an option for USB2 support in the BIOS.
USB Flashcard, digital camera and the card reader fail to be recognised :\

Either that or everything I have is not supported by Suse :|

Anyway, thanks for the reply, and the links which I shall go and look over now

Neil.
 
Old 08-09-2005, 06:05 PM   #6
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Lets just do one device at a time.
What are the devices you have?
As far as the Ipod I seem to remeber the partition it sees is /dev/sda2 or was it /dev/sda6 if it is the first device plugged in.

Anyways what usb modules are loading? Post outptu from the command lsmod.
Also post output of the command lsusb with a device or two plugged in.

Items you need for USB
Module Size Used by
sd_mod 15248 0
usb_storage 57024 0
scsi_mod 112840 3 sbp2,sd_mod,usb_storage
uhci_hcd 26896 0
ehci_hcd 27912 0

Now ehci_hcd is for USB 2.0 controllers. And uhci_hcd is for USB 1.0-1.1 controllers. Also some USB 1.0-1.1 controllers may use ohci_hcd.

If you have USB 2.0 ports then run this command
modprobe ehci_hcd
Then for USB Storage devices if it does not autoload.
modprobe usb_storage

Thats all it should take.

Did you compile your current kernel? If you did then did you leave in the scsi section. It is required for USB to work since the module uses the Scsi structure to mount through. Same thing as for firewire. If your Ipod works fine on the firewire connection then I would say that the scsi part is there and is fine.

I will stop here till I see what you post back.
Brian1
 
Old 08-09-2005, 06:28 PM   #7
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
The devices for USB which I have are a;

128mb Disgo pendrive,
Fuji S7000 digital cam,
USB 2.0 8in1 card reader,
Ipod.

Now, the Ipod works fine when using the firewire cable so I'm not really worried about that one, and yes you are correct, when connected via Fwire it is seen as SDA2.

LSMOD OUTPUT
Module Size Used by
appletalk 34612 2
ax25 58476 2
ipx 27184 2
ipt_LOG 6912 8
ipt_limit 2432 8
ipt_pkttype 1792 1
speedstep_lib 4100 0
freq_table 4484 0
thermal 14088 0
processor 23736 1 thermal
fan 4868 0
button 7056 0
battery 10116 0
ac 5252 0
joydev 9664 0
sg 36256 0
st 37788 0
sr_mod 16548 0
nvram 8200 0
snd_pcm_oss 57888 0
snd_mixer_oss 18944 1 snd_pcm_oss
evdev 8832 0
af_packet 20744 2
edd 10080 0
ipt_state 2048 12
i2c_sis96x 5252 0
i2c_core 21776 1 i2c_sis96x
snd_intel8x0 31808 1
snd_ac97_codec 77564 1 snd_intel8x0
snd_pcm 92680 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 24580 1 snd_pcm
snd 60292 8 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 8928 1 snd
snd_page_alloc 9988 2 snd_intel8x0,snd_pcm
ip6t_REJECT 6784 3
ohci1394 31492 0
ieee1394 97976 1 ohci1394
sis_agp 8452 1
ohci_hcd 20232 0
agpgart 32296 1 sis_agp
sis900 19332 0
ipt_REJECT 6656 3
iptable_mangle 2816 0
iptable_filter 2944 1
ip6table_mangle 2432 0
ip_nat_ftp 3072 0
iptable_nat 22236 1 ip_nat_ftp
ip_conntrack_ftp 72592 1 ip_nat_ftp
ip_conntrack 42168 4 ipt_state,ip_nat_ftp,iptable_nat,ip_conntrack_ftp
ip_tables 20352 8 ipt_LOG,ipt_limit,ipt_pkttype,ipt_state,ipt_REJECT,iptable_mangle,iptable_filter,iptable_nat
ip6table_filter 2816 1
ip6_tables 18304 3 ip6t_REJECT,ip6table_mangle,ip6table_filter
ipv6 236672 7 ip6t_REJECT
ehci_hcd 31624 0
usbcore 108760 3 ohci_hcd,ehci_hcd
parport_pc 38212 1
lp 11076 0
parport 33864 2 parport_pc,lp
nls_iso8859_1 4096 1
nls_cp437 5760 1
vfat 12800 1
fat 37916 1 vfat
nls_utf8 2048 1
ntfs 167184 1
sd_mod 17936 0
scsi_mod 125384 4 sg,st,sr_mod,sd_mod
dm_mod 56316 0
reiserfs 243056 1
ide_cd 37892 0
cdrom 36640 2 sr_mod,ide_cd
ide_disk 16640 6
sis5513 13704 0 [permanent]
ide_core 120020 3 ide_cd,ide_disk,sis5513


If I then run the modprobe ehci_hcd command as root, nothing happens, it just goes to a new line in the terminal.
If I try the next command, modprobe usb_storage the terminal locks up and will not terminate with the CTRL C command, only a window close kills it.

I did not compile my kernel as I have no idea where to start doing that, I updated the kernel however by downloading it from the suse distro ftp, the version is 2.6.11.4-21.8 if that means anything.
 
Old 08-09-2005, 06:43 PM   #8
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
My fault it was
modprobe usb-storage

Try that. and then see what happens.
Brian1
 
Old 08-09-2005, 06:47 PM   #9
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
hmm, not sure whats supposed to happen, it gives no output and just drops to a new line in the terminal
 
Old 08-09-2005, 07:12 PM   #10
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Type lsmod and see if usb-storage is in the list now. If so plugin your pendrive and tpye fdisk -l

Brian1
 
Old 08-09-2005, 07:25 PM   #11
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
Ok, the Usb_storage is listed in several places, but vanishes after a reboot, so I typed the commands again, and then plugged in the pendrive and again, nothing. an fdisk -l returns the same listing as before. However, this time when I do a dmesg | tail there is a "Initializing USB Mass Storage driver...
" present, which was not there before.
 
Old 08-09-2005, 07:46 PM   #12
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Try the Ipod on the USB again and see what lsusb and dmesg say.

Odd as far as not seeing the device. Your output shows both the ohci_hcd and ehci_hcd modules. From this it means you have both USB 1.0 slots and 2.0 slots.
Which one are you using?
is the 2.0 USB a seperate pci card?
If so what brand and model is this?

What kernel are you using? uname -r
What distro is this? Your side info says suse and ubuntu

Lets stop here for now.
Brian1
 
Old 08-09-2005, 07:50 PM   #13
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
Im using Suse 9.3, just havent updated my info

Kernel is 2.6.11.4-21.8-default

There are 4 USB slots on this machine, 2 at the back and 2 at the front, problem is I havent a clue which is which, if the front or back are usb2

I appreciate all the help with trying to sort this all out, you've been more patient than I would of expected
 
Old 08-09-2005, 08:00 PM   #14
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Have you tried the other slots and see if fdisk -l shows something?
Have you every looked inside a computer before?
What brand and model is the computer?

Quick assumptions is the front are 2.0 slots and the back is 1.0 slots. Possiable the 2.0 is not very compatiable. The ones on the back are probably on the motherboard and the front are on an internal pci card.

What hardware is reported with the command ' lspci '?

The kernel I don't is the issue. Most USB issues I have seen were in the 2.6.9 kernels. Some cards worked in 2.6.8 and 2.6.10-12 but not in 2.6.9. Same with some devices in the 2.6.9 kernel.
 
Old 08-09-2005, 08:11 PM   #15
Randomcasualty
LQ Newbie
 
Registered: Jul 2005
Location: UK
Distribution: Suse Pro 9.3 / Suse10 Beta
Posts: 25

Original Poster
Rep: Reputation: 15
Ok, all the USB ports come off the motherboard, the front ones are connected via a cable, and according to the manual I have just found are USB1. The rear ones are soldered directly onto the MB and are apparently USB2.

So, I plugged the flash card into the rear and voila, there it is. But Ill have to do some more testing as Ive been messing about with settings so not sure if its just a USB1 issue or not (front ports).

Fdisk -l now gives me the addition of

Disk /dev/sda: 122 MB, 122814464 bytes
128 heads, 2 sectors/track, 937 cylinders
Units = cylinders of 256 * 512 = 131072 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 937 119935 b W95 FAT32


which is what ive been after all along so at the moment, it looks like im going to have to spend some cash and get a hub for all these USB devices hehe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB flash card reader in Mandrake 10.1 enrico14569 Linux - Hardware 4 10-02-2005 06:57 PM
Configuring USB flash card reader in Mandrake 10.1 enrico14569 Linux - Newbie 3 10-02-2005 12:31 PM
JFFS2 on USB Card Reader Flash Denes Linux - Hardware 1 07-14-2005 01:41 PM
Strange usb flash card reader behaviour georgekm Linux - General 2 03-29-2005 06:18 PM
Need a little help getting USB flash card reader to work Electrode Linux - Hardware 13 10-20-2003 04:04 PM


All times are GMT -5. The time now is 05:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration