Card readers not functional Ubuntu 8.04.1

Discussion in 'Linux' started by WanderingStar, Jul 16, 2008.

  1. WanderingStar

    WanderingStar

    Joined:
    Jul 15, 2008
    Messages:
    26
    Likes Received:
    0
    Location:
    Ottawa, On, Ca
    Hey Gang,

    Just got my One today, enjoying it very much. Installed Ubuntu and its working great, except that the card readers do not function. Seems a bit strange to me. Also lspci and lsusb don't give any info on what they could be to even give me a starting place. Anyone get these to work?

    Thanks,
    Jeff

    *edit* changed version in title (it was late)...
     
    WanderingStar, Jul 16, 2008
    #1
  2. WanderingStar

    anybastard

    Joined:
    Jul 14, 2008
    Messages:
    3
    Likes Received:
    0
    Re: Card readers not functional Ubuntu 8.10.1

    hi ,

    can you explain your procedure for install ubuntu on spire one ?

    I have tried with media cd but I have a error message

    Udev-event [1412] run program /sbin/modprobe/....


    Thanks
    AnyB.
     
    anybastard, Jul 16, 2008
    #2
  3. WanderingStar

    bdogg64

    Joined:
    Jul 11, 2008
    Messages:
    11
    Likes Received:
    0
    Re: Card readers not functional Ubuntu 8.10.1

    I managed to get both the card readers working in Ubuntu 8.04.1. I had to have the card inserted into the reader before booting up the aspire one and it will recognize it and make it available.
     
    bdogg64, Jul 16, 2008
    #3
  4. WanderingStar

    WanderingStar

    Joined:
    Jul 15, 2008
    Messages:
    26
    Likes Received:
    0
    Location:
    Ottawa, On, Ca
    Awsome, thanks man! Thats all I really wanted anyways (left hand storage card).

    Jeff
     
    WanderingStar, Jul 16, 2008
    #4
  5. WanderingStar

    lotus49

    Joined:
    Jun 29, 2008
    Messages:
    343
    Likes Received:
    0
    Location:
    Yorkshire
    It looks as though the readers are working but Ubuntu is not auto-mounting the file systems on the cards.

    If you look at /var/log/messages as you insert a card, it will show you the device name and then you could mount the card manually. Having said that, Ubuntu does normally auto-mount SD/SDHC cards fine.
     
    lotus49, Jul 16, 2008
    #5
  6. WanderingStar

    ted616

    Joined:
    Jul 17, 2008
    Messages:
    6
    Likes Received:
    0
    Hi Lotus49, I tried look at /var/log /messages after I inseart a SD card in to the SD slot at the right side of the Aspireone, but I didn't see any updates.
     
    ted616, Jul 17, 2008
    #6
  7. WanderingStar

    lotus49

    Joined:
    Jun 29, 2008
    Messages:
    343
    Likes Received:
    0
    Location:
    Yorkshire
    $ tail -f /var/log/messages

    will show the most recent updates. This is what the end of my /var/log/messages looks like

    Jul 17 22:35:57 rook kernel: [118353.692476] tifm_core: MMC/SD card detected in socket 0:3
    Jul 17 22:35:58 rook kernel: [54610.900201] mmc3: new SDHC card at address 0002
    Jul 17 22:35:58 rook kernel: [54610.919612] mmcblk0: mmc3:0002 SD 16156672KiB
    Jul 17 22:35:58 rook kernel: [54610.920013] mmcblk0: p1

    So the device name is /dev/mmcblk0p1 (ie partition 1 on mmcblk0). I should point that that while this is on Ubuntu 8.04 I haven't got my One yet (curse you play.com) so this is on my nc4200.

    You can then mount it by:

    $ sudo mount /dev/mmcblk0p1 <insert mount point here>

    Can someone who actually has their One, post an example for ted616?
     
    lotus49, Jul 17, 2008
    #7
  8. WanderingStar

    SbM

    Joined:
    Jul 14, 2008
    Messages:
    505
    Likes Received:
    0
    Hey, it works ! So great. And once your card is seen after reboot, you can take it out and slide another one in and it works. Basically rebooting with a card inserting kinda "activates" the SD reader.

    The left-hand reader works too, but just as a standard reader (not to expand storage).
     
    SbM, Jul 18, 2008
    #8
  9. WanderingStar

    Aubrey

    Joined:
    Jul 12, 2008
    Messages:
    20
    Likes Received:
    0
    The automounting problem can be solved permanently by commenting out the /dev/sdb1 line in /etc/fstab (the default Ubuntu fstab wants it to be CDROM)
    Code:
    sudo gedit /etc/fstab
    (if you installed Xubuntu, use "mousepad" instead of "gedit".

    put a # at the beginning of the line that begins "/media/cdrom0......"

    save and exit

    Cards and usb sticks will then mount automatically on insertion.
     
    Aubrey, Jul 18, 2008
    #9
  10. WanderingStar

    ted616

    Joined:
    Jul 17, 2008
    Messages:
    6
    Likes Received:
    0
    Hi Lotus49, I tried tail -f /var/log/messages after I insert the SD card at the right SD slot but I didn't see any new events. However, if I inseart the SD before the booting it will mount correctly. BTW, I commented out the "/media/cdrom0" in /etc/fstab already.
    Anyone actually has the same problem on the ubuntu on the aspireone?
     
    ted616, Jul 19, 2008
    #10
  11. WanderingStar

    SbM

    Joined:
    Jul 14, 2008
    Messages:
    505
    Likes Received:
    0
    Doesn't work here either...
     
    SbM, Jul 20, 2008
    #11
  12. WanderingStar

    fsantos

    Joined:
    Jul 11, 2008
    Messages:
    18
    Likes Received:
    0
    Here too, only works when boot with the card on.
     
    fsantos, Jul 26, 2008
    #12
  13. WanderingStar

    casainho

    Joined:
    Jul 21, 2008
    Messages:
    88
    Likes Received:
    0
    Me too, if i insert or remove, "dmesg" commando do not show nothing - the same does not happen if i insert/remove usb flash pen.
     
    casainho, Jul 30, 2008
    #13
  14. WanderingStar

    bit-ninja

    Joined:
    Jul 23, 2008
    Messages:
    31
    Likes Received:
    0
    Location:
    Houston, TX
    If there is only one card, Ubuntu seems to assign that device (left or right) mmcblk0p1. When there are two, it seems to give mmcblk0p1 to the right one first and then mmcblk1p1 to the left one.

    So when I boot with only a card in the left side, I think the right one fails because mmcblk0p1 is already used (like sdb and the cdrom).

    Even when I fstab all the partitions on the left card using UUIDs, the device name changes depending if I boot with or without a card in the right slot.

    With one card in the left socket:
    /dev/mmcblk0p5 12790276 285400 11860272 3% /home
    /dev/mmcblk0p3 1043900 34196 957092 4% /tmp
    /dev/mmcblk0p2 1043900 256688 734600 26% /var


    With two cards:
    /dev/mmcblk1p5 12790276 285260 11860412 3% /home
    /dev/mmcblk1p3 1043900 34196 957092 4% /tmp
    /dev/mmcblk1p2 1043900 256536 734752 26% /var
    /dev/mmcblk0p1 1866747 192521 1574625 11% /media/disk


    So in the second case, card inserting works because it has the 0 device. I just need to figure out how to manage this....

    :?
     
    bit-ninja, Aug 3, 2008
    #14
  15. WanderingStar

    foobar

    Joined:
    Aug 3, 2008
    Messages:
    8
    Likes Received:
    0
    foobar, Aug 3, 2008
    #15
  16. WanderingStar

    dri

    Joined:
    Aug 3, 2008
    Messages:
    6
    Likes Received:
    0
    dri, Aug 3, 2008
    #16
  17. WanderingStar

    anso

    Joined:
    Aug 3, 2008
    Messages:
    11
    Likes Received:
    0
    Not everybody speak french!!!

    Translating... To fix this problem just copy this script in /usr/local/sbin :

    http://petaramesh.org/public/arc/projec ... 38x_d3e.sh

    how? like this:
    Code:
    sudo cp jmb38x_d3e.sh /usr/local/sbin 
    and then give permissions with this command:
    Code:
    sudo chmod 754 /usr/local/sbin/jmb38x_d3e.sh
    reboot, and now your sd/sdhc card will work when pluging after boot!

    This intelligent guy took that script from linpus, and he's got many other interesting issues that i'm trying now!
     
    anso, Aug 4, 2008
    #17
  18. WanderingStar

    binnary

    Joined:
    Jul 31, 2008
    Messages:
    8
    Likes Received:
    0
    Hi!

    I've done that but my SDHC card is still not working once I have booted...
     
    binnary, Aug 4, 2008
    #18
  19. WanderingStar

    dri

    Joined:
    Aug 3, 2008
    Messages:
    6
    Likes Received:
    0
    You need to put it in /etc/rc.local:
    Code:
    /usr/local/sbin/foobarscript.sh
    exit 0
    
     
    dri, Aug 4, 2008
    #19
  20. WanderingStar

    2manydjs

    Joined:
    Jul 16, 2008
    Messages:
    300
    Likes Received:
    0
    I suspect the card reader driver to not support other cards than SD-cards in ubuntu.. Could anyone verify?

    Thanks!
     
    2manydjs, Aug 6, 2008
    #20
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.