Skip to content

Commit

Permalink
Merge pull request #93 from balena-io-hardware/ryan/mux-string
Browse files Browse the repository at this point in the history
sd-mux: linux-gmbh: fix seach for device for new mux board revision
  • Loading branch information
floion authored Jul 31, 2024
2 parents eb155f4 + 74b87f1 commit 056a6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/features/sd-mux/implementations/linux-gmbh/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class LinuxAut implements SdMux {
}

await execAsync(`usbsdmux /dev/${this.sgDev} host`);
let sdCheck = await execAsync(`ls /dev/disk/by-id/usb-LinuxAut_sdmux_HS-SD_MMC_* | head -1`);
let sdCheck = await execAsync(`ls /dev/disk/by-id/usb-LinuxAut* | head -1`);
this.DEV_SD = sdCheck.stdout.trim();
console.log(`SD MUX is: ${this.DEV_SD}`);
}
Expand Down

0 comments on commit 056a6ce

Please sign in to comment.