The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » [SOLVED] USB Device (keyboard) problem » 2022-02-08 19:31:28

I've found another issue that might be related..  once in awhile the keyboard goes dead.
So I tried switching usb ports , doesn't help.

I found this script which seems to reset the usb , and it does end up working again.. :

#!/bin/bash

if [[ $EUID != 0 ]] ; then
  echo This must be run as root!
  exit 1
fi

for xhci in /sys/bus/pci/drivers/?hci_hcd ; do

  if ! cd $xhci ; then
    echo Weird error. Failed to change directory to $xhci
    exit 1
  fi

  echo Resetting devices from $xhci...

  for i in ????:??:??.? ; do
    echo -n "$i" > unbind
    echo -n "$i" > bind
  done
done

#2 Re: Other Issues » [SOLVED] Desktop locked up .. how to solve?? » 2022-02-05 17:08:35

golinux wrote:

Here's the old gnome xkill icon https://dev1galaxy.org/files/gnome-panel-force-quit.png It has disappeared from the search engines but I have been keeping it alive for a very long time in my icon collection.  Enjoy!

Awesome,  thank you also !

#3 Re: Other Issues » [SOLVED] Desktop locked up .. how to solve?? » 2022-02-05 02:00:49

golinux wrote:

I have an xkill launcher in my xfce panel.  Very helpful for misbehaving browsers big_smile

Will xkill kill the panel / taskbar if you click on that ? 

Not sure if I wanted to try because not sure how to get it back if it does.. lol

#4 Re: Other Issues » [SOLVED] Desktop locked up .. how to solve?? » 2022-02-04 21:11:22

Head_on_a_Stick wrote:

EDIT: you do have swap, right? You need swap.

Yeah it looked like it had been trying to do stuff with swap also later on

Maybe I should have waited awhile longer?  I think I waited about 30 minutes as it was

#5 Re: Other Issues » [SOLVED] USB Device (keyboard) problem » 2022-02-04 18:18:47

Head_on_a_Stick wrote:

Do you actually have any problems with the keyboard apart from the dmesg spam?

Seems to work ok,  I guess its just spam then?
Tried wiggling the cable, disconnect and reconnect.. I'll see if that helps anything.

#6 Other Issues » [SOLVED] USB Device (keyboard) problem » 2022-02-04 18:12:38

jpark
Replies: 3

I keep getting this message repeating again and again.. in dmesg -wH

Should I use a different keyboard?

[Feb 4 09:55] usb 5-1-port2: disabled by hub (EMI?), re-enabling...
[  +0.000007] usb 5-1.2: USB disconnect, device number 11
[  +0.911151] usb 5-1.2: new full-speed USB device number 12 using xhci_hcd
[  +0.224837] usb 5-1.2: New USB device found, idVendor=258a, idProduct=1006, bcdDevice=20.03
[  +0.000002] usb 5-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000001] usb 5-1.2: Product: Gaming KB 
[  +0.000001] usb 5-1.2: Manufacturer: Gaming KB 
[  +0.085267] input: Gaming KB  Gaming KB  as /devices/pci0000:00/0000:00:08.1/0000:0f:00.3/usb5/5-1/5-1.2/5-1.2:1.0/0003:258A:1006.0010/input/input42
[  +0.057789] hid-generic 0003:258A:1006.0010: input,hidraw4: USB HID v1.11 Keyboard [Gaming KB  Gaming KB ] on usb-0000:0f:00.3-1.2/input0
[  +0.004252] input: Gaming KB  Gaming KB  System Control as /devices/pci0000:00/0000:00:08.1/0000:0f:00.3/usb5/5-1/5-1.2/5-1.2:1.1/0003:258A:1006.0011/input/input43
[  +0.063731] input: Gaming KB  Gaming KB  Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:0f:00.3/usb5/5-1/5-1.2/5-1.2:1.1/0003:258A:1006.0011/input/input44
[  +0.000053] input: Gaming KB  Gaming KB  Keyboard as /devices/pci0000:00/0000:00:08.1/0000:0f:00.3/usb5/5-1/5-1.2/5-1.2:1.1/0003:258A:1006.0011/input/input45
[  +0.000075] hid-generic 0003:258A:1006.0011: input,hiddev2,hidraw5: USB HID v1.11 Keyboard [Gaming KB  Gaming KB ] on usb-0000:0f:00.3-1.2/input1

#7 Re: Other Issues » [SOLVED] Desktop locked up .. how to solve?? » 2022-02-04 16:12:09

hevidevi wrote:

try to debug using dmesg. you may be able to find the event in /var/log/syslog if you can remember the time/date it happened.

sounds like a kernel regression maybe.

Seems like around the time it locked up, there were these messages. 
Maybe ran out of memory and it was shutting down chrome?  And just wouldn't let me back to desktop ui?

Feb  3 12:47:11 user rtkit-daemon[2673]: Warning: Reached maximum concurrent process limit for user '1000', denying request.
Feb  3 12:47:11 user rtkit-daemon[2673]: Failed to look up client: Device or resource busy
Feb  3 13:06:54 user kernel: [1443046.597471] chrome invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=300
Feb  3 13:06:54 user kernel: [1443046.597478] CPU: 8 PID: 16803 Comm: chrome Not tainted 5.10.0-10-amd64 #1 Debian 5.10.84-1
Feb  3 13:06:54 user kernel: [1443046.597487]  dump_stack+0x6b/0x83

#8 Other Issues » [SOLVED] Desktop locked up .. how to solve?? » 2022-02-04 15:17:47

jpark
Replies: 13

The other day the desktop locked up..

I could move the mouse around, but couldn't control any windows, and nothing in the task bar worked.. couldn't click to exit anything etc..

So I did ctrl alt F1 

Ran htop

and looked around at programs using a lot of memory ,  tried to kill a bunch of those

went back to desktop (ctrl alt F7)  but still same thing

So went back and tried restarting the panel and xfce window manager

But kept getting an error saying something like cannot connect to the display...

I ended up just issuing "shutdown -r now" and restarting

So any advice or what should I do next time.. so I wouldn't have to restart and save what I'm doing..

#9 Re: Installation » Devuan and vscode » 2022-01-24 13:53:29

Anyone have a recommendation for an actual separate IDE ?
Its just easier for when following tutorials

Edit
I found this, and it shows vscode as an editor, but maybe I shouldn't use that.
https://www.makeuseof.com/best-ide-code … for-linux/

Maybe for ide I'll try eclipse, I guess.

#10 Installation » Devuan and vscode » 2022-01-23 15:26:16

jpark
Replies: 3

Does vscode deb package work/compatible with Devuan?

Is anyone running vscode in Devuan?
Just wanted to check before I go trying to install it.

If not - is there a good, similar alternative ??

Thanks.

#11 Re: Other Issues » [SOLVED] youtube-dl upgrade problem » 2022-01-08 15:21:58

Head_on_a_Stick wrote:
jpark wrote:

So how to fix?

There's nothing to fix. The package version will never change because that's how Devuan releases work.

The youtube-dl version has been updated by pip and is stored under /usr/local/bin/, confirm this for yourself with

which youtube-dl

Then try

# pip3 uninstall youtube-dl
which youtube-dl
youtube-dl --version

It isn't recommended to mix APT python packages with pip but in this case youtube-dl has to change regularly because YouTube modify their APIs to try and stop them and pip doesn't need any other dependencies for this package so it shouldn't wreck any system Python packages. Just don't make a habit of it wink

Obligatory xkcd link: https://xkcd.com/1987/

After doing that uninstall, it shows the latest version installed at

/usr/local/bin/youtube-dl

I also then just did to remove the apt one:

sudo apt remove youtube-dl

So I guess it is fine to leave it that way, it seems.. I tried youtube-dl -U and didn't get the error message, nor did I have to use sudo..
Interesting, this seems to work best.
Thanks!

#12 Other Issues » [SOLVED] youtube-dl upgrade problem » 2022-01-08 01:03:50

jpark
Replies: 23

I tried:

sudo youtube-dl -U
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.

So then I tried:

pip3 install --upgrade youtube-dl

That worked, updated to latest version

youtube-dl --version
2021.12.17

But then (even after sudo apt update):

apt-cache policy youtube-dl
youtube-dl:
  Installed: 2021.06.06-1
  Candidate: 2021.06.06-1
  Version table:
 *** 2021.06.06-1 500
        500 http://deb.devuan.org/merged chimaera/main amd64 Packages
        100 /var/lib/dpkg/status

Shows older version... 
So how to fix??

#14 Re: Installation » [SOLVED] Beowulf to Chimaera recent upgrade.. issues, please help » 2022-01-06 18:56:14

golinux wrote:
jpark wrote:

Where are my styles though?

Themes are found in /usr/share/themes/ or locally in you user directory in .themes.  All previous Devuan themes are still available in the repos.

I click "add" in the style selection and I browse to those locations, but none at all show up in those folders

Is there a link to the actual files in the repo..
Isn't there a "theme" package, i could just install?

#16 Re: Installation » [SOLVED] Beowulf to Chimaera recent upgrade.. issues, please help » 2022-01-06 16:35:32

For
1. I installed nm-tray
I configured it for eth0 but doesn't show the connection

Edit
I'm trying this stuff now
https://dev1galaxy.org/viewtopic.php?id=3729

#17 Installation » [SOLVED] Beowulf to Chimaera recent upgrade.. issues, please help » 2022-01-06 16:11:29

jpark
Replies: 5

1. I installed network-manager,  can't find it in add items for the toolbar. 
Where do I find it or add it ?
Apparently it is running:
sudo /etc/init.d/network-manager start
Starting network connection manager: NetworkManager already started.

2. Where are all my color themes / styles for the taskbar, window borders ?
Seems like only one theme clearlooks-phenix-deapsea

#18 Re: Installation » Cannot add ppa » 2021-03-20 02:23:58

Well, its more of wanting to get it to work, and learn in case I ever have to do it with another package/program in the future.

#19 Re: Installation » Cannot add ppa » 2021-03-19 23:25:49

Head_on_a_Stick wrote:

Yeah, it needs the backported debhelper version.

How do I use that debhelper instead of what is already installed?

#20 Re: Installation » Cannot add ppa » 2021-03-18 20:51:43

There is this,  in the folder though...
obs-studio-build-deps_26.1.2+dfsg1-1_all.deb

Maybe something can be fixed in there?

Edit... how do I get scour.pm into "@INC"

fakeroot debian/rules binary
dh binary
dh: unable to load addon scour: Can't locate Debian/Debhelper/Sequence/scour.pm in @INC (you may need to install the Debian::Debhelper::Sequence::scour module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 17) line 1.
BEGIN failed--compilation aborted at (eval 17) line 1.

Edit; when I do apt-file search ... i get:

scour: /usr/share/perl5/Debian/Debhelper/Sequence/scour.pm

Not sure, some relevant information might be here:
https://bugs.debian.org/cgi-bin/bugrepo … bug=886203

This is actually a bug in scour, where the scour binary and debhelper
addon moved from python-scour to python3-scour.

Neither is the right place.

scour should go into an own binary package of the same name,
and the debhelper addon could also go there.

For properly handling stretch->buster upgrades, python-scour should
depend on the new scour package.

#21 Re: Installation » Cannot add ppa » 2021-03-18 20:37:10

debhelper is already the newest version (12.1.1)

Well it showed more in the error, but it said it already fixed it.. but ended with that error (that I posted).

I unfortunately closed that terminal.

EDIT:  here is what it fixed...

Correcting dependencies...Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) obs-studio-build-deps:amd64 < 26.1.2+dfsg1-1 @iU mK Nb Ib >
Broken obs-studio-build-deps:amd64 Depends on debhelper-compat:amd64 < none @un H > (= 13)
  Considering debhelper:amd64 13 as a solution to obs-studio-build-deps:amd64 -2
  Removing obs-studio-build-deps:amd64 rather than change debhelper-compat:amd64
Done
 Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done

But still ended with previous error.

#22 Re: Installation » Cannot add ppa » 2021-03-18 20:01:58

Dutch_Master wrote:

Did you install the build-essential package? This creates a full build environment by pulling in all essential packages. (by itself it installs nothing, but uses the dependency resolution from apt to get what it needs installed)

Yes installed that.  What is strange is the backport method -error doesn't specify which dependency. 

So I also looked in the control file, but I also don't see linux-generic listed in there ..  from the backport source method

#23 Re: Installation » Cannot add ppa » 2021-03-18 19:47:53

Head_on_a_Stick wrote:

EDIT: or just backport the testing/unstable package, as I suggested earlier. That will probably be simpler.

Doing the backports steps I got this:

sudo mk-build-deps --install --remove
mk-build-deps: Unable to install obs-studio-build-deps at /usr/bin/mk-build-deps line 416.
mk-build-deps: Unable to install all build-dep packages

Is that the same with the linux-generic problem?

Edit:  I looked in debian/control file... but don't see linux-generic listed in there.

#24 Re: Installation » Cannot add ppa » 2021-03-18 19:21:51

Well it failed.  Didn't have the dependencies.
First failure was this:

dpkg-checkbuilddeps: error: Unmet build dependencies: cdbs cmake libpulse-dev libv4l-dev libx264-dev libxcb-xinerama0-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libswresample-dev libavdevice-dev libavfilter-dev libfdk-aac-dev libjack-jackd2-dev libspeexdsp-dev libvlc-dev libasound2-dev libluajit-5.1-dev swig libmbedtls-dev libjansson-dev libnss3-dev libatspi2.0-dev libatk-bridge2.0-dev libgtkglext1-dev linux-generic
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
E: Build command 'cd obs-studio-26.1.1 && dpkg-buildpackage -b -uc' failed.

So I did this, and didn't work either:

sudo apt build-dep obs-studio
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:obs-studio : Depends: linux-generic but it is not installable
E: Unable to correct problems, you have held broken packages.

#25 Re: Installation » Cannot add ppa » 2021-03-18 16:54:07

Head_on_a_Stick wrote:

The version from OBS has been compiled in an Ubuntu system so it is not compatible with Devuan. Building a version in your Devuan system from the same source will make it compatible.

Ok, thank you... so your instructions should work I'm guessing, right?

Board footer

Forum Software