DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th October 2022
Freezr Freezr is offline
Port Guard
 
Join Date: May 2022
Posts: 14
Default New Crapbook New Issues (Same Help)

Hi folks,

I got this Asus L2100 but very little works: wifi is off (had to use a dongle); fn keyboards do not work; therefore the screen backlight brightness does not work out of the box; among all the current issue this is the first issue I would solve. I could not find any xbacklight package not sure if this is handled by xenocara.

I am very sad to evaluate this hardware doesn't play nicely with OpenBSD, and this is a shame since I would not use anything but OpenBSD for a desktop use.

Thanks

F.

Last edited by Freezr; 11th October 2022 at 01:16 PM. Reason: poorly written...
Reply With Quote
  #2   (View Single Post)  
Old 11th October 2022
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 387
Default

Quote:
Originally Posted by Freezr View Post
I got this Asus L2100
That doesn't really tell us anything at all about the hardware. I tried to search for that model but I'm not having much luck, perhaps because of regional product type variations.

Absolute identifying information can be provided in the form of your complete dmesg(8) output on that machine. Either post it here directly (using code tags) or upload the output to https://dmesgd.nycbug.org and share a link here. The latter approach is probably best because it makes the information available to the wider community.
Reply With Quote
  #3   (View Single Post)  
Old 11th October 2022
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 271
Default

If Function keys don't work, try using the Esc key & a Number key together.
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #4   (View Single Post)  
Old 11th October 2022
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,451
Default

Here is a teardown video of a similiar model:
https://www.youtube.com/watch?v=GnwHBQE5v40

The video describes an AzureWave wifi card which appears to be a rebranded Broadcom card with bluetooth:
Installing 3rd party AzureWave driver on Ubuntu

According to the video, you can swap out the cards. I did this on an HP Stream14 114w which whitelists hardware. Was able to get a used HP branded 7265ac card off Ebay for $8.

Case opening looks easy and there is an option to add an NVMe drive.

Last edited by shep; 11th October 2022 at 01:56 PM.
Reply With Quote
  #5   (View Single Post)  
Old 11th October 2022
Freezr Freezr is offline
Port Guard
 
Join Date: May 2022
Posts: 14
Default

Hi guys,

this laptop has other several issues this my report to dmesg@openbsd.org

Quote:
Dear OpenBSD team thanks for you great effort, this is my short review:

Full-disk encryption seems working fine despite the support is a 64GB emmc.

WiFi "Realtek 8821CE" is not supported by rtwn firmware, therefore installing OB was painful.

This 11" netbook comes with a special numbered touchpad which is not recognized/working.

The FN keys don't work so out-of-the-box is impossible to regulate screen brightness.

Sound wasn't tested.

The laptop never starts the first cold boot. At any first cold boot it hangs more than (measured) 30" reordering the libraries, afterwards it is impossible typing anything to login, anything you type is repeated 5 time on screen (e.g.: uuuuussssseeeeerrrrr). You can only shut-down it, looks like it is related with the network stack having the dongle connected during the second boot often reduce the "reordering libraries" time and let typing user and password properly.

Thanks again!
Reply With Quote
  #6   (View Single Post)  
Old 11th October 2022
Freezr Freezr is offline
Port Guard
 
Join Date: May 2022
Posts: 14
Default

DMESG:

Code:
OpenBSD 7.1 (GENERIC.MP) #3: Sun May 15 10:27:01 MDT 2022
    root@syspatch-71-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4075859968 (3887MB)
avail mem = 3935059968 (3752MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x79d32000 (25 entries)
bios0: vendor American Megatrends Inc. version "E210MA.308" date 05/07/2021
bios0: ASUSTeK COMPUTER INC. VivoBook_ASUS Laptop E210MA_L210MA
acpi0 at bios0: ACPI 6.2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP FPDT FIDT MCFG ECDT MSDM SSDT DBG2 DBGP HPET LPIT APIC NPKT SSDT SSDT SSDT SSDT SSDT SSDT SSDT BGRT TPM2 DMAR WDAT WSMT
acpi0: wakeup devices HDAS(S3) XHC_(S3) XDCI(S4) RP01(S4) PXSX(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpiec0 at acpi0
acpihpet0 at acpi0: 19200000 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Celeron(R) N4020 CPU @ 1.10GHz, 2692.55 MHz, 06-7a-08
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,UMIP,MD_CLEAR,IBRS,IBPB,STIBP,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 19MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.2.4.2.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Celeron(R) N4020 CPU @ 1.10GHz, 2692.55 MHz, 06-7a-08
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,UMIP,MD_CLEAR,IBRS,IBPB,STIBP,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 4MB 64b/line 16-way L2 cache
cpu1: disabling user TSC (skew=-126201494)
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 120 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus 1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiec at acpi0 not configured
acpiec at acpi0 not configured
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID_
acpibat0 at acpi0: BAT0 model "ASUS Battery" serial   type LIon oem "ASUSTeK"
"ATK3001" at acpi0 not configured
"ASUE1409" at acpi0 not configured
acpicmos0 at acpi0
acpibtn2 at acpi0: PWRB
glkgpio0 at acpi0 GPO1 uid 1 addr 0xd0c40000/0xcef irq 14, 80 pins
glkgpio1 at acpi0 GPO0 uid 2 addr 0xd0c50000/0xaff irq 14, 80 pins
glkgpio2 at acpi0 GPO2 uid 3 addr 0xd0c90000/0x7bf irq 15, 20 pins
glkgpio3 at acpi0 GPO3 uid 4 addr 0xd0c80000/0x82f irq 14, 35 pins
"INT33A1" at acpi0 not configured
tpm0 at acpi0 TPM_ 2.0 (CRB) addr 0xfed40000/0x5000, device 0x00000000 rev 0x0
"PNP0C14" at acpi0 not configured
"ASUS2018" at acpi0 not configured
"INT3400" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
acpipwrres0 at acpi0: DRST
acpipwrres1 at acpi0: DRST
acpipwrres2 at acpi0: DRST
acpipwrres3 at acpi0: DRST
acpipwrres4 at acpi0: DRST
acpipwrres5 at acpi0: DRST
acpipwrres6 at acpi0: WRST
acpicpu0 at acpi0: C3(10@150 mwait.1@0x60), C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
acpicpu1 at acpi0: C3(10@150 mwait.1@0x60), C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
acpitz0 at acpi0: critical temperature is 80 degC
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 2692 MHz: speeds: 1101, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Gemini Lake Host" rev 0x06
"Intel Gemini Lake DPTF" rev 0x06 at pci0 dev 0 function 1 not configured
"Intel Gemini Lake GNA" rev 0x06 at pci0 dev 0 function 3 not configured
inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics 600" rev 0x06
drm0 at inteldrm0
inteldrm0: msi, GEMINILAKE, gen 9
azalia0 at pci0 dev 14 function 0 "Intel Gemini Lake HD Audio" rev 0x06: msi
azalia0: codecs: Realtek ALC256, Intel/0x280d, using Realtek ALC256
audio0 at azalia0
"Intel Gemini Lake MEI" rev 0x06 at pci0 dev 15 function 0 not configured
ahci0 at pci0 dev 18 function 0 "Intel Gemini Lake AHCI" rev 0x06: msi, AHCI 1.3.1
ahci0: PHY offline on port 0
ahci0: PHY offline on port 1
scsibus1 at ahci0: 32 targets
ppb0 at pci0 dev 19 function 0 "Intel Gemini Lake PCIE" rev 0xf6: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 20 function 0 "Intel Gemini Lake PCIE" rev 0xf6: msi
pci2 at ppb1 bus 2
"Realtek 8821CE" rev 0x00 at pci2 dev 0 function 0 not configured
xhci0 at pci0 dev 21 function 0 "Intel Gemini Lake xHCI" rev 0x06: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
dwiic0 at pci0 dev 23 function 0 "Intel Gemini Lake I2C" rev 0x06: FMCN returned package of len 2: apic 1 int 31
iic0 at dwiic0
ihidev0 at iic0 addr 0x15 irq 60, vendor 0x4f3 product 0x3157, ASUE1409
ihidev0: 14 report ids
imt0 at ihidev0: clickpad, 5 contacts
wsmouse0 at imt0 mux 0
ims0 at ihidev0 reportid 1: 2 buttons, Z and W dir
wsmouse1 at ims0 mux 0
hid at ihidev0 reportid 5 not configured
hid at ihidev0 reportid 6 not configured
hid at ihidev0 reportid 7 not configured
ims1 at ihidev0 reportid 8: 0 buttons
wsmouse2 at ims1 mux 0
hid at ihidev0 reportid 11 not configured
hid at ihidev0 reportid 12 not configured
hid at ihidev0 reportid 13 not configured
ikbd0 at ihidev0 reportid 14: 8 variable keys, 6 key codes
wskbd0 at ikbd0 mux 1
"Intel Gemini Lake HSUART" rev 0x06 at pci0 dev 24 function 0 not configured
"Intel Gemini Lake HSUART" rev 0x06 at pci0 dev 24 function 1 not configured
"Intel Gemini Lake HSUART" rev 0x06 at pci0 dev 24 function 2 not configured
"Intel Gemini Lake HSUART" rev 0x06 at pci0 dev 24 function 3 not configured
"Intel Gemini Lake SPI" rev 0x06 at pci0 dev 25 function 0 not configured
"Intel Gemini Lake SPI" rev 0x06 at pci0 dev 25 function 1 not configured
sdhc0 at pci0 dev 28 function 0 "Intel Gemini Lake eMMC" rev 0x06: apic 1 int 39
sdhc0: SDHC 3.0, 200 MHz base clock
sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
pcib0 at pci0 dev 31 function 0 "Intel Gemini Lake LPC" rev 0x06
ichiic0 at pci0 dev 31 function 1 "Intel Gemini Lake SMBus" rev 0x06: apic 1 int 20
iic1 at ichiic0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd1 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
scsibus2 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus2 targ 1 lun 0: <Kingston, TA2964, 0000> removable
sd0: 59712MB, 512 bytes/sector, 122290176 sectors
uvideo0 at uhub0 port 5 configuration 1 interface 0 "Azurewave USB2.0 VGA UVC WebCam" rev 2.00/17.02 addr 2
video0 at uvideo0
ugen0 at uhub0 port 7 "Generic USB2.0-CRW" rev 2.00/39.60 addr 3
ugen1 at uhub0 port 8 "Realtek Bluetooth Radio" rev 1.10/1.10 addr 4
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd1 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd1: 59711MB, 512 bytes/sector, 122288591 sectors
root on sd1a (a3ce6924a07003e0.a) swap on sd1b dump on sd1b
drm:pid0:intel_step_init *WARNING* [drm] Unknown revid 0x06
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd1
wskbd0: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
hw.sensors.cpu0.temp0=37.00 degC
hw.sensors.acpiac0.indicator0=Off (power supply)
hw.sensors.acpibtn1.indicator0=On (lid open)
hw.sensors.acpibat0.volt0=7.92 VDC (voltage)
hw.sensors.acpibat0.volt1=7.92 VDC (current voltage)
hw.sensors.acpibat0.power0=3.36 W (rate)
hw.sensors.acpibat0.watthour0=37.37 Wh (last full capacity)
hw.sensors.acpibat0.watthour1=3.80 Wh (warning capacity)
hw.sensors.acpibat0.watthour2=0.38 Wh (low capacity)
hw.sensors.acpibat0.watthour3=37.37 Wh (remaining capacity), OK
hw.sensors.acpibat0.watthour4=38.02 Wh (design capacity)
hw.sensors.acpibat0.raw0=1 (battery full), OK
hw.sensors.acpibat0.raw1=0 (discharge cycles)
hw.sensors.acpitz0.temp0=35.00 degC (zone temperature)
hw.sensors.softraid0.drive0=online (sd1), OK
Reply With Quote
  #7   (View Single Post)  
Old 11th October 2022
Freezr Freezr is offline
Port Guard
 
Join Date: May 2022
Posts: 14
Default

I wonder if is it worth to give a try with 7.2-current...

If the hardware support is poor is nobody fault, it is just what it is, probably I had better to move on Linux until better time...
Reply With Quote
  #8   (View Single Post)  
Old 12th October 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,839
Default

Looking through the source, 8821CE support has not yet been added to the kernel. Recognition of the chipset was added in April of 2020, which is why we can tell which device is not (yet) supported.
Reply With Quote
  #9   (View Single Post)  
Old 12th October 2022
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 387
Default

In respect of the backlight keys it should be possible to set up a custom keybind to call wsconsctl(8) & change display.brightness.
Reply With Quote
Old 12th October 2022
cynwulf's Avatar
cynwulf cynwulf is offline
tying up some loose ends
 
Join Date: Mar 2014
Posts: 281
Default

Have a look at this old thread: https://daemonforums.org/showthread.php?t=10177

I've had to deal with a few old, cheap and nasty Acer and Asus craptops where the backlight resisted all attempts to control it under either FreeBSD or OpenBSD. I eventually got working backlight control on one of them with Linux.

wsconsctl(8) display.brightness won't affect the backlight at all.

Most likely the backlight controls were designed around some crapware utility ms windows power management software/drivers.

I would spare yourself all the grief (not to mention your eyes) and see if a Linux distro provides working backlight controls.
Reply With Quote
Old 12th October 2022
Freezr Freezr is offline
Port Guard
 
Join Date: May 2022
Posts: 14
Default

Hi guys, thanks to each and all of you!

Good news the brightness control works through "wsconsctl" therefore my big deal-breaker is solved. I can work with the Crapbook this way, hopefully it will go better in the future!

For curiosity I tested also Nomad which is quite close to FreeBSD and the touchpad didn't work, the WiFi wasn't recognized at all but the FN keys work...

I am fine with this installation, isn't perfect but usable!

I won't waste my time testing Linux then...

Last edited by Freezr; 12th October 2022 at 07:36 PM.
Reply With Quote
Old 13th October 2022
cynwulf's Avatar
cynwulf cynwulf is offline
tying up some loose ends
 
Join Date: Mar 2014
Posts: 281
Default

Quote:
Originally Posted by Freezr View Post
Good news the brightness control works through "wsconsctl" therefore my big deal-breaker is solved.
Was it setting "display.brightness" that worked for you? For the benefit of other users who may find this thread...?

Are you certain the backlight is actually being controlled? Try it on a black screen is the best way. If it, that's a bonus.

Last edited by cynwulf; 13th October 2022 at 01:12 PM.
Reply With Quote
Old 13th October 2022
Freezr Freezr is offline
Port Guard
 
Join Date: May 2022
Posts: 14
Default

Quote:
Originally Posted by cynwulf View Post
Was it setting "display.brightness" that worked for you? For the benefit of other users who may find this thread...?

Are you certain the backlight is actually being controlled? Try it on a black screen is the best way. If it, that's a bonus.
I confirm I used this command:

Code:
doas wsconsctl display.brightness=[VALUE EXPRESSED IN %]
And I realized by default the screen brightness was around 80%, I played a bit testing from 100% down to 20% and the screen was actually darker.

My personal pebcak was in the man page wsconsctl(8) I couldn't find all the knobs you can operate with...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
5.8 Issues shep OpenBSD Installation and Upgrading 6 13th November 2015 10:02 PM
Issues with cas* driver Simba7 OpenBSD General 7 25th May 2012 01:59 AM
tk installation issues xTz OpenBSD Packages and Ports 1 20th November 2011 10:42 PM
KVM issues lil_elvis2000 FreeBSD General 5 9th June 2008 07:55 PM
Sendmail, issues... pcfxer FreeBSD General 2 8th May 2008 10:07 AM


All times are GMT. The time now is 08:14 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick