How to make "WD Passport" external drive work with Manjaro KDE

Hi,

I am trying to make Manjaro KDE recognize an external WD Passport (encrypted) drive. I installed the AUA app wdpass 0.02-3 but no success.
Can anyone help with this issue?

When you try this - pick the sgN with the highest number - in the output below it is sg16
When the device is unlocked and you probe the partitions (ignore the message on srX) your device will show up as sdX with one partition - sdX1

$ sudo pacman -Syu sg_utils
$ git clone  https://github.com/KenMacD/wdpassport-utils
$ cd wdpassport-utils
$ python cookpw.py 'yourcurrentpassword' > password.bin
$ sudo dmesg | grep sg | grep "type 13"
[13512.688114] scsi 16:0:0:1: Attached scsi generic sg15 type 13
[22514.749694] ses 16:0:0:1: Attached scsi generic sg15 type 13
[22861.830784] ses 16:0:0:2: Attached scsi generic sg16 type 13
[29238.454123] ses 17:0:0:2: Attached scsi generic sg16 type 13
[29642.642985] ses 17:0:0:2: Attached scsi generic sg16 type 13
[30168.537443] ses 17:0:0:1: Attached scsi generic sg15 type 13
[30180.806948] ses 17:0:0:1: Attached scsi generic sg15 type 13
[32478.555956] ses 17:0:0:2: Attached scsi generic sg16 type 13
$ sudo sg_raw -s 40 -i password.bin /dev/sg16 c1 e1 00 00 00 00 00 00 28 00
$ sudo partprobe
$ lsblk
$ mkdir ~/wdc
$ sudo mount /dev/sdX1 ~/wdc

When you are done sync and unmount

$ sync
$ sudo umount ~/wdc
1 Like

Thank you for your help, I will try to make it work

please don’t forget to come back and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
Solution
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.