Menu

#568 Enable USB Server resource needs IDE64 rom loaded before the resource can be changed

v2.4.x
closed-fixed
None
Cartridges
2015-03-18
2014-10-14
Querino
No

hi,

as the title says, i cannot select the IDE64 USB Server in the SDL UI.
at least there is no visible asterisk.
i tried to toggle, but the entry IDE64USBServer remains 0

what VICE version are you using? r28578
what operating system are you using? win 7

Discussion

  • gpz

    gpz - 2014-10-15

    did you compile with --enable-ethernet?

     
  • Querino

    Querino - 2014-10-16

    i tried with --enable-ethernet and without, it looks the same.

     
  • Soci/Singular

    Soci/Singular - 2014-10-16

    This option only selects if you select V4 cartridge emulation first, as V3 didn't had an USB chip.

     
  • Marco van den Heuvel

    • summary: IDE64 - Enable USB Server can't be selected --> Enable USB Server resource needs IDE64 rom loaded before the resource can be changed
    • assigned_to: Soci/Singular
    • Port: SDL -->
     
  • Marco van den Heuvel

    The problem is not with the gui, it is a generic problem.

    The resource setting code checks if the rom has been loaded and the resource will not be changed if there is no rom loaded (yet).

    This is wrong behavior of course, the correct behavior should be that any change to the rom (being loaded), ide64 v4 resource, usb server address resource and usb server enable/disable resource should call a 'check if everything needed is available and attempt to set up the server' code.

    The resource needs to be able to be set, otherwise this will lead to 'order' confusion, where the order of command-line options, order of resources in the ini file dictate whether the resource will be set or not.

    I will leave it up to soci to fix.

    Signed, Marco van den Heuvel.

     
  • Marco van den Heuvel

    Sorry for changing the item from underneath you soci, but even if I set the v4 resource without having a rom loaded I still cannot change the usb server enable/disable resource.

    Signed, Marco van den Heuvel.

     
  • Soci/Singular

    Soci/Singular - 2014-10-16

    See r28616. Honestly, that was mistake ;) Otherwise it deals properly with this random ordering stuff. (I hope)

     
  • Marco van den Heuvel

    I'll leave it to querino2 to retest.

    In the mean time I'll see what I can do to add gui items to the other ports.

     
  • Querino

    Querino - 2014-10-20

    sorry, but i cannot really test this.

    i can only say, the IDE64 USB server can be enabled/disabled in the SDL UI now, but i have no idea, if the IDE64 USB server really works.

     
  • Soci/Singular

    Soci/Singular - 2014-10-20

    Ok it works then. The bug was about toggling only, not about functionality ;)

    If enabled with a IDE64 v4 card it's exposing the FTDI serial converter chip as a TCP socket.

    For example someone could use the FTDI chip of the IDE64 card as a serial port for a BBS software, and then run a TCP-serial gateway to get this to the internet. This would create a super fast telnet-able BBS running on real hardware. Which could be operated directly without the gateway in VICE.

    But back to reality. In practice it's used by IDEDOS for USB PCLink services, which now work with the emulated hardware too. I've just released an updated IDEservd (0.29a) which can be used with VICE:

    http://singularcrew.hu/idedos/

     
  • Soci/Singular

    Soci/Singular - 2015-03-18
    • status: open --> closed-fixed
     
  • Soci/Singular

    Soci/Singular - 2015-03-18

    Close it now. By the way I got at least one e-mail stating the USB server could be used with ideservd on the windows port too.

     

Log in to post a comment.