Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on Jumper EZbook 2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
mrandredparis
n00b
n00b


Joined: 15 Feb 2019
Posts: 8

PostPosted: Fri Feb 15, 2019 9:23 pm    Post subject: Gentoo on Jumper EZbook 2 Reply with quote

I'm currently running Pop OS 18.10 with kernel 4.20.10

But like everyone in the Gentoo community I want a Linux system finely tuned to my hardware, trouble is Gentoo doesn't recognize my wireless card so I can't connect to the network because wireless is all I got, no ethernet port. Where should I go from here?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54209
Location: 56N 3W

PostPosted: Fri Feb 15, 2019 9:57 pm    Post subject: Reply with quote

mrandredparis,

Welcome to Gentoo.

We need to know what WiFi you have.
You will need one or more kernel modules, some userspace tools and possibly some firmware.

Run
Code:
lspci -nn
and
Code:
lsusb

Post the line that shows your WiFi.

You don't need to do that from Gentoo.

Google suggests that the WiFi is a BCM4343SD. The SD at the end of its name suggest that its attached to an SDIO interface, like the eMMC card.
If that's true, it will not appear in either lspci or USB.

Google goes on to say Its a Vendor=0x02d0 Product=0xa9a6.
Grepping the kernel tells
Code:
#define SDIO_DEVICE_ID_BROADCOM_43430           0xa9a6

The kernel WiFi wiki says that its supported since kernel 4.1.

You will need a correctly configured kernel the linux-firmware package and wpa-supplicant. As its SDIO, you may need other things too.

You can install Gentoo without networking but you need sneakernet to get started.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mrandredparis
n00b
n00b


Joined: 15 Feb 2019
Posts: 8

PostPosted: Fri Feb 15, 2019 11:45 pm    Post subject: D'oh Reply with quote

Thanks for your help NeddySeagoon

I forgot about USB Tethering from my phone as a WiFi connection!! But as far as I can tell you were right on all counts with lspci and lsusb, I don't know how to grep for that driver but am going to assume you are correct.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21586

PostPosted: Sat Feb 16, 2019 1:11 am    Post subject: Reply with quote

Caution: I am guessing based on what I see in this thread. I have no firsthand experience with this device.

From the URL Neddy posted, I would guess that you want the brcm80211 directory built. According to git grep brcm80211, that directory builds when you enable CONFIG_BRCMSMAC. According to git grep \ BRCMSMAC, that has the friendly name "Broadcom FullMAC WLAN driver". So, open your preferred kernel configuration tool, enable that option, and try again. You will need to enable CFG80211 before that option will be visible to you. Post back if you need more help.
Back to top
View user's profile Send private message
mrandredparis
n00b
n00b


Joined: 15 Feb 2019
Posts: 8

PostPosted: Sat Feb 16, 2019 6:17 am    Post subject: Existing? Reply with quote

Is there anyway I can figure out how much existing system is setup so I can learn how to setup my Gentoo system?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54209
Location: 56N 3W

PostPosted: Sat Feb 16, 2019 11:01 am    Post subject: Reply with quote

mrandredparis,

If you have any working Linux the dmesg output will be useful.

If you only have Windows, we need the vendor and device IDs. I've not had Windows at home since 2002 but I recall something in device manager.
I found this image related to WiFi and the EZbook 2.
You need to go through all the hardware (in Windows) and note the VID_ &PID strings as per that image.
That's the Vendor and Product Identifiers.

Its quite possible you have a different WiFi chip to that image too, hardware vendors keep swapping things, so don't take it on trust it's what I posted.

Getting the the broadcom 43430 SDIO WiFi to work is actually well documented but not easy to find.
Its used on the Raspberry Pi 3B, not the 3B+, where it provides bluetooth too.
The Pi is an ARM system, not Intel, so there will doubtless be a few wrinkles but its the same codebase.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mrandredparis
n00b
n00b


Joined: 15 Feb 2019
Posts: 8

PostPosted: Sat Feb 16, 2019 5:48 pm    Post subject: Use to Reply with quote

I use to have Windows 10 on this laptop but had shopped around for a distro to fill my needs and found Pop OS 18.10(a Ubuntu derivative) after reading a Forbes article, I'd read it had some proprietary drivers developed in house at system76 and finally decided to jump ship to my great relief. Earlier distros couldn't handle either the video or the sound or the network card, I don't remember when I went searching probably not soon after I got the laptop. I'll keep all those points in mind. Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54209
Location: 56N 3W

PostPosted: Sat Feb 16, 2019 6:32 pm    Post subject: Reply with quote

mrandredparis,

Pastebin dmesg from Pop OS. It will have the required information.

Its an Intel System-on-a Chip (SoC). Video not working at all would surprise me. No hardware acceleration less so.
If the wifi is a 4343, that works on a Pi, so should work for you.
The sound is almost certainly snd-hda-intel.

Being a SoC brings challenges all of its own. It sounds like fun.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mrandredparis
n00b
n00b


Joined: 15 Feb 2019
Posts: 8

PostPosted: Sun Feb 17, 2019 4:00 am    Post subject: Should have framed that Reply with quote

Sorry I should have framed what I meant by the video not working, when I went to youtube it would not play any sound and run through the video

https://pastebin.com/CLK125cG

Now that I have the dmesg info how do I use it to help me setup gentoo?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54209
Location: 56N 3W

PostPosted: Sun Feb 17, 2019 10:00 am    Post subject: Reply with quote

mrandredparis,

The first early bit of info is [
Code:
    0.500058] pci 0000:00:00.0: [8086:2280] type 00 class 0x060000
googling
Quote:
8086:2280 pci
tells that its a
Code:
Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register

lspci will probably tell you that too.

Likewise, 8086:22b0 is
Code:
Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers

Code:

[    3.707804] mmc1: new high speed SDIO card at address 0001
[    3.711717] mmc0: new HS200 MMC card at address 0001

That's your eMMC card at mmc0 and WiFi an mmc1.
You have a
Code:
[    3.913000] mmc2: SDHCI controller on ACPI [80860F14:03] using ADMA
mmc2.
Is that a microSD slot?

-- edit --
I hit submit too soon.
Heres the partition layout on your eMMC. That's 64 salesmans GB.
Code:
[    4.024948] mmcblk0: mmc0:0001 DF4064 58.2 GiB
[    4.025209] mmcblk0boot0: mmc0:0001 DF4064 partition 1 4.00 MiB
[    4.025453] mmcblk0boot1: mmc0:0001 DF4064 partition 2 4.00 MiB
[    4.025617] mmcblk0rpmb: mmc0:0001 DF4064 partition 3 4.00 MiB, chardev (238:0)

That's only 12G ... where is the rest?

Here's your video ...
Code:
[    4.039165] [drm] Initialized i915 1.6.0 20180921 for 0000:00:02.0 on minor 0

Thats fully supported.

Code:
[    5.727581] system76: loading out-of-tree module taints kernel.
[    5.727647] system76: module verification failed: signature and/or required key missing - tainting kernel
[    5.728000] system76: Model does not utilize this driver
Heres your binary blob .. but it looks like its not used anyway.

Does Blutetooth work?
Code:
[   10.599204] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723bs_fw.bin failed with error -2
[   10.599213] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8723bs_fw.bin not found

That says probably not.

Your wifi is not the Broadcom device google told us it was, its
Code:
[   14.229089] rtl8723bs: acquire FW from file:rtlwifi/rtl8723bs_nic.bin
its an RTL8723S.

How to proceed. Getting the kernel and initrd in Gentoo will be hard, so don't do it yet.
Do a Gentoo install, all except the kernel and its bits and pieces as a dual boot system.
Once Gentoo userspace is working on top of your
Code:
Linux version 4.20.10-042010-generic (kernel@tangerine) (gcc version 8.2.0 (Ubuntu 8.2.0-20ubuntu1)) #201902150516 SMP Fri Feb 15 10:19:07 UTC 2019
kernel, you can put a Gentoo kernel underneath.

During the install, you will chroot into Gentoo, as per the handbook. Once its installed, to be able to boot directly into it there are some extra steps.
Turn off Secure Boot in the BIOS, if you haven't already.
Add a boot stanza to the boot loader so you have a new menu item that starts Gentoo. That's probably a hand edit.
Copy the kernel modules from the existing install to gentoo.
From outside the chroot, that's
Code:
cp -a /lib/modules/* /mnt/gentoo/lib/modules/

Do check you don't get /mnt/gentoo/lib/modules/modules ... I keep messing that up.

Its your choice what you install to. mmc card, USB stick, external HDD.
If you choose mmc card or USB stick, put /var/tmp/portage into RAM, as the build will do a lot of writes that will mostly never be read.

Read the Gentoo Handbook
Be aware of Grub and the Kernel parts but you won't do them yet.

Code:
mdir /mnt/gentoo
because you won't have that.
Follow the handbook. Do not install Grub Do not install a kernel.
genkernel won't work for you without some help.

Once you are booted into Gentoo on top of the borrowed kernel, we can add a Gentoo kernel.
I run a Acer R13 Chromebook with Gentoo in the same way.

-- edit --

You have 4G RAM. You won't be able to build big packages in that but there is per package control of what gets built where, so build space can be moved out of RAM just for those.
Big, is firefox, libreoffice etc.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mrandredparis
n00b
n00b


Joined: 15 Feb 2019
Posts: 8

PostPosted: Mon Feb 18, 2019 9:39 pm    Post subject: Hold Reply with quote

Hey Neddy

I'm going to have to put this project on hold until I can get another system, it will be hard for me to put it together without something to reference while i do the install. Thanks for all your help up to this point
Back to top
View user's profile Send private message
mrandredparis
n00b
n00b


Joined: 15 Feb 2019
Posts: 8

PostPosted: Mon Feb 18, 2019 9:52 pm    Post subject: Woah Reply with quote

Wait a sec, I think I can get by just with a USB Ethernet dongle and my phone, will be able to start sooner than i thought
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54209
Location: 56N 3W

PostPosted: Mon Feb 18, 2019 9:55 pm    Post subject: Reply with quote

mrandredparis,

Bookmark Unable to find mmcblk to boot
This looks a lot like system. You may find it useful when you want to put your own kernel together.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mrandredparis
n00b
n00b


Joined: 15 Feb 2019
Posts: 8

PostPosted: Thu Feb 21, 2019 12:07 am    Post subject: Great stuff Reply with quote

Neddy Thanks again for all the great stuff
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum