Skip to content

Wrong default for EnableUSBMassStorage parameter #381

@fdanapfel

Description

@fdanapfel

According to https://github.com/BlueSCSI/BlueSCSI-v2/wiki/bluescsi.ini#enableusbmassstorage the EnableUSBMassStorage parameter should be disabled by default.

But if a BlueSCSIv2 is attached to a computer via USB and there is no bluescsi.ini on the SD card then the SD card in the BlueSCSIv2 is accessible on the computer anyway, because it looks like EnableUSBMassStorage is enabled by default.

As the log.txt shows since there is no bluescsi.ini, defaults are used for the config:

Platform: BlueSCSI (Pico2/W)
FW Version: 2026.04.27-rel Apr 28 2026 00:34:35
Flash chip size: 4096 kB
I2C Supported
=== Bootloader Log ===
[0ms] Bootloader version: Apr 28 2026 00:34:19 BlueSCSI
[0ms] Looking for firmware: BlueSCSI_Pico_2_DaynaPORT*.bin
[193ms] Bootloader continuing to main firmware
=== End Bootloader Log ===
Reclock Pico 2/2W based boards to standardized speed
Initial Clock set to 150MHz
Reclocking the MCU to 155MHz
Setting the SDIO clock to 26MHz
After reclocking, system reports clock set to 155MHz
 
=== SD Card Info ===
SD card detected, exFAT volume size: 60874 MB
SD Name: SD64G, MID: 0x03 (SanDisk), OID: "SD" (0x53 0x44)

=== Global Config ===
bluescsi.ini not found, using defaults

=== Finding images ===
=== Finding images in / ===
== Opening /HD20_733MB_imaged.hda for ID:2 LUN:0
---- Configuring as disk drive

== Platform supports ROM drive up to 2848 kB
 
=== Configured SCSI Devices ===
ID: 2, BlockSize: 733, Type: Fixed, Quirks: Apple, Size: 715879kB

If a bluescsi.ini that contains EnableUSBMassStorage=false is present on the SD card then the SD card is not accessible from the computer when the BlueSCSIv2 is attached via USB.

Can you either change the Wiki to state that the default for EnableUSBMassStorage is actually enabled, or fix the code so that EnableUSBMassStorage is indeed disabled by default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions