Giter VIP home page Giter VIP logo

Comments (10)

sairuk avatar sairuk commented on July 30, 2024

Pi Zero W detected on PC (Linux/Win) but not on Wii nor PS3.

Powered USB hub makes no difference, currently implemented with a 30GB iSCSi LUN (block level) formatted as FAT32

sdd                                                                                     
└─sdd1      vfat   FAT32 NEW VOLUME 120E-C460                                30G     0% /run/media/user/NEW VOLUME

from retronas.

sairuk avatar sairuk commented on July 30, 2024

this works on PS3 (formatted MacOS 9.2)

sdd                                                                                    
└─sdd1      vfat   FAT32 UNTITLED  AD39-0000                                30G     0% /run/media/user/UNTITLED                                     

from retronas.

sairuk avatar sairuk commented on July 30, 2024

seems like there was an issue with the initial format (from Windows)

rebuilt the device on linux, formatted lun as vfat type c, rebuilt on windows as well everything is OK working on PS3 but a powered usb hub is required

from retronas.

sairuk avatar sairuk commented on July 30, 2024

device is also recognized on the wii in some homebrew, but needed to define IOS version for the main use cases

Working:

  • Homebrew menu
  • WiiXplorer
  • Nintendont

Needed static IOS (249/250) to read USB1

  • USBloader(GX)
  • WiiFlow

device does not need to be externally powered

from retronas.

sairuk avatar sairuk commented on July 30, 2024

Can't cleanrip from Wii to the gadget (iSCSI mounted lun) need to look into that oneday, test again with a local image instead of iSCSI lun

cleanrip mounts, and starts but ends up with a write error shortly thereafter.

from retronas.

sairuk avatar sairuk commented on July 30, 2024

timeouts are occurring but this is related to iSCSI so needs to be looked at separately from the gadget implementation

[  235.986871] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt(ep 4bc35ffa ep0, 0)
[  235.986908] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt: can't clear halt on ep0
[  236.149504] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt(ep 76a8ca4e ep1in, 0)
[  236.159788] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt(ep 12e95dd9 ep1out, 0)
[  249.303098] dwc2 20980000.usb: new device is high-speed
[  249.503373] dwc2 20980000.usb: new address 1
[  249.563618] dwc2 20980000.usb: new device is high-speed
[  249.763987] dwc2 20980000.usb: new address 2
[  249.764174] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt(ep 4bc35ffa ep0, 0)
[  249.764207] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt: can't clear halt on ep0
[  250.123031] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt(ep 76a8ca4e ep1in, 0)
[  250.133273] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt(ep 12e95dd9 ep1out, 0)
[  254.318595] dwc2 20980000.usb: new device is high-speed
[  254.518920] dwc2 20980000.usb: new address 1
[  254.579184] dwc2 20980000.usb: new device is high-speed
[  254.779513] dwc2 20980000.usb: new address 2
[  254.779710] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt(ep 4bc35ffa ep0, 0)
[  254.779744] dwc2 20980000.usb: dwc2_hsotg_ep_sethalt: can't clear halt on ep0
[ 2110.107919]  connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 179999, last ping 180504, now 181008
[ 2110.108074]  connection1:0: detected conn error (1022)

from retronas.

sairuk avatar sairuk commented on July 30, 2024

Seems fairly unstable on the rpi zero w, couldn't say if this would improve on another platform or not

from retronas.

sairuk avatar sairuk commented on July 30, 2024

grabbed a USB meter to try and track power draw causing issues on the wii, seems not to be the case just seems writing to the pizero in certain load scenarios is junk

from retronas.

sairuk avatar sairuk commented on July 30, 2024

basic OTG support was added in de36c76

user can configure the retronas device to operate in OTG mode by loading the g_mass_storage module with a disk or image (from retronas_path/images) attached. This a bash script executed through the menu to configure the required systemd units

we do (will?) not handle the config.txt modifications required on the rpi to enable the dwc2 module

from retronas.

sairuk avatar sairuk commented on July 30, 2024

block device, partitions and cd/dvd/bdrom devices are permitted to be selected.

No idea if a user would want to present a cdrom as a mass_storage device but might be interesting i suppose. could you ODE something with a basic OTG board? ... tis a question for the ages!

intent was to write this so it could be expanded to other gadgets, we may even default to g_multi later on if it behaves (have read it does not with g_serial needing a tty even when it is not used)

Documentation is here: https://github.com/danmons/retronas/wiki/Gadgets

from retronas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.