fix(macos): relax drive detection filter and update dependency#222
fix(macos): relax drive detection filter and update dependency#222sengmonkham wants to merge 1 commit intobeagleboard:mainfrom
Conversation
|
@Ayush1325 please review |
|
@sengmonkham Can you please rebase and check if this is even required anymore. I think the disk filter problem should be fixed now. |
Signed-off-by: sen <kawkoi@proton.me>
I checked and it could not find my external drive both with my changes and without my changes. The external drive was excluded because macOS reported it with is_removable: false and is_card: false, despite correctly identifying the bus type as USB. kawkoiharu@kawkois-MacBook-Air bb-imager-rs % cargo run --example repro_drives -p bb-flasher-sd DeviceDescriptor { --- Filtered bb-flasher-sd output --- Found 0 devices: I tried expanding the filter to explicitly check for the USB bus: kawkoiharu@kawkois-MacBook-Air bb-imager-rs % cargo run --example repro_drives -p bb-flasher-sd |
48a60a8 to
a7ef007
Compare
|
@sengmonkham |
|
@Ayush1325 tested with an sd card using a card reader(i don't have a pendrive)
|
Maybe I am wrong, but in ur screenshot, it seems like the removable property is being properly reported, at least in this case. However, I don't particularly mind merging a filter for bus_type. I will test on windows an linux to see if we need to make it conditional on macos. |
|
I'll try to run some more tests with different cards or even an pendrive and report back with my findings. |
I tried to connect my 2 sd card and 3 pendrives, only very old Sandisk pendrive was not detected by Imager else all were present. Additionally I connected my 1TB SSD which was also not shown my Imager, but thats the expected behaviour as we dont want to flash ssd. Generric Storage Devices are my 16 and 32 GB sd card where as hp, toshiba are pendrives and sandisk one is missing
|
|
@Ayush1325 I have already tried to implement that button last week, if you suggest then I can slightly modify it and raise a PR for button ? |
|
Here is what I Implemented last week Screen.Recording.2026-01-25.at.4.54.14.AM.mov |
Well, I don't want to add the button unless there is a usecase for it. We do not currently support flashing images NVME. In case of BeageV-Fire, we do write the image directly to the flash on device instead of SD Card, so maybe that would be a reason, but I have no idea how BeagleV-Fire shows up on MacOS. |







Fixes macOS drive detection issues where external drives were hidden.
#163
Changes Made
Updates
bb-drivelistto v0.3.1.Changed drive filter to include devices marked as SD cards, even if the OS reports them as non-removable.
Succesfully detected my external SSD(detected as FDisk_partition_scheme with size 256060514304 or ~256GB)

Tested on MacOS 26.2