This is the old SliTaz forum - Please use the main forum.slitaz.org

Problems with internal card reader
  • SebastianSebastian May 2010
    Hi, I added an internal I-don't-know-how-many-in-1 card reader to a computer with SliTaz installed. It is connected via a single USB port to the mainboard. Then I installed the linux-mmc package and added the following to /etc/init.d/local.sh:
    echo 8 > /sys/module/sci_mod/parameters/max_luns

    And it principally works - if I unplug and then replug the card reader having already booted. But as it is an internal card reader, this is not really what I intended. According to the boot logs local.sh is executed after SliTaz tries to initialize the card reader and therefore the number of luns it checks is too low for finding all card slots. How can I solve the problem? Thx for your help, Sebastian
  • mojomojo May 2010
    I'm confused...
    linux-mmc.tazpkg contains 7 kernel modules, post install on receipt executes
    depmod -a , nothing else
    Your post doesn't mention loading any of these modules with modprobe after boot.
    None of them will auto load at bootup unless you add them to /etc/rcS.conf LOAD_MODULES=
  • SebastianSebastian May 2010
    Sry, I seem to have mixed up something. I indeed have not these kernel modules loaded. So it works without linux-mmc (I tried this from the LiveCD to make sure) if I set max_luns to 8 before pluging in the card reader.

    @mojo: thx for your fast reply. Which of the seven kernel modules do I have to load or how can I find this out? Since it principally works without do I even have to use one of them?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social