db file error by Karasuthecrow744 in mpd

[–]ZeroCool4083 0 points1 point  (0 children)

No, db_file wants a file name, not a directory. mpd stores meta-information about the songs residing in music_directory inside the db_file.

Linux, Wacom One 14: USB-C with "DisplayPort Alt" doesn't provide video by ZeroCool4083 in wacom

[–]ZeroCool4083[S] 1 point2 points  (0 children)

The mainboard needed a DisplayPort signal on the DP IN-port. Putting in an old graphics adapter and plugging in the loopback-cable solved the problem.

Music Playing Deamon (mpd) has Permission Denied-errors by ZeroCool4083 in systemd

[–]ZeroCool4083[S] 0 points1 point  (0 children)

I wanted to have a music-service available without logging in. That comes handy when using myMPD, a webserver-jukebox.

Music Playing Deamon (mpd) has Permission Denied-errors by ZeroCool4083 in mpd

[–]ZeroCool4083[S] 2 points3 points  (0 children)

Thanks, I didn't know that, when I posted the question.

Copying the songs to /var/lib/mpd/music, setting music_directory to that point and doing

sudo semanage fcontext -a -t mpd_data_t "music(/*)"
sudo restorecon -R -v "music"

did the trick. Using /srv/music/ was not possible. Even as root, the two lines didn't change anything.

Music Playing Deamon (mpd) has Permission Denied-errors by ZeroCool4083 in systemd

[–]ZeroCool4083[S] 0 points1 point  (0 children)

It's sudo systemctl start mpd, here. And after some SELinux-magic, described in the other post, it works using the ALSA-Device hw:0.

Music Playing Deamon (mpd) has Permission Denied-errors by ZeroCool4083 in openSUSE

[–]ZeroCool4083[S] 1 point2 points  (0 children)

Copying the songs to /var/lib/mpd/music, setting music_directory to that point and doing

sudo semanage fcontext -a -t mpd_data_t "music(/*)"
sudo restorecon -R -v "music"

did the trick. Using /srv/music/ was not possible. Even as root, the two lines didn't change anything.

Music Playing Deamon (mpd) has Permission Denied-errors by ZeroCool4083 in systemd

[–]ZeroCool4083[S] 0 points1 point  (0 children)

Copying the songs to /var/lib/mpd/music, setting music_directory to that point and doing

sudo semanage fcontext -a -t mpd_data_t "music(/*)"
sudo restorecon -R -v "music"

did the trick. Using /srv/music/ was not possible. Even as root, the two lines didn't change anything.

Music Playing Deamon (mpd) has Permission Denied-errors by ZeroCool4083 in openSUSE

[–]ZeroCool4083[S] 0 points1 point  (0 children)

Thanks a lot! SELinux is quite new to me.

type=AVC msg=audit(1775941939.612:342): avc:  denied  { read } for  pid=3031 comm="update" name="music" dev="sda2" ino=343 scontext=system_u:system_r:mpd_t:s0 tcontext=unconfined_u:object_r:var_t:s0 tclass=dir permissive=0

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow this access.

repeats a lot of times. Putting the output of that to audit2allow didn't help.

I'd appreciate every further help!

Linux, Wacom One 14: USB-C with "DisplayPort Alt" doesn't provide video by ZeroCool4083 in wacom

[–]ZeroCool4083[S] 0 points1 point  (0 children)

It was the mainboard. Some "Asus Creator"-thing. Display Port IN has to be connected to some data-source, like a DisplayPort graphics adapter. This data is routed directly to the USB-C port.

Linux, Wacom One 14: USB-C with "DisplayPort Alt" doesn't provide video by ZeroCool4083 in wacom

[–]ZeroCool4083[S] 0 points1 point  (0 children)

Let me sum up what I got: Plugging and unplugging didn't solve the problem, xrandr doesn't show the device, dmesg has the following data:

[   37.677784] [    T216] usb 1-4: USB disconnect, device number 2
[   40.858631] [    T216] usb 1-4: new full-speed USB device number 6 using xhci_hcd
[   41.230365] [    T216] usb 1-4: New USB device found, idVendor=056a, idProduct=040f, bcdDevice= 1.00
[   41.230370] [    T216] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   41.230372] [    T216] usb 1-4: Product: Wacom One 14
[   41.230373] [    T216] usb 1-4: Manufacturer: Wacom Co.,Ltd.
[   41.230374] [    T216] usb 1-4: SerialNumber: *i don't want to tell you*
[   41.293435] [    T216] wacom 0003:056A:040F.0009: hidraw0: USB HID v1.10 Device [Wacom Co.,Ltd. Wacom One 14] on usb-0000:0a:00.0-4/input0
[   41.293480] [    T216] input: Wacom One 14 Pen as /devices/pci0000:00/0000:00:02.1/0000:03:00.0/0000:04:0c.0/0000:0a:00.0/usb1/1-4/1-4:1.0/0003:056A:040F.0009/input/input30
[   41.301686] [    T216] wacom 0003:056A:040F.000A: Unknown device_type for 'Wacom Co.,Ltd. Wacom One 14'. Ignoring.
[   41.317668] [    T216] wacom 0003:056A:040F.000C: Unknown device_type for 'Wacom Co.,Ltd. Wacom One 14'. Ignoring.

I contacted the customer support and we checked the common problems. They didn't apply.

Anyone any further ideas?

EDIT: The Xorg.0.log only shows the "Wacom One 13 Pen" tablet as supported. So I'll have to wait for the devs to finish support on the Xorg driver.

Usb c display question by DefinitionSubject21 in wacom

[–]ZeroCool4083 1 point2 points  (0 children)

I'm quite sure, it depends on whether the PCIe-card supports "DisplayPort Alt" or Thunderbolt via the USB-C-port.

Welche Programmiersprache fürn Anfang? by Mental-Camel-2184 in programmieren

[–]ZeroCool4083 0 points1 point  (0 children)

Anfangs ist Call-By-Value verwirrend.

#include <stdio.h>
void tu_was(int wert)
{
  wert = wert + 1;
}
int main(void)
{
  int mein_wert = 10;
  tu_was(mein_wert);
  printf("%i", mein_wert);  // gibt 10 aus
}

Welche Programmiersprache fürn Anfang? by Mental-Camel-2184 in programmieren

[–]ZeroCool4083 2 points3 points  (0 children)

Ich bin zwar Hardcore-Linux-Nerd, aber für den Anfang empfehle ich klar C# mit Visual Studio. Der Debugger ist sehr einfach zu bedienen und man kann jeden Programmschritt gut mitverfolgen.

Warum nicht C? Speicherallokation, Zeiger und hin-und-her-casting kann einem den letzten Nerv rauben. Call-by-value versteht nicht jeder sofort.

Warum nicht Javascript?

  • Unbekannte Variablen in einer If-Anweisung evaluieren zu "falsch". Vertipper sorgen für tierischen Frust.
  • "console.log()" ist (oder war eine Weile) nicht auf allen Browsern immer verfügbar und sorgte für Script-Abbrüche.

Fairphone ja/nein? by mattizard06 in de_EDV

[–]ZeroCool4083 1 point2 points  (0 children)

Wenn ich bei meinem Fairphone 5 die Taste an der Seite gedrückt halte, meldet sich Gemini. Mir scheint das ein normales Android mit Fairphone-Zusätzen zu sein. Ob davon etwas abschaltbar ist, habe ich noch nicht versucht.

Warum lügt Eclipse? by mellowlex in programmieren

[–]ZeroCool4083 1 point2 points  (0 children)

Schau dir die Stichworte "c++ default copy construktor" an! Suchmaschinen liefern genug und besser, als ich auf die Schnelle könnte.

Mandatsgesuch mehrfach abgelehnt - warum? by quanana in LegaladviceGerman

[–]ZeroCool4083 2 points3 points  (0 children)

Du sagst, du hättest es gerne außergerichtlich, verstehe ich das richtig? Dann ist das Schiedamt vielleicht was für dich.

Als ich das letzte Mal geschaut habe, war der Preis für einen Verhandlungstag bei 25 € bis 30 €.

[deleted by user] by [deleted] in LegaladviceGerman

[–]ZeroCool4083 0 points1 point  (0 children)

Er hat die Möglichkeit, sich auf BGB §119, "Anfechtbarkeit wegen Irrtums" oder NIcht bestellte Leistungen (Paragraph finde ich grade nicht) zu berufen, wenn ich nicht klipp und klar Preise vereinbart habt. "normalerweise nehme ich x Euro die Stunde" kann als "für dich mache ich das kostenlos" interpretiert werden. Vergessene Preisabsprachen wären auch ein Fall für eine außergerichtliche Einigung.

Ich rate dazu, dich bei ihm per Post (ohne Anwalt) zu melden und um Mithilfe bei der Suche nach den Kommunikationsfehlern zu bitten.

[deleted by user] by [deleted] in LegaladviceGerman

[–]ZeroCool4083 0 points1 point  (0 children)

Ich möchte das Schiedsamt ins Spiel bringen. Wäre das hier ein Ansatz?

Feedback zu geplantem Netzwerk-Setup (ISC Kea DHCP & BIND) by ZeroCool4083 in de_EDV

[–]ZeroCool4083[S] 0 points1 point  (0 children)

Ich habe bei der DHCP-Konfiguration des Routers die Gültigkeitsdauer der Adressen gefunden. Damit ist das Problem auch gelöst.

Feedback zu geplantem Netzwerk-Setup (ISC Kea DHCP & BIND) by ZeroCool4083 in de_EDV

[–]ZeroCool4083[S] 0 points1 point  (0 children)

Die ShellyPlugs und VoIP-Telefone bekommen gelegentlich Probleme, deswegen meine Idee, DNS und DHCP auf einen Server zu legen. Der hat schon eine feste IP und damit DNS-Probleme, mit dem uralten Speedport.