in built memory card in linux

Status
Not open for further replies.
S

sariq

Guest
after installation ubuntu on my laptop all hardware are working without any driver except 4-in-1 Memory Card reader. even usb bluetooth dongle works without any driver.

so, is there any way to get inbuilt memory card reader working?
 

eddie

El mooooo
Open a terminal window. Stick in a memory card in the reading device and on the terminal window, type "dmesg" (without quotes). Post the out put of last 15 lines. What make or model is this reader of yours? Also how are you connecting the reader to the computer? USB?
 
OP
S

sariq

Guest
here is the output of last 15 lines, and it is internal card reader of laptop.
[17179642.004000] ISO 9660 Extensions: Microsoft Joliet Level 3
[17179642.072000] ISOFS: changing to secondary root
[17179657.004000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x06 ascq: 0x00
[17179657.024000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x06 ascq: 0x00
[17179657.048000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x06 ascq: 0x00
[17179657.068000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x06 ascq: 0x00
[17179657.088000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x06 ascq: 0x00
[17179657.100000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x06 ascq: 0x00
[17179659.104000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x06 ascq: 0x00
[17179659.124000] hdb: error code: 0x70 sense_key: 0x02 asc: 0x06 ascq: 0x00
[17179689.876000] CSLIP: code copyright 1989 Regents of the University of California
[17179689.892000] PPP generic driver version 2.4.2
[17179696.480000] PPP BSD Compression module registered
[17179696.552000] PPP Deflate Compression module registered
[17179927.876000] ibm_acpi: ec object not found
 

eddie

El mooooo
Hmm...it is not detecting the inserted card at all. You did insert a memory card before you took the output, right?

If yes, then save your whole dmesg output to a file, upload it someplace and link us to it. Also, what is the make and model of your laptop.
 

eddie

El mooooo
Ok...looks like your card reader is being recognised. Give us the output of "sudo lspci".
 
OP
S

sariq

Guest
@ubuntu:~$ sudo lspci
Password:
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express P rocessor to DRAM Controller (rev 04)
0000:00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GM L Express Graphics Controller (rev 04)
0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Expre ss Graphics Controller (rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Famil y) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Famil y) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Famil y) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Famil y) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Famil y) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FR W (ICH6 Family) AC'97 Audio Controller (rev 04)
0000:00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family ) IDE Controller (rev 04)
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
0000:01:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Control ler (rev c0)
0000:01:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C /8139C+ (rev 10)
0000:01:02.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)
0000:01:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10)
0000:01:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader C ontroller (rev 01)
0000:01:04.2 0805: ENE Technology Inc ENE PCI Secure Digital Card Reader Control ler (rev 01)
0000:01:04.4 FLASH memory: ENE Technology Inc: Unknown device 0551 (rev 01)
 

eddie

El mooooo
execute command "lsmod" and see if you have "yenta" module loaded or not. if not, load the module by passing command "sudo modprobe yenta". If it shows that you don't have the module, then you might need to recompile the kernel. Also try getting the latest kernel (2.6.18 ) as it has brought some enhancements as far as PCI cardbus are concerned.
 

mehulved

18 Till I Die............
eddie said:
Also try getting the latest kernel (2.6.18 ) as it has brought some enhancements as far as PCI cardbus are concerned.
How feasible is that for a newbie? I don't think it will be available in the portage so soon.
 

eddie

El mooooo
Portage as in gentoo or portage as in Ubuntu package system? I have no idea how Ubuntu works its package system and how soon it provides new kernel but I am just telling him how he can get Yenta-EnE based cardbus working. AFAIK Linux started supporting a few proprietary manufacturers like Texas Instruments and Yenta since 2.6.17 only. So I don't have any suggestion but to upgrade kernel... :-|
 

mehulved

18 Till I Die............
Oops I meant repositories. Ubuntu is stuck on kernel 2.6.16-23. I don't really know if newer kernel is available. Actually, I am presently using 2.6.17 compiled from source.
Hmm well I guess we can then just redirect him to *www.ubuntuforums.org/showthread.php?t=217657 where kernel compilation is well explained.
 
OP
S

sariq

Guest
???
it is recognised in device manager:
ENE PCI Secure Digital Card Reader controller
>>device
Vendor: ENE Technology Inc
Device : ENE PCI Secure Digital Card Reader
status : status
bus type: PCI
device type : unknown
capabilities : unknown
>>PCI
vendor: ENE Technology Inc
product: ENE PCI Secure Digital Card Reader
OEM Vendor: Lenovo
OEM product: Unknown (0x2077)

lsmod out put attached
 
Last edited by a moderator:

mehulved

18 Till I Die............
As eddie said just type lsmod in the terminal and see if you can find yenta in there? If yes that's really good.
This command should make it easier
Code:
lsmod | grep yenta
If it gives any output give it here if you get no result, then best way is to compile a new kernel as explained in the thread I posted.
 
OP
S

sariq

Guest
yes there is some output:
Code:
sariq@ubuntu:~$ lsmod |grep yenta
yenta_socket           28428  1
rsrc_nonstatic         13440  1 yenta_socket
pcmcia_core            42640  3 pcmcia,yenta_socket,rsrc_nonstatic
sariq@ubuntu:~$
 
Last edited by a moderator:

mehulved

18 Till I Die............
OK so module is present and loaded. Let me see if I can find what's going wrong now or wait for eddie to help further.
 

eddie

El mooooo
Hmm...looks like module is present and loaded. Try to see if udev is creating the require device or not. Type this command in a terminal window and post output
Code:
ls -l /dev/sd*
 
OP
S

sariq

Guest
sariq@ubuntu:~$ ls -l /dev/sd*
ls: /dev/sd*: No such file or directory
sariq@ubuntu:~$
 

eddie

El mooooo
The device is not being created. Well there are no two ways about it. You have to upgrade kernel as there has been various fixes in Yenta module since 2.6.15. Here is the changelog...
Code:
    [PATCH] yenta: make bridge specific init code configurable
    
    Make the bridge specific initialization code config options depending on
    CONFIG_EMBEDDED. Config options for TI/EnE, Toshiba, Ricoh and O2Micro are
    available. Disabling all of the specific tweaks cuts off more than half
    of yenta_socket.ko.
    
    Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
    Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

    [PATCH] yenta: optimize interrupt handler
    
    Don't waste cpu time in yenta interrupt handler when the interrupt was for
    another device.
    
    Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
    Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
    
    [PATCH] PCI: quirk for IBM Dock II cardbus controllers
    
    The IBM Dock II cardbus bridges require some extra configuration
    before Yenta is loaded in order to setup the Interrupts to be
    routed properly.
    
    Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    [PATCH] yenta: fix hidden PCI bus numbers
    
    Fixup the subordinate number parent bridge of yenta Cardbus Bridges
    before the PCI bus scan starts to make the cardbus cards which are
    otherwise hidden for PCI scans work.
    
    Signed-off-by: Bernhard Kaindl <bk@suse.de>
    Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

    [PATCH] yenta: do power-up only after socket is configured
    
    Power-up the card only after the socket is configured. power-down in
    the old place. The point is not to power-up the card before the interrupt
    routing is set up correctly.
    
    Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
    Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
 
OP
S

sariq

Guest
how to update kernal, i tried using system>>administration>>update manager

it shows one error:
Could not download all repository indexes
The repository might be no longer available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and the correct writing of the repository address in the preferences.
Code:
*archive.ubuntu.com/ubuntu/dists/dapper/multiverse/source/Sources.gz: Sub-process gzip returned an error code (1)

and after that Your system is up-yo-date
in first attempt 6 updates were made like firefox 1.5.0.7 etc.
 

JGuru

Wise Old Owl
See my post Unleash the Power of Ubuntu 6.06. Click here

Under the heading Base System, Base System (Restricted), and
Base System (Universe). I have specified the Ubuntu Kernel Images.

To install Kernel Image for version 2.6.15 on Intel Pentium Pro/Celeron, PII,PIII,PIV

Open the Terminal Window & type:

$ sudo apt-get install linux-image-2.16.15-23-686
$ sudo apt-get install linux-686

You must install the Kernel Image depending on the Processor you use be it Intel,
or AMD.
 
Status
Not open for further replies.
Top Bottom