mrphyber
I have to finish my studies before I can get a job, only a matter of time
Джюс
Hello there
Anonymous
Couldn't be much better
Working with Unix ?
Anonymous
Congrats btw
kelewind
Good day One question about ecmp current status Any know working it on OS or not ?
kelewind
The kernel ibuild as expected, with the option RADIX_MPATH however, with the same routes, this does not seem to work 192.168.45.10 10.21.0.36 UGH1 vtnet1 192.168.45.10 10.21.0.37 UGH1 vtnet1 192.168.45.10 10.21.0.38 UGH1 vtnet1
kelewind
I may not check correctly, but I expect that 1) With three requests to the final address, it will come to three different destinations, since weights 1 1 1
Arminio
Working with Unix ?
Yeah sure, I usually refuse to accept a job offer if I had to deal with something non-unixy.
dszidi
Greetings and salutations
Egor
Hello, dszidi!
dszidi
Anybody around that's familiar with libdevinfo by any chance?
dszidi
Oh there is no problem with it. I'm trying to write a small program and I wasn't clear on how to use it exactly
dszidi
I'm actually looking at the source code atm
dszidi
It seems the general methodology to is in three steps
dszidi
Create a snapshot of the device tree - do stuff - delete snapshot
dszidi
It seems I got steps 1 and 3
dszidi
The library exports some functions that allow to iterate over certain objects
dszidi
I should also preface this that I am writing this as an exercise. I'm coming from web development so I'm used to talk to browsers and not system libraries
dszidi
If you're wondering why I don't understand some seemingly basic things, there is your answer lol
dszidi
All I want to do is print out a list of connected devices similar to lshal or devinfo command
dszidi
I'm writing it in rust and have gotten the hang of the FFI interface so I can call the C functions from what I can gather
dszidi
The Rust compiler is not shy about letting you know when you did something wrong on that side lol
dszidi
isn't lspci Linux?
dszidi
I thought FreeBSD's counterpart is pciconf
dszidi
Ah I see. I'd actully prefer to use something in the base system so I can count on it being there on any system. That's kind of why I went for libdevinfo
dszidi
I initially started with libhal but I heard that was being deprecated so devinfo is where I wound up
dszidi
In any case, with libdevinfo, we can call devinfo_foreach_rman , devinfo_foreach_rman_resource , devinfo_foreach_device_child , devinfo_foreach_resource
dszidi
They all take these custom structs as parameters
dszidi
12 was released somewhat recently, hopefully I can get this little app done before 13 haha
dszidi
I have the feeling that this is just a matter of getting the hang of how to talk with C libraries and how to figure out what they require.
dszidi
I have absolute freebsd which is a great book but is not geared for developers. I have the how to write freebsd drivers book but that seems like a way more low level knowledge than what I need for this current task
dszidi
Yeah that's the one I have
dszidi
Thanks!
dszidi
I figured out my last problem I think. The libdevinfo library makes use of a macro called DEVINFO_ROOT_DEVICE. Rust can't import C macros, so I have to implement a workaround. The workaround is to create a static library with an extern function that returns DEVINFO_ROOT_DEVICE. From there it will be easy to just call those functions and get what I need. I'll finally be able to parse the FreeBSD device tree in my Rust/GTK app :)
Anonymous
Yeah sure, I usually refuse to accept a job offer if I had to deal with something non-unixy.
I know that feeling ! I have to fight with windows at work ...
Andriy
I've just updated pkges to latest. Touchpad and trackpoint not working on x230 😁👍🏻
Egor
hi, folks. what IRC-client do you recommend for freenode?
Andriy
Xorg 1.20 is awesome 😉
Anonymous
Xorg 1.20 is awesome 😉
is it xorg or xorg-server....
Egor
xorg-server
what new features were introduced in 1.20?
Andriy
what new features were introduced in 1.20?
I mentioned it only because it's broke what's already worked, not because of new features 😁 I believe it somehow related to new approach to hid devices in new ver of xorg-server.
Yokohamych
If it's not freenode, then there must be another client?
Yokohamych
:)
Egor
If it's not freenode, then there must be another client?
seems freenode is the only alive network, isnt it?
Arminio
seems freenode is the only alive network, isnt it?
Nah, there's a lot more, but FreeNode is the most sophisticated, for sure.
Arminio
HackInt is pretty awesome, too, but doesn't have a dedicated FreeBSD channel
Arminio
If you're looking for technical help, FN is the thing to go
Arminio
If I would have to live with only one IRC network for the rest of my life, FreeNode, simple
Anonymous
usr/ports/x11-servers/xorg-server/....is this a new port
ɴꙩᴍᴀᴅ
I'm updating current today, I'll try the new xorg in the thinkpad then and report any news
Anonymous
im usin the xorg-1.20++ oredy...i x notice much
Anonymous
on 12stable
ɴꙩᴍᴀᴅ
Good to know
ɴꙩᴍᴀᴅ
A couple of days before I read someone had issues with a thinkpad and the new xorg
Anonymous
different specs have different issues....
ɴꙩᴍᴀᴅ
Thanks @aeifn . I'm using this guide to update and I'm kinda new in building things from source. Where do I have to add the flag in this case?
ɴꙩᴍᴀᴅ
Oh, I see. It's a flag for xorg, not the system update
Anonymous
the issue with mpv on mine is quite apparent.....usually get error msgs when playin clips....
Anonymous
about drm2
Aleksey
/usr/ports/x11/wdm # make ===> wdm-1.28_16 is marked as broken: unfetchable.
Aleksey
;(
Andriy
Ok. Since xorg-server 1.20 moused must be enabled to use touchpad and trackpoint 😳
Anonymous
moused is normally enabled during installation on rc.conf.....t
Anonymous
moused is normally enabled during installation on rc.conf.....t
There is a checkbox at installation when I remember correctly
ɴꙩᴍᴀᴅ
Ok. Since xorg-server 1.20 moused must be enabled to use touchpad and trackpoint 😳
I had to enable it in previous versions too in order to add flags for scrolling with trackpoint + middle button
MGislv
Hi
Anonymous
Hi everyone, previously I was on arch and wanted to move to freebsd but i have a question, will i lose all my config, theme, packages every i upgrade my freebsd? maybe someone here has an explanation about it?
Anonymous
So I don't need a clean install to upgrade?
Anonymous
no, I mean I want to replace my arch with freebsd, and if one day there is an update from freebsd, do I have to reinstall it (clean install) or is there a way like pacman -syu from arch linux to upgrade all package and kernel?
Anonymous
because freebsd is not a rolling release (please correct this if it's wrong)
Anonymous
in order to upgrade u need to use the release version....stable n current is not supported...normally most upgrades do not have issues...