LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Realtek USB SD Card reader with Kernel 3.2.7 not working (https://www.linuxquestions.org/questions/slackware-14/realtek-usb-sd-card-reader-with-kernel-3-2-7-not-working-934316/)

Grischuna 03-13-2012 08:12 PM

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

em21701 03-13-2012 08:52 PM

Did you configure your own Kernel? Is the Realtek USB mass storage driver enabled?

Grischuna 03-13-2012 09:30 PM

Quote:

Originally Posted by em21701 (Post 4626218)
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

Grischuna 03-17-2012 11:02 AM

Quote:

Originally Posted by em21701 (Post 4626218)
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


All times are GMT -5. The time now is 11:46 PM.