Dpup Stretch 7.5 CE (RC-5)

A home for all kinds of Puppy related projects
Message
Author
watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#401 Post by watchdog »

perdido wrote: Anyone know where to get the kernel headers for kernel 4.1.48?
http://smokey01.com/radky/Woof/

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#402 Post by perdido »

watchdog wrote:
perdido wrote: Anyone know where to get the kernel headers for kernel 4.1.48?
http://smokey01.com/radky/Woof/
Hi watchdog

Got all those but can't find the headers is any of them???

Edit: ended not needing the kernel headers to compile a wifi driver.
I still don't see them in either the devx, kernel sources or the fdrv sfs files.

.

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#403 Post by watchdog »

I do not know much about this technical question. In puppy the kernel sources sfs is all I have ever used to compile drivers: I suppose it is intended to contain the headers of the kernel and all you need to compile drivers. I never installed headers of the kernel standing alone. Any puppy comes only with the base iso, the devx sfs to compile and the kernel sources sfs to compile drivers.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#404 Post by sc0ttman »

Was just testing my Stretch 7.5 dotfiles in RC3...

The following package should probably be installed by default:

ncurses-term_6.0+20161126-1+deb9u2

Without it, when I set $TERM to a 256 color setting, like xterm-256color (or mlterm-256color in my case),
then it causes errors... Typing 'clear' and hitting enter might bring up the error msg...

Without being able to set a term to 256 colours, editors like Vim and Micro dont work as expected, and code
highlighting by programs like ranger, Pygments, bat (and others) dont work..


...Long story short, I installed ncurses-term_6.0, then set TERM=mlterm-256color ..
And now my terminal programs work OK again...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#405 Post by Keef »

perdido

In the kernel source sfs, the headers are in :

/usr/src/linux/include/
/usr/src/linux/usr/include/

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#406 Post by perdido »

Keef wrote:perdido

In the kernel source sfs, the headers are in :

/usr/src/linux/include/
/usr/src/linux/usr/include/
Thanks Keef !

.

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#407 Post by cthisbear »

radky:

Any chance of including drivers for

Simplecom NW601 Wireless USB in upcoming Stretch

http://murga-linux.com/puppy/viewtopic. ... 53#1008253

Solved twice in that link.

Chris.

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#408 Post by radky »

sc0ttman wrote:
The following package should probably be installed by default:

ncurses-term_6.0+20161126-1+deb9u2

http://murga-linux.com/puppy/viewtopic. ... 25#1008425
Hi sc0ttman,

I will add ncurses-term_6.0+20161126-1+deb9u2 to RC4.

---
cthisbear wrote:
Any chance of including drivers for

Simplecom NW601 Wireless USB in upcoming Stretch

http://murga-linux.com/puppy/viewtopic. ... 15#1008415
Hi cthisbear,

From perdido's rtl8812au-5.1.5_k4.1.48.pet I will include the following in the 4.1.48 iso of RC4:

/lib/modules/4.1.48/kernel/drivers/net/wireless/8812au.ko

Thanks
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#409 Post by cthisbear »

radky is a winner, as are all the Puppy helpers
here on Murga.

Cheers.....Chris.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#410 Post by sc0ttman »

Hi radky,

Just a follow up on virtualbox... I booted a fresh RC3 and tried following your instructions as I understood them:

1. I used "SFS Load on-the-fly" to load the "kernel-sources-4.9.131-stretch.sfs" and the devx

2. I installed the VirtualBox .deb from their website for i386

3. I run the command you gave me ... But I got...

Code: Select all

# /etc/init.d/vboxdrv setup
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
Not sure what I am doing wrong.. Probably something dumb..

Thanks for the ListDD tip... I hadn't seen that!

BTW, if Pkg is installed, you can also do this in the terminal:

pkg ldd <pkgname>

(where <pkgname> is an installed package:)

Code: Select all

# pkg ldd virtualbox
Searching for missing dependencies.. Please wait.
WARNING: virtualbox-5.2 has missing dependencies:
  /usr/lib/virtualbox/VBoxTestOGL:
    libQt5Core.so.5 => not found
  libQt5OpenGL.so.5 => not found
  libQt5Widgets.so.5 => not found
  /usr/lib/virtualbox/kchmviewer:
    libQt5Core.so.5 => not found
  libQt5Gui.so.5 => not found
  libQt5Widgets.so.5 => not found
  libQt5PrintSupport.so.5 => not found

... which is probably broken.. so I might steal your ListDD code for Pkg ;)
----

norgo, thanks for the info, I will try your instructions and downloads next time round to see if that works..

-----

I really would like to know how to build the modules myself tho...
Just to know what I'm doing wrong and learn something..

Ideally I wanna build a headless-only Vbox package, and just use vbox,sh to manage the VMs ...
.. then re-build it on different pups..

Cheers
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#411 Post by radky »

sc0ttman wrote:
1. I used "SFS Load on-the-fly" to load the "kernel-sources-4.9.131-stretch.sfs" and the devx

2. I installed the VirtualBox .deb from their website for i386

3. I ran the command you gave me (/etc/init.d/vboxdrv setup) But I got...

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.

This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
Hi sc0ttman,

http://murga-linux.com/puppy/viewtopic. ... 80#1007680

Make sure the kernel sources match the kernel in use. For example, Dpup Stretch 7.5 RC3 is available in two iso formats, one with the 4.1.48 kernel and one with 4.9.101. The corresponding kernel sources are available in the first post of this thread.

Note: RC4 (not yet released) will have an updated 4.9.X kernel, possibly 4.9.135.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#412 Post by perdido »

radky wrote:
sc0ttman wrote:
The following package should probably be installed by default:

ncurses-term_6.0+20161126-1+deb9u2

http://murga-linux.com/puppy/viewtopic. ... 25#1008425
Hi sc0ttman,

I will add ncurses-term_6.0+20161126-1+deb9u2 to RC4.

---
cthisbear wrote:
Any chance of including drivers for

Simplecom NW601 Wireless USB in upcoming Stretch

http://murga-linux.com/puppy/viewtopic. ... 15#1008415
Hi cthisbear,

From perdido's rtl8812au-5.1.5_k4.1.48.pet I will include the following in the 4.1.48 iso of RC4:

/lib/modules/4.1.48/kernel/drivers/net/wireless/8812au.ko

Thanks
Hi radky,

Since you plan on changing kernels in next release here are the sources
for the rtl8812au driver

https://github.com/zebulon2/rtl8812au

.

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

touchpad driver

#413 Post by WiZard »

I've done a frugal install of rc3 on two different laptops. When I open FbBox Control Center>Hardware>Touchpad a message opens saying that the Synaptics driver is not loaded. These are laptops that other Puppies load the drivers.

Thanks

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

Re: touchpad driver

#414 Post by watchdog »

WiZard wrote:I've done a frugal install of rc3 on two different laptops. When I open FbBox Control Center>Hardware>Touchpad a message opens saying that the Synaptics driver is not loaded. These are laptops that other Puppies load the drivers.
See if the following post helps:

http://www.murga-linux.com/puppy/viewto ... 77#1007977

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

pschedule 1.1.6 not working after reboot in rc3

#415 Post by WiZard »

A task created in pschedule will run correctly in that session, but will not run after reboot. I found this topic that discusses this issue:

http://www.murga-linux.com/puppy/viewto ... b0d68ccbf7

Using information from that I found that pschedule started buzybox crond when the task is created but does not restart buzybox crond after a reboot. I fixed the problem by putting the script file cron_start.sh in the Startup directory.

There are probably better ways to fix it, but this one is simple and works.
Attachments
cron_start.sh.zip
unzip and put in Startup directory
(252 Bytes) Downloaded 92 times

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

touchpad synaptics driver

#416 Post by WiZard »

@wathcdog
That worked perfect, thanks

@radky
Should this be detected and loaded on install?

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#417 Post by sc0ttman »

radky wrote:Hi sc0ttman,

Make sure the kernel sources match the kernel in use.
Oops.... :oops: :oops: :oops: Had the wrong kernel sources SFS loaded...

Tried again..

Modules built this time.. Thanks for the help :)
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

Re: touchpad driver

#418 Post by radky »

WiZard wrote:I've done a frugal install of rc3 on two different laptops. When I open FbBox Control Center>Hardware>Touchpad a message opens saying that the Synaptics driver is not loaded. These are laptops that other Puppies load the drivers.

Thanks
@WiZard,

While in Dpup Stretch, please run the following in a terminal and post the output.

Code: Select all

egrep -i 'synap|alps|etps|elan' /proc/bus/input/devices
Thanks
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

WiZard
Posts: 119
Joined: Sun 11 Sep 2005, 20:04
Location: Oklahoma USA

Synaptics touchpad driver

#419 Post by WiZard »

Hi radky,
I think I found the synaptics driver problem and it is my fault. Normally when adopting a new Puppy I set it all up on my desktop computer, remaster it and then install that on the other computers. This time I could not successfully remaster rc3 so when I installed it to the laptops I also copied the save file from the desktop. I 'm pretty sure that kept puppy from finding the touchpad device and loading the driver.

To test it I booted one of the laptops without the save file and it did find the touchpad and load the driver.

Let me know if you still want me to test with the egrep code you sent.

Thanks
wiz

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#420 Post by cthisbear »

Both of perdido's pets work without a reboot needed for this Simplecom.

rtl8812au-5.1.5_k4.1.48.pet

rtl8812au_rtl8821au-4.3.20_k4.1.48.pet

for Simplecom NW601 Wireless USB

were tested by me twice -- booting in a pristine Stretch,

I Turned off the start screen.
Enabled firewall and
Next did the sound level
And I had no Lan cable in the desktop at bootup.

The usb device was not connected either.

I installed the above pet by perdido.
Different clean boots...different Pets to see if this method
worked each time for each file.

I did not Save and Reboot

Instead I hit ...Control -Alt - Backspace together
to go to the prompt.

Then I typed >>>> Xwin and hit >>> Enter

and came back to the desktop

I then plugged in the Simplecom wifi usb.

Then I Setup Networking >> Wired or Wireless

and Selected Frisbee

Which came up with Wireless networks showing very quickly

Added my password...and it took about 10 seconds to
be enabled and connected.

As stated I did this no save method twice with a pristine Stretch.

So you can save or not save.
But to work with a no SAVE to do plug in the device until
after installing and coming back to the desktop from
the prompt.

Again thanks...now even better this way.

Chris,

Post Reply