LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-13-2012, 09:12 PM   #1
Grischuna
Member
 
Registered: Mar 2009
Distribution: Slackware64 14.0 multilib
Posts: 44

Rep: Reputation: 0
Realtek USB SD Card reader with Kernel 3.2.7 not working


Hello,

I have an issue with my internal Realtek USB SD Card reader under Kernel 3.2.7.

Here what I can see about the reader

Code:
lsusb
Bus 001 Device 007: ID 0bda:0159 Realtek Semiconductor Corp. Digital Media Card Reader
Here the output when I plug a SD card into the reader

Code:
Mar 13 21:04:29 S10-2 kernel: [ 2267.292245] usb 1-4: USB disconnect, device number 7
Mar 13 21:04:30 S10-2 kernel: [ 2267.524197] usb 1-4: new high-speed USB device number 8 using ehci_hcd
Mar 13 21:04:30 S10-2 kernel: [ 2267.651673] usb 1-4: New USB device found, idVendor=0bda, idProduct=0159
Mar 13 21:04:30 S10-2 kernel: [ 2267.651693] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 13 21:04:30 S10-2 kernel: [ 2267.651707] usb 1-4: Product: USB2.0-CRW
Mar 13 21:04:30 S10-2 kernel: [ 2267.651717] usb 1-4: Manufacturer: Generic
Mar 13 21:04:30 S10-2 kernel: [ 2267.651728] usb 1-4: SerialNumber: 20071114173400000
I checked the forum and the web with the device id but I only found treads that speak about pci cards but this one is USB.

So how can I mount now this card? What am I doing wrong? A normal USB key is working fine as you can see below

Code:
Mar 13 21:07:37 S10-2 kernel: [ 2454.439207] usb 1-2: new high-speed USB device number 9 using ehci_hcd
Mar 13 21:07:40 S10-2 kernel: [ 2457.578711] usb 1-2: New USB device found, idVendor=090c, idProduct=1000
Mar 13 21:07:40 S10-2 kernel: [ 2457.578741] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 13 21:07:40 S10-2 kernel: [ 2457.578760] usb 1-2: Product: USB DISK
Mar 13 21:07:40 S10-2 kernel: [ 2457.578774] usb 1-2: Manufacturer: SMI Corporation
Mar 13 21:07:40 S10-2 kernel: [ 2457.578788] usb 1-2: SerialNumber: AA04012700008923
Mar 13 21:07:40 S10-2 kernel: [ 2457.582533] scsi9 : usb-storage 1-2:1.0
Mar 13 21:07:41 S10-2 kernel: [ 2458.583806] scsi 9:0:0:0: Direct-Access     SMI      USB DISK         1100 PQ: 0 ANSI: 0 CCS
Mar 13 21:07:41 S10-2 kernel: [ 2458.587192] sd 9:0:0:0: Attached scsi generic sg1 type 0
Mar 13 21:07:41 S10-2 kernel: [ 2458.593491] sd 9:0:0:0: [sdb] 3915776 512-byte logical blocks: (2.00 GB/1.86 GiB)
Mar 13 21:07:41 S10-2 kernel: [ 2458.595894] sd 9:0:0:0: [sdb] Write Protect is off
Mar 13 21:07:41 S10-2 kernel: [ 2458.603755]  sdb: sdb1
Mar 13 21:07:41 S10-2 kernel: [ 2458.606503] sd 9:0:0:0: [sdb] Attached SCSI removable disk
All this is running on a Lenovo S10-2 with Slackware-current and Kernel 3.2.7. Tell me if you need any more info.

Any help, hint, link, or other tipp would be appreciated. There is no Windows installed so I am not able to test it under another OS.

Regards,
Grischuna
 
Old 03-13-2012, 09:52 PM   #2
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-13
Posts: 247

Rep: Reputation: 40
Did you configure your own Kernel? Is the Realtek USB mass storage driver enabled?
 
Old 03-13-2012, 10:30 PM   #3
Grischuna
Member
 
Registered: Mar 2009
Distribution: Slackware64 14.0 multilib
Posts: 44

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by em21701 View Post
Did you configure your own Kernel? Is the Realtek USB mass storage driver enabled?
Hello Eric,

I use the kernel coming with Slackware-current (3.2.7 as of writing this tread). Upgraded by using slackpkg.

But with your idea you helped me really looking into the right direction. I just downgraded to the original Slackware 13.37 kernel (2.6.37.6) and it works as you can see below. So tomorrow I will check the selected drivers in the kernel to see if there is a difference.

Code:
Mar 13 22:28:27 S10-2 kernel: [  355.958183] usb 1-4: new high speed USB device using ehci_hcd and address 7
Mar 13 22:28:28 S10-2 kernel: [  356.084602] usb 1-4: New USB device found, idVendor=0bda, idProduct=0159
Mar 13 22:28:28 S10-2 kernel: [  356.084620] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 13 22:28:28 S10-2 kernel: [  356.084634] usb 1-4: Product: USB2.0-CRW
Mar 13 22:28:28 S10-2 kernel: [  356.084643] usb 1-4: Manufacturer: Generic
Mar 13 22:28:28 S10-2 kernel: [  356.084653] usb 1-4: SerialNumber: 20071114173400000
Mar 13 22:28:28 S10-2 kernel: [  356.091753] scsi10 : usb-storage 1-4:1.0
Mar 13 22:28:29 S10-2 kernel: [  357.095832] scsi 10:0:0:0: Direct-Access     Generic- Multi-Card       1.00 PQ: 0 ANSI: 0 CCS
Mar 13 22:28:29 S10-2 kernel: [  357.097148] sd 10:0:0:0: Attached scsi generic sg1 type 0
Mar 13 22:28:29 S10-2 kernel: [  357.725822] sd 10:0:0:0: [sdb] 3970048 512-byte logical blocks: (2.03 GB/1.89 GiB)
Mar 13 22:28:29 S10-2 kernel: [  357.727135] sd 10:0:0:0: [sdb] Write Protect is on
Mar 13 22:28:29 S10-2 kernel: [  357.760825]  sdb: sdb1
Mar 13 22:28:29 S10-2 kernel: [  357.763218] sd 10:0:0:0: [sdb] Attached SCSI removable disk
Cheers,
Grischuna
 
Old 03-17-2012, 12:02 PM   #4
Grischuna
Member
 
Registered: Mar 2009
Distribution: Slackware64 14.0 multilib
Posts: 44

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by em21701 View Post
Did you configure your own Kernel? Is the Realtek USB mass storage driver enabled?
Yes, the Realtek driver is set as built-in driver. I found another difference between kernel 2.6.37.6 and 3.2.7 in the USB part but even with the below two drivers built in the SD card got not detected.

Code:
[ ]     USB device filesystem (DEPRECATED)  
[ ]     USB device class-devices (DEPRECATED)
Now I upgraded to kernel 3.2.11 with the config file from the -current kernel 3.2.7 without any change and it works.

I'm happy because I use my netbook for traveling and store my picture on it and don't like to carry an additional external SD card reader with me.

Cheers,
Grischuna
 
  


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 device detection, manual insertion card(smart card) reader problem, zapkhiel Linux - Hardware 4 07-17-2009 09:50 AM
Realtek card not working buckdog Linux - Software 6 05-02-2009 02:59 PM
MEPIS: how to mount a flash card in an usb card reader for n00b frenchn00b Linux - General 1 08-06-2008 06:26 PM
Internal card reader not working, continually spawning new USB devices MS3FGX Linux - Hardware 2 12-07-2007 07:37 AM
USB Multi-card Flash Reader in Kernel 2.6.19 sausagejohnson Linux - Hardware 20 02-01-2007 09:20 PM


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