#asahi-re · 2022-04-13 05:13
marcanyeah, that kind of thing is what we're trying to avoid...#asahi-re · 2022-04-13 05:12
rqou_also the RE'd driver for that probably has lots of stuff copied from macos#asahi-re · 2022-04-13 05:12
marcanthat's reasonable, yeah#asahi-re · 2022-04-13 05:12
marcanit'd be different if you'd worked on these particular subsystems recently, of course#asahi-re · 2022-04-13 05:12
rqou_i have banned myself from ever touching the broadcom 1570 facetimehd driver because i saw the internal datasheet for it#asahi-re · 2022-04-13 05:12
marcanif the work wasn't related and/or it's so long ago it's irrelevant and any NDAs are expired, it doesn't matter#asahi-re · 2022-04-13 05:11
rqou_guess that's fine then#asahi-re · 2022-04-13 05:11
rqou_lol ok#asahi-re · 2022-04-13 05:11
marcanI mean, sven interned at Apple a long time ago#asahi-re · 2022-04-13 05:11
rqou_on top of having thrown tons of macos into ghidra#asahi-re · 2022-04-13 05:11
marcanheh#asahi-re · 2022-04-13 05:10
rqou_er, i also worked at broadcom a long time ago (not on anything related to wifi/bt chips, but still)#asahi-re · 2022-04-13 05:10
marcanI'd have to take a look re the IP perspective, but you seem to be pretty prolific at reversing the hardware so feel free to keep doing that, that is very helpful :)#asahi-re · 2022-04-13 05:10
rqou_otherwise it is very likely that i driver i would write would end up with problems such as "that dril tweet"-style "PCIe ring buffers: MAstered. firmware loading:This ones hard"#asahi-re · 2022-04-13 05:08
rqou_anyways, i'm not opposed to writing a proper driver for the bluetooth myself, but it would need people (i.e. marcan) to be okay with it from an IP/copyright perspective, and also I would need a lot of guidance on kernel/upstream conventions (never having done any of that myself)#asahi-re · 2022-04-13 05:02
rqou_not sure if that would have been more or less hilarious than seeing `def interrupt_handler()` in python#asahi-re · 2022-04-13 05:01
marcannot the first time I've wanted it#asahi-re · 2022-04-13 05:01
chadmed_m1n1 control over bluetooth when :P #asahi-re · 2022-04-13 05:01
marcanyeah, I should write that up TBH#asahi-re · 2022-04-13 05:01
rqou_trying to figure out how to init pcie from m1n1 seemed hard#asahi-re · 2022-04-13 05:01
marcan*written it#asahi-re · 2022-04-13 05:01
marcanif you had written as a m1n1 script that exposes the HCI on the host side that would've 1) been hilarious, and 2) fit in proxyclient/ :)#asahi-re · 2022-04-13 05:00
rqou_fair enough, i'll just keep it on my github#asahi-re · 2022-04-13 05:00
marcanI think that belongs in its own repo, we don't really have a place for that#asahi-re · 2022-04-13 04:59
rqou_i could successfully OBEX files to my phone and play audio via A2DP#asahi-re · 2022-04-13 04:59
rqou_but yes, it does "work"#asahi-re · 2022-04-13 04:59
rqou_i'm probably not a good choice for that because my sweng skills are weaker than my RE skills, and i am not familiar with linux kernel conventions at all#asahi-re · 2022-04-13 04:57
rqou_somebody would need to write a real linux kernel-mode driver in C that complies with upstream conventions based on it#asahi-re · 2022-04-13 04:57
rqou_very much from the "unclean" side of the clean-room RE process as well#asahi-re · 2022-04-13 04:56
rqou_yup, userspace python proof of concept / demonstration#asahi-re · 2022-04-13 04:32
eaxk[m]got it thanks#asahi-re · 2022-04-13 04:32
kode54so it's only an example of what a regular driver needs to do#asahi-re · 2022-04-13 04:31
kode54eaxk[m]: it's a user space python script, I think#asahi-re · 2022-04-13 04:30
eaxk[m]<rqou_> "marcan: where does it make sense..." <- Does it work #asahi-re · 2022-04-12 11:10
rqou_anyways, i'm going to sleep for now. good night folks#asahi-re · 2022-04-12 11:09
rqou_it's not exactly a "m1n1" experiment#asahi-re · 2022-04-12 11:09
rqou_marcan: where does it make sense to keep prototypes like this driver? currently i just have it in github.com/rqou/m1-bluetooth-prototype/#asahi-re · 2022-04-12 11:04
Jamie[m]1tracing is fun :P#asahi-re · 2022-04-12 11:04
Jamie[m]1frame= 1 fps=0.0 q=-0.0 size= 148kB time=00:00:00.04 bitrate=30412.8kbits/s speed=0.0487x#asahi-re · 2022-04-12 10:46
rqou_i'm probably _way_ too ip polluted to do that safely#asahi-re · 2022-04-12 10:46
rqou_anyone want to work out the final little details and turn this into a real driver?#asahi-re · 2022-04-12 10:29
rqou_and yes, microphone input works#asahi-re · 2022-04-12 10:29
rqou_via HFP#asahi-re · 2022-04-12 10:29
rqou_but it produces sound#asahi-re · 2022-04-12 10:29
rqou_something about the nuances of interrupts/doorbells/real-time-ness is messed up, and it's _way_ worse than A2DP#asahi-re · 2022-04-12 10:28
rqou_oh yolo i got SCO to "work"#asahi-re · 2022-04-12 10:13
rqou_BLE doesn't seem to work, but that might be a higher level software stack problem#asahi-re · 2022-04-12 10:09
rqou_it's glitchy at times of course since the prototype driver can only ever queue up one packet at a time, but it produces intelligible sound#asahi-re · 2022-04-12 10:08
rqou_i can't believe A2DP SBC is mostly usable with this#asahi-re · 2022-04-12 10:03
marcanrqou_: nice!