Re: XDG_RUNTIME_DIR

2021-04-26 Thread RVP
On Mon, 26 Apr 2021, Steffen Nurpmeso wrote: RVP wrote in : | |Use POSIX shm_open+sem_open? That should let you do proper reference |counting w/o a server. You'll have to pull in -lrt on Linux & NetBSD |for this though... Well, that module had (file-locked file-based) reference counting. It

Re: XDG_RUNTIME_DIR

2021-04-26 Thread RVP
On Mon, 26 Apr 2021, Steffen Nurpmeso wrote: RVP wrote in : ... |There should be a removal of the dirs. on the user's final session |logout, I think. This is impossible to do with pam that i never liked (nor understood, in FreeBSD ~twenty years ago), Use POSIX shm_open+sem_open? That

Re: XDG_RUNTIME_DIR

2021-04-26 Thread Steffen Nurpmeso
RVP wrote in : |On Mon, 26 Apr 2021, Steffen Nurpmeso wrote: | |> RVP wrote in |> : |> ... |>|There should be a removal of the dirs. on the user's final session |>|logout, I think. |> |> This is impossible to do with pam that i never liked (nor |> understood, in FreeBSD ~twenty years

Re: xhci "device problem, disabling port 5"

2021-04-26 Thread Rhialto
On Sun 25 Apr 2021 at 21:32:27 +0200, Rhialto wrote: > $ egrep 'uhub|usb|xhci' /var/run/dmesg.boot > xhci0 at pci0 dev 20 function 0: Intel 300 Series USB 3.1 xHCI (rev. 0x10) > xhci0: 64-bit DMA > xhci0: interrupting at msi1 vec 0 > xhci0: xHCI version 1.10 > usb0 at xhci0: USB revision 3.1 >

Re: nvmm doesn't work on "Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz"?

2021-04-26 Thread Rhialto
On Sun 25 Apr 2021 at 23:10:48 +0100, Chavdar Ivanov wrote: > Did you 'modload nvmm' ? It doesn't get loaded automatically. Duh! Of course, that was it. I forgot about that detail; on my old machine I had put it in /etc/modules.conf. -Olaf. -- ___ Q: "What's an anagram of Banach-Tarski?" --

Re: XDG_RUNTIME_DIR

2021-04-26 Thread Steffen Nurpmeso
RVP wrote in : |On Sat, 24 Apr 2021, Steffen Nurpmeso wrote: | |> If you run Linux you could also use the pam_xdg module i have |> written. For example my /etc/pam.d/common-session is |> |> session optional pam_xdg.so notroot |> |> session requiredpam_unix.so quiet |> |> and the

Re: xhci "device problem, disabling port 5"

2021-04-26 Thread Jonathan A. Kollasch
On Sun, Apr 25, 2021 at 08:39:10PM -, Michael van Elst wrote: > rhia...@falu.nl (Rhialto) writes: > > >hexander$ sudo drvctl -r uhub1 > >drvctl: DRVRESCANBUS: Invalid argument > > A bus can have the notion of an "interface attribute" that you must > pass. uhub knows about "usbifif" for

Re: xhci "device problem, disabling port 5"

2021-04-26 Thread Manuel Bouyer
On Sun, Apr 25, 2021 at 09:44:06PM -, Michael van Elst wrote: > rhia...@falu.nl (Rhialto) writes: > > >> sudo drvctl -r -a usbdevif uhub1 > >>=20 > >> should work. > > >It works in the sense that it doesn't give any error. But it has no > >noticable effect either, unfortunately. No messages