LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-13-2005, 05:00 PM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
onboard SD card reader..


Hi all,

I'm on a emachines laptop, and i just edited the kernel to include the following
MMC support enabled (built in),
------- MMC block disk support (built in).

In order to use the onboard SD card reader. But now whenever i stick in an SD card, i get the following output,

dmesg
Code:
usb 1-5: new high speed USB device using ehci_hcd and address 5
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
  Vendor: GENERIC   Model: USB Storage-CFC   Rev: 010D
  Type:   Direct-Access                      ANSI SCSI revision: 00
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
usb-storage: device scan complete
Which to me looks good that it detected something.. But the thing is, it didn't assign it to any /dev/sda1, /dev/sda2 ... . If i ls /dev/sd* i get
/dev/sda
in yellow. Normally when i plug in any usb device, i get /dev/sdaX instead.

Am i missing anything here?

EDIT: Also, silly question, but do i need PCI Hotplug Support for a laptop's PCMCIA slot ?

Last edited by xushi; 07-13-2005 at 05:22 PM.
 
Old 07-13-2005, 05:34 PM   #2
rebelscum
Member
 
Registered: Jul 2005
Distribution: Slackware 10.1
Posts: 44

Rep: Reputation: 15
What kernel are you running? I had similar problems with scsi until I upgraded to 2.6.x series, then all were fixed.
 
Old 07-13-2005, 05:43 PM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by rebelscum
What kernel are you running? I had similar problems with scsi until I upgraded to 2.6.x series, then all were fixed.
Kernel 2.6.12.2.
 
Old 07-13-2005, 06:31 PM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Seem to remember seeing about needing CONFIG_SCSI_MULTI_LUN. Is that enabled?
 
Old 07-13-2005, 06:45 PM   #5
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Nope, but after enabling it and recompiling, it worked (/dev/sdb1)

Many thanks Shilo, here's a dmesg output.

Code:
USB Mass Storage support registered.
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
  Vendor: GENERIC   Model: USB Storage-CFC   Rev: 010D
  Type:   Direct-Access                      ANSI SCSI revision: 00
  Vendor: GENERIC   Model: USB Storage-MMC   Rev: 010D
  Type:   Direct-Access                      ANSI SCSI revision: 00
  Vendor: GENERIC   Model: USB Storage-MSC   Rev: 010D
  Type:   Direct-Access                      ANSI SCSI revision: 00
usb-storage: device scan complete
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 62720 512-byte hdwr sectors (32 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 62720 512-byte hdwr sectors (32 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 00 00 00
sdb: assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun1: p1
Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1
Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2
 
Old 07-13-2005, 06:58 PM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Lucky guess.
 
Old 10-16-2005, 11:16 PM   #7
jjorloff1
Member
 
Registered: Nov 2003
Distribution: Gentoo (I've tried everything twice+)
Posts: 48

Rep: Reputation: 15
I've got a question you all may be able to answer, what do i do exactly to be able to use my onboard SD card reader, I just installed linux and havent had an sd card reader before.

BTW my sd card reader is built into a Dell Inspiron 6000 laptop if that matters.

Last edited by jjorloff1; 10-16-2005 at 11:17 PM.
 
Old 10-17-2005, 07:25 AM   #8
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 2,028

Rep: Reputation: 401Reputation: 401Reputation: 401Reputation: 401Reputation: 401
Quote:
Originally posted by Selebus947
I've got a question you all may be able to answer, what do i do exactly to be able to use my onboard SD card reader, I just installed linux and havent had an sd card reader before.
Which distro? What you need are: hotplug, udev and the abovementioned option (along with USB and SCSI support) enabled in your kernel.

It'll work right out of the box with Suse 10.0. Under Slackware (provided you did a full installation), all the basics are there. As mentioned above, you need to make sure that "CONFIG_SCSI_MULTI_LUN" is enabled in your 2.6 ('cos you're running 2.6, right?) kernel config and the devices should appear as /dev/sd* when you plug them in. Then you just mount them the conventional way.
 
Old 10-17-2005, 10:44 PM   #9
jjorloff1
Member
 
Registered: Nov 2003
Distribution: Gentoo (I've tried everything twice+)
Posts: 48

Rep: Reputation: 15
How exactly can I mount the MMC devices? I dont know what the device is called I went into my hardware info (on suse, YAST) and i got this info for my MMC card reader, but I dont know what it means really, and I still cant find how to mount the card.

48: udi = '/org/freedesktop/Hal/devices/pci_1180_822'
info.udi = '/org/freedesktop/Hal/devices/pci_1180_822'
linux.subsystem = 'pci'
linux.hotplug_type = 1 (0x1)
pci.subsys_product = 'Inspiron 6000 laptop'
pci.subsys_vendor = 'Dell'
info.product = 'R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter'
pci.product = 'R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter'
info.vendor = 'Ricoh Co Ltd'
pci.vendor = 'Ricoh Co Ltd'
pci.device_protocol = 1 (0x1)
pci.device_subclass = 5 (0x5)
pci.device_class = 8 (0x8)
pci.subsys_vendor_id = 4136 (0x1028)
pci.subsys_product_id = 392 (0x188)
pci.vendor_id = 4480 (0x1180)
pci.product_id = 2082 (0x822)
pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:03:01.2'
info.parent = '/org/freedesktop/Hal/devices/pci_8086_2448'
info.bus = 'pci'
linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:1e.0/0000:03:01.2'
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:03:01.2'
 
Old 10-18-2005, 02:17 AM   #10
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 2,028

Rep: Reputation: 401Reputation: 401Reputation: 401Reputation: 401Reputation: 401
Quote:
Originally posted by Selebus947
How exactly can I mount the MMC devices? I dont know what the device is called I went into my hardware info (on suse, YAST) and i got this info for my MMC card reader, but I dont know what it means really, and I still cant find how to mount the card.
As per my previous post, they should appear as /dev/sd* entries. Since you're using Suse (BTW - this is the Slackware forum) upgrade to the latest version which uses the new HAL & DBUS combination to make all this stuff "just work".
 
  


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
Smart card reader (PCI) with open pgp card cracidy Linux - Hardware 0 10-24-2005 03:34 AM
HP Photosmart 7550 w/ Flash Card Reader on Suse 9.3. Card Reader and Print Sharing Desert Linux - Hardware 0 07-25-2005 09:25 PM
onboard SD card reader? danimal87 Linux - Newbie 1 06-18-2005 09:13 PM
onboard sd card reader for mega 180 on fedora core 3 Crayoneater Linux - Hardware 0 04-28-2005 06:50 PM
USB multi-card reader; only one card can be mounted in Slack 10. KidsWriter71 Linux - Hardware 6 09-11-2004 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration