User Tools

Site Tools


brainstorming

This is an old revision of the document!


Brainstorming

HiMD Auto Detection

Looking for a way to detect a connected HiMD walkman automatically and connect it in qhimdtransfer. This splits into two different questions, presented with their possible solutions:

  1. Detecting Hi-MD walkmen that are already connected to the computer on start of QHiMDTransfer
    • libusb can be used to iterate over all connected devices. This is mostly platform independent, but it seems difficult to get to a path (i.e. mountpoint) from an USB device ID (bus/address or something like that)
    • libusal (or libscg) to scan for the SCSI device that the Hi-MD walkman makes available via the USB mass storage transport. No idea how easy it is to get a mountpoint from libusal bus scans. Did not look at it yet
  2. Detecting when a new HiMD walkmen gets connected
    • On Linux: Listen on system DBus for DeviceAdded/DeviceRemoved events
    • On Windows: Listen for "WM_DEVICECHANGE"-Message with subcodes "DBT_DEVICEARRIVAL"/"DBT_DEVICEREMOVECOMPLETE"
    • On Mac: Listen for "NSWorkspaceDidMountNotification" / "NSWorkspaceDidUnmountNotification"-Notifications
    • On Linux/Windows: Use autorun/autoplay-like mechanism. The program called by autorun need not to present the full GUI, it might be enough to just tell an already running QHiMDTransfer the addition of a new device.

Screenshots on how the autorun-like entry works in the gnome file manager (the first image shows the file browser in the root directory of a Hi-MD medium, the second the file manager autorun properties):

Nautilus offers QHiMDTransfer in the root Directory of the mounted medium Dialog to choose what happens if a Hi-MD player with Hi-MD medium is connected

Milestones / Releases

While QHiMDTransfer and libhimd have become more and more powerful over the last months and we have more and more knowledge about what is possible with the hardware and what not, it's time to make some plans for the first release versions of the software. He is what came to my mind:

Verson 1.0.0

  • support for uploads on all HiMD Walkman
  • support for AT3/3+/PCM downloads on MZ-RH1 and MP3 downloads on all models
  • built-in online help
  • support for deleting and renaming tracks
  • support for formatting HiMDs (1GB and 60/74/80 min.)
  • auto detection of connected HiMD Walkman

Version 2.0.0

  • support for NetMD downloads (all models) and uploads (MZ-RH1 only) with a new libnetmd
  • new name for QHiMDTransfer to reflect the fact that not only NetMD is supported
  • overhaul of graphical user interface
  • support to open backup images of HiMDs
  • support to backup HiMDs to an image
brainstorming.1276470022.txt.gz · Last modified: 2010/06/13 23:00 by glaubitz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki