in built memory card in linux

Discussion in 'Open Source' started by sariq, Sep 16, 2006.

Thread Status:
Not open for further replies.
  1. sariq

    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?
     
  2. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    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?
     
  3. gary4gar

    gary4gar GaurishSharma.com

    Joined:
    May 21, 2005
    Messages:
    4,094
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    Jaipur
    @eddie
    i think he has a inbulit card so there will be no usb
     
  4. OP
    OP
    sariq

    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
     
  5. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    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.
     
  6. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    Ok...looks like your card reader is being recognised. Give us the output of "sudo lspci".
     
  7. OP
    OP
    sariq

    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)
     
  8. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    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.
     
  9. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    How feasible is that for a newbie? I don't think it will be available in the portage so soon.
     
  10. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    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... :-|
     
  11. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    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 http://www.ubuntuforums.org/showthread.php?t=217657 where kernel compilation is well explained.
     
  12. OP
    OP
    sariq

    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: Sep 21, 2006
  13. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    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.
     
  14. OP
    OP
    sariq

    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: Sep 21, 2006
  15. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    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.
     
  16. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    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*
     
  17. OP
    OP
    sariq

    sariq Guest

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

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    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>
     
  19. OP
    OP
    sariq

    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:
    http://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.
     
  20. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,726
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    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.
     
Thread Status:
Not open for further replies.

Share This Page