LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 10-21-2010, 10:53 PM   #1
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Rep: Reputation: 15
cant read sd memory card in ubuntu


ive just installed ubuntu 10.04 x86 on my netbook and everything is working a treat except for the SD card reader

unlike the usb ports, when i insert an sd card it is not mounted or detected

do i need to install anything to enable this?

EDIT: using an acer aspire one netbook

Last edited by JET-33; 10-21-2010 at 11:10 PM. Reason: added make/model of netbook
 
Old 10-21-2010, 11:39 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
How do you know it is not detected? What is the output of (as root):
Code:
/sbin/fdisk -l
mount
--- rod
 
Old 10-21-2010, 11:53 PM   #3
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Original Poster
Rep: Reputation: 15
sudo /sbin/fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xec5d5240

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 96256 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 4268 34180096 83 Linux
/dev/sda3 4268 29799 205078528 83 Linux
/dev/sda4 29799 30402 4841472 82 Linux swap / Solaris




mount
/dev/sda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/sda1 on /boot type ext3 (rw)
/dev/sda3 on /home type ext3 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/xxxxxxxxxxx/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=xxxxxxxxxxx)
 
Old 10-22-2010, 08:35 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Okay, it is not being detected as a removable media. IFAIK, most flash card readers are implemented as part of the USB subsystem. If you run (as root):
Code:
tail -f /var/log/messages
and then plug the card into the reader, do you see any new messages appear as the card is inserted and removed? Also, observe output of dmesg before and after inserting/removing the card. That may reveal something. Has the card reader ever worked, either in the present Linux installation, or under any other OS? Is it possible that the reader has been disabled at the BIOS level?

--- rod.
 
Old 11-27-2010, 11:01 PM   #5
halcyonz
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Question me too!

Not to jump in your thread but I am having what I think is the same problem. Here is my output of
Quote:
dmesg | tail
Code:
[  170.960031] usb 4-1: reset full speed USB device using uhci_hcd and address 2
[  181.224022] usb 4-1: reset full speed USB device using uhci_hcd and address 2
[  197.492019] usb 4-1: reset full speed USB device using uhci_hcd and address 2
[  197.760017] usb 4-1: reset full speed USB device using uhci_hcd and address 2
[  208.024019] usb 4-1: reset full speed USB device using uhci_hcd and address 2
[  208.178082] sd 6:0:0:0: Device offlined - not ready after error recovery
I recently attached a internal SD reader to the motherboard on one of the usb pin stacks. The device is detected in disk utility but will not detect the media inserted. Whenever I restart with media in the reader it hangs at the bios screen, I thought it was because it was attempting to boot from the empty media, however my HDD is set as my first boot device. Updated my kernel and headers to the latest update which install something with apparmour that screwed with the output of dmesg | tail, so I removed every apparmour entry and its back to the output listed above. I do however plan to reinstall apparmour after I figure out this SD problem.

I restarted without the drive attached then inserted it attached it again while powered on after installing usb-modules via synaptic. the new dmesg | tail is this:
Quote:
[ 262.223047] sd 6:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 262.223053] sd 6:0:0:0: [sdb] Sense not available.
[ 262.223061] sd 6:0:0:0: rejecting I/O to offline device
[ 262.223068] sd 6:0:0:0: [sdb] Write Protect is off
[ 262.223072] sd 6:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 262.223076] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 262.223265] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 262.276042] sd 6:0:0:1: [sdc] Attached SCSI removable disk
[ 262.281032] sd 6:0:0:3: [sde] Attached SCSI removable disk
[ 262.363070] sd 6:0:0:2: [sdd] Attached SCSI removable disk


I have officially spent way too much time working on this, but this is what I have so far...
*kernel bug (upgraded to latest)
*usb 2.0 problems (uhci_hcd removal suggested, but that will set everything back to usb 1.1 which is no bueno)
*lack of power (power lines are good, checked continuity with multimeter and led turns on when media is inserted)
*running tail -f /var/log/messages (inserting then removing media did not register i the log)

Last edited by halcyonz; 11-27-2010 at 11:30 PM. Reason: update
 
  


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
VM VirtualBox, Ubuntu 9.10: USB memory stick and SD card not detected... vikramtheone Linux - Newbie 3 06-25-2010 08:31 AM
How can I access memory card of NOKIA 3110C in UBUNTU 9.04 ? alamgir Linux - Newbie 6 06-24-2009 07:46 AM
Acer Aspire One Netbook Memory Card Reader Problems - Ubuntu 8.10 whitey2006 Ubuntu 1 04-29-2009 02:30 AM


All times are GMT -5. The time now is 01:00 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