The officially official Devuan Forum!

You are not logged in.

#1 Re: Desktop and Multimedia » Pipewire without elogind » 2025-05-21 14:20:24

Im not. That seems to have done it. Thanks!

#2 Desktop and Multimedia » Pipewire without elogind » 2025-05-20 21:41:14

hunter0one
Replies: 2

Because Wireplumber is built with elogind enabled, Pipewire will not work if one chooses to go the route of dummy-logind/consolekit. Is there interest in having a wireplumber package without it enabled, or a hack to use it without it anyway?

#3 Re: Hardware & System Configuration » [SOLVED] zramswap script won't start » 2025-05-20 21:28:01

By enabled I meant that the init script does not start automatically if I remember correctly. You have to enable it with update-rc.d.

#4 Re: Hardware & System Configuration » [SOLVED] zramswap script won't start » 2025-05-20 20:54:47

No problem. Its not actually in Devuan repos as I'm not sure how to propose it. It may have to first be enabled by you if I remember correctly. I am currently on PCLOS, not Devuan.

#5 Re: Hardware & System Configuration » [SOLVED] zramswap script won't start » 2025-05-19 18:26:24

As another option I've ported the zramen script from Void Linux to Devuan. It comes with a working init script for Daedulus.

https://git.disroot.org/hunter0one/devu … ter/zramen

#6 Re: Hardware & System Configuration » Which Trackball device? » 2025-05-18 21:14:10

I really like the Logitech Marble but I just recently bought a Porlei TM551 and its fantastic if you're right-handed. It comes with a scroll wheel which is notably missing from the Marble, but the Marble can be configured to have scrolling if you hold down the left back button and move the ball. Both are very comfortable to use.

EDIT: Just realized you also used the Marble and ran into similar problems as I did. Alos that you are left-handed. I haven't used any others besides the Marble that could be used left-handed, maybe the Kensington Orbit.

#7 DIY » Zramen » 2024-08-28 15:17:25

hunter0one
Replies: 0

The zramen script (by atweiden) from Void Linux is like my guinea pig for learning to package on other distributions. It is a simple script that creates a zram device and uses environment variables to configure the size and compression algorithm. I've made a DEB package with a sysvinit script for Devuan which you can find here: https://git.disroot.org/hunter0one/devu … ter/zramen

#8 Re: Packaging for Devuan » Repository deb.devuan.org not accepted by Discover » 2024-08-26 13:10:12

The problem is we don't have an AppStream repository like Debian does. AppStream is what holds all the fancy metadata showing the icons, screenshots, and info in software centers like Discover or GNOME Software. You can fix it by doing what Konna (post #12) said here.

#9 Packaging for Devuan » [SOLVED] RPM to DEB packager » 2024-08-25 22:33:23

hunter0one
Replies: 0

I would like to make my own Devuan packages but I have far more experience with packaging for RPM and XBPS. The maint-guide is quite confusing to me. Is there maybe a guide or tutorial which describes how to package for DEB in a way an RPM packager understands? Thanks

EDIT: I am finding all the man pages for debhelper now. These have helped a lot.

#10 Re: Desktop and Multimedia » KDE Desktop - Discover says I'm offline » 2024-02-19 16:56:33

It's the same issue we had here. https://dev1galaxy.org/viewtopic.php?id=4726

Long story short, Devuan doesn't have an appstream database like Debian does to get package information in Discover or GNOME software.

#11 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2024-02-13 16:01:52

Sorry for the long wait, but I tried all of your suggestions as well as ones from other forums and unfortunately I've concluded that this EasyCap was a dud. I had already spend so much time on this one I'm embarrassed to admit that I bought a "UCEC" capture card that looks nearly identical (with a number of Linux users who gave good reviews) and it works like a charm. It even uses the same module (uvcvideo) too.

#12 Re: Installation » Image viewers: EOG vs EOM » 2024-02-13 15:25:16

You could try Ristretto which is the Xfce image viewer, as far as I know it should follow xfce4's settings more so than eom because of xfconf.

#13 Re: Desktop and Multimedia » [SOLVED] Not getting thumbnails in Mate » 2023-12-24 22:12:47

ffmpegthumbnailer is what I have installed and get thumbnails in Caja.

#14 Re: Devuan » The insanity continues... BSOD coming to a systemd near you? » 2023-11-30 22:51:13

It's hard to believe this was a real thing when I first heard of it several weeks ago.

#15 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-14 16:42:03

ralph.ronnquist wrote:

@hunter0one, did you verify read-write access to the USB device node concerned?

Yes, I'm sorry I didn't mention I tried that after the first time you asked:

crw-rw-r-- 1 root root 189, 14 Sep 12 19:40 /dev/bus/usb/001/015

I still don't understand how to tell what the sequence of "bits" means what in *nix (besides r is read and w is write) but it seems read-write access is allowed.

To be on the safe side I ran chmod +rw /dev/bus/usb/001/015 and it results in the same sequence:

crw-rw-r-- 1 root root 189, 14 Sep 12 19:40 /dev/bus/usb/001/015

#16 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-13 21:03:07

chris2be8 wrote:

Check your ID is in the video group. id should tell you. Post output from it if not sure.

uid=1000(hunter) gid=1000(hunter) groups=1000(hunter),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),105(netdev),113(lpadmin),121(scanner)

It does appear that I am.

alexkemp wrote:

Do you have a broken wire?

I have tried every combination that qv4l2 would let me to no avail. The wires don't appear broken. This adapter never really got used before so its almost like brand new, because about a year ago is when I first received it and gave it a try and it wouldn't even appear as a device in Linux. I never got around to checking out why but most likely I was missing the module. Now that I have the time to try it again, it appears in dmesg and generates video devices but unfortunately it seems to be a paperweight.

#17 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-13 00:53:14

For some reason the capture image format and image size can't be changed in QV4L2, when I select another option for the first time it changes to the default and won't let the option be picked again. For the format it is MJPG and the image size is 640x480 like v4l2-ctl shows. I've went on and tried as many options as I could as both root and regular user but still get a black screen. This is unfortunate.

#18 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 23:45:50

alexkemp wrote:

What are the results of v4l2-ctl --all + arecord -l or arecord -L or cat /proc/asound/cards?

This is v4l2-ctl --all:

Driver Info:
	Driver name      : uvcvideo
	Card type        : AV TO USB2.0
	Bus info         : usb-0000:01:00.0-6
	Driver version   : 6.5.2
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : AV TO USB2.0
	Serial           : 20150130
	Bus info         : usb-0000:01:00.0-6
	Media version    : 6.5.2
	Hardware revision: 0x00000121 (289)
	Driver version   : 6.5.2
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : AV TO USB2.0
	Function         : V4L2 I/O
	Flags            : default
	Pad 0x01000007   : 0: Sink
	  Link 0x0200000d: from remote pad 0x100000a of entity 'Processing 2' (Video Pixel Formatter): Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 640/480
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 614400
	Colorspace        : sRGB
	Transfer Function : Rec. 709
	YCbCr/HSV Encoding: ITU-R 601
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 640, Height 480
	Default     : Left 0, Top 0, Width 640, Height 480
	Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 640, Height 480, Flags: 
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 640, Height 480, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 30.000 (30/1)
	Read buffers     : 0

And arecord -l:

**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC887-VD Alt Analog [ALC887-VD Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: MS210x [MS210x], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Pay attention to your user. Your ls -l results show that you will have permission errors unless you go root.

I tried to run ffmpeg with sudo but get the same exact /dev/video0: Input/output error. When I try /dev/video1 it results in not a video capture device

Or try the advice in the Wiki link: sudo chmod a+r /dev/video0. I'm pretty sure that that is why you are getting the 'input/output error'.

After issuing chmod a+r to video0 & video1 they both still give the same respective errors.

I used your revised script but it still gives the same output for both video0 and video1, albeit with the deprecated warning gone.

#19 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 20:17:36

I already told you that the error was the same input/output message that I get from ffmpeg by itself. I also said options like AUDIO_DEVICE did not work. Here's an example of what I had originally tried:

hunter@ryzen-rig:~$ encode_stream OUTPUT_NAME=test VIDEO_DEVICE=/dev/video0 AUDIO_DEVICE=hw:2,0 REGION=NTSC
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
[video4linux2,v4l2 @ 0x56175e071200] Cannot open video device AUDIO_DEVICE=hw:2,0: No such file or directory
AUDIO_DEVICE=hw:2,0: No such file or directory

When I try to do it with just the OUTPUT_NAME and REGION since all the defaults are correct except for the region:

hunter@ryzen-rig:~$ encode_stream OUTPUT_NAME=test REGION=NTSC
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
/dev/video0: Input/output error

An input/output error seems to be the biggest one I get across the board. What would cause it?

#21 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 14:05:30

hunter@ryzen-rig:~$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 Sep 12 08:34 /dev/video0
crw-rw----+ 1 root video 81, 1 Sep 12 08:34 /dev/video1

#22 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 13:54:33

Thanks, I just tried that qv4l2 tool and followed the article but I get a black screen even with the VCR turned on. Screenshot-2023-09-12-08-49-16.png[
After the first try with YUYV as the capture format, it switches to Motion-JPEG and won't let me pick anything but that. MJPG doesn't show anything either though.

If anything, my device doesn't appear as usbtv but instead "Camera 1".

#23 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 13:25:49

ralph.ronnquist wrote:

I have that same USB dongle and successfully captured a stack of videos, but a year or so ago. So it was a different computer; probably beowulf but possibly ascii even.

And there was no I/O error?

From memory I used uvccapture or possibly ffmpeg directly. I have a vague memory that only one of its two /dev/videoN worked. Package v4l-utils is also useful, eg list devices with v4l2 --list-devices.

I got v4l2-utils to list the devices as well but I haven't gotten the uvccapture package. I tried ffmpeg directly but got the same input/output error.

This leads to a 404.

alexkemp wrote:

My copy on desktop machine of encode_stream script is dated Dec 21  2021, and I have not used it recently, but I know of zero reason why it should not work today.

Thanks. I tried your script but some of the options like AUDIO_DEVICE and REGION did not work, and I got an input/output error when given just the device and output file.

EDIT: Also tried uvccapture, but it doesn't work either. I looked at the man page and it only creates jpeg's.
EDIT #2: For those curious, trying to play /dev/video1 gives "Inappropriate ioctl for device". I cannot seem to select /dev/video1 in a program like OBS.

#24 Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 02:50:47

hunter0one
Replies: 27

I have a little AV to USB capture card called a MacroSilicon MS210x according to lsusb. When plugged in, it generates a /dev/video0, /dev/video1, and /dev/media0 device and within OBS Studio it can be captured as "Camera 1". This leaves a black screen, even when a VCR or something similar is plugged in. When I try to access it in VLC by navigating to Media ->  Open Capture Device and opening /dev/video0, VLC buffers for a moment and then gives this error:

v4l2 error: cannot set format: Input/output error
v4l2 error: not a radio tuner device
v4l2 error: cannot set format: Input/output error

Interestingly, OBS shows the same errors when I checked its log.

People on Ubuntu had no problems and also an Artix user reported that they had the AV cord in Line In but my cords are plugged into the line out ports which are just the composite video and mono audio (the yellow and white), yet I get this input/output error. I've tried playing a tape in the VCR to see if it would show anything after a video starts playing but unfortunately not.

The dmesg output:

[ 2943.095846] usb 1-8: Product: AV TO USB2.0
[ 2943.095849] usb 1-8: Manufacturer: MACROSILICON
[ 2943.095851] usb 1-8: SerialNumber: 20150130
[ 2943.102906] usb 1-8: Found UVC 1.00 device AV TO USB2.0 (534d:0021)
[ 2943.107836] usb 1-8: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 2948.392268] usb 1-8: 2:2: failed to get current value for ch 0 (-110)
[ 2948.411902] usb 1-8: Warning! Unlikely big volume range (=8191), cval->res is probably wrong.
[ 2948.\411905] usb 1-8: [2] FU [Mic Capture Volume] ch = 1, val = 0/8191/1

I'm using a custom kernel which is 6.5.2. It uses the same config as the one from Devuan but I just enabled the rtl8xxxu untested drivers option since my wifi adapter needs this in order to work.

Any help would be appreciated.

#25 Re: Desktop and Multimedia » Sway with seatd » 2023-09-11 00:38:07

libpam-ck-connector is for Consolekit2 to communicate with PAM. Consolekit2 is a more Unix respecting alternative to elogind and seatd is used alongside it to cover Wayland sessions.

Board footer

Forum Software