workaround on hp2133

Forum Forums General Hardware workaround on hp2133

Tagged: ,

  • This topic has 3 replies, 3 voices, and was last updated Oct 28-11:07 am by lucbertz.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10371
    Member
    gabbo
      $ inxi -F
      System:
        Host: hp2133 Kernel: 4.9.91-antix.1-686-smp-pae i686 bits: 32 Desktop: Fluxbox 1.3.5 
        Distro: antiX-17.1_386-full Heather Heyer 17 March 2018 
      Machine:
        Type: Laptop System: Hewlett-Packard product: HP 2133 v: F.06 serial: N/A 
        Mobo: Hewlett-Packard model: 3030 v: KBC Version 07.17 serial: N/A 
        BIOS: Hewlett-Packard v: 68VGU Ver. F.06 date: 11/11/2008 
      Battery:
        ID-1: BAT1 charge: 2.3 Wh condition: 2.3/2.5 Wh (88%) 
      CPU:
        Topology: Single Core model: VIA C7-M bits: 32 type: UP L2 cache: 128 KiB 
        Speed: 1600 MHz min/max: 800/1600 MHz Core speed (MHz): 1: 1600 
      Graphics:
        Card-1: VIA CN896/VN896/P4M900 [Chrome 9 HC] driver: N/A 
        Display: server: X.Org 1.19.2 driver: openchrome unloaded: fbdev,modesetting,vesa 
        resolution: 1024x600_60.00~60Hz 
        OpenGL: renderer: Gallium 0.4 on llvmpipe (LLVM 3.9 128 bits) v: 3.3 Mesa 13.0.6 
      Audio:
        Card-1: VIA VT8237A/VT8251 HDA driver: snd_hda_intel 
        Sound Server: ALSA v: k4.9.91-antix.1-686-smp-pae 
      Network:
        Card-1: Broadcom Limited BCM4312 802.11b/g LP-PHY driver: b43-pci-bridge 
        Card-2: Broadcom Limited NetXtreme BCM5788 Gigabit Ethernet driver: tg3 
        IF: eth0 state: down mac: 00:24:81:3c:e5:83 
        IF-ID-1: wlan0 state: up mac: 00:21:00:ac:c5:af 
      Drives:
        HDD Total Size: 111.79 GiB used: 3.46 GiB (3.1%) 
        ID-1: /dev/sda vendor: Kingston model: SA400S37120G size: 111.79 GiB 
      Partition:
        ID-1: / size: 107.53 GiB used: 3.46 GiB (3.2%) fs: ext4 dev: /dev/sda1 
        ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
      Sensors:
        System Temperatures: cpu: 62.0 C mobo: N/A 
        Fan Speeds (RPM): N/A 
      Info:
        Processes: 124 Uptime: 12m Memory: 1.72 GiB used: 391.0 MiB (22.2%) Shell: bash 
        inxi: 3.0.08
      

      ______
      step 1 – xserver-xorg-video-openchrome

      there a bug in xserver-xorg-video-openchrome (1:0.5.0-3) in stretch
      can you see fixes HP 2133 Mini-Note’s PCI WLAN

      install xserver-xorg-video-openchrome (1:0.6.0-3) from buster or sid
      or compile from source (me too)

      ______
      step 2
      $sudo nano /etc/X11/xorg.conf

      Section "Monitor"
          Identifier      "FP-1"
          Modeline        "1024x600_60.00" 49.00  1024 1072 1168 1312  600 603 613 624 -hsync +vsync
          Option          "UseEdidDpi" "False"
          Option          "PreferredMode" "1024x600_60.00"
      EndSection
      
      Section "Screen"
          Identifier      "Screen 0"
          Device          "VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC]"
          DefaultDepth    24
          SubSection "Display"
                 Depth   24
                 Modes   "1024x600" 
          EndSubSection
      EndSection
      

      ______
      step 3
      fix wifi Broadcom BC4312

      $sudo nano /etc/modprobe.d/broadcom-sta-dkms.conf

      blacklist wl 
      #blacklist b43

      $sudo nano /etc/modules
      b43
      $sudo dpkg-reconfigure firmware-b43-installer
      $sudo update-initramfs -u

      reboot and
      $rfkill unblock all

      done !!

      • This topic was modified 4 years, 11 months ago by gabbo.
      #10742
      Member
      gabbo
        Helpful
        Up
        0
        ::

        UPDATING

        Configure audio card VIA VT8237A/VT8251 HDA driver: snd_hda_intel
        sudo nano /etc/modprobe.d/alsa-base.conf

        # autoloader aliases
        install sound-slot-0 /sbin/modprobe snd-card-0
        install sound-slot-1 /sbin/modprobe snd-card-1
        install sound-slot-2 /sbin/modprobe snd-card-2
        install sound-slot-3 /sbin/modprobe snd-card-3
        install sound-slot-4 /sbin/modprobe snd-card-4
        install sound-slot-5 /sbin/modprobe snd-card-5
        install sound-slot-6 /sbin/modprobe snd-card-6
        install sound-slot-7 /sbin/modprobe snd-card-7
        # Cause optional modules to be loaded above generic modules
        install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }
        install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
        install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
        install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
        # Keep snd-pcsp from beeing loaded as first soundcard
        options snd-pcsp index=-2
        # Keep snd-usb-audio from beeing loaded as first soundcard
        options snd-usb-audio index=-2
        # Prevent abnormal drivers from grabbing index 0
        options bt87x index=-2
        options cx88_alsa index=-2
        options snd-atiixp-modem index=-2
        options snd-intel8x0m index=-2
        options snd-via82xx-modem index=-2
        options snd-usb-caiaq index=-2
        options snd-usb-ua101 index=-2
        options snd-usb-us122l index=-2
        options snd-usb-usx2y index=-2
        options snd-pcs index=-2
        options usb-audio index=-2
        #VIA VT8237A/VT8251 (power_save if you have no sound from speaker at boot or distortion)
        options snd-hda-intel model=laptop position_fix=3 power_save=0 power_save_controller=N 
        alias snd-card-0 snd-hda-intel
        alias sound-slot-0 snd-hda-intel

        Prevent softlock wlan and bluetooth at boot
        sudo nano /etc/modprobe.d/hp_wmi-blacklist.conf
        blacklist hp_wmi

        How to Setup Additional Entropy
        sudo apt install rng-tools
        sudo nano /etc/default/rng-tools

        # Configuration for the rng-tools initscript
        # $Id: rng-tools.default,v 1.1.2.5 2008-06-10 19:51:37 hmh Exp $
        
        # This is a POSIX shell fragment
        
        # Set to the input source for random data, leave undefined
        # for the initscript to attempt auto-detection.  Set to /dev/null
        # for the viapadlock driver.
        HRNGDEVICE=/dev/hwrng
        #HRNGDEVICE=/dev/null
        #HRNGDEVICE=/dev/urandom
        
        # Additional options to send to rngd. See the rngd(8) manpage for
        # more information.  Do not specify -r/--rng-device here, use
        # HRNGDEVICE for that instead.
        #RNGDOPTIONS="--hrng=intelfwh --fill-watermark=90% --feed-interval=1"
        RNGDOPTIONS="--hrng=viakernel --fill-watermark=90% --feed-interval=1"
        #RNGDOPTIONS="--hrng=viapadlock --fill-watermark=90% --feed-interval=1"

        For those with a traditional hard drive:
        https://github.com/srijan/hpfall
        HDD shock protection for HP laptops supporting the feature officially called “HP Mobile Data Protection System 3D” or “HP 3D DriveGuard”.
        Set the HDD in the /etc/conf.d/hpfall.conf configuration file
        sudo nano /etc/conf.d/hpfall

        #
        # Parameters to be passed to hpfall
        #
        DEVICE=/dev/sda

        bye!

        #10744
        Forum Admin
        rokytnji
          Helpful
          Up
          0
          ::

          Thanlks from me for this.

          Sometimes I drive a crooked road to get my mind straight.
          Not all who Wander are Lost.
          I'm not outa place. I'm from outer space.

          Linux Registered User # 475019
          How to Search for AntiX solutions to your problems

          #91645
          Member
          lucbertz
            Helpful
            Up
            0
            ::

            Thank you gabbo.
            I’d like to use HP 2133 for multimedia and small productivity family purposes. I did not find any recent Linux distribution in which speakers are not muted (headphones works correctly, instead).
            Does anybody already knows if these hints are still valid for more recent antiX releases?
            Otherwise I will resume antiX 17, I will apply these instructions and I will keep my device away from internet (in the worst case, I will go back 10 years with lubuntu 12.04).

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.