-
grahamperrin
-
grahamperrin
> … Please do not submit problem reports that simply state that a newer version of an application is available. Ports maintainers are automatically notified …
-
VimDiesel`
Title: Writing FreeBSD Problem Reports | FreeBSD Documentation Portal
-
grahamperrin
-
VimDiesel`
Title: Bugzilla/DosAndDonts - FreeBSD Wiki
-
V_PauAmma_V
grahamperrin, are you referring to the report I filed for sysutils/libudisks?
-
koobs
grahamperrin: there's not a goal to match those two docs up
-
koobs
grahamperrin: treat stuff in the handbook as stale as they are
-
koobs
hence the refresh needed (rather than incremental edits
-
koobs
My personal position is
-
grahamperrin
V_PauAmma_V: a conversation somewhere above that included Onepamopa, so I guess not. What's the bug number?
-
koobs
1) user requests to update a port to version show maintainers something that automated notifications cant, that users use/want it
-
koobs
2) automatic notification doesnt work in many cases
-
koobs
3) anything that adds transparency/accountability/quality of the maintainership role is a good thing
-
V_PauAmma_V
grahamperrin, I was asking because I filed it recently, as the port maintainer.
-
koobs
and that is one example
-
grahamperrin
2) will be very useful to have documented
-
koobs
for example, it establishes a window of time from a request to resolution
-
koobs
which 'automated notifications dont do'
-
grahamperrin
V_PauAmma_V: I remember a rework bug, I wasn't thinking of that one
-
koobs
grahamperrin: kinda sorta
-
koobs
grahamperrin: if we can get a good bugmeister/docs editing cadence going (with anyone) that would be great, and the main point
-
koobs
rather than specific edits
-
V_PauAmma_V
Not speaking about the rework one, which was someone more experienced giving me an object lesson in things and tricks I missed.
-
koobs
grahamperrin: 4) it happens infrequently enough that it doesnt warrant the explicit mention and the cost (DONT DO THIS)
-
» grahamperrin adds "read Writing FreeBSD Problem Reports" to the DON'Ts
-
grahamperrin
just kidding
-
grahamperrin
-
VimDiesel`
Title: Problem Report Handling Guidelines | FreeBSD Documentation Portal
-
jb1277976
I'm pulling my hair out over here. can't get interal microphone detect at all. i think i been going at this all day. i have virtual_oss installed cuse.ko loaded. i'm out of options. anyone?
-
koobs
jb1277976: start with pciconf -lv output and /var/run/dmesg.boot output (pastebin)
-
jb1277976
ok
-
koobs
jb1277976: might be worth `sudo usbconfig dump_info` too
-
koobs
jb1277976: this is a good resource too:
wiki.freebsd.org/Sound
-
VimDiesel`
Title: Sound - FreeBSD Wiki
-
jb1277976
-
jb1277976
koobs: been looking at that wiki all day 0_o
-
koobs
jb1277976: also mixer, mixer -f /dev/mixer1, sysctl dev.hdaa and sysctl dev.hdac
-
koobs
jb1277976: hdac0: <Intel Tiger Lake HDA Controller> mem 0x601f288000-0x601f28bfff,0x601f000000-0x601f0fffff at device 31.3 on pci0
-
koobs
-
VimDiesel`
Title: A0Rn
-
jb1277976
koobs What am i looking for?
-
koobs
id expect a 'rec' or 'mic' device there
-
koobs
im just snipping out relevant sound bits from your pastes
-
jb1277976
koobs: that's cause its on mixer 0
-
jb1277976
want the output?
-
koobs
koobs | jb1277976: also mixer, mixer -f /dev/mixer1, sysctl dev.hdaa and sysctl dev.hdac
-
koobs
yeh
-
koobs
of all those
-
jb1277976
-
koobs
-
VimDiesel`
Title: Intel Tiger Lake-LP Smart Sound Technology Audio Controller
-
koobs
so at least your tiger lake HDA is supported 12.2+
-
jb1277976
koobs: sound works fine. just can't get the mic working or detected
-
koobs
yeh
-
koobs
-
VimDiesel`
Title: 262579 – Framework Laptop: headset/mic input issues
-
koobs
mmm
-
koobs
framework has the same HDA
-
koobs
"Aha, it is possible to record from /dev/dsp1 using the built-in mic."
-
koobs
mmmm
-
jb1277976
koobs: is that a good step? look at the bug website?
-
koobs
he'd want to see "(Internal Analog Mic)>"
-
jb1277976
also what would i be looking for on the bug site? input/output tigerlake?
-
koobs
well, were asking the question, what if anything have people reported re tiger lake sound + mic, if anything
-
jb1277976
ok
-
koobs
that bug contains very detailed 'debugging steps' to get in info etc
-
koobs
which may be helpful
-
koobs
-
VimDiesel`
Title: src - FreeBSD source tree
-
koobs
" Fix headphone (12th gen Intel laptops) and mic jack (both 11th and
-
koobs
12th gen) switching."
-
koobs
2022-09-13 (which if youre using the latest current, you should have)
-
koobs
but point being, there were headphone/mix switching issues in framework (which has tiger lake HDA sound controller)
-
jb1277976
Seriously koobs how are you getting this info? you should see my seaerch history since 9:00am PST
-
jb1277976
0_o
-
koobs
-
VimDiesel`
Title: "freebsd" "tiger lake" "microphone" - Google Search
-
koobs
just practiced search
-
koobs
and good at following tracks/clues
-
koobs
Mixer mic is currently set to 67:67
-
koobs
Mixer rec is currently set to 89:89
-
koobs
from your paste
-
koobs
mmmmmmmmmm
-
jb1277976
I never thought to look up tigerlake at all today. google searches duckduckgo searches. forums all go tricks but nothing
-
koobs
jb1277976: what about: sysctl dev.hdaa and sysctl dev.hdac
-
jb1277976
one sec let me get it
-
koobs
and whats the laptop model again ?
-
jb1277976
hp envy x360
-
koobs
is Spectre x260 same as Ency x360 ?
-
jb1277976
-
koobs
is Spectre x360 same as Envy x360 ?
-
koobs
i mean
-
jb1277976
prob
-
koobs
-
VimDiesel`
Title: Laptops/HP_Spectre_x360_13t-aw200 - FreeBSD Wiki
-
koobs
"I'm probably the first person to use ?TigerLake with FreeBSD, and all it's roadblocks."
-
koobs
lol
-
koobs
bad first sentence
-
koobs
"I initially switched to an AMD Ryzen-based HP Envy,"
-
koobs
mmmm
-
koobs
maybe not the same
-
koobs
yours is the ryzen yeh ?
-
koobs
-
VimDiesel`
Title: Laptops/HP_Envy_x360_13-ay0021nr - FreeBSD Wiki
-
koobs
"FreeBSD support is more-or-less worry-free on the Envy"
-
koobs
ok thats good i spose
-
jb1277976
naw mine is all intel
-
jb1277976
let me get the specs
-
koobs
mmmmm
-
koobs
please
-
koobs
:)
-
koobs
but for that model at least
-
jb1277976
can i get it from the termina;?
-
koobs
"The only thing that doesn't work as of now is built-in Wi-Fi and speakers (headphones are fine), but nothing when compared to the Intel TigerLake HP Spectre. "
-
koobs
no speakers, is ... odd.
-
koobs
label on bottom of lappy
-
koobs
should have a model
-
koobs
number
-
koobs
rather than 'name'
-
koobs
for the specific version/revision info
-
jb1277976
one sec
-
koobs
-
VimDiesel`
Title: Internal Microphone not working on HP Envy 13 | The FreeBSD Forums
-
koobs
one week ago
-
koobs
thats not you is it ? :)
-
koobs
" I haven't been able to get the internal microphone working yet."
-
koobs
"The HP website describes the microphone as "HP Wide Vision HD Camera with integrated dual array digital microphone"."
-
koobs
ahh, mic is via WEBCAM?@!#
-
koobs
ok so hint one is, boot verbose, so we can see the pins being reported (in /var/run/dmesg.boot)
-
koobs
and this is why you went down the webcamd/cuse route?
-
koobs
"I wasn't able to get ffmpeg to record, but when I set the default pcm to 0 with sysctl hw.snd.default_unit=0, then rec foo.wav successfully records from the headphone jack. "
-
koobs
ok, they can record, via via the headphone jack, weird
-
koobs
so we're gonna need a sound expert :D
-
koobs
emaste: !
-
koobs
i have NO idea about sound / pins / debugging freebsd
-
koobs
but i dont think this will be tough to work out
-
koobs
jb1277976: but yeh, the good new (also a 'little' bad), is we found a Oct 14 2022 (< two week old) report of identical symptoms on identical hardware
-
jb1277976
sorry koobs had to look under laptop and get model and it wen to hibernate lol
-
koobs
jb1277976: thats ok, did you miss all my text?
-
jb1277976
koobs: Model 4N715UA
-
jb1277976
looking at the backlog
-
koobs
-
VimDiesel`
Title: xM0X
-
koobs
especially after 2:26
-
koobs
-
VimDiesel`
Title: HP ENVY x360 Convert 15m-es1013dx Product Specifications | HP® Customer Support
-
jb1277976
wtf the microphone is via the webcam?
-
koobs
"apparently
-
jb1277976
i been doing this all wrong :P
-
koobs
and they got mic recording going via headphone jack
-
koobs
interesting from:
support.hp.com/us-en/document/c07914557 though: it says "1 headphone/microphone combo"
-
VimDiesel`
Title: HP ENVY x360 Convert 15m-es1013dx Product Specifications | HP® Customer Support
-
koobs
wtf is that
-
koobs
might be more details in product/service manual (so worth going through those)
-
koobs
jb1277976: also, if youre behind on firmwares/bios, check the changelogs for those too (even if you dont update)
-
koobs
HP is relatively good with explaining changes
-
jb1277976
yea dam. i needed to start with the basics
-
koobs
webcam is noted as:
-
koobs
-
koobs
HP Wide Vision 720p HD camera with camera shutter and integrated dual array digital microphones
-
koobs
yeh, good lesson
-
koobs
but, we got you progress
-
koobs
another user with same hardware/issue
-
koobs
partial workaround (record via headphone jack)
-
koobs
and possibly explanation for that workaround (shared headphone/mic jack?)
-
jb1277976
How do i do that?
-
koobs
plus the lead for the mics being via webcam (possible)
-
koobs
how do you do what ?
-
jb1277976
how do i record from headphone jack?
-
koobs
no idea
-
jb1277976
lol
-
koobs
im reporting what the forum post user said
-
jb1277976
got it
-
koobs
so, read my pastbin (backlog here), and the forum post (take your time)
-
jb1277976
ok thanks
-
koobs
jb1277976: if it were me, if be 'confirming' how the mic pins are setup (is it via webcam? the docs say it has two mic's)
-
koobs
so my next step would be getting that going
-
koobs
then next question is, is that 'the same thing as' the 'internal mic'
-
koobs
or not
-
koobs
and id branch out my search from freebsd to not freebsd specific
-
jb1277976
so look at the manual?
-
koobs
because guaranteed other OS's either have same problem, or they identified 'whats needed to enable it by default'
-
koobs
which we could copy
-
koobs
-
VimDiesel`
Title: HP "envy" "microphone" - Google Search
-
koobs
lol, theres a FAQ entry for this at HP
-
koobs
"Does the HP Envy x 360 have a built in microphone?"
-
koobs
-
VimDiesel`
Title: Solved: Does the HP Envy x 360 have a built in microphone? - HP Support Community - 7705039
-
koobs
"Solved: HP Envy x360. No microphone. Model #15M-EE0013DX"
-
koobs
-
VimDiesel`
Title: Solved: HP Envy x360. No microphone. Model #15M-EE0013DX - Page 2 - HP Support Community - 7707746
-
koobs
youtube: HP Envy - microphone doesnt work -
youtube.com/watch?v=EmPVXJHzu1o
-
VimDiesel`
Title: HP Envy - microphone doesn't work - YouTube
-
koobs
there we go
-
koobs
yeh, so 'x360 internal mic no worky' is 'a thing' :)
-
koobs
ubuntu: Internal microphone not detected: 20.04, HP Envy x360 ..
-
koobs
-
VimDiesel`
Title: sound - Internal microphone not detected: 20.04, HP Envy x360, Ryzen 5 4500 - Ask Ubuntu
-
jb1277976
Thanks for everything koobs I wasn't gonna give up until i get it working lol
-
koobs
yeh dont
-
koobs
this might have to require you chasing down the root cause
-
koobs
which will help our devs fix it
-
koobs
any fixes for your model in linux or other os's
-
koobs
would be handy to know about
-
jb1277976
ok i thought it was only realted to freebsd
-
jb1277976
i will look on linux distros
-
koobs
you have all the links you need above
-
koobs
let us know if you find anything interesting
-
koobs
bbl
-
jb1277976
Thank you
-
koobs
youre welcome
-
Reinhilde
rawr
-
polyex
if my site's being ddos'd i say my site's getting attacked. what do i say if my site's getting too much LEGITIMATE traffic? like a big site starts linking it
-
Remilia
-
VimDiesel`
Title: Slashdot effect - Wikipedia
-
polyex
ya read it
-
jb1277976
-
VimDiesel`
Title: Internal Microphone not working on HP Envy 13 | The FreeBSD Forums
-
jb1277976
Used bing.com
-
jb1277976
Maybe not like mine but close
-
gnathat
which is channel for freebsd chat?
-
meka
gnathat: you might try #freebsd-social
-
CrtxReavr
So I created a zipfile with zip(1)
-
CrtxReavr
Now I'm running 'zip -e file.zip' against it to encrypt it with a password.
-
CrtxReavr
It prompts me for the password twice, they prints an error saying 'nothing to do'
-
CrtxReavr
What am i doing wrong.
-
CrtxReavr
?
-
CrtxReavr
Nevermind. ..
-
trench
not read the man page? :>
-
trench
reading
-
Remilia
CrtxReavr: -e is an option, not a command
-
Remilia
if I recall right the format does not prohibit having only some of the files encrypted
-
CrtxReavr
Oh, I read it. . . well searched around.
-
CrtxReavr
You gotta use -e upon zipfile creation. . . manpage was not clear on that.
-
CrtxReavr
so 'zip -e file.zip file1 file2 . . .'
-
Remilia
tbh I do not know of any archivers with a dedicated encrypt command that would encrypt the contents of an existing archive
-
CrtxReavr
Well, got zip(1) to do what I needed - tested the extraction with Windows' built-in zip functionality.
-
meena
is there a way to get the boot log output to have times?
-
meena
Because the boot log is only written to /var/log/messages (which has timestamps) when the system is effectively finished booting…
-
kevans
meena: no idea if it's new or not, but kern.msgbuf_show_timestamp is a thing in main
-
meena
kevans: well, i am on 14.0-CURRENT
-
kevans
tristate, 0/1/2 no/sec/usec
-
Sjottelsplak
I have it in 12.3
-
meena
is this a sysctl or kenv variable?
-
Sjottelsplak
kern, apparantly it was already in 9.1
-
Sjottelsplak
loader tunable
-
meena
-
VimDiesel`
Title: gist:df99adad7408773342530e51fb45d255 · GitHub
-
meena
46 seconds
-
yuripv
now it looks like linux
-
Sjottelsplak
lol
-
kevans
yeah, so I guess just the usec part is new
-
meena
so, something very fishy going on with em driver there… or the qemu implementation on the other side
-
meena
without that nic, 20 seconds to boot
-
yuripv
why not vtnet?
-
meena
yuripv: i have vtnet, and re, too, just testing various combinations… all in the name of cloud-init
-
yuripv
got it!
-
meena
how the heck is GENERIC-MMCCAM faster than GENERIC-NODEBUG??
-
kevans
on hardware?
-
meena
kevans: on this virtual machine… libvirt/qemu running on a Linux laptop
-
kevans
I have to run MMCCAM on my RPis when I run those, the old stack never drives the controller above 400 (Hz? KHz? don't remember) so I/O is painfully slow
-
kevans
ahh
-
meena
so, like, most devices are virtio
-
meena
but, like, GENERIC-NODEBUG should just be GENERIC… without DEBUG stuff, while GENERIC-MMCCAM should still have DEBUG stuff, right?
-
» meena still wants to be able to easily generate DEBUG/NODEBUG versions of all KERNCONFs
-
jb1277976
FreeBSD boot log
-
jb1277976
Rotfl I thought this was bing 😭
-
jb1277976
Can freebsd use windows drivers like wrappers or something?
-
rtprio
-
VimDiesel`
Title: ndis(4)
-
rtprio
looks like it won't last much longer
-
jb1277976
rtprio: That for me?
-
jb1277976
I could always download a 12 release though right and don't upgrade
-
rtprio
jb1277976: yes, that's the wrapper you were asking about. it's usually easier to secure a supported card.
-
jb1277976
rtprio: I need a driver for my internal microphone
-
jb1277976
"Webcam
-
jb1277976
HP Wide Vision 720p HD camera with camera shutter and integrated dual array digital microphones"
-
rtprio
unlikly that will work
-
jb1277976
rtprio On freebsd?
-
jb1277976
do you think current or stable will work? or no in genreal ?
-
rtprio
cheap generic webcams have a tendency to not work
-
jb1277976
There is no point in keep pulling my hair out even though koobs helped me a lot. that this won't work. it was fun being on freebsd and i know i can install it but if the microphone won't work i gotta cut my lossess
-
jb1277976
if you know what i mean
-
jb1277976
rtprio: The webcam is built in
-
jb1277976
-
VimDiesel`
Title: HP ENVY x360 Convert 15m-es1013dx Product Specifications | HP® Customer Support
-
rtprio
i don't current would work; but i suppose you could give it a try
-
emaste
koobs: note re "headphone/mix switching issues in framework", this is just a symptom of our headphone/mic switching architecture... we need a holistic solution to this, not special cases for each device
-
tsk
Hi people, any idea how to get rid of geli metadata? I'm currently stuck remotely re-installing a system. Long story short, the loader seems to detect some geli metadata that is a left over of the previous FreeBSD 12 installation (that was ZFS on root+geli), and I'm prompted with the password of the previous geli system. So far I tried "geli clear <devices>" but of course it just gives enigmatic "Cannot
-
tsk
clear metadata on ada0: Invalid argument / geli: Not fully done".
-
tsk
I did also attempt destroying the GPT tables completely, and after first getting "Device busy", I managed to do so using the "-F" flag with gpart; after reinstalling again on the "fresh disks" the loader still detects geli metadata and still prompts for password
-
jmnbtslsQE
are you able to run the geli cli ? then could try geli clear
-
tsk
that is the problem, it does not work
-
jmnbtslsQE
ah sorry didn't see your message there
-
tsk
# geli clear ada1
-
tsk
Cannot clear metadata on ada1: Invalid argument.
-
tsk
geli: Not fully done.
-
tsk
Even wiping/destroying disks from a rescue linux system did not help
-
jmnbtslsQE
are you sure that you want to specify that whole disk instead of some partition?
-
tsk
the loader gets stuck asking the password for a particular partition of the first disk (p4) but the partition tables are long gone
-
tsk
unless gpart destroy -F lied to me
-
jmnbtslsQE
did you recreate the same partition table after?
-
tsk
yeah
-
jmnbtslsQE
then i guess i would try the geli clear on the partition in question since the partition table is the same as it was before
-
tsk
the partitions are no longer there since a while
-
nimaje
did you try with fully overriding the disk with zeros? afaik there is a backup partition table at the end of the disk, so just overriding the one at the start won't work
-
tsk
nimaje, no that is what i was trying to avoid todo
-
tsk
and the only solution that came to my mind
-
daemon
usually its enough just to whack the first 10M or so
-
daemon
then use gpart to re-init the table
-
daemon
dd if=/dev/zero of=/dev/ada0 bs=1M count=20
-
daemon
little excessive it should work though
-
daemon
ada1 **
-
tsk
yeah lets try that before doing that on the entire disk(s), that is excessive :P
-
daemon
:)
-
tsk
thanks, im going to try that before wiping out the disks completely :)
-
tsk
however, where the heck is geli storing this metadata? geli clear should have a "-F" flag as well
-
tsk
mmh i guess that did not work
-
tsk
also i forgot to mention that im installing using mfsbsd, so I have to dd on the disks on in order to that (and metadata is still there..) I guess possibly at end at this point?
-
rtprio
tsk: i wonder if you could create a zpool over it and destroy it
-
tsk
the fact that im still seeing "device busy" when trying to destroy the thing, suggest me that something is using the disk (ZFS or geli layer), given that asks for the password after i create a brand new partition schema + zfs on root without geli this time
-
tsk
rtprio: that is what im doing :(
-
tsk
before was ZFS+geli, now im doing ZFS only
-
tsk
however, could not destroy the geli thing before, because the root of the system was on it
-
daemon
tsk, you tried rebooting into your shell after you have done the dd
-
daemon
rebooting the system
-
daemon
anything that has a lock will likely fail it next boot
-
daemon
as there is no partition table
-
tsk
yes that is how im doing the installation
-
tsk
by the way dd mfsbsd -> works fine
-
tsk
mfsbsd loader not detecting the geli stuff, probably not compiled in?
-
daemon
probably I think geli is kldloaded by default
-
daemon
actually so is zfs
-
daemon
which is the ideal position to do the dd from as nothing will have a lock on the disk
-
tsk
yeah im trying to do dd zero on all disk now but its taking ages (and i have two to go :D), nevertheless this *should* work
-
tsk
:D
-
daemon
:)
-
jb1277976
How do you erase a thumb drive on freebsd ?
-
CrtxReavr
Depends what you mean by erase.
-
CrtxReavr
You wan to erase evidence of your crimes, or just free up some space?
-
jb1277976
CrtxReavr: Erase it so its free and i can put files on it
-
CrtxReavr
Then I guess mount it, and delete what's there.
-
jb1277976
ok thanks
-
CrtxReavr
When you insert it, you should see a kernel message about /dev/daX being added?
-
CrtxReavr
'dmesg' should tell you.
-
jb1277976
i keep getting operation not permitted as root
-
CrtxReavr
o_O
-
CrtxReavr
When you do what?
-
jb1277976
dd command
-
CrtxReavr
What happned to just deleting files?
-
CrtxReavr
dd is more in the hide your crimes catagory?
-
CrtxReavr
What did command are you running?
-
jb1277976
can i do both?
-
CrtxReavr
You can, but then you'd need to create a new partion & re-newfs it.
-
jb1277976
dam
-
jb1277976
ok i gotta go thought. thanks
-
CrtxReavr
You gotta love people that just blindly swing dd around like an ax.
-
rwp
It wasn't clear to me that they understood the difference between files and devices, or between deleting files and shredding files.
-
rwp
One is like erasing the temporary markings on a whiteboard with an eraser. The other is like burning the whiteboard entirely!
-
jb1277976
There a way to get guest additions or something in FreeBSD via Virt-manager ?
-
koobs
emaste: yep, i did a bit of a deep dive into how linux handles these crazy pin special configurations issues - Sound Open Firmware (sof-firmware) and runtime (not hardcoded) configuration/quirking,
-
koobs
emaste: i think a great first step would be to make reporting issues, and the info required to identify configurations required per device/class/whatever, suyper easy for users
-
koobs
the barrier/overhead to debugging / reporting info needed to get stuff sorted (relatively quick once specific issues/config is identified) is way too h igh
-
koobs
emaste: it would be great if some base sound devs could list out the things/info that help us isolate issues quickly
-
jb1277976
Hi koobs gave up on my quest to get my microphone. Plus some of the feedback from today. All in all there are some stuff out there that talk about tiger lake nothing concrete. After 3 days or so decided to run freebsd in a vm to test it more. Thanks for all your help