Having a hard time with my micro SD card

Archived topics about LMDE 1 and LMDE 2
Locked
wyrdoak

Having a hard time with my micro SD card

Post by wyrdoak »

It plugs in to the regular SD card reader with an adapter, tried it in win7 to make sure it wasn't a hardware problem, so it works. EDIT: when plugged into the ereader it reads as /media/6A83-0527 and the ereader as a separate drive

Code: Select all

wyrdoak@wyrdoak_xfce ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 04f2:b175 Chicony Electronics Co., Ltd 4-Port Hub
Bus 001 Device 008: ID 0cf2:6250 ENE Technology, Inc. SD card reader (UB6250)
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 007: ID 046d:c52f Logitech, Inc. Wireless Mouse M305

Code: Select all

wyrdoak@wyrdoak_xfce ~/Downloads/keucr $ su
Password: 
wyrdoak_xfce keucr # make -C /usr/src/linux-headers-`uname -r` M=`pwd`
make: Entering directory `/usr/src/linux-headers-3.1.0-4.dmz.1-liquorix-686'
  CC [M]  /home/wyrdoak/Downloads/keucr/usb.o
/home/wyrdoak/Downloads/keucr/usb.c: In function ‘get_transport’:
/home/wyrdoak/Downloads/keucr/usb.c:263:7: error: ‘US_PR_BULK’ undeclared (first use in this function)
/home/wyrdoak/Downloads/keucr/usb.c:263:7: note: each undeclared identifier is reported only once for each function it appears in
/home/wyrdoak/Downloads/keucr/usb.c: In function ‘get_protocol’:
/home/wyrdoak/Downloads/keucr/usb.c:287:7: error: ‘US_SC_SCSI’ undeclared (first use in this function)
/home/wyrdoak/Downloads/keucr/usb.c: In function ‘get_pipes’:
/home/wyrdoak/Downloads/keucr/usb.c:338:44: error: ‘US_PR_CBI’ undeclared (first use in this function)
/home/wyrdoak/Downloads/keucr/usb.c: In function ‘usb_stor_scan_thread’:
/home/wyrdoak/Downloads/keucr/usb.c:486:23: error: ‘US_PR_BULK’ undeclared (first use in this function)
make[1]: *** [/home/wyrdoak/Downloads/keucr/usb.o] Error 1
make: *** [_module_/home/wyrdoak/Downloads/keucr] Error 2
make: Leaving directory `/usr/src/linux-headers-3.1.0-4.dmz.1-liquorix-686'
wyrdoak_xfce keucr # sudo make -C /usr/src/linux-headers-`uname -r` O=/lib/modules/`uname -r`/build M=`pwd` modules_install
make: Entering directory `/usr/src/linux-headers-3.1.0-4.dmz.1-liquorix-686'
  DEPMOD  3.1.0-4.dmz.1-liquorix-686
make: Leaving directory `/usr/src/linux-headers-3.1.0-4.dmz.1-liquorix-686'
wyrdoak_xfce keucr # sudo depmod -a
wyrdoak_xfce keucr # sudo update-initramfs -u -k `uname -r`
update-initramfs: Generating /boot/initrd.img-3.1.0-4.dmz.1-liquorix-686
wyrdoak_xfce keucr # lsmod
Module                  Size  Used by
keucr                  56276  0 
acpi_cpufreq            8965  1 
mperf                   1235  1 acpi_cpufreq
cpufreq_userspace       1827  0 
cpufreq_ondemand        5480  2 
cpufreq_stats           2628  0 
freq_table              3331  3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
cpufreq_conservative     4723  0 
cpufreq_powersave        734  0 
parport_pc             28077  0 
ppdev                   4902  0 
lp                      7454  0 
parport                31046  3 parport_pc,ppdev,lp
rfcomm                 30292  14 
bnep                    9219  2 
ipv6                  278966  30 
af_packet              19902  2 
zram                    9000  2 
binfmt_misc             6195  1 
microcode               9258  0 
uinput                  6041  1 
fuse                   61874  3 
coretemp                5038  0 
loop                   15678  0 
dm_crypt               14000  0 
dm_mod                 65601  1 dm_crypt
snd_hda_codec_realtek   229375  1 
cryptd                  7859  0 
aes_i586                7248  1 
aes_generic            26619  1 aes_i586
snd_hda_intel          20649  4 
snd_hda_codec          80819  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5236  1 snd_hda_codec
snd_pcm_oss            33934  0 
snd_mixer_oss          13075  2 snd_pcm_oss
ecb                     1627  1 
snd_pcm                67942  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
btusb                  10464  2 
snd_seq_dummy           1350  0 
snd_seq_oss            25186  0 
snd_seq_midi            4556  0 
rtc_cmos                8101  0 
snd_rawmidi            18116  1 snd_seq_midi
snd_seq_midi_event      5759  2 snd_seq_oss,snd_seq_midi
snd_seq                44391  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              17427  2 snd_pcm,snd_seq
uvcvideo               58345  0 
videodev               83891  1 uvcvideo
media                  11095  2 uvcvideo,videodev
joydev                  8213  0 
snd_seq_device          5241  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
arc4                    1133  2 
bluetooth             136496  23 rfcomm,bnep,btusb
pcspkr                  1434  0 
snd                    52866  18 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
ath9k                  77971  0 
mac80211              208288  1 ath9k
ath9k_common            2355  1 ath9k
ath9k_hw              309847  2 ath9k,ath9k_common
ath                    14112  2 ath9k,ath9k_hw
cfg80211              159812  3 ath9k,mac80211,ath
iTCO_wdt               10388  0 
iTCO_vendor_support     2390  1 iTCO_wdt
soundcore               6599  2 snd
snd_page_alloc          6896  2 snd_hda_intel,snd_pcm
acer_wmi               17880  0 
sparse_keymap           3470  1 acer_wmi
rfkill                 14545  5 bluetooth,cfg80211,acer_wmi
i2c_i801                7419  0 
psmouse                61803  0 
serio_raw               3606  0 
wmi                     8602  1 acer_wmi
battery                 9237  0 
evdev                   7525  23 
ac                      2616  0 
processor              24059  1 acpi_cpufreq
ext4                  376395  1 
mbcache                 5733  1 ext4
jbd2                   70811  1 ext4
crc16                   1351  2 bluetooth,ext4
btrfs                 598898  0 
zlib_deflate           19269  1 btrfs
crc32c                  2371  1 
libcrc32c                919  1 btrfs
usbhid                 32801  0 
hid                    70991  1 usbhid
ums_eneub6250          14527  0 
usb_storage            39504  1 ums_eneub6250
i915                  518607  4 
sd_mod                 33206  3 
drm_kms_helper         27716  1 i915
drm                   180990  5 i915,drm_kms_helper
ahci                   18100  2 
libahci                20109  1 ahci
libata                173853  2 ahci,libahci
uhci_hcd               19940  0 
i2c_algo_bit            4720  1 i915
ehci_hcd               37975  0 
atl1c                  28836  0 
intel_agp               9305  1 i915
i2c_core               21493  6 videodev,i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
intel_gtt              12994  3 i915,intel_agp
agpgart                28259  3 drm,intel_agp,intel_gtt
fan                     1931  0 
thermal                 7026  0 
video                  10810  1 i915
button                  4185  1 i915
wyrdoak_xfce keucr # modprobe -l keucr
kernel/drivers/staging/keucr/keucr.ko
wyrdoak_xfce keucr # ls /lib/modules/`uname -r`/build/extra
ls: cannot access /lib/modules/3.1.0-4.dmz.1-liquorix-686/build/extra: No such file or directory
wyrdoak_xfce keucr # 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Oscar799
Level 20
Level 20
Posts: 10414
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: Having a hard time with my micro SD card

Post by Oscar799 »

Moved here from the main forum
Image
wyrdoak

Re: Having a hard time with my micro SD card

Post by wyrdoak »

Sorry Oscar799,LMDE's hardware support slipped my mine when I posted. :oops:
Lanser

Re: Having a hard time with my micro SD card

Post by Lanser »

Hi wyrdoak. Seen this before on some of my SD cards. What format are you using ?

Lanser
wyrdoak

Re: Having a hard time with my micro SD card

Post by wyrdoak »

I'm using fat 32, for that is what the ereader is using. It's funny when ported to the ereader the system finds it, but not when using the SD micro adapter in the SD reader, I've been thinking it is a driver issue for the adapter that lets me use the SD reader for the micro SD card.

Been using the 8gb SD micro card for movies, music and pictures and the built in memory for ebooks. Didn't know I could listen to mp3s while reading, before I bought it. The user manual told me it would play flv videos, but the video converter I was using for my Walkman told me it would play m4v files also. Still looking for a good video converter for Linux.

The SD micro card is only the size of my little finger nail, it slips into the SD adapter so it will fit in the SD card reader.
Lanser

Re: Having a hard time with my micro SD card

Post by Lanser »

Strange. SD and micro SD are pretty much the same apart from the physical size.
My guess is that your adapter doesn't pass all the connections through. I had two adapters, one worked 100% and the other was intermittent. ( went to ewaste )
The way I use to check out memory cards is to re-format to ext2. Then format back to fat32 and see if it is recognised.
If it works OK under ext2, but not fat32 you at least know that the HW is OK.

Lanser
wyrdoak

Re: Having a hard time with my micro SD card

Post by wyrdoak »

Well I finally found someone willing to lend me a SD Card to bench with, and now I believe it probably has something to do with the ums_eneub6250 mod just not driving my ENE SD Card reader correctly. For if I plugin any other device to read the SD card the card is read correctly.

It's beyond my knowhow at the moment to try to build a keucr mod for the newer kernel and replace the ums_eneub6350 mod with it.[then only a maybe it will work]

From what I've seen so far, there are still a lot of problems with this card reader. And the kernel developers are under the delusion that it was install on a few machines anyway. If they would bother to do as the rest of us and actually have to research a problem they would see how more widely spread the problem is in numerous systems of this class.

From what I've seen though the Linux Kernel bug site seems to go to the same school for etiquette as the Debian site, of course they are a little better by blaming the hardware manufacturer and not the stupid posters. :lol:
Locked

Return to “LMDE Archive”