Page 1 of 1

getting full functionality from Insignia notebook

Posted: 2021-01-11 20:03
by ddyer
I'm repurposing an old 32b insignia notebook as a linux laptop. I've got
the OS and desktop running, and the touch screen is functional, but other
pieces of hardware are not recognized.

I'm looking for audio in/out, camera, battery charge monitor (very impotant!) and
a virtual keyboard, not necessary that it pop up automatically.

Re: getting full functionality from Insignia notebook

Posted: 2021-01-11 23:37
by mm3100
Can you run

Code: Select all

lspci -vv
And post back what you get. Also what DE are you using?

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 00:11
by ddyer
mm3100 wrote:Can you run

Code: Select all

lspci -vv
And post back what you get. Also what DE are you using?

Code: Select all

DE?ddyer@kali:~$ sudo lspci -vv
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0f)
        Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Kernel driver in use: iosf_mbi_pci

00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0f) (prog-if 00 [VGA controller])
        DeviceName:  Onboard IGD
        Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 31
        Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
        Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 1000 [size=8]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee04004  Data: 4024
        Capabilities: [b0] Vendor Specific Information: Len=07 <?>
        Kernel driver in use: i915
        Kernel modules: i915

00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0f) (prog-if 30 [XHCI])
        Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 29
        Region 0: Memory at 90800000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
                Address: 00000000fee02004  Data: 4023
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0f)
        Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 255
        Region 0: Memory at 90700000 (32-bit, non-prefetchable) [size=1M]
        Region 1: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
        Capabilities: [80] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit-
                Address: 00000000  Data: 0000

00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0f)
        Subsystem: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 01:45
by mm3100
It is not detected and not listed. Try to run this and copy back again

Code: Select all

lshw -short
Also edit your previous comment and place copied text to code block, it is easier to look through.

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 02:08
by ddyer
lshw doesn't exist. what package should I load?

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 13:49
by mm3100
Install the package
https://packages.debian.org/buster/lshw

Code: Select all

sudo apt install lshw
Other then that you can try these commands after fresh restart and post here

Code: Select all

sudo dmesg --level=err,warn

journalctl -b -p4
That would show us what firmware package to install for sure, and some other issues.

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 17:11
by ddyer

Code: Select all

ddyer@kali:~$ sudo lshw -short
H/W path         Device  Class          Description
===================================================
                         system         NS-P11W6100 (4421400)
/0                       bus            Aptio CRB
/0/0                     memory         64KiB BIOS
/0/28                    memory         2GiB System Memory
/0/28/0                  memory         2GiB DIMM DDR3 1333 MHz (0.8 ns)
/0/30                    memory         224KiB L1 cache
/0/31                    memory         1MiB L2 cache
/0/32                    processor      Intel(R) Atom(TM) CPU  Z3735F @ 1.33GHz
/0/32/4.1                processor      Logical CPU
/0/32/4.2                processor      Logical CPU
/0/32/4.3                processor      Logical CPU
/0/32/4.4                processor      Logical CPU
/0/32/4.5                processor      Logical CPU
/0/32/4.6                processor      Logical CPU
/0/32/4.7                processor      Logical CPU
/0/32/4.8                processor      Logical CPU
/0/32/4.9                processor      Logical CPU
/0/32/4.a                processor      Logical CPU
/0/32/4.b                processor      Logical CPU
/0/32/4.c                processor      Logical CPU
/0/32/4.d                processor      Logical CPU
/0/32/4.e                processor      Logical CPU
/0/32/4.f                processor      Logical CPU
/0/32/4.10               processor      Logical CPU
/0/100                   bridge         Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
/0/100/2                 display        Atom Processor Z36xxx/Z37xxx Series Graphics & Display
/0/100/14                bus            Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI
/0/100/14/0      usb1    bus            xHCI Host Controller
/0/100/14/0/2            bus            USB2.0 Hub
/0/100/14/0/2/2          input          USB Composite Device
/0/100/14/1      usb2    bus            xHCI Host Controller
/0/100/1a                generic        Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
/0/100/1f                bridge         Atom Processor Z36xxx/Z37xxx Series Power Control Unit
/0/1                     system         PnP device PNP0b00
/0/2                     system         PnP device PNP0c02
/0/3                     communication  PnP device PNP0501
/1               wlan0   network        Wireless interface
ddyer@kali:~$ 

Code: Select all

ddyer@kali:~$ sudo dmesg --level=err,warn
[    0.000000] secureboot: Secure boot could not be determined (mode 0)
[    0.010552] esrt: ESRT header is not in the memory map.
[    0.269102] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    2.381686] acpi PNP0A08:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    2.408961] Expanded resource Reserved due to conflict with PCI Bus 0000:00
[    4.650504] [Firmware Bug]: No valid trip found
[    5.068338] hpet: number irqs doesn't agree with number of timers
[    5.525566] ACPI Error: No handler for Region [XSCG] (d88d618d) [GenericSerialBus] (20200326/evregion-127)
[    5.526253] ACPI Error: Region GenericSerialBus (ID=9) has no handler (20200326/exfldio-261)
[    5.526842] ACPI Error: Aborting method \_SB.GPO2._E12 due to previous error (AE_NOT_EXIST) (20200326/psparse-529)
[    6.169185] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[    6.170712] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    6.172340] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    6.176054] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    6.312981] i2c_hid i2c-FTSC1000:00: supply vdd not found, using dummy regulator
[    6.313018] i2c_hid i2c-FTSC1000:00: supply vddl not found, using dummy regulator
[    7.829022] process '/usr/bin/fstype' started with executable stack
[   10.043302] ACPI Error: No handler for Region [BMOP] (83b5ac97) [UserDefinedRegion] (20200326/evregion-127)
[   10.043320] ACPI Error: Region UserDefinedRegion (ID=158) has no handler (20200326/exfldio-261)
[   10.043331] ACPI Error: Aborting method \_SB.SXP1._TMP due to previous error (AE_NOT_EXIST) (20200326/psparse-529)
[   10.050713] ACPI Error: No handler for Region [BMOP] (83b5ac97) [UserDefinedRegion] (20200326/evregion-127)
[   10.050730] ACPI Error: Region UserDefinedRegion (ID=158) has no handler (20200326/exfldio-261)
[   10.050741] ACPI Error: Aborting method \_SB.SXP1._TMP due to previous error (AE_NOT_EXIST) (20200326/psparse-529)
[   10.050767] thermal thermal_zone3: failed to read out thermal zone (-5)
[   10.217101] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[   10.217140] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[   10.527042] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[   10.528596] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.530172] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.533220] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[   10.604485] i2c_designware 80860F41:02: i2c_dw_handle_tx_abort: lost arbitration
[   10.605733] i2c_designware 80860F41:02: i2c_dw_handle_tx_abort: lost arbitration
[   10.606912] i2c_designware 80860F41:02: i2c_dw_handle_tx_abort: lost arbitration
[   10.607487] i2c_designware 80860F41:02: i2c_dw_handle_tx_abort: lost arbitration
[   10.624032] bluetooth hci0: firmware: failed to load brcm/BCM43341B0.hcd (-2)
[   10.624039] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   10.624045] bluetooth hci0: Direct firmware load for brcm/BCM43341B0.hcd failed with error -2
[   10.680125] brcmfmac mmc0:0001:1: firmware: failed to load brcm/brcmfmac43340-sdio.Insignia-NS-P11W6100.txt (-2)
[   10.680135] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43340-sdio.Insignia-NS-P11W6100.txt failed with error -2
[   10.861540] brcmfmac mmc0:0001:1: firmware: failed to load brcm/brcmfmac43340-sdio.clm_blob (-2)
[   15.861903]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[   15.862359]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[   15.862660]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[   15.863790]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[   15.864241]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[   15.864501]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[   15.866302]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[   15.867068]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[   15.867581]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port

...

[   32.940266]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[   32.941044]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  113.072861] i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=7622 end=7623) time 951 us, min 1073, max 1079, scanline start 1071, end 24                                                                                      
ddyer@kali:~$ 
ddyer@kali:~$ journalctl -b -p4
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal' can see all messages.
Pass -q to turn off this notice.
-- Logs begin at Sun 2021-01-10 19:50:48 PST, end at Tue 2021-01-12 09:46:21 PST. --
-- No entries --
ddyer@kali:~$

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 17:36
by mm3100
Okay, first try to install firmware-brcm80211, that is non-free reposatory, for that you will need to edit your source list.

Code: Select all

sudo nano /etc/apt/sources.list
And add non-free and contrib to lines with buster and buster update, so it looks like this

Code: Select all

deb http://security.debian.org/debian-security buster/updates main non-free contrib
deb http://deb.debian.org/debian/ buster main non-free contrib
Press ctrl+o to save, ctrl+x to exit.

Then run

Code: Select all

sudo apt update
sudo apt upgrade

Code: Select all

sudo apt install firmware-brcm80211
For audio I am still unsure, try to run this and copy back what you get

Code: Select all

aplay -l
Then run

Code: Select all

sudo journalctl -b -p4

sudo dmesg | grep -i audio
And copy back

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 19:34
by arochester
You could alternatively change your sources list with the command
sudo apt edit-sources
What do you get from this command?:

Code: Select all

uname -a
What does your sources list say now?

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 19:59
by ddyer
Adventure Ho!

sudo apt upgrade downloaded 2GB of stuff and took an hour installing. At about 50% of the install
it crashed, and is now unbootable - some kind of kernel panic. It looks like it was in the process
of installing a kernel upgrade - in recovery mode I can see some but not all of the files for
version 5.9.

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 20:51
by arochester
Why did you feel it necessary to install Linux Kernel 5.9?

The default kernel for Buster is back in Kernel 4...

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 20:52
by mm3100
If you are using debian 10, you shouldn't have kernel 5.9 :S
Can you copy what you have in

Code: Select all

cat /etc/apt/sources.list
And what you get from

Code: Select all

cat /etc/issue

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 21:33
by ddyer
mm3100 wrote:If you are using debian 10, you shouldn't have kernel 5.9 :S
Can you copy what you have in

Code: Select all

cat /etc/apt/sources.list
And what you get from

Code: Select all

cat /etc/issue
As stated, the system isn't bootable.

The source for this installation was a Kali linux image.

This is all an experiment anyway, so I'm rebuilding it.

BTW, I first used unix in 1980, and periodically since then; so I've been around the block
a few times. It's very disappointing that the state of the art (of building and installing
systems) is still so awful.

Many thanks for your help so far - where would I have found all this information other than from you?

Re: getting full functionality from Insignia notebook

Posted: 2021-01-12 21:37
by arochester
Kali Linux is not supported here.