Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Jul 2019, 22:34
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
BionicDog (updated: 2018-06-04)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 20 of 56 [827 Posts]   Goto page: Previous 1, 2, 3, ..., 18, 19, 20, 21, 22, ..., 54, 55, 56 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Thu 07 Jun 2018, 10:59    Post subject:  

wiak wrote:
EDIT: Just took a look. Calling up a separate function file every time function is called is certainly a slow.......... technique when disc I/O accesses are always required

That's true, if you don't want to rely on disk/file caching.

Quote:
unless that is you are storing the functions file in RAM based tmp, which is the method I advocated

Good idea. That was easy to implement. Thanks for the tip.
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1490
Location: not Bulgaria

PostPosted: Thu 07 Jun 2018, 11:01    Post subject:  

oh wow, you are so cool today rcrsn51, you almost make me laugh! Wink
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2363
Location: In The Way

PostPosted: Thu 07 Jun 2018, 14:56    Post subject:  

Irishrm

rcrsn51 wrote:

Puppy has a clever work-around for this situation - you can do a kernel-switch and use a pre-existing driver package. That's not always so easy in the Dogs.


I compiled a 4.16.13 kernel on fatdog64.... I coppied the kernel-modules.sfs to /casper/modules/kernel-modules.squashfs and the kernel to ../casper or boot drive partition and i's working fine. For the wl.ko module fatdog kernel 4.12.x has the wl.ko kernel for your broadcom card, i have the same card. It should work fine. I have tried several times to compile the wl.ko module for the latest kernels, without success.

stemsee
Back to top
View user's profile Send private message MSN Messenger 
irishrm


Joined: 14 Mar 2009
Posts: 271

PostPosted: Thu 07 Jun 2018, 15:46    Post subject:  

rcrsn51 no pressure. If you find the time that would be great,
The kernel is 4.15.0-15-generic.

stemsee: I'm afraid compiling is a bit beyond me. If I had access to the kernel you compiled I might be able to stick it in the correct place.

Again no pressure.
thanks.
irishrm
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Thu 07 Jun 2018, 15:51    Post subject:  

stemsee wrote:
For the wl.ko module fatdog kernel 4.12.x has the wl.ko kernel for your broadcom card,

I set up BionicDog64 and swapped in the Fatdog kernel k4.12.10. This works.

Are you saying that the wl.ko module should be included? I don't see it. Or is it somewhere in the repo?
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2363
Location: In The Way

PostPosted: Thu 07 Jun 2018, 17:15    Post subject:  

It's in the main sfs /usr/share/broadcom/wl.ko and is loaded with insmod becasue it is out of tree, but i place it in lib/modules/kernel/network/wireless/wl.ko and then run depmod, and it loads normally with system.

EDIT: The latest iso has kernel 4.14.12 with wl.ko, it's too big to upload here.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2363
Location: In The Way

PostPosted: Thu 07 Jun 2018, 17:32    Post subject:  

Typically one should use dkms to compile the wl module on Debian/Ubuntu systems. This way automatically updates the module when newer kernels are added .... not tried myself!
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 3988
Location: holland

PostPosted: Thu 07 Jun 2018, 18:22    Post subject:  

I think it's the bcmwl-kernel-source package that needs installed, can't test right now.
Code:
apt-get install linux-headers-generic bcmwl-kernel-source

(or load the devx and install bcmwl-kernel-source)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Thu 07 Jun 2018, 19:09    Post subject:  

@stemsee: I found it, thanks.

@fred: This gets a bit tricky because linux-headers-generic points to k4.15.0-22-generic and irishrm is still using the older BionicDog with k4.15.0-15-generic.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Thu 07 Jun 2018, 19:33    Post subject:  

@fred: Very nice! It even sets up the blacklisting of b43, etc.

Code:
apt-get update #if needed
apt-get install linux-headers-generic
apt-get install bcmwl-kernel-source
reboot


@irishrm: You can do this yourself, but you would first need an upgrade to the latest BionicDog 2018-06-04.

Make sure that your save folder has lots of space.

Last edited by rcrsn51 on Fri 08 Jun 2018, 01:41; edited 1 time in total
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 740

PostPosted: Thu 07 Jun 2018, 23:06    Post subject:  

@ITSMERSH

I don't wish to hijack this thread, but your mention of the Samsung N150 netbook makes me ask whether you are able to control the screen brightness of the netbook when working from battery only. If yes, I'll open a new thread where you can elaborate.
TIA

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3988
Location: holland

PostPosted: Fri 08 Jun 2018, 03:41    Post subject:  

rcrsn51 wrote:
@fred: Very nice! It even sets up the blacklisting of b43, etc.

Code:
apt-get update #if needed
apt-get install linux-headers-generic
apt-get install bcmwl-kernel-source
reboot



Yes, tested now, that works nicely but indeed takes a lot of space.

Quote:
@irishrm: You can do this yourself, but you would first need an upgrade to the latest BionicDog 2018-06-04.


Not if you load the devx for the older Bionicdog version: 61-DEVX-BionicDog64_2018-04-21_amd64.squashfs, download here:
https://github.com/fredx181/bionicdog/releases/tag/v1.1
Then after loading, install bcmwl-kernel-source (I tested and it works)

EDIT: I'll try making some .deb packages for it, back later.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
irishrm


Joined: 14 Mar 2009
Posts: 271

PostPosted: Fri 08 Jun 2018, 05:28    Post subject:  

rcrsn51, fredx181 thanks for your work on this.
I already have two installs of the older kernel up and running with a wifi dongle.
I am going to have a go at both your suggestions. I may learn something.
However with my limited experience if a .deb package was available it would be great.
Will report on progress in time.
irishrm.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3988
Location: holland

PostPosted: Fri 08 Jun 2018, 06:01    Post subject:  

Here are (unoffical) .deb packages for the wl module for testng.
(I could only test if wl is loaded at reboot after install, and it does,, but not if it actually works for wireless).

For older BionicDog 2018-04-21 (@irishrm, I think I read that you're on 64-bit, so then you'll need the amd64 .deb) :
https://fredx181.github.io/bionicdog/NoRepo/bcmwl_0.0.1_k4.15.0-15_amd64.deb
https://fredx181.github.io/bionicdog/NoRepo/bcmwl_0.0.1_k4.15.0-15_i386.deb

For Bionicdog 2018-06-04:
https://fredx181.github.io/bionicdog/NoRepo/bcmwl_0.0.1_k4.15.0-22_amd64.deb
https://fredx181.github.io/bionicdog/NoRepo/bcmwl_0.0.1_k4.15.0-22_i386.deb

EDIT: After installing, reboot (safest) with changes saved or try:
Code:
modprobe -r b43 bcma
modprobe wl


Fred

_________________
Dog Linux website
Tinylinux blog by wiak

Last edited by fredx181 on Fri 08 Jun 2018, 07:28; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12627
Location: Stratford, Ontario

PostPosted: Fri 08 Jun 2018, 07:05    Post subject:  

fredx181 wrote:
EDIT: After installing, reboot with changes saved or do:
Code:
modprobe wl

Rebooting is safest, because it activates the blacklisting. Otherwise, you need to do something like
Code:
modprobe -r b43 bcma
modprobe wl

@Fred: Where is the DEBIAN folder hiding in these debs? It looks like "depmod -a" is being run, but I don't see how.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 20 of 56 [827 Posts]   Goto page: Previous 1, 2, 3, ..., 18, 19, 20, 21, 22, ..., 54, 55, 56 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0881s ][ Queries: 12 (0.0346s) ][ GZIP on ]