LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-18-2002, 05:49 AM   #1
Leonadia
LQ Newbie
 
Registered: Sep 2002
Distribution: Red Hat 9.0
Posts: 9

Rep: Reputation: 0
Unhappy How can I use the USB CardReader in linux?


It's really annoying me
 
Old 09-20-2002, 12:58 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Which one, what kind of card, and hi, welcome to LQ

And what steps have you tried to do to make it work? What distro are you running, what color socks are you wearing, how long has it been since the braves have gone to the World Series, what kernel are you running, what level of experience do you have using linux, what kind of day is it where you are, is anybody still reading this, and so on.

Anyway, mostly:
what distro, what have you tried, what kind of card, and what reader would be good info's.

Cool
 
Old 09-27-2002, 02:56 PM   #3
vdi_nenna
Member
 
Registered: Jan 2002
Location: PA, USA
Distribution: Fedora 12
Posts: 69

Rep: Reputation: 15
Unhappy Having same problem

MasterC,

I have a PNY SmartMedia USB card reader.
RH 7.3, 2.4.18

On bootup, I see mention of ohci and ehci coming up OK.

I have USB mass storage support running.

Looked in dmesg and all looks ok, but not seeing any mention of SCSI IDs or hardware name for storage.

I have checked what is running under SCSI and I can only see my CD/RW.

I also have a FijiFilm A101 FinePix digital camera, but can't load it either. Suppose to run under mass-storage driver.

Any idea what might be or not be happening?

thanks,

Vince

 
Old 09-27-2002, 06:46 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well, depending on what's enabled in your kernel, my device has been the same in 4 distros: /dev/sda1 But others have mentioned sda4 and such, so I guess it depends on how you are mounting the device. Open a terminal and type:
tail -f /var/log/messages
And then plug in your device. It will give you a readout. See if it tells you which device your card reader or camera have become.

You will need the following enabled in the kernel:
USB Mass Storage (module name: usb-storage)
VFAT filesystem support
SCSI Disk support
And depending on your chipset, ohci, uhci or if you have usb 2.0 ehci.

Cool
 
Old 09-27-2002, 07:46 PM   #5
vdi_nenna
Member
 
Registered: Jan 2002
Location: PA, USA
Distribution: Fedora 12
Posts: 69

Rep: Reputation: 15
MasterC,

Everything you mentioned above is enabled. However, I did get an error message...

Sep 27 20:28:00 linux1 kernel: hub.c: Cannot enable port 5 of hub 1, disabling port.
Sep 27 20:28:00 linux1 kernel: hub.c: Maybe the USB cable is bad?

I know the cable is not bad because I can use it with my camera w/ Win ME. It must be something in the connects to the MB or BIOS setting. I do know that I have seen the video sharing IRQs w/ the USB. I have 6 ports for USB connections: 4- USB 1.x and 2- USB 2.0.

I can't control either the IRQ for the vid or USB.

Any other ideas?

Thanks for getting back!

Vince
 
Old 09-28-2002, 12:53 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Did you try a different slot? Also, are you trying to plug this into the 2.0 slot? If so, I think there might be issues with that still. I'd give each slot a try. Sounds stupid, but I have 1 slot (probably hardware problem since no other OS's recognize it either) that just doesn't work.

Anyway, yeah, give the other slots a try.

Cool
 
Old 10-10-2002, 07:55 AM   #7
vdi_nenna
Member
 
Registered: Jan 2002
Location: PA, USA
Distribution: Fedora 12
Posts: 69

Rep: Reputation: 15
Lightbulb

Found an answer...

It is a board stroke, but updating the RH 7.3, kernel 2.4.18-3 to 2.4.18-10 helped me get my PNY reader/ writer to work using the mass storage driver- $ modprobe usb-storage. On the first try it worked on a 2.0 ver USB port.


Vince
 
Old 10-14-2002, 07:55 PM   #8
Leonadia
LQ Newbie
 
Registered: Sep 2002
Distribution: Red Hat 9.0
Posts: 9

Original Poster
Rep: Reputation: 0
hi MasterC

i use the Red Hat 8.0
and I typed "tail -f /var/log/messages "and plugged in my USB storage
it said:
localhost kernel:hub.c:USB newdevice connect on bus 1/1,assigned device number 3
localhost kernel:/etc/hotplug/usb.agent:Setup usb-storage for USB product aec/5010/100

then what should I do now?

Thank you for getting back!
 
Old 10-14-2002, 09:45 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Easiest way I found possible now is to use cdrecord -scanbus

But it looks (again, I don't know for sure) that it is scd1 or scd3. -scanbus should give you a more difinitive answer though.

Cool
 
Old 10-15-2002, 06:01 AM   #10
Leonadia
LQ Newbie
 
Registered: Sep 2002
Distribution: Red Hat 9.0
Posts: 9

Original Poster
Rep: Reputation: 0
I tyied the "cdrecord -scanbus",but it said "Cannot open SCSI driver"

and,in the "Hardware Browser"
the USB Driver:usb-uhci
the USB Device:N/A

also,i typed "lsmod |grep usb"
and when i tried to "insmod usb-storage"
it said it has been installed...


Should i make a setting in the kernel and re-compile the kernel?

I'm really annoyed...
 
Old 10-15-2002, 11:12 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You do need to be root when doing the cdrecord -scanbus on some systems.

I do think that you might need a kernel recompile though, do not be afraid, there are many people here who have provided tons of info on this, and would be happy to ask any further questions, or walk you through it.

Yes, usb-storage is already there as it shows from you /var/log/messages.

If you want to blindly try devices in a last ditch effort, try these:

/dev/sda (and 1-4)
/sdb (and 1-4)
/scd0 (and 1-4)

Good luck, but it does look like you might need one

Cool
 
Old 10-15-2002, 11:20 PM   #12
Leonadia
LQ Newbie
 
Registered: Sep 2002
Distribution: Red Hat 9.0
Posts: 9

Original Poster
Rep: Reputation: 0
Yeah,I logged on as root and doing the cdrecord -scanbus

and,I'm afraid that i have tried all the
/dev/sda (and 1-4)
/sdb (and 1-4)
/scd0 (and 1-4)
...
but it still doesn't work...

I think i really need a kernel recompile
It's not a easy work,is it?
 
Old 10-16-2002, 02:45 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well that's relative. Compared to buiding engines, I don't think it's hard

Read through the newbie section, there are loads of posts on it. If you have questions, ask.

It won't be as bad as you think though, most things aren't.

Cool
 
Old 06-26-2003, 04:50 PM   #14
chuck2
Member
 
Registered: Apr 2003
Location: im poor i live in philly
Distribution: slackware 9.1
Posts: 34

Rep: Reputation: 15
in slackware 8.1 ,

heres what i did, enabled ohci or uhci (i forget which one)
enabled usb mass storage
enabled fat vfat and a couple other file systems(for my network and other hard drives)
in /etc/fstab i added the following line

/dev/sda1 /mnt/smedia vfat noauto,owner 0 0

then i made a directory /mnt/smedia

then i modprobe usb-storage and it worked

btw my "pny" smartmedia reader comes up as:
PQI Travel Flash
s/n 4710765066451

maybe this might help someone
 
  


Reply



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 Cardreader erichotto Linux - Hardware 2 06-25-2004 11:48 AM
USB Cardreader CF RW Tomasfuego Linux - Hardware 9 05-11-2004 03:55 PM
usb cardreader/writer godders48 Linux - Hardware 6 11-09-2003 01:54 PM
usb cardreader on RH9.0 barrys Red Hat 3 10-15-2003 10:46 PM
usb cardreader godders48 Mandriva 5 10-04-2003 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration