unable to enumerate SD card

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

unable to enumerate SD card

Postby gonzobilbao on Sun Dec 16, 2012 9:58 pm

Hi!

I got this problem using ubuntu 12.04, fedora 17 and linux mint 13 and 14 on my hp ENVY 4 1050ca
cannot read SD cards when plugged to an external reader, or when plugged directly to the built in card reader.
dmesg shows the following message

Code: Select all
unable to enumerate device on port x
(by x I mean the port it is plugged to)

gparted and disk utility do not recognize SD devices as well.

Curiosly, when my card is plugged to the external reader and I plug a second USB device, it automounts and it is read with no problem; also if it is plugged to the external reader at the moment of powering the computer it automounts... but the if it is unplugged it doesn't work anymore.

My windows partition is able to recognize de SD device with no problems though (both using the built-in and the external reader.

Hope anybody has an idea of what to do, i have been trying to solve this for a bunch of months now!!

Thanks!
gonzobilbao
Level 1
Level 1
 
Posts: 16
Joined: Wed Jun 06, 2012 6:47 am

Linux Mint is funded by ads and donations.
 

Re: unable to enumerate SD card

Postby TheForumTroll on Sun Dec 16, 2012 10:25 pm

Have you looked at this: http://www.geekdevs.com/2010/04/solved-unable-to-enumerate-usb-device-disabling-ehci_hcd/ ? Guessing your card reader uses USB.
PC: Intel I5-2500K || ASUS Sabertooth P67 || 4GB Corsair XMS3 || Gainward GTX 460 GS-GLH || OCZ Vertex 3 || Noctua NH-D14 || Corsair HX 750W || NZXT PanzerBox || Zalman ZM-MFC1+ || ASUS VW246H || Microsoft SideWinder X6 || Logitech G9 Lazer
TheForumTroll
Level 2
Level 2
 
Posts: 58
Joined: Tue Aug 21, 2012 3:47 am

Re: unable to enumerate SD card

Postby gonzobilbao on Mon Dec 17, 2012 9:04 pm

I have tried everything on the post, but nothing is working so far.
I got this output when trying modprobe -r ehci_hcd

Code: Select all
FATAL: Module ehci_hcd is builtin


is there any other way to disable ehci_hcd?
gonzobilbao
Level 1
Level 1
 
Posts: 16
Joined: Wed Jun 06, 2012 6:47 am

Re: unable to enumerate SD card

Postby TheForumTroll on Tue Dec 18, 2012 11:01 am

I haven't tested it but the post mention a solution to your problem.

Since Karmic doesn’t use ehci_hcd as a module, modprobe -r ehci_hcd no longer works. The module is compiled into kernel.


There are some commands in the last part of the article that should fix it, but I have no idea what they do. Maybe someone who knows script-fu can chime in :|
PC: Intel I5-2500K || ASUS Sabertooth P67 || 4GB Corsair XMS3 || Gainward GTX 460 GS-GLH || OCZ Vertex 3 || Noctua NH-D14 || Corsair HX 750W || NZXT PanzerBox || Zalman ZM-MFC1+ || ASUS VW246H || Microsoft SideWinder X6 || Logitech G9 Lazer
TheForumTroll
Level 2
Level 2
 
Posts: 58
Joined: Tue Aug 21, 2012 3:47 am

Re: unable to enumerate SD card

Postby gonzobilbao on Tue Dec 18, 2012 9:21 pm

None them have worked so far. According to the article I should get one code such as sudo
Code: Select all
sh -c 'echo -n "0000:00:xx.x" > unbind'
, (where xx.x are number and letters) but I get two

Code: Select all
0000:00:1a.0  0000:00:1d.0  bind  module  new_id  remove_id  uevent  unbind


so i've used each, but still, no result...
gonzobilbao
Level 1
Level 1
 
Posts: 16
Joined: Wed Jun 06, 2012 6:47 am

Does the Envy 4-1050ca Support Virtualization

Postby Doctor_Pi on Wed Dec 19, 2012 3:35 pm

Dear gonzobilbao,

Sorry for hijacking your thread here, but I didn't where to ask this question.

Does the Envy 4-1050ca support Intel's virtualization technologies (VT-x and VT-d)?

Ivan
Doctor_Pi
Level 1
Level 1
 
Posts: 3
Joined: Wed Dec 19, 2012 3:10 pm

Re: unable to enumerate SD card

Postby AlbertP on Wed Dec 19, 2012 3:41 pm

@ Doctor_Pi: Please open a new topic. It may be in Newbie Questions if you don't know where else to post it. There please use New Topic button. Probably you didn't see the button at first because you were not logged in yet.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6514
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: unable to enumerate SD card

Postby TheForumTroll on Wed Dec 19, 2012 10:02 pm

Have you tried comparing what happens when you mount it alone and together with something else? (Working vs. not working)


Code: Select all
tail -f /var/log/syslog

Then insert it.

EDIT: That should show you if it uses ehci_hcd or something else (uhci_hcd?):

usb 1-1.5: new high-speed USB device number 5 using ehci_hcd



@Doctor_Pi: Next time please create a new topic. But anyways, yes it does.
PC: Intel I5-2500K || ASUS Sabertooth P67 || 4GB Corsair XMS3 || Gainward GTX 460 GS-GLH || OCZ Vertex 3 || Noctua NH-D14 || Corsair HX 750W || NZXT PanzerBox || Zalman ZM-MFC1+ || ASUS VW246H || Microsoft SideWinder X6 || Logitech G9 Lazer
TheForumTroll
Level 2
Level 2
 
Posts: 58
Joined: Tue Aug 21, 2012 3:47 am

Re: unable to enumerate SD card

Postby gonzobilbao on Mon Dec 31, 2012 10:06 am

Hi everyone


I have tried what you said TheForumTroll, here is the output

Code: Select all
usb 3-1: new full-speed USB device number 4 using xhci_hcd
usb 3-1: Device not responding to set address.
usb 3-1: Device not responding to set address.
usb 3-1: device not accepting address 4, error -71
hub 3-0:1.0: unable to enumerate USB device on port 1


plugging the device directly to the built-in card reader nothing comes out like this.

Cheers!
gonzobilbao
Level 1
Level 1
 
Posts: 16
Joined: Wed Jun 06, 2012 6:47 am

Re: unable to enumerate SD card

Postby gonzobilbao on Thu Jan 10, 2013 5:44 am

any clue on this? thanks!
gonzobilbao
Level 1
Level 1
 
Posts: 16
Joined: Wed Jun 06, 2012 6:47 am

Re: unable to enumerate SD card

Postby AlbertP on Thu Jan 10, 2013 2:54 pm

Please post the outputs of these commands:
Code: Select all
lspci
lsusb
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6514
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: unable to enumerate SD card

Postby gonzobilbao on Sun Jan 13, 2013 11:02 am

ok, so to lsusb

Code: Select all
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 1bcf:2c0e Sunplus Innovation Technology Inc.


and to lspci

Code: Select all
00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)
01:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 0a)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
gonzobilbao
Level 1
Level 1
 
Posts: 16
Joined: Wed Jun 06, 2012 6:47 am

Re: unable to enumerate SD card

Postby AlbertP on Sun Jan 13, 2013 4:22 pm

Code: Select all
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)

That seems to be your built-in cardreader. There is currently no support for this one on Linux.

Could you try connecting the USB cardreader to a USB 2.0 port instead of a 3.0 one? Or do you have a laptop with only 3.0 ports?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6514
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: unable to enumerate SD card

Postby gonzobilbao on Tue Jan 15, 2013 10:40 pm

Still does not work as expected. But same as I said in the beggining of this thread, when I plug the USB card reader to any port, nothing happens, but if then I plug a USB stick to any of the ports left, the card reader is detected and the SDcard mounted.

Cheers
gonzobilbao
Level 1
Level 1
 
Posts: 16
Joined: Wed Jun 06, 2012 6:47 am

Re: unable to enumerate SD card

Postby AlbertP on Wed Jan 16, 2013 7:14 am

What's the problem with that? It's quite normal for cardreaders to be detected only as soon as a card is inserted. Or do you mean it only works if you insert the card before connecting the reader?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6514
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: unable to enumerate SD card

Postby gonzobilbao on Sat Jan 19, 2013 8:01 pm

AlbertP wrote:What's the problem with that? It's quite normal for cardreaders to be detected only as soon as a card is inserted. Or do you mean it only works if you insert the card before connecting the reader?



What I mean with that is that when my SD cards are inserted using a USB reader nothin happens. BUT if then I plug in a SECOND USB device (i.e a memory stick) to any of the remaining ports then the card will be detected and mounted.
gonzobilbao
Level 1
Level 1
 
Posts: 16
Joined: Wed Jun 06, 2012 6:47 am

Re: unable to enumerate SD card

Postby MikeL on Wed Jan 23, 2013 11:24 pm

I just solved my own SD card reader problem with a Realtek 5229. Fortunately, Realtek provides a linux driver for mine. Yours seems to be a similar issue, so I checked Realtek's site, but I did not see the same sort of fix available. I did look a couple minutes longer and found:

http://www.pclinuxos.com/forum/index.php?topic=109447.0

It looks like nearly the same steps and went pretty smooth when I did mine. Hope it works for you.
MikeL
Level 1
Level 1
 
Posts: 2
Joined: Wed Jan 23, 2013 10:48 pm

[SOLVED]Re: unable to enumerate SD card (realtek semicond. 5

Postby gonzobilbao on Tue Feb 05, 2013 6:06 pm

WOW i' m impressed, it worked perfectly, quick and easy!!! Have been looking for something for months now, wonderful!! Thanks!! :D
gonzobilbao
Level 1
Level 1
 
Posts: 16
Joined: Wed Jun 06, 2012 6:47 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Mute Ant, yuanclo and 34 guests