View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007469 | Kali Linux | Kali Package Bug | public | 2021-12-03 19:15 | 2022-08-15 10:43 |
Reporter | necopinus | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | open | ||
Summary | 0007469: Package kalipi-kernel 5.4.83-20211127 is Missing /boot/overlays/dwc2.dtbo | ||||
Description | The kalipi-kernel package version 5.4.83-20211127 is missing /boot/overlays/dwc2.dtbo; this breaks USB C gadget mode (necessary, for example, to connect the RPi to a device like an iPad using USB C using only a single USB C cable). This file was present in 5.4.83-20210516. | ||||
Steps To Reproduce |
| ||||
Additional Information | If the dwc2 overlay is present, it’s possible to use the RPi as a hacking accessory for an iPad using only a USB C cable (very useful!). For example, see this guide: https://gist.github.com/necopinus/9a961f001f031477216b1b68b336fe20 Without this overlay file, this setup is not possible. | ||||
It might be better to file this as an issue on the repo for the kernel on re4son's GitHub - https://github.com/re4son/ - there are a few different moving parts that go in to making the kernel build work, and it could be that the dtbo went away, or it could be that it somehow gets dropped by the build script. |
|
Okay. I've filed the bug here: https://github.com/Re4son/re4son-kernel-builder/issues/14 Not 100% sure if this is the right repo, but the actual kernel repo doesn't seem to have issues turned on, so this is my best guess. |
|
For what it's worth, a dtbo can be built outside the kernel source as well as a workaround. Just grab the dwc2-overlay.dts file from https://github.com/re4son/re4son-raspberrypi-linux/tree/rpi-5.4.83-re4son/arch/arm/boot/dts/overlays (make sure you get the actual file and not just the html of it!) and then simply run 'dtc -o dwc2.dtbo dwc2-overlay.dts' and then copy it in to the /boot/overlays directory. |
|
What a naughty overlay! Not sure where it went but let me put it back. Update is coming soon. |
|
Should be fixed now: You will get the updates with your next "apt upgrade". Please let us know if everything is working correctly for you now. On another note, we are really digging your write up. That's pretty awesome stuff. That looks like great material for a Kali blog (https://www.kali.org/blog/) - would you be up for that? |
|
Fix confirmed. Thank you! (And thank you for the manual build trick!) I do not know if it would be possible to get a Pi 3 A+ or a Pi Zero 2 W working in a similar fashion as the Pi 4 B, though after some cursory research it looks like it should be possible to do something similar using the g_ether module (setup might actually be simpler!). Unfortunately, I only have a Pi 4 B right now, and won’t be in a place to play with a different model until the end of January. As far as contributing this knowledge to the Kali blog, I’d definitely be down for cleaning up the write-up for this. The only caveat is that I do want to eventually spin up my own website, so I don’t want to be in a situation where it’s not okay to republish the material there as well. This seems like a conversation we should take off this ticket, however. |
|
This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity. Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)? If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-12-03 19:15 | necopinus | New Issue | |
2021-12-03 20:06 | steev | Note Added: 0015479 | |
2021-12-03 20:26 | necopinus | Note Added: 0015480 | |
2021-12-03 21:55 | steev | Note Added: 0015481 | |
2021-12-03 22:16 | re4son | Note Added: 0015482 | |
2021-12-03 23:30 | re4son | Note Added: 0015483 | |
2021-12-04 15:30 | necopinus | Note Added: 0015486 | |
2022-08-15 10:43 | g0tmi1k | Note Added: 0016565 | |
2022-08-15 10:43 | g0tmi1k | Status | new => closed |