Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

aramisqc

Members
  • Posts

    38
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by aramisqc

  1. I have no idea on the technical aspects but if emerge can be made quicker then it can only be a good thing as far as I'm concerned.

     

    Is Python the real reason for emerge being slow ? What is time consuming is when emerge calculates dependencies. I think so. I perhaps am wrong. If I were right, I would look to Portage tree data structure.

     

    Python code could be written in C or C++. Both are close together. Would it be faster, quicker ? That's the question.

  2. Wouldn't it be nice to have something like {{:Kernel/language/PartName}} to document both kernel and its compilation. It seems that kernel seeds wiki is like abandoned.

     

    As a matter of fact, I'm working on a French tutorial about configuration and compilation of a kernel. It is tailored for Debian but to a few exceptions it can be adapted to Funtoo.

     

    https://wiki.debian-facile.org/utilisateurs:aramis_qc:tutos:configuration-du-noyau

  3. I haven't played with "sane" too much, but a quick google search for "gentoo sane" found this link in the gentoo wiki.

     

    One thing on the wiki page I noticed that you didn't mention was xsane. (see Prerequisites. )

     

    Hope this helps.

    :D

     

    I looked at that wiki before.

     

    media-gfx/xsane is a scanning software. It is like media-gfx/simple-scan. The later is a lighter tool than xsane. Indeed you need to install such a tool when you want to use a GUI. The under the hood tool is scanimage which is provided by media-gfx/sane-backends. In other words when you scan from the command line you launch scanimage at the prompt. When you do from a GUI it may be xsane or simple-scan or any other GUIs available.

     

    Thank for your comment.

  4. I have a Brother multifunction device (MFC-240C). It was running just fine some years ago when I Funtoo ran on 32 bit station. Nowadays only printer works in a Funtoo 64 bit environment while it is fully supported in a Debian 64 bit environment.

     

    Right driver is installed, rpm edition of 64 bit brscan2. Please note that printer drivers are 32 bit. There are no 64 bit available.

     

    media-gfx/simple-scan and media-gfx/sane-backends are installed. Both simple-scan and scanimage -L report that scanner is not detected no matter how commands are run (as root or as user).

     

    My user belongs to scanner and lp groups :

    guy@Funtoo ~ $ groups
    lp wheel audio cdrom video cdrw usb users scanner guy
    

    Rules for Brother are properly set. Excerpt from lib/udev/rules.d/41-libsane.rules :

    ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01ab", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
    

    What lsusb ans sane-fine-scanner report :

    guy@Funtoo ~ $ lsusb
    Bus 002 Device 008: ID 04f9:01ab Brother Industries, Ltd MFC-240C
    Bus 002 Device 007: ID 046d:c52f Logitech, Inc. Unifying Receiver
    Bus 002 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
    Bus 002 Device 005: ID 0424:7500 Standard Microsystems Corp. LAN7500 Ethernet 10/100/1000 Adapter
    Bus 002 Device 004: ID 045e:0752 Microsoft Corp. Wired Keyboard 400
    Bus 002 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
    Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0c45:6406 Microdia 
    Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    guy@Funtoo ~ $ sane-find-scanner
    
      # sane-find-scanner will now attempt to detect your scanner. If the
      # result is different from what you expected, first make sure your
      # scanner is powered up and properly connected to your computer.
    
      # No SCSI scanners found. If you expected something different, make sure that
      # you have loaded a kernel SCSI driver for your SCSI adapter.
    
    found USB scanner (vendor=0x04f9, product=0x01ab) at libusb:002:008
    found USB scanner (vendor=0x0424 [WS], product=0x7500 [USB Gigabit LAN]) at libusb:002:005
      # Your USB scanner was (probably) detected. It may or may not be supported by
      # SANE. Try scanimage -L and read the backend's manpage.
    
      # Not checking for parallel port scanners.
    
      # Most Scanners connected to the parallel port or other proprietary ports
      # can't be detected by this program.
    
      # You may want to run this program as root to find all devices. Once you
      # found the scanner devices, be sure to adjust access permissions as
      # necessary.
    

    What it happens when runnning scanimage :

    guy@Funtoo ~ $ scanimage -L
    
    No scanners were identified. If you were expecting something different,
    check that the scanner is plugged in, turned on and detected by the
    sane-find-scanner tool (if appropriate). Please read the documentation
    which came with this software (README, FAQ, manpages).
    

    Brother and scanner modules are in /usr/lib64 and /usr/lib64/sane with symlinks to /usr/lib and /usr/lib/sane accordingly.

     

    Is there anyone to tell me where to look at ?

  5. There are many ways to achieve this. One I like much is to create symlinks.

     

    Let's say my Debian /home is on /dev/sda5. Funtoo is installed on second DD and /home is on /dev/sdb2. I create a mount point which name is /mnt/guydata. Name may be anything to your likings.

     

    Debian /home is added to Funtoo /etc/fstab.

     

    For example if I want to use /home/guy/Documents/Notes_Debian from Funtoo, I create a symlink :

    $ ln -sf /mnt/guydata/guy/Documents/Notes_Debian /home/guy/documents

    You can also delete all folders from your Funtoo /home and create symlinks from your Debian /home in using same names. Thus if you download something to your Download folder when running Funtoo, downloaded file will be available from within your Debian Download folder  when running Debian.

    $ rm -r ~/Download
    $ ln -sf /mnt/guydata/guy/Download ~/Download
    

    As stated earlier user id, ownerships and permissions must be identical.

×
×
  • Create New...