LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 05-06-2006, 11:17 AM   #1
ender42
LQ Newbie
 
Registered: Jan 2006
Posts: 28

Rep: Reputation: 15
diagnosing usb card-reader non-functionality


So I have some generic USB 2.0 multi (12? 9?) camera card reader.

It used to work just fine. Isn't that how all stories start? Then the auto-detect and GUI mounting went wacky. Sometimes I could get this fixed, sometimes not. I could however get it mounted, and at least copy stuff via commandline.

No longer.

I don't even get it to change from a red-LED to a green-LED when inserting my card. Card works in the camera for storing info, btw.

I've tried with a few other cards (all the same type, however), and nothing...

The last time the device was working, I'd just pulled it out of my computer to put on my friend's windows laptop, and successfully used it to pull data from my card.



So, how do I figure out if it's a hardware issue, or what?


I've got USB power, since the LED on the device is running.

I've tried:
sudo fdisk -l

I get nothing back on the USB stuff, which I assume means it's a hardware issue of some kind this time around...

If I'd gotten something back from fdisk, I should be trying:
sudo mount -t vfat /dev/sda1 /media/camera

If I get this error: mount: special device /dev/sda1 does not exist

I should try:
/etc/init.d/hotplug restart


Any other things I should be trying, as various steps in here?
 
Old 05-06-2006, 01:16 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Restarting the hotplug service is a good idea. Doing this will probably run a /etc/hotplug.d/usb.rc script. This will rmmod and modprobe kernel modules that are used for usb devices. I would recommend, that before you try it, you
  • Open up a terminal and run "sudo tail -f /var/log/messages", so you can watch the messages produced while the hotplug service is restarting.
  • run "sudo /sbin/lsmod >modlist_before.txt"
Afterwards, run "sudo /sbin/lsmod >modlist_after.txt". If restarting hotplugging is successful, and the cause was a missing kernel module, comparing the two lists could tell you which module wasn't being loaded when you boot up.

If you don't see messages in /var/log/messages when inserting the card into the reader, I would look at which usb related kernel modules are not loaded (using lsmod) rather than the setup for hotplugging or the udev configuration.

Last edited by jschiwal; 05-06-2006 at 01:24 PM.
 
  


Reply

Tags
hotplug, usb


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 jumpdrive/ USB hud-card reader issues o0gnubee0o Linux - Hardware 4 07-03-2005 07:12 PM
USB Card Reader Bryanlee Linux - Hardware 4 05-12-2005 06:27 AM
USB multi-card reader; only one card can be mounted in Slack 10. KidsWriter71 Linux - Hardware 6 09-11-2004 08:24 PM
Recognizing USB card reader when card is inserted hqo201 Fedora 0 08-02-2004 06:08 PM
USB card reader bitpicker Linux - Hardware 2 10-20-2003 08:40 AM


All times are GMT -5. The time now is 04:32 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration