ChanServ changed the topic of #haiku to: Open-source operating system that specifically targets personal computing. | https://haiku-os.org | Nightlies: https://download.haiku-os.org | Bugtracker: https://dev.haiku-os.org | SCM: https://git.haiku-os.org/ | Logs: https://oftc.irclog.whitequark.org/haiku | Matrix: #haiku:matrix.org | XMPP: #haiku%irc.oftc.net@irc.jabberfr.org
thomaslewis has joined #haiku
x10z has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
thomaslewis has left #haiku [#haiku]
mmu_man has quit [Ping timeout: 480 seconds]
thomaslewis has joined #haiku
ClaudioM has quit [Quit: leaving]
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
AlaskanEmily has joined #haiku
x10z has joined #haiku
x10z has quit []
x10z has joined #haiku
missMyN900 has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x10z has joined #haiku
skirst has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
thomaslewis has left #haiku [#haiku]
<waddlesplash> KSPAtlas[m]: is this a nightly build or the beta?
thomaslewis has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
missMyN900 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x10z has joined #haiku
<win8linux[m]> 7-inch mini-laptop announced with multiple options for boards and support for non-Linux OSes:
<win8linux[m]> ARM-based as it may be, it's good to see an ARM hardware seller advertise support for other OSes besides Linux.
<waddlesplash> trungnt2910[m]: no idea about that error, haven't hit it in forever
<waddlesplash> I suspect somehow your haikuports.conf is missing something or the like
<waddlesplash> worth debugging where that exception is occurring I suppose
<trungnt2910[m]> It only occurs while building `fish` and `naspro`.
<trungnt2910[m]> I have a proper `haikuports.conf`, and my own recipes are building fine (as well as nuspell, one of the recipe requested for testing).
<waddlesplash> weird
<waddlesplash> very weird really. guess the recipes are malformed, but yeah it's a bug they don't display better errors
<trungnt2910[m]> Another fact: Both of these are untested on x86_64, maybe that's related?
xet7 has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AKEmily has joined #haiku
AlaskanEmily has quit [Read error: Connection reset by peer]
AKEmily has quit [Remote host closed the connection]
AKEmily has joined #haiku
skirst has quit []
Major_Biscuit has joined #haiku
skirst has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
<Not-8690> [haiku/website] pulkomandy pushed 1 commit to master [+0/-0/±1] https://github.com/haiku/website/compare/64fda1ada1cd...69a4961d07e2
<Not-8690> [haiku/website] MRNIU 69a4961 - [GSoC] fix broken link (#596)
thomaslewis has left #haiku [#haiku]
Gautam has joined #haiku
Begasus has joined #haiku
<netpositive> morning Begasus
<Begasus> g'morning netpositive peeps
thomaslewis has joined #haiku
thomaslewis has left #haiku [#haiku]
freddietilley has joined #haiku
<nekobot> [haiku/haiku] pulkomandy pushed 1 commit to master [hrev56229] - https://git.haiku-os.org/haiku/log/?qt=range&q=5b5da451b3b1+%5E84360889a277
<nekobot> [haiku/haiku] 5b5da451b3b1 - StyledEdit: give initial focus to the TextView
<nephele> waddlesplash: nothing happened :/
<nephele> ne prefs only shows my ethernet device and syslog only sais the ralinkwifi driver was reloaded
<nephele> 148f:2573 /dev/bus/usb/1/1/1/0 "Ralink Technology, Corp." "RT2501/RT2573 Wireless Adapter" ver. 0001
<nephele> win8linux[m]: a netbook with trackball, nice
thomaslewis has joined #haiku
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomaslewis has left #haiku [#haiku]
Begasus_32 has joined #haiku
thomaslewis has joined #haiku
<andreasdr[m]> Good morning
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
<Begasus> morning andreasdr[m] nephele
<andreasdr[m]> Morning Begasus
<andreasdr[m]> :)
freddietilley has quit [Quit: WeeChat 3.5]
freddietilley has joined #haiku
tuaris has quit [Quit: Leaving.]
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
AKEmily has quit [Remote host closed the connection]
Gautam has joined #haiku
thomaslewis has left #haiku [#haiku]
mmu_man has joined #haiku
thomaslewis has joined #haiku
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomaslewis has left #haiku [#haiku]
<Begasus> trungnt2910[m], around?
<trungnt2910[m]> Yeah
<Begasus> k, posting here instead of github (reduces some email trafic) :)
<Begasus> does it take long to build the PR?
<Begasus> busy atm with agar
<trungnt2910[m]> Begasus: Not at all, about 5 minutes.
<Begasus> ah k, I can squeeze that in ;)
<trungnt2910[m]> > <@_oftc_Begasus:matrix.org> does it take long to build the PR?
<trungnt2910[m]> * Not at all, about 5 minutes.
Gautam has joined #haiku
<trungnt2910[m]> Also why don't you set up a GitHub Actions instance that automatically detects and build new/modified recipes and export hpkg files for each architecture? That'd be much more convenient.
<trungnt2910[m]> * each architecture on every pull request? That'd
<Begasus> That's for the main dev's ;)
<Begasus> build activated
<Begasus> maybe add cmocka too trungnt2910[m] ?
thomaslewis has joined #haiku
<Begasus_32> checking for _cmocka_run_group_tests in -lcmocka... no
<Begasus_32> configure: WARNING: Some functions that are needed for library thread
<Begasus_32> configure: WARNING: safety appear to be missing.
<Begasus_32> configure: WARNING: missing thread-safe function: gethostbyname_r
<Begasus_32> configure: WARNING: Without these functions, the installed libraries
<Begasus_32> configure: WARNING: may not be thread-safe.
<trungnt2910[m]> I remember installing cmocka on my machine when I first built this with no effect.
<Begasus> ah k, np then
<Begasus> are the cmd's needed for your purpose?
<trungnt2910[m]> Which cmds?
<Begasus> maybe move them into a tools package
<trungnt2910[m]> The cmds this package provides?
<Begasus> yep
<nephele> hi begasus
<Begasus> and install them in $commandBinDir
<Begasus> hi nephele :)
<trungnt2910[m]> I've studied some other repos (such as FreeBSD) and they seem to include the binaries (the k_something commands) in the main package.
<Begasus> ok :)
<nephele> how are you begasus?
<Begasus> but since it's not available for gcc2 maybe use the $commandBinDir option to install them into $prefix/bin rather then $prefix/bin/x86?
<Begasus> fine so far nephele , still on sickleave, so bothering you all for a while still ;)
<nephele> ah, i guess we have that in common now :P
<Begasus> also on sickleave?
<trungnt2910[m]> <trungnt2910[m]> "I remember installing cmocka..." <- ```... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/jqODfJcDUcnDisyLTzsLsgmG)
<nephele> Yeah, I had a really terrible night. Probably got the virus(tm) from visint someone sunday
<Begasus> hope not to bad there nephele
<nephele> trungnt2910: why are you quoting part of your message only...?
<Begasus> for me it's like always, backpain
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<trungnt2910[m]> nephele: part of my message?
<nephele> [12:02:45] trungnt2910[m]: <trungnt2910[m]> "I remember installing cmocka..." <- ```...
<trungnt2910[m]> Hmm, I'm on Matrix, it might be the proxy's behavior.
diver1 has joined #haiku
Diver is now known as Guest3617
diver1 is now known as Diver
<Begasus> <@_oftc_Begasus:matrix.org> (didn't know I was on matrix) ... didn't take my pill today :P
<Begasus> build finished OK here trungnt2910[m]
Guest3617 has quit [Ping timeout: 480 seconds]
<trungnt2910[m]> Nice 🚀
<Begasus> did you try if you could grep some debug from the cmd's/libs?
<Begasus_32> checking for libjpeg...yes
<Begasus_32> checking whether libjpeg works...yes
<Begasus> nice, 1 detection down for agar
<Begasus_32> /boot/system/bin/x86/cc -shared -o libag_net.so.6.0.0 -Wl,-rpath,/packages/agar_x86-1.6.0-1/.self/lib -lnetwork net.o net_dummy.o
<Begasus> ok, seems it tool -lnetwork also
<Begasus> tool/took*
<Begasus> nice going trungnt2910[m] :)
freddietilley has quit [Quit: WeeChat 3.5]
<Begasus> new library while GL was detected on agar build :)
<Begasus> err 2 new libraries
<trungnt2910[m]> Somehow python3 is not detected while running tests.
Gautam has joined #haiku
<Begasus> did you add it to the recipe?
Gautam has quit []
<Begasus> hehe
<Begasus> maybe it runs with python and not python3?
Major_Biscuit has quit [Ping timeout: 480 seconds]
<waddlesplash> nephele: what's in syslog
<waddlesplash> from the attempt
<waddlesplash> oh, reloaded?
<waddlesplash> you may need to blocklist the old driver for this to do anything
thomaslewis has left #haiku [#haiku]
Gautam has joined #haiku
<trungnt2910[m]> <Begasus> "maybe it runs with python and..." <- Nah, it's python3.
<trungnt2910[m]> However, it's detected during build time and not test time, so I had to add it to build_prerequisites.
freddietilley has joined #haiku
Gautam__ has joined #haiku
Gautam has quit [Ping timeout: 480 seconds]
Gautam__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<waddlesplash> trungnt2910[m]: there's a TEST_REQUIRES too iirc
<waddlesplash> check the documentation
<trungnt2910[m]> waddlesplash: I know, I'm also using TEST_REQUIRES.
<trungnt2910[m]> However, the configure script of that project checks for python3 during _build time_, and stores it in a variable that persists until test time.
<waddlesplash> ah. yes
<trungnt2910[m]> waddlesplash: Haiku is not resolving shredder. Is this expected behavior?
<waddlesplash> probably
<waddlesplash> I don't think we take local DNS into account much
<trungnt2910[m]> Maybe the default hosts file in Haiku should be modified to something like this:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/osDBClWxEGGdtriNNhbPdXUS)
<waddlesplash> probably not, we need some kind of totally separate handling for mDNS
<trungnt2910[m]> On every other OS I use (Windows, Linux) pinging the output of `hostname` works.
<trungnt2910[m]> s/pinging/`ping`ing/
<trungnt2910[m]> > <@trungnt2910:matrix.org> Maybe the default hosts file in Haiku should be modified to something like this:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/HKZIjPlJrNhMenZmceAjMazr)
<x512[m]> trungnt2910: What are you trying to build?
<waddlesplash> yes because they have a separate facility for local hostname resolution via mDNS
<waddlesplash> we don't yet
<trungnt2910[m]> Build works fine, but one of the tests are trying to resolve the hostname "shredder".
Gautam has joined #haiku
Gautam has quit []
Gautam has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
thomaslewis has joined #haiku
Gautam has quit [Ping timeout: 480 seconds]
Gautam has joined #haiku
mmu_man has joined #haiku
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gautam has joined #haiku
Gautam has quit []
<nephele> heh, didn't know you need mDNS for that, I was investigating building mDNSResponder today
<nephele> the protocol for mDNS and dns-sd is not that "Hard" if we wanted to build our own implementation however i think
Gautam has joined #haiku
vdamewood has joined #haiku
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gautam has joined #haiku
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
Gautam has joined #haiku
Gautam has quit []
<andreasdr[m]> x512: Any news about RadeonDRM? No need to answer. But if you like I am super curious.
<andreasdr[m]> Also I am curious about ARM port? :D
<andreasdr[m]> aarch64 to be specific.
Gautam has joined #haiku
<KSPAtlas[m]> <waddlesplash> "KSP Atlas: is this a nightly..." <- Beta
thomaslewis has left #haiku [#haiku]
<waddlesplash> KSPAtlas[m]: please retest with a nightly build
B2IA has quit [Remote host closed the connection]
<waddlesplash> nephele: you see my messages above?
B2IA has joined #haiku
Gautam has quit [Ping timeout: 480 seconds]
Begasus_32 has joined #haiku
<nephele> which message waddlesplash?
<nephele> oh, i see. Yes, i'll try blacklisting it
<Not-8690> [haikuports/haikuports] threedeyes pushed 1 commit to master [+4/-4/±2] https://github.com/haikuports/haikuports/compare/099328c451d7...fb79e697d3dd
<Not-8690> [haikuports/haikuports] threedeyes fb79e69 - Arduino: switch to source code from arduino.cc (the latest working version)
<nephele> waddlesplash: I added /system/settings/packages with an entry to block 'add-ons/kernel/drivers/bin/ralinkwifi' in package 'Haiku'
<nephele> seems to be no different in behaviour?
<waddlesplash> that should be sufficient yes
<nephele> ~ cat /var/log/syslog | rg ralin
<nephele> KERN: driver "ralinkwifi" added
<nephele> KERN: devfs: reload driver "ralinkwifi" (4, 123343)
<waddlesplash> well
<nephele> And then two lined about activating firmware packages
<waddlesplash> make sure the file really doesn't exist
<waddlesplash> when you boot with that setting
<waddlesplash> err, what lines?
<nephele> KERN: package_daemon [35121648: 827] KERN: active package: "ralink_wifi_firmwares-2015_02_11-2-any.hpkg"
<nephele> Hmm nope. /system/add-ons/kernel/drivers/bin/ralinkwifi still exists?
<waddlesplash> hm
<waddlesplash> well there's your problem :)
<waddlesplash> paste your settings file please?
<nephele> cat /system/settings/packages | nc termbin.com 9999
<waddlesplash> that's ... not right
<nephele> Why?
<waddlesplash> at least we need package 'haiku'
<waddlesplash> the other capitalization may also matter
<waddlesplash> ah ok the other capitalizations are correct
<nephele> I don't know about that, I copied this like that from the blog and added the package and path :)
thomaslewis has joined #haiku
<nephele> There should be a graphicsl tool for this... maybe even a way, say in teamMonitor, to point out that the user booted with packages disabled and ask whether they would like to keep this in the future (and maybe ask them to file a bug if yes)
mmu_man has quit [Ping timeout: 480 seconds]
<waddlesplash> well, the bootloader has a "graphical" tool for it
<waddlesplash> but it's not persistent
<waddlesplash> the page https://www.haiku-os.org/guides/daily-tasks/disable-package-entries/ clearly shows lowercase "haiku"
MajorBiscuit has joined #haiku
<nephele> I did not copy from the lowest example, only the first one *shrug*
B2IA has quit [Remote host closed the connection]
<nephele> Anyhow now it is gone
<nephele> ~ rg ralink /var/log/syslog
<nephele> 1608:KERN: package_daemon [35089979: 825] KERN: active package: "ralink_wifi_firmwares-2015_02_11-2-any.hpkg"
<nephele> No more lines after that
<waddlesplash> good
<waddlesplash> now delete the file in non-packaged and copy it in again
<nephele> 2904:KERN: driver "ralinkwifi" removed
<nephele> 1608:KERN: package_daemon [35089979: 825] KERN: active package: "ralink_wifi_firmwares-2015_02_11-2-any.hpkg"
<nephele> 2906:KERN: [ralinkwifi] (rum) MAC/BBP RT2573 (rev 0x2573a), RF RT2528
<nephele> 2905:KERN: driver "ralinkwifi" added
<waddlesplash> oho!
<nephele> It didn't show up at first, now it seems to be in network prefs (maybe because i had the window open still)
B2IA has joined #haiku
<waddlesplash> yes, Network prefs doesn't refresh automatically
<waddlesplash> does it connect?
<nephele> It doesn't see any SSID
<waddlesplash> any errors in syslog?
<waddlesplash> open the file directly and read it starting with the line you pasted above
<waddlesplash> may not have errors tagged "ralinkwifi"
<waddlesplash> so, control requests aren't working
mmu_man has joined #haiku
<waddlesplash> nephele: is this with ehci I guess?
<nephele> the two hubs it goes through are ehci i think?
<waddlesplash> oh, two hubs? ouch
<nephele> it's connected to a hub that is connected to my monitor
<waddlesplash> can you try on a root hub?
<nephele> SUre
<nephele> Now i'm getting a lot of KERN: [ralinkwifi] (rum) could not multi write MAC register: USB_ERR_INVAL
<nephele> I'll reboot :)
<waddlesplash> yes, you need to reboot
<waddlesplash> the driver won't handle reconnects
Gautam has joined #haiku
<nephele> Now it doesn't seem to do anything :/
<waddlesplash> that's an error long before the driver would load
<nephele> It didn't show up in listusb at all
<nephele> i replugged it and reloaded the driver
<nephele> now it shows up again
<nephele> still no networks though
<waddlesplash> same error as before -- "could not run firmware"?
<waddlesplash> yes. weird
<waddlesplash> nephele: how long does it take for "could not run firmware" to appear after you reload the driver?
<waddlesplash> it should be like 10-15 seconds
<waddlesplash> if it's less, that may be part of the bug, the timeouts are not correct
<nephele> I don't know, the syslog does not timestamp messages
<waddlesplash> use tail -f to watch the syslog
<waddlesplash> and you can enable timestamps in settings file
<nephele> That is quite error prone aswell... I am kind of confused why the syslog is a text file tbh
<nephele> I didn't find docs for that, do you have a link?
<waddlesplash> ~/config/settings/kernel iirc
<waddlesplash> or ~/config/settings/drivers/kernel?
<nephele> kernel is a directory and drivers/kernel does not exist
<waddlesplash> well, it's in there ... somewhere
<nephele> I only have /boot/home/config/settings/kernel/drivers/{vesa,virtual_memory}
<waddlesplash> huh
<waddlesplash> well, here's the template
<nephele> and oss settings in the /system/settings/kernel/drivers dir
mmu_man_ has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
<nephele> waddlesplash: 20 seconds
<waddlesplash> good
<waddlesplash> so, at least the timeout works
<waddlesplash> real question is why startup attempts fail
<nephele> (also why the usb devide does not appear if plugged in at boot :/)
<waddlesplash> check syslog for errors
<nephele> 2022-06-29 16:14:48 KERN: usb error xhci 1: failed to get the device descriptor: Operation timed out
<waddlesplash> yup, more errors
<waddlesplash> Did you say you had two of these devices? Can you try the other one?
<nephele> Yes I do, but the other one is in our garden and i can't leave the house *shrug*
<waddlesplash> hm
<nephele> I could try if linux ubuntu works with it if you'd like?
<nekobot> [haiku/haiku] 00096a9d1f9d - USB: Add default max packet size for SuperSpeed bulk endpoints.
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56230] - https://git.haiku-os.org/haiku/log/?qt=range&q=00096a9d1f9d+%5E5b5da451b3b1
<waddlesplash> nephele: yeah, sure
thomaslewis has left #haiku [#haiku]
tuaris has joined #haiku
x10z has joined #haiku
<waddlesplash> nephele: does it work? I may have some ideas about what we can test
jason123santa has joined #haiku
freddietilley has quit [Quit: WeeChat 3.5]
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jason123santa has left #haiku [Disconnected: Replaced by new connection]
jason123santa has joined #haiku
* waddlesplash rereads XHCI 1.2 § 4.11.2.2 (pp. 211-215)
<waddlesplash> gotta love hardware specifications
<nephele> haven't tried yet, will do it now
<waddlesplash> ok
thomaslewis has joined #haiku
<waddlesplash> I definitely have something for you to test
<waddlesplash> however it will require rebuilding your haiku.hpkg
<nephele> I don't mind rebuilding
<nephele> It works on ubuntu, but i had to replug it after boot aswell
<waddlesplash> ok, that answers that question anyway
<waddlesplash> hopefully that's just your device
<waddlesplash> because at present the fbsd drivers depend on usb wifi being plugged in at boot...
thomaslewis has left #haiku [#haiku]
<nephele> hmm, dunno. I have quite a bit of other laptops I could test :P
<waddlesplash> let's stick with one for now :)
<nephele> well, this isn't a laptop, just a desktop :P
<waddlesplash> is this machine XHCI only? (check via listusb, see if there any root ports that are not XHCI)
<waddlesplash> here's the patch to apply and test with
<nephele> Yeah, only have two root xhcid hubs
<waddlesplash> good
<nephele> uhh... do you have a raw link for that?
<waddlesplash> "raw" link
<waddlesplash> it's a bit hidden in the header
<nephele> yes, that has the content, not the html stuff around it
<waddlesplash> no, there was a link that read "raw" and gave you the above
Gautam has joined #haiku
<waddlesplash> I'm 85% sure that patch is at least more correct against the spec, and there's some hope it will actually fix this problem
<nephele> okay, build it
<nephele> Heh, now it shows up on boot indeed
<nephele> 148f:2573 /dev/bus/usb/1/0 "Ralink Technology, Corp." "RT2501/RT2573 Wireless Adapter" ver. 0001
<waddlesplash> oh boy
thomaslewis has joined #haiku
<waddlesplash> well, what's the verdict?
<nephele> I didn't have to replug it, but i still don't find any SSID after reloading the driver
<waddlesplash> same error?
<waddlesplash> yeah
<waddlesplash> okay, I have a hack this time
<waddlesplash> apply in addition to the previous
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nephele> Would be nice if the build didn't do so much useless work on small rebuilds...
<nephele> (especially having to rebuild haiku_devel.hpkg and haiku_datatranslators.hpkg with no changes)
<waddlesplash> you can rebuild just haiku.hpkg?
<waddlesplash> "jam -q -jN @nightly-raw haiku.hpkg" works fine
<waddlesplash> then "pkgman install path/to/haiku.hpkg", update the running system
<waddlesplash> I do that all the time
<nephele> You can, but you can't install it without a _devel and _datatranslators of the same version
<waddlesplash> ah, yes
mmu_man_ has quit [Ping timeout: 480 seconds]
<nephele> I installed it, but now it doesn't see it at boot again :D
<waddlesplash> probably random then
<nephele> Dunno, maybe.
<waddlesplash> ohh
<waddlesplash> I might see the problem
mmu_man has joined #haiku
<nephele> The problem is broken code! :D
<waddlesplash> well, yes, but where is the code broken? This is the question :)
<nephele> All lines you didn't touch recently ;)
<waddlesplash> new version of the driver
<nephele> it's .1 kb smaller
<waddlesplash> now that's interesting
<waddlesplash> actually not quite sure why that is
<waddlesplash> nephele: all your other USB devices still work though?
<waddlesplash> if they do I'll commit that XHCI change
<waddlesplash> eh, or maybe just push it for review
<nephele> Well, my keyboard and mouse are on logitech bolt and logitech unifying, those seem fine
<waddlesplash> good, just wanted to be sure it didn't break something else
<nephele> wacom tablet is fine too
<nephele> rebooting to test your driver
<nephele> uhh waddlesplash
<nephele> don't install that driver :)
<nephele> I am not sure why but the moment I loaded it all my shortcuts on the desktop broke immidiently, and almost all files in /boot/home are simply gone
<nephele> (rebooting the system then asks me whether i want to install it, so it thinks it is the /absolute/ first boot)
vdamewood has joined #haiku
<nephele> Lol. I somehow moved my home directory into the non-packaged dir
<nephele> ... why is that possible?
<waddlesplash> wat
<waddlesplash> well, once you fix your system, let me know if the driver does work :-p
<nephele> I think i accidentally used mv ~ insteadl of mv ~/ralinkwifi to move it back... so it moved the home directory under the name "ralinkwifi" in the non-packaged dir
<nephele> unhandled page fault in kernel spacer
<waddlesplash> I kind of expected that
<waddlesplash> picture
<nephele> I have a picture, yes
<nephele> ... Now where to upload it :D
<nephele> (not in the syslog, probably because i hard reset my system because the damn usb keyboard does not work in kdl... but the other logitech one does, maybe it uses first usb keyboard or something)
<waddlesplash> yes, it uses the first one
<nephele> Yes... so my mouse
<nephele> :(
<waddlesplash> you can enter KDL via the keyboard shortcut once to switch what keyboard KDL uses
<nephele> Would you be suprised if i said there is no printscreen key on this keyboard?
<waddlesplash> or SysRq? well, then you're just out of luck
<waddlesplash> not even in a Fn+ combination?
<nephele> I don't think so
<waddlesplash> well you can use Keymap to invent one
<nephele> there is a dedicated "Screenshot" key, but suprise suprise it works nowhere :D
<waddlesplash> oh, a media key, yes
<nephele> that is, on windows 10 it works /once/ after boot
<nephele> on linux it doesn't work
<nephele> etc.
<nephele> Really impressed by this
<nephele> waddlesplash: https://ibb.co/8mKHwg9
<nephele> (set to delete after 1 day, so download it if you want to keep it)
<nephele> >well you can use Keymap to invent one
<nephele> FN is a key local to the keyboard, you can't add new bindings without changing the firmware
<waddlesplash> yeah, I meant substitute some other key
<waddlesplash> also, don't some USB-HID keyboards forward Fn anyway?
<nephele> I don't think so, and if they did I don't think we have support for this?
<nephele> (We don't even support altgr properly :/)
<waddlesplash> new version
<waddlesplash> nephele: er rwait
<nephele> okay
<waddlesplash> got a check wrong. might trigger an assertion
<nephele> my system is build with many assertions :)
<waddlesplash> well, I meant an internal one
<waddlesplash> there' new version
thomaslewis has left #haiku [#haiku]
mmu_man has quit [Ping timeout: 480 seconds]
<waddlesplash> which driver was this? the old or the new one?
<nephele> the last one you posed, i think
<waddlesplash> because this is the very assert I fixed :)
<waddlesplash> oh, maybe I didn't rebuild
<nephele> I can try again to make sure if you want
<waddlesplash> or rather copy it out after building
<waddlesplash> no, one sec
<waddlesplash> try that
<nephele> Cool, it sees atleast my local SSID
<waddlesplash> :DDD
<nephele> only one, which is a bit strange, but. progress!
<nephele> hmm, didn't manage to connect
<waddlesplash> pastebin syslog
<waddlesplash> "2022-06-29 18:37:18 KERN: usb xhci 1: transfer error on slot 1 endpoint 3: Babble detected"
<waddlesplash> that's the problem
<nephele> then remove that error printing line ;)
<nephele> babble was sending too much data or so?
<waddlesplash> yes
<waddlesplash> it's usually a device driver error, despite the fact that it's XHCI reporting it
<waddlesplash> nephele: ok I have another idea
<nephele> aslong as it doesn't involve moving my home directory I'm game
<waddlesplash> lol
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gautam has joined #haiku
<waddlesplash> oh great
<waddlesplash> behavior of usb buffer routines is more insane than I realized
<waddlesplash> the USB APIs on FreeBSD are just ... Not Good
<waddlesplash> nephele: try this
MajorBiscuit has quit [Ping timeout: 480 seconds]
<nephele> 2022-06-29 18:55:22 KERN: usb xhci 1: transfer error on slot 1 endpoint 3: Babble detected
<nephele> :/
<waddlesplash> grr
<waddlesplash> nephele: please drop to KDL and make sure the driver didn't deadlock
<nephele> I can't :)
<nephele> even if i enter kdl with the command i can't use my keyboard
<waddlesplash> temporarily make some key PrntScrn?
<nephele> doesn't work
<nephele> Keymap either ignores that, or it blanks the key
<win8linux[m]> If nephele has extra keys on your mouse, could they map any of them to Print Screen?
<nephele> No, I don't
<win8linux[m]> :/
<nephele> (Only mouse4 and mouse5, but those don't go through the keyboard driver and as such can't be remapped)
<nephele> waddlesplash: how would i see if the driver deadlocked?
<nephele> I'll search for my ps/2 keyboard meanwhile...
thomaslewis has joined #haiku
<waddlesplash> backtrace the "usb taskq" thread, to start
<waddlesplash> if it's idle, that's a good sign
<nephele> eh. can't get the ps/2 keyboard now, it's too high and i don't feel well enough to climb up there (and the ladder is outside my room .-.)
<waddlesplash> well at least it doesn't KDL
<waddlesplash> so, maybe I'll just commit it and let others test
<nephele> Can we get some FreeBSD-esque file flags to prevent me from moving my home dir in the future?
<nephele> commiting sounds fine for now, we already got quite far i think :)
tqh has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
<nekobot> [haiku/haiku] waddlesplash pushed 3 commits to master [hrev56231] - https://git.haiku-os.org/haiku/log/?qt=range&q=2884a00088bb+%5E00096a9d1f9d
<nekobot> [haiku/haiku] db4df8fcf573 - freebsd_network: Use the real usb_endian.h.
<nekobot> [haiku/haiku] e41006973809 - freebsd_network: Implement USB routines needed by Ralink USB modules.
<nekobot> [haiku/haiku] 2884a00088bb - ralinkwifi: Import USB modules.
floof58 has quit [Ping timeout: 480 seconds]
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
floof58 has joined #haiku
<waddlesplash> well, there it is
Gautam has joined #haiku
<nephele> can't wait for a new forum post in two minutes announcing that it was commited thus everything will work ;)
<waddlesplash> I mean, I don't know if anyone really even noticed the iwx stuff...
<waddlesplash> aside from mbrumbelow[m] and PulkoMandy who I notified anyway
<nephele> It's quite nice how broad haikus compatibility is becoming :3
<waddlesplash> yes
<nephele> especially random stuff like wacom tablets "Just work"ing on haiku where they don't on most other OS
<waddlesplash> well, only the absolute most recent Linux distros can mount NTFS out of the box, right?
<waddlesplash> so there's another way we're ahead
<nephele> (fedora once did a funky thing where it suddenly gave a second cursor to the tablet, which is nice... but you could not use it with most applications)
<nephele> Yeah, ahead, once we release the next beta ;)
<nephele> Honestly, once we have zeroconf for a lot of stuff Haiku will become quite the hardware champ... For example connecting a usb printer could autoconfigure it with the right gutenprint driver too
<nephele> (Still kind of want to write a native smb driver because i don't much like the fuse stuff we have)
<waddlesplash> in my humble opinion, network filesystem drivers belong in userspace
<waddlesplash> userlandfs itself needs more polish, yes
<nephele> yes, they certainly do
<waddlesplash> we should move our own NFS and NFS4 drivers to userspace while we're at it
<nephele> they aren't?
<waddlesplash> nope!
<nephele> I think there is also some wierd issue with nfs4 that you need to set "insecure" on the server
<nephele> ... because of the source port numbers of the requests...
<waddlesplash> yeah, someone should work on that in our driver
<waddlesplash> our FAT driver also needs a total rewrite
<nephele> would you then just run the nfs and nfs4 drivers with userlandfs instead?
<nephele> (also needs dns-sd discovery of nfs shares and smb shares... but then ms still uses some smb specific protocol to advertise shares /too/ so we need to support that)
<waddlesplash> yeah. and then cut out some of the odd workarounds that kernel mode uses
<ermo[m]> nephele: there's a python wsd (webservices-discovery) thing that picks up windows-advertised smb-shares.
<nephele> Yeah, I know. But i don't want to add python as a dependency for any system services
<nephele> waddlesplash: where do usermode filesystems live in the sourcetree?
<waddlesplash> they currently don't
<waddlesplash> have their own folder
<nephele> should they?
<waddlesplash> they're stuck with the other kernel ones, they're not distinguishable
<waddlesplash> well, the APIs are extremely similar
<waddlesplash> pretty much any kernel mode filesystem can easily be built as a usermode one with few tweaks
<nephele> Do you have an example of ones that are usermode so I can see some of the differences, or is it just jamfile magic?
<waddlesplash> jamfile magic, yeah
<waddlesplash> netfs is the primary one that's purely usermode
<waddlesplash> but it's not a great example because it's still using the deprecated BeOS filesystem driver APIs
<waddlesplash> (which aren't supported in the kernel anymore, only userland fs supports them)
<win8linux[m]> Wasn't there an Aleph One pacakge in the past?
<waddlesplash> possibly?
<ermo[m]> nephele: no, but it (wsd) could serve as inspiration for a haiku-native user-space implementation=
<ermo[m]> s/=/?
<waddlesplash> nephele: on a totally unrelated note, are you looking for anything to do? :)
<waddlesplash> because I discovered a fun thing that could be implemented in Xlibe to get GTK to use whatever fonts the system has configurde
<waddlesplash> and, it looks not too bad, so maybe someone besides me could play with that
<nephele> ermo: why? either we stuff this into net_server or we add a new dicovery_server that does dns-sd and such, and this on the side :)
<nephele> waddlesplash: sure, would be interesting to work on a new thing
<waddlesplash> okay, let me pick up the various parts
<waddlesplash> let's do this in #haiku-3rdparty actually, less traffic
<nephele> I see Gimp picks those filthy "I think I need glasses" font per default
<waddlesplash> well, that's GTK really
schizcock has joined #haiku
MajorBiscuit has joined #haiku
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<Begasus> heading down here, cu peeps!
Begasus has quit [Quit: Leaving]
jadedctrl_ has joined #haiku
wickn1x has joined #haiku
ablyss_ has joined #haiku
__gyr has joined #haiku
skirst_ has joined #haiku
JakeSays has joined #haiku
floof58 has quit [synthon.oftc.net larich.oftc.net]
skirst has quit [synthon.oftc.net larich.oftc.net]
ablyss has quit [synthon.oftc.net larich.oftc.net]
wicknix has quit [synthon.oftc.net larich.oftc.net]
_paul0 has quit [synthon.oftc.net larich.oftc.net]
JakeSays1 has quit [synthon.oftc.net larich.oftc.net]
bbjimmy has quit [synthon.oftc.net larich.oftc.net]
macdude22 has quit [synthon.oftc.net larich.oftc.net]
jadedctrl has quit [synthon.oftc.net larich.oftc.net]
bbjimmy has joined #haiku
floof58 has joined #haiku
thomaslewis has left #haiku [#haiku]
thomaslewis has joined #haiku
MajorBiscuit has quit [Ping timeout: 480 seconds]
Vidrep_64 has joined #haiku
<Vidrep_64> waddlesplash, what if any USB Wifi dongles are supported by Haiku?
<waddlesplash> Realtek ones work, generally
<waddlesplash> I just committed support for Ralink ones but I don't know if it actually works or not
<waddlesplash> I tested Realtek support myself with 2 different adapters and reports from the forums indicate it works with many more
<waddlesplash> nightlies only of course
<Vidrep_64> The only one I have is a D-Link DWL-G122
<Vidrep_64> On a good note, the idualwifi7260 on my desktop is till working after the latest update
mmu_man has joined #haiku
thomaslewis has left #haiku [#haiku]
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gautam has joined #haiku
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<x512[m]> Do Haiku have some checksum functions? Or some 3rd party lightweight library.
thomaslewis has joined #haiku
Anarchos has joined #haiku
Gautam has joined #haiku
<rennj> there is always openssl/libressl
<rennj> openssl list --digest-commands
thomaslewis has left #haiku [#haiku]
<x512[m]> From C++.
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Anarchos> Can i use a network socket of the parent in a spawn thread ?
mmu_man has quit [Ping timeout: 480 seconds]
DKnoto has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DKnoto has joined #haiku
Gautam has joined #haiku
thomaslewis has joined #haiku
Gautam has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tqh has quit [Quit: Leaving]
sharivegas has left #haiku [#haiku]
sharivegas has joined #haiku
X512 has joined #haiku
caubert has quit [Read error: Connection reset by peer]
caubert_ has joined #haiku
ClaudioM has joined #haiku
thomaslewis has left #haiku [#haiku]
X512 has quit [Quit: Vision[]: i've been blurred!]
thomaslewis has joined #haiku
Anarchos has quit [Quit: Vision[]: i've been blurred!]
thomaslewis has left #haiku [#haiku]
mmu_man has quit [Quit: reboot]
mmu_man has joined #haiku
HaikuUser has joined #haiku
HaikuUser2 has joined #haiku
HaikuUser2 has quit []
HaikuUser has quit []
thomaslewis has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
Vidrep_64 has quit [Quit: Vision[]: i've been blurred!]
lovetocode999[m] has left #haiku [#haiku]
HaikuUser has joined #haiku
HaikuUser has quit []
AlaskanEmily has joined #haiku
x10z has joined #haiku
skirst_ is now known as skirst