Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable the memory card accessory #21

Open
frno7 opened this issue Mar 17, 2019 · 4 comments
Open

Enable the memory card accessory #21

frno7 opened this issue Mar 17, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@frno7
Copy link
Owner

frno7 commented Mar 17, 2019

Implement a readable and writable block device driver for the PlayStation 2 memory card (SCPH-10020) accessory. Also implement a corresponding filesystem?

See also #4 and #11.

@frno7 frno7 added the enhancement New feature or request label Mar 17, 2019
frno7 pushed a commit that referenced this issue Apr 28, 2019
[ Upstream commit cdb8faa ]

Eric has reported on OpenWrt's bug tracking system[1], that he's not
able to use USB devices on his WNDR3400v2 device after the boot, until
he turns on GPIO #21 manually through sysfs.

1. https://bugs.openwrt.org/index.php?do=details&task_id=2170

Cc: Rafał Miłecki <[email protected]>
Cc: Hauke Mehrtens <[email protected]>
Reported-by: Eric Bohlman <[email protected]>
Tested-by: Eric Bohlman <[email protected]>
Signed-off-by: Petr Štetiar <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
@uyjulian
Copy link

uyjulian commented Dec 13, 2022

As for how SCE did this, they wrote a shim driver that just communicates to the MCMAN filesystem driver running on the IOP. Sort of how virtio-fs does it.

See: https://github.com/rickgaiser/linux-2.4.17-ps2/blob/69d1691010e92b14133758864c1433042de028cf/drivers/ps2/mcfs/mcfs.c

@frno7
Copy link
Owner Author

frno7 commented Dec 14, 2022

Thanks, @uyjulian! @jur made some minor updates to it in drivers/ps2/mcfs/mcfs.c on the ps2-v2.6.35.14 branch. It’s available up to and including the ps2-v4.11 branch, actually.

@bignaux
Copy link

bignaux commented Dec 17, 2022

for the record https://github.com/FranciscoDA/ps2mcfs . I like the idea we use FUSE for pfs and mcfs, since it has great advantage about maintenance and portability.

@frno7
Copy link
Owner Author

frno7 commented Dec 29, 2022

@bignaux, we could have both FUSE and kernel filesystems. I’ll need to figure out how to multiplex gamepad and memory card data via the SIO2. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants