diff options
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | ChangeLog | 962 | ||||
-rw-r--r-- | INSTALL | 291 | ||||
-rw-r--r-- | NEWS | 0 | ||||
-rw-r--r-- | README | 79 | ||||
-rw-r--r-- | TODO | 47 | ||||
-rw-r--r-- | contrib/mpioshrc (renamed from etc/mpioshrc) | 0 | ||||
-rw-r--r-- | debian/README | 6 | ||||
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/control | 21 | ||||
-rw-r--r-- | debian/copyright | 24 | ||||
-rw-r--r-- | debian/docs | 5 | ||||
-rw-r--r-- | debian/libmpio-dev.install | 1 | ||||
-rw-r--r-- | debian/libmpio.install | 2 | ||||
-rw-r--r-- | debian/mpio-tools.install | 3 | ||||
-rw-r--r-- | debian/postinst | 42 | ||||
-rwxr-xr-x | debian/rules | 6 | ||||
-rwxr-xr-x | hotplug/libmpio.in | 20 | ||||
-rw-r--r-- | hotplug/libmpio.usermap | 5 | ||||
-rw-r--r-- | libmpio/CMakeLists.txt | 10 | ||||
-rw-r--r-- | libmpio/src/CMakeLists.txt | 9 | ||||
-rwxr-xr-x | mkmpiodev | 24 | ||||
-rw-r--r-- | mpio.spec.in | 65 | ||||
-rw-r--r-- | src/.gitignore (renamed from mpiosh/.gitignore) | 0 | ||||
-rw-r--r-- | src/CMakeLists.txt (renamed from mpiosh/CMakeLists.txt) | 5 | ||||
-rw-r--r-- | src/callback.c (renamed from mpiosh/callback.c) | 0 | ||||
-rw-r--r-- | src/callback.h (renamed from mpiosh/callback.h) | 0 | ||||
-rw-r--r-- | src/cfg.c (renamed from mpiosh/cfg.c) | 0 | ||||
-rw-r--r-- | src/cfg.h (renamed from mpiosh/cfg.h) | 0 | ||||
-rw-r--r-- | src/cfgio.c (renamed from mpiosh/cfgio.c) | 0 | ||||
-rw-r--r-- | src/cfgio.h (renamed from mpiosh/cfgio.h) | 0 | ||||
-rw-r--r-- | src/command.c (renamed from mpiosh/command.c) | 0 | ||||
-rw-r--r-- | src/command.h (renamed from mpiosh/command.h) | 0 | ||||
-rw-r--r-- | src/config.h.in (renamed from mpiosh/config.h.in) | 0 | ||||
-rw-r--r-- | src/global.c (renamed from mpiosh/global.c) | 0 | ||||
-rw-r--r-- | src/global.h (renamed from mpiosh/global.h) | 0 | ||||
-rw-r--r-- | src/mpiosh.c (renamed from mpiosh/mpiosh.c) | 0 | ||||
-rw-r--r-- | src/mpiosh.h (renamed from mpiosh/mpiosh.h) | 0 | ||||
-rw-r--r-- | src/readline.c (renamed from mpiosh/readline.c) | 0 | ||||
-rw-r--r-- | src/readline.h (renamed from mpiosh/readline.h) | 0 |
40 files changed, 13 insertions, 1623 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4149b10..193fa63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 2.4) -set (PACKAGE mpiotools) +set (PACKAGE mpiosh) project (${PACKAGE} C) add_subdirectory (libmpio) -add_subdirectory (mpiosh) +add_subdirectory (src) diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index d841fe1..0000000 --- a/ChangeLog +++ /dev/null @@ -1,962 +0,0 @@ -2006-01-21 Markus Germeier <mager@tzi.de> - * changed version to 0.7.1-pre3 - * (hopefully) fixed signedness hell, - should fix problems with 64 bit machines - -2006-01-20 Markus Germeier <mager@tzi.de> - * fixed mpio.spec.in - -2005-04-20 Markus Germeier <mager@tzi.de> - * configure.in: - fix version check for libusb, use black list instead - -2004-05-31 Markus Germeier <mager@tzi.de> - * libmpio/src/mpio.c (mpio_init_external): - fixed stupid bugs - -2004-05-30 Markus Germeier <mager@tzi.de> - * added Roberts MMC code (step 1) - * fixed a FAT bug he found on the way - * Thanks and kudos to Robert! - -2004-05-30 Markus Germeier <mager@tzi.de> - * changed version to 0.7.1-pre2 - -2004-04-24 Markus Germeier <mager@tzi.de> - * further open/close fixes - -2004-04-23 Markus Germeier <mager@tzi.de> - * libmpio/src/mpio.c (mpio_close): - - fixed a stupid bug while closing the device - * don't dump core if internal memory is not available - -2004-04-23 Markus Germeier <mager@tzi.de> - * remove all files from CVS which can be automagically - generated by the build environment - -> this should fix the missing ".so" problem - and all other "inter-version" problems - (at least so I hope ;-) - -2004-04-19 Markus Germeier <mager@tzi.de> - * added hotplug infrastructure to the project - - defaults to root:root 0666 - - change with --with-{user,group,perm}= - - minor clean ups - * changed version to 0.7.1-pre1 - -2004-04-19 Markus Germeier <mager@tzi.de> - * libmpio/src/smartmedia.c: - libmpio/src/io.c: - fixed debug outputs and copyright notice - * removed "#ifdef HAVE_USB"s - libusb is mandatory now! - * added "#ifdef USE_KMODULE" - * removed noisy and misleading debug messages - -2004-03-25 Markus Germeier <mager@tzi.de> - * Don't BuildRequire libusb-devel because - it does not exist on SuSE 9.0 - -2004-03-24 Markus Germeier <mager@tzi.de> - * dummy entry! fixed CVS syncmail - * check latest Changelog entries! - -2004-03-24 Markus Germeier <mager@tzi.de> - * small build environment updates - * updated mpio.spec.in file - -2004-03-21 Markus Germeier <mager@tzi.de> - * fixed build environment - * kernel module is (finally) deprecated - * may be enabled "--with-kernel-module" - -2004-02-08 Markus Germeier <mager@tzi.de> - * added support for the new 128MB internal chip - reported by Karin. Thanks! - -2004-01-13 Markus Germeier <mager@tzi.de> - * Added FY200 informations which is reported to work - external memory is supposed to work with these changes - -2004-01-12 Markus Germeier <mager@tzi.de> - * libmpio/src/smartmedia.c (mpio_id2mem): - updated chip IDs which were reported quite some time ago - (sorry for the delay!) still very unsure what they are - -2003-10-19 Markus Germeier <mager@tzi.de> - * added some missing #ifdef HAVE_USB - to libmpio/src/io.c - -2003-10-19 Markus Germeier <mager@tzi.de> - * added support for the new internal chips - found in the new FL100 player - (this is supposed to mainly work, but - still has some issues) - * added support for libusb if the kernel - module is not available - (this needs root privilidges for the moment :-( ) - -2003-09-23 Markus Germeier <mager@tzi.de> - * libmpio/src/io.c (model2externalmem): added FY100 and VP-01 to - the list, the external memory of these is now supported. - (Thanks to John for providing the information!) - * libmpio/src/mpio.c (mpio_init_external): - minor change to possibly support card 16MB and below - -2003-09-22 Markus Germeier <mager@tzi.de> - * added Johns patch to support the VirginPulse - VP-01 player. (Thanks!) - * small fixes to John patch - * assumed the upcoming VP-02 is a FL100 clone - so updated the code accordingly - * small and dirty hack for '.' in firmware - release numbers - -2003-08-01 Markus Germeier <mager@tzi.de> - - * configure.in: bumped version to 0.7.0 - * today is "release day"! :-) - -2003-07-27 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_cd): checking argument. - NULL is replaced with "." - -2003-07-24 Markus Germeier <mager@tzi.de> - * detect new SmartMedia chips and report them - * added version to mpio_smartmedia_t - * libmpio/src/smartmedia.c (mpio_id2version): - added function - * spare area read of new chips should work now - * bumped version to 0.7.0RC2 - -2003-07-17 Markus Germeier <mager@tzi.de> - * libmpio/src/smartmedia.c (mpio_id2mem): - added non-standard SmartMedia chip ID, as reported by Andreas - -2003-07-15 Markus Germeier <mager@tzi.de> - * libmpio/src/directory.c (mpio_dentry_get_real): - follow up fix for the broken internal FAT fix - added FTYPE_BROKEN - * libmpio/src/directory.c (mpio_directory_make): - another follow up fix for the broken internal FAT fix - -2003-07-14 Markus Germeier <mager@tzi.de> - * libmpio/src/directory.c (mpio_dentry_get_startcluster): - fixed a bug Yury stumbled across - -2003-07-07 Markus Germeier <mager@tzi.de> - * libmpio/src/directory.c (mpio_dentry_filename_write): - fixed one of my "famous" 8.3 filename handling "fixes" :-( - -2003-07-01 Markus Germeier <mager@tzi.de> - * mpiosh/callback.c(mpiosh_ftyp2ascii): added function - * mpiosh/callback.c(mpiosh_cmd_dir): - * libmpio/src/directory.c (mpio_dentry_get_real): - return/display file type/tag for files from internal memory - (as requested by Markus) - -2003-06-27 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_backup): using the resolved backup - directory name as argument for mpio_file_get_as - (mpiosh_cmd_restore): same as above s/get/put/ - - * mpiosh/config.c (mpiosh_config_check_backup_dir): changed return - type to char *. returning the resolved backip directory name - -2003-06-27 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/global.c: add CONFIG_BACKUP defining a user backup - directory. - (commands): add backup and restore command - - * libmpio/src/mpio.c (mpio_file_get_real): fix a bug. Unlink the - external file (not the internal) before writing it (is it really - necessary?). - - * mpiosh/callback.c (mpiosh_cmd_config): deactivated. - (mpiosh_cmd_backup): new function, which creates a backup of all - existing config files. - (mpiosh_cmd_restore): new function, which restores a backup. - - * mpiosh/config.c (mpiosh_config_check_backup_dir): new function - to check for the backup directory ~/.mpio/backup/. Optionally it - can be created. - -2003-06-26 Markus Germeier <mager@tzi.de> - * libmpio/src/mpio.c (mpio_file_exists): - added helper function - * mpiosh/callback.c (mpiosh_cmd_font_upload): - * libmpio/defs.h (MPIO_FONT_FON): added support for - font file - * mpiosh/callback.c (mpiosh_cmd_format): - restore font file if it existed before a format - -2003-06-18 Markus Germeier <mager@tzi.de> - * libmpio/Makefile.am (AM_LDFLAGS): - added variable to support API versioninging of libmpio - * missing: updated script - -2003-06-14 Markus Germeier <mager@tzi.de> - * libmpio/src/directory.c (mpio_dentry_filename_write): - added/fixed vfat 8.3 checksum to make "real" vfat - drivers happy - * configure.in: increased version to 0.7.0RC1 for upcoming - release - -2003-06-12 Markus Germeier <mager@tzi.de> - * libmpio/src/id3.c (mpio_id3_do): fixed debug output - * libmpio/src/ecc.c: fixed debug output - * libmpio/src/directory.c (mpio_dentry_get_startcluster): - fixed ugly bug which broke reading/deleting of files on - external memory (D'oh!) - -2003-06-06 Markus Germeier <mager@tzi.de> - * libmpio/src/io.c (model2externalmem): added model - FD100 for external memory support. - reported by Thorsten to work this way - -2003-05-19 Markus Germeier <mager@tzi.de> - * libmpio/src/mpio.c (mpio_file_put_real): - fixed strncat bug found by Sergey. Thanks! - -2003-04-30 Markus Germeier <mager@tzi.de> - * libmpio/src/ecc.c: cleaned up ECC code - -2003-04-29 Markus Germeier <mager@tzi.de> - * libmpio/src/ecc.c (mpio_ecc_256_check): - fix level for debug messages - -2003-04-27 Markus Germeier <mager@tzi.de> - * libmpio: fixed some C code "things" found with - "paranoia" CFLAGS settings - * libmpio: changed license from GPL to LGPL - -2003-04-21 Markus Germeier <mager@tzi.de> - - * libmpio/id3.c (mpio_id3_copy_tag): - remove trailing spaces as suggested by Thomas - * kernel/Makefile.am: - removed unnecessary -I$(INCLUDE) as spotted by Yury - -2003-04-20 Markus Germeier <mager@tzi.de> - - * libmpio/directory.c (mpio_dentry_filename_write): - split this function from mpio_dentry_put to make a rename easier - * libmpio/mpio.c (mpio_file_rename): - libmpio/directory.c (mpio_dentry_rename): - new functions - -2003-04-19 Markus Germeier <mager@tzi.de> - - * libmpio/id3.h: - libmpio/id3.c: added files to support ID3 rewriting - * libmpio/mpio.c (mpio_file_put_real): - add support for ID3 rewriting - * mplib/src/mplib_s.c: - small changes for MPIO use - * mpiosh/callback.c (mpiosh_cmd_id3, mpiosh_cmd_id3_format): - added function for commands "id3" and "id3_format" - * mpiosh/config.c (mpiosh_config_read): - add new config file options: - id3_rewriting [on|off] - id3_format <format> - -2003-04-18 Markus Germeier <mager@tzi.de> - * integration of mplib 1.0.1 in source tree - * update build environment to use mplib if not - disabled manually - -2003-04-18 Markus Germeier <mager@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_health): - libmpio/mpio.c (mpio_health): new functions to report - health status of SmartMedia cards. - -2003-04-12 Markus Germeier <mager@tzi.de> - * small error messages changes - -2003-04-11 Markus Germeier <mager@tzi.de> - - * libmpio/directory.c (mpio_directory_make): - libmpio/mpio.c (mpio_file_put_real): - fix timestamp generation as suggested by Sebastian. Thanks! - (mpio_directory_is_empty,mpio_dentry_is_dir): - added functions - (mpio_dentry_put): another 8.3 generation fix, - special treatment for "MPIO RECORD" dir. - * mpiosh/callback.c (mpiosh_cmd_format): - mkdir "MPIO RECORD" dir if it existed before the format - -2003-04-07 Markus Germeier <mager@tzi.de> - * Mega-Update all over the place - initial support for directories - [BEWARE: this might have broken some things!!!] - -2003-04-06 Markus Germeier <mager@tzi.de> - - * libmpio/directory.c (mpio_dentry_put): Another 8.3 filename fix - This time: try to get the extension right for filenames with - more than one '.' - -2003-03-26 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_file_put_real): - libmpio/fat.c (mpio_fatentry_new, mpio_fatentry_read): - Small fixes which try to support changes in internal FAT - structure (Not Tested!) - -2003-03-22 Markus Germeier <mager@tzi.de> - - * kernel/mpio.c (probe_mpio, write_mpio, read_mpio): - automagically find USB bulk endpoints and use them - -2003-03-15 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_init_internal): detect up to four - internal memory chips - * libmpio/fat.c (mpio_fatentry_hw2entry, mpio_fatentry_entry2hw): - libmpio/io.c (mpio_io_block_delete_phys, mpio_io_spare_read): - changes to support four internal chips - -2003-03-14 Andreas Buesching <crunchy@tzi.de> - - * mpio.spec.in: - add mpio.h and defs.h to the rpm. - creating a devel rpm would be oversized - -2003-03-14 Markus Germeier <mager@tzi.de> - - * libmpio/directory.c (mpio_dentry_put): - fixed missing first char issue - -2003-03-13 Markus Germeier <mager@tzi.de> - - * trying to fix iconv UNICODE conversions on BIG_ENDIAN - machines (not sure about that one!) - -2003-03-11 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_init): added code the recognize new MPIO - models (FD100/FL100/FY100), no idea how to handle them, yet! - -2003-03-08 Markus Germeier <mager@tzi.de> - - * mpio.spec.in, etc/Makefile.am: fixed packaging problems - * libmpio/mpio.c (mpio_init): re-added memset, this time at the - correct location - * mpiosh/callback.c (mpiosh_cmd_mem): removes warning messages - (this should hopefully work now ;-) - (mpiosh_cmd_dump): fixed core dump in "dump" command - -2003-02-21 <crunchy@tzi.de> - - * libmpio/directory.h, libmpio/directory.c, libmpio/mpio.h, - libmpio/mpio.c: add patch from Sebastian Kloska - <kloska@scienion.de>. containing possibility to chage name of - destination when copying files, moving files and reordering files - in directory - -2002-12-06 <crunchy@tzi.de> - - * kernel/mpio.c: 2.4.20 does not contain the typedef purb_t - anymore. Replaced it with 'struct urb *' - -2002-11-18 Andreas Buesching <crunchy@tzi.de> - - * configure.in: add a check for readline header files - -2002-11-14 Andreas Buesching <crunchy@tzi.de> - - * tools/mpiologo.c: renamed logotool.c to mpiologo.c - - * mpio.spec.in (): another way to add the kernel module to - the file list; add mpiologo to file list - - -2002-11-13 Markus Germeier <mager@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_format): backup and restore - config files (probably not complete yet!) - * libmpio/defs.h (MPIO_CHARSET): - * libmpio/directory.c (mpio_dentry_put, mpio_dentry_get_real): - use ISO-8859-15 instead of ASCII as default charset encoding - (much nicer now!) - * libmpio/directory.c (mpio_charset_get, mpio_charset_set): - added functions to allow changing of charset - * mpiosh/config.c: read charset from config file - * libmpio/fat.c (mpio_fatentry_read): - fixed problem with CONFIG.DAT that only the first block - was read. (what was I thinking there??) - -2002-11-04 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_quit): writing configuration - including history und freeing config reader - - * mpiosh/global.c: modified filename for history - "~/.mpio/history" - - * mpiosh/config.c (mpiosh_config_new): reading history file - (mpiosh_config_write): saving current history - -2002-11-02 Yuji Touya <salmoon@users.sourceforge.net> - - * tools/logotool.c: add a tool to extract/change logo animation - data in config.dat file, and sample animation data. - -2002-11-01 Yuji Touya <salmoon@users.sourceforge.net> - - * kernel/mpio.c: Add usbdevfs filesystem support - -2002-10-29 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/mpiosh.c (mpiosh_init): uses the new configuration file - support to initialise the shell - - * etc/mpio/mpioshrc: add a sample configuration file will be - install as a global configuration file in - @sysconfdir@/mpio/mpioshrc - - * mpiosh/cfgio.c, mpiosh/cfgio.c, mpiosh/config.c, - mpiosh/config.h: added these new files to support global and user - configuration files. - -2002-10-27 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.{c,h}: split mpio_file_{get,put} into several - functions, to allow reading and writing files from/to memory - (needed for handling of config files) - * mpiosh/callback.c (mpiosh_cmd_channel): added function/command - channel to handle the radio channel of the *-Plus models - * libmpio/directory.c (mpio_dentry_put): - another fix for the 8.3 handling needed for the config file - (one day this will be bug free ...) - * mpiosh/callback.c (mpiosh_cmd_config): implement the function - * libmpio/directory.c (mpio_dentry_find_name_8_3): - another fix for the 8.3 handling needed for the config file - (GRR, one day ...) - * libmpio/mpio.c (mpio_get_model): added function - * mpiosh/callback.c (mpiosh_cmd_switch): implement the function - * libmpio/mpio.c (mpio_file_switch): added function - * mpiosh/callback.c (mpiosh_cmd_mget): added error message - * libmpio/mpio.c (mpio_file_put_real): - updates to support reading files into memory - -2002-10-26 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_close): fixed segv - * libmpio/*.h: - make libmpio header files C++ compliant - -2002-10-23 Markus Germeier <mager@tzi.de> - - * libmpio/io.c (mpio_io_spare_read): fixed init progress counter - for models with two internal chips - -2002-10-18 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/global.c (commands): add config command with no - functionality at the moment - (commands): removed completion for mpio files on the put command - -2002-10-14 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/global.c (commands): reactivated switch command without - any functionality at the moment - -2002-10-18 Markus Germeier <mager@tzi.de> - - * libmpio/directory.c (mpio_dentry_get_real): - another fix for the 8.3 handling needed for the config file - -2002-10-13 Markus Germeier <mager@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_dump): fixed compile and - logic error due to now "missing" mpiosh_cmd_get - -2002-10-13 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/callback.c: removed the callback functions of get, put - and del. This work is done by mget, mput and mdel now. - - * mpiosh/readline.c (mpiosh_readline_comp_mpio_file): fixed a - crash which ocurrs when there is no connection to the player - opened. Also stop readline from using default filename completion - in the case of not returning any results. - -2002-10-13 Markus Germeier <mager@tzi.de> - - * all operations on external memory should work now! - * libmpio/ecc.c (mpio_ecc_256_check): - 1 Bit errors are now automagically corrected - -2002-10-13 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_init): fixed segv when external memory - was selected - * formatting of external memory is now completly supported - (untested ATM) - -2002-10-12 Andreas Buesching <crunchy@tzi.de> - - * configure.in: changed version to 0.6.0 for the next release; - add check for a usable path to the kernel header files - - * mpiosh/global.c (commands): removed commands 'put', 'get', 'del' - and 'exit' and add these to the alias lists of 'mput', 'mget', - 'mdel' and 'quit'. Also add some more aliases to some other - commands - - * mpiosh/readline.c (mpiosh_readline_comp_cmd): add aliases to - completion list - - * mpiosh/global.c (commands): use command completion for 'help' - arguments - - * mpiosh/global.h: add alias list to command struct - - * mpiosh/global.c: new file containing global symbols as the - command list - - * mpiosh/callback.c: fix compiler warnings - - * libmpio/mpio.c (mpio_memory_format): fixed compiler warning - - * mpiosh/readline.c: new file containing all stuff around the - readline library - (mpiosh_readline_comp_mpio_file): doing completion on files of the - current mpio memory card - (mpiosh_readline_init): inserted bug fix for the completion - quoting from Mathieu - -2002-10-05 Markus Germeier <mager@tzi.de> - * big changes to IO layer and updates to formating/writing - for external memory - * BEWARE: writing to external mem still does not work - and I might have damaged the internal support! - -2002-10-05 Markus Germeier <mager@tzi.de> - - * libmpio/cis.c: generate new CIS block for formatting - -2002-09-30 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_init): fixed identification of - newer firmwares (e.g. DMG+) "MPIOxy" vs. "MPIO-xy" - thanks to mathieu for reporting this one. - -2002-09-28 Markus Germeier <mager@tzi.de> - - * kernel/Makefile.am (distclean): added target distclean - -2002-09-28 Markus Germeier <mager@tzi.de> - * a lot of changes! - * reading from external memory should work now correctly - * BEWARE: all write operations are still broken on external mem! - -2002-09-24 Markus Germeier <mager@tzi.de> - * libmpio/directory.c (mpio_dentry_put): fixed 8.3 handling - to allow correct writing of CONFIG.DAT - (mpio_dentry_find_name_8_3): fixed handling of given filename - * libmpio/mpio.c (mpio_file_del, mpio_file_get): - system files (like sysdum?.du?) can now be read and deleted - (mpio_file_put): use mpio_filetype_t to tag files which are - written to the internal memory (it is now possible to write - config files back to the player) - -2002-09-24 Markus Germeier <mager@tzi.de> - * a lot of little changes and updates - * mpiosh/callback.c (mpiosh_cmd_dump_mem): - renamed function from debug_memory to dump_memory - (mpiosh_callback_init): display progress of internal and - external memory - * libmpio/mpio.c (mpio_check_filename): added function - to check for string zero termination (more to check??) - (mpio_memory_dump): dump all relevant memory areas - (mpio_init): read spare area for external memory - * libmpio/defs.h: added mpio_callback_t, mpio_callback_init_t - and mpio_filename_t - -2002-09-22 Andreas Buesching <crunchy@tzi.de> - - * configure.in (SPEC_PATH): needed for the spec file to find the - kernel module - -2002-09-22 Markus Germeier <mager@tzi.de> - * mpiosh/callback.c (mpiosh_cmd_mdel): - fixed logical error in abort handling which corrupted - FAT and directory - (mpiosh_cmd_mget): call the correct callback function - (mpiosh_callback_put): introduced mpiosh_cancel_ack - to fix annoying displays in case of an abort - (mpiosh_cmd_mput): don't break mput if an FILE_EXITS - is encountered - -2002-09-21 Andreas Buesching <crunchy@tzi.de> - - * mpio.spec.in (CFLAGS): add 'depmod -a' call to post install - instructions - - * kernel/Makefile.am: add target clean and fixed the install - target to not strip the kernel module - -2002-09-21 Yuji Touya <salmoon@users.sourceforge.net> - - * README: Add a few lines about Hot plug for 2.4.x - -2002-09-20 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_init): - added code to identify DMG+ (assumed, but should be correct) - - * mpiosh/callback.c (mpiosh_cmd_format, mpiosh_cmd_mem): - added warning messages for the upcoming release. - (mpiosh_cmd_get, mpiosh_cmd_put): added missing printf - -2002-09-20 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/mpiosh.c (mpiosh_command_regex_fix): bug fix for .* - do not quote the '.' if next character is a '*' - - * libmpio/mpio.c (mpio_strerror): fixed stupid bug no - 23.423.543.453.453 (time to go to bed) - -2002-09-19 Andreas Buesching <crunchy@tzi.de> - - * libmpio/mpio.c (mpio_strerror): fixed a strange bug with the - argument name. Never call an argument errno?!? - -2002-09-19 Markus Germeier <mager@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_dump, mpiosh_cmd_mget) - (mpiosh_cmd_mdel, mpiosh_cmd_mput): fixed handling of an abort - * libmpio/mpio.c (MPIO_ERR_RETURN): fixed buggy define - - -2002-09-19 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/mpiosh.c (mpiosh_command_regex_fix): hopefully fixed a - bug (Sorry Markus) - - * mpiosh/callback.c (mpiosh_cmd_mput): using new error handling - functions - - * libmpio/mpio.c (mpio_errno, mpio_strerror, mpio_perror): - add functions for error handling - (mpio_file_get, mpio_file_put, mpio_file_del): using error - handling functions - - -2002-09-19 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_init_internal): - added code to check if the internal memory is available - (don't ask! :-) - (mpio_sync): check if selected memory is available - * mpiosh/callback.c (mpiosh_cmd_mem): - fixed external mem check - - -2002-09-18 Markus Germeier <mager@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_mem): - external memory is only selectable if it is available - * libmpio/mpio.c (mpio_init): added progress callback - for init - * mpiosh/callback.c (mpiosh_callback_init): - added function - * libmpio/io.c (cluster2block, cluster2blockaddress): - removed wrong block mapping - (current mapping should work with complete error - free SM cards _only_) - - -2002-09-18 Andreas Buesching <crunchy@tzi.de> - - * libmpio/mpio.c (mpio_file_get, mpio_file_put, mpio_file_del): - using new error codes - - * libmpio/defs.h (MPIO_ERR_*): added definitions for possible - errors codes - - * libmpio/mpio.c (mpio_model_name): moved model array from def.h; - removed some compiler warnings (unused variables, missing return - codes) - - * mpiosh/mpiosh.c (mpiosh_command_regex_fix): extented conditions - to not replace sequences like ".*" by "\\..*" - -2002-09-16 Andreas Buesching <crunchy@tzi.de> - - * kernel/Makefile.am (install-strip): defined to avoid stripping - of the kernel module - -2002-09-16 Yuji Touya <salmoon@users.sourceforge.net> - - * kernel/mpio.c: changed include file to resolve symbols - * kernel/mpio.c (read_mpio): changed maxretry value - * libmpio/io.c (model2externalmem): fixed function - * libmpio/defs.h: added command, filetype and comments - * README: modified "getting started" - -2002-09-15 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_ldir): checking more return values - to avoid segmentation faults. - - * mpiosh/mpiosh.c: removed all references to the not implemented - switch command (just for the next release) - - * configure.in (MODULE_PATH): checking for the right module - directory and use it to install the mpio module - - * kernel/Makefile.am (install): the kernel module is now installed - into the determinated module directory of the current kernel - version. - - * mpio.spec.in: created rpm spec file for creating binary and - source rpm packages - -2002-09-15 Markus Germeier <mager@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_debug_mem): added function - call "debug_memory" in mpiosh - * libmpio/io.c (model2externalmem): added function - (mpio_io_set_cmdpacket): use model2externalmem - * libmpio/mpio.c (mpio_init): added code to identify different - models - (mpio_memory_debug): added function for debugging purposes - -2002-09-15 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/mpiosh.c: add a debug message, displaying the executed - command in script mode - (mpiosh_command_regex_fix): better mapping for shell regular - expressions (hopefully) - -2002-09-15 Markus Germeier <mager@tzi.de> - - * libmpio/directory.c: add debug informations, - (mpio_dentry_get): fixed a off-by-one error - - * libmpio/mpio.h: add mpio_mem_t to dentry functions - to enable further debugging - -2002-09-14 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/mpiosh.c: does not hang anymore after reading commands - from a pipe - - * mpiosh/callback.c (mpiosh_callback_mget, mpiosh_callback_mput) - (mpiosh_callback_mdel): calling new function mpiosh_command_regex_fix - - * mpiosh/mpiosh.c: fixed output of none interactive mode - (mpiosh_signal_handler, mpiosh_readline_cancel) - (mpiosh_noredisplay): functions added to get a expected handling - of C-c (SIGINT) - (mpiosh_command_regex_fix): add function. tries to map regular - expressions to shell expressions. mapping '*' -> ".*" and '.' -> "\." - -2002-09-13 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_file_put): fixed abort handling - -2002-09-13 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/callback.c (mpiosh_callback_mget, mpiosh_callback_mput) - (mpiosh_callback_mdel): handling of user interrupt - - * mpiosh/mpiosh.c: handling for stdin being a tty - - * mpiosh/callback.c (mpiosh_callback_get, mpiosh_callback_put) - (mpiosh_callback_del): using mpiosh_cancel to abort operation - - * mpiosh/mpiosh.c: changed handling of SIGINT. The global variable - mpiosh_cancel indicates the interrupt. - - * mpiosh/callback.c (mpiosh_cmd_help): add support for - arguments. just prints help about specified commands. - - * mpiosh/mpiosh.c: add new command lpwd - -2002-09-13 Markus Germeier <mager@tzi.de> - - * mpiosh/callback.c (mpiosh_cmd_put, mpiosh_cmd_del) - (mpiosh_cmd_mdel, mpiosh_cmd_mput): use mpio_sync - - * libmpio/mpio.c (mpio_file_get, mpio_file_put) - (mpio_memory_format, mpio_file_del): add code to handle abort - "signal" from user interface - (mpio_sync): added function - -2002-09-12 Andreas Buesching <crunchy@tzi.de> - - * mpiosh/mpiosh.c (mpiosh_command_split): - function added to support command sequences separated by ';' - changed mpiosh_cmd_t structure, containing help string and - argument information - - * mpiosh/callback.h, mpiosh/callback.c (): - new files containing callback functions of shell commands - (MPIOSH_CHECK_CONNECTION_OPEN, MPIOSH_CHECK_CONNECTION_CLOSED) - (MPIOSH_CHECK_ARG): macros for checking status of connection to - player - -2002-09-11 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_file_put,mpio_file_get): - set timestamps on files correct - * libmpio/directory.c (mpio_dentry_put): - write correct 8.3 filenames into directory - (mpio_dentry_put): - fixed handling of time stamps with a "little" help - from the current mtools distribution - (date_dos2unix): added function, copied from the linux - kernel - (mpio_dentry_get_time): added function, uses (date_dos2unix) - -2002-09-11 Markus Germeier <mager@tzi.de> - - * mpio_tool/mpiosh.c (mpiosh_cmd_mdel): added command mdel - -2002-09-11 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_file_put): - finished support for writing to internal memory - + changes to fat.c and io.c - -2002-09-11 Markus Germeier <mager@tzi.de> - - * libmpio/io.c (cluster2blockaddress): added function - (mpio_io_block_write, mpio_io_sector_write): - fixed block address in spare area - (mpio_io_block_read): - check block address and give debug output if address differs - -2002-09-11 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_file_put): (+ various files) - updated writing support to support mpio_fatentry_t - -2002-09-10 Markus Germeier <mager@tzi.de> - - * libmpio/io.c (mpio_io_block_write): - write FAT entry for internal mem - * libmpio/fat.c (mpio_fat_internal_find_fileindex): added function - -2002-09-10 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_memory_format): - formatting works for internal and external memory now - BEWARE: No config files are written, you might ruin your - player!!! - * libmpio/mpio.c (mpio_file_del): - deleting works for internal and external memory now (BEWARE !!!) - * support for deleting/formatting added to various parts of - fat.c and io.c - -2002-09-10 Markus Germeier <mager@tzi.de> - - * libmpio/fat.c (mpio_fatentry_set_free) - (mpio_fatentry_set_defect): added functions - * libmpio/io.c (mpio_io_block_delete): - return negative status value in case of error - * libmpio/mpio.c (mpio_memory_format): - mark block/cluster defect in FAT if an error occurs during format - * libmpio/mpio.c (mpio_file_del): - changed function to support new mpio_fatentry_t - -2002-09-09 Markus Germeier <mager@tzi.de> - - * libmpio/io.c (fatentry2hw): added function - (mpio_io_block_read, mpio_io_block_delete): - use fatentry2hw - -2002-09-09 Markus Germeier <mager@tzi.de> - - * libmpio/mpio.c (mpio_memory_format): - updated code to format external SmartMedia cards - * libmpio/fat.c (mpio_fatentry_plus_plus, mpio_bootblocks_read): - fixed max_cluster issues - -2002-09-09 Markus Germeier <mager@tzi.de> - - * libmpio/io.c (cluster2block): - fixed cluster to block mapping for 32MB SmartMedia cards - * libmpio/io.c (mpio_io_block_read, mpio_io_sector_read): - added debug output in case of ECC error - * libmpio/mpio.c (mpio_memory_free): - fixed segmentation violation if no SM card is inserted - * libmpio/mpio.c (mpio_get_info): - *really* fixed the problem if no SM card is inserted - -2002-09-09 Markus Germeier <mager@tzi.de> - - * mpio_tool/mpiosh.c: - (mpiosh_cmd_mput): - (mpiosh_cmd_mget): - make info texts consistent with get and put - * libmpio/mpio.c (mpio_init_internal): - fixed max_clusters for internal memory with more - then one chip - * libmpio/fat.c (mpio_fatentry_hw2entry): added function - * libmpio/fat.c (mpio_fatentry_entry2hw): added function - * libmpio/fat.c: - fixed support for MPIOs with more than one internal chip - (hopefully, someone please test this) - -2002-09-08 Markus Germeier <mager@tzi.de> - - * mpio_tool/mpiosh.c: - (mpiosh_cmd_mput): fixed regex handling - (mpiosh_cmd_mget): fixed regex handling - * regex for mput/mget does now work but uses "hard" - regular expressions instead of shell-like regex, e.g.: - "^0.*\.mp3$" ("hard" regular expression) - "0*.mp3" (shell-like) - -2002-09-04 Andreas Buesching <crunchy@tzi.de> - - * mpio_tool/mpiosh.c (mpiosh_cmd_mput): - added command mput. The arguments can be extended regular - expressions. UNTESTED! - (mpiosh_cmd_ldir): removed compiler warnings - (mpiosh_cmd_mget): added command mget. The arguments can be - extended regular expressions. UNTESTED! - (mpiosh_cmd_help): updated help text - -2002-09-03 Markus Germeier <mager@tzi.de> - - * first part of "design" fixes - * libmpio: - - introduced mpio_fatentry_t - - reading support changed to mpio_fatentry_t - - writing and deleting deactivated - (this simply can't work right now) - -2002-09-03 Yuji Touya <salmoon@users.sourceforge.net> - - * add mkmpiodev script to create device file - * README: add explanation to get started - -2002-09-03 Markus Germeier <mager@tzi.de> - - * libmpio/*: various "little" code cleanups - -2002-09-01 Andreas Buesching <crunchy@tzi.de> - - * mpio_tool/mpiosh.c: add commands lcd and ldir - (mpiosh_cmd_dump): fixed a stupid bug - (mpiosh_cmd_ldir): implemented the command ldir - (mpiosh_cmd_lcd): implemented the command lcd - -2002-08-22 Andreas Buesching <crunchy@tzi.de> - * README: fixed soome types and add a warning - * AUTHORS: add salmoon to the list - -2002-08-05 Andreas Buesching <crunchy@tzi.de> - - * autogen.sh: add script to build configure script - diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 8b82ade..0000000 --- a/INSTALL +++ /dev/null @@ -1,291 +0,0 @@ -Installation Instructions -************************* - -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, -2006, 2007, 2008 Free Software Foundation, Inc. - - This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. - -Basic Installation -================== - - Briefly, the shell commands `./configure; make; make install' should -configure, build, and install this package. The following -more-detailed instructions are generic; see the `README' file for -instructions specific to this package. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. Caching is -disabled by default to prevent problems with accidental use of stale -cache files. - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You need `configure.ac' if -you want to change it or regenerate `configure' using a newer version -of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. - - Running `configure' might take a while. While running, it prints - some messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - - 6. Often, you can also type `make uninstall' to remove the installed - files again. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. Run `./configure --help' -for details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c99 CFLAGS=-g LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you can use GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - With a non-GNU `make', it is safer to compile the package for one -architecture at a time in the source code directory. After you have -installed the package for one architecture, use `make distclean' before -reconfiguring for another architecture. - - On MacOS X 10.5 and later systems, you can create libraries and -executables that work on multiple system types--known as "fat" or -"universal" binaries--by specifying multiple `-arch' options to the -compiler but only a single `-arch' option to the preprocessor. Like -this: - - ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CPP="gcc -E" CXXCPP="g++ -E" - - This is not guaranteed to produce working output in all cases, you -may have to build one architecture at a time and combine the results -using the `lipo' tool if you have problems. - -Installation Names -================== - - By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Particular systems -================== - - On HP-UX, the default C compiler is not ANSI C compatible. If GNU -CC is not installed, it is recommended to use the following options in -order to use an ANSI C compiler: - - ./configure CC="cc -Ae" - -and if that doesn't work, install pre-built binaries of GCC for HP-UX. - - On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot -parse its `<wchar.h>' header file. The option `-nodtk' can be used as -a workaround. If GNU CC is not installed, it is therefore recommended -to try - - ./configure CC="cc" - -and if that doesn't work, try - - ./configure CC="cc -nodtk" - -Specifying the System Type -========================== - - There may be some features `configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, `configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - - Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). - -Unfortunately, this technique does not work for `CONFIG_SHELL' due to -an Autoconf bug. Until the bug is fixed you can use this workaround: - - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash - -`configure' Invocation -====================== - - `configure' recognizes the following options to control how it -operates. - -`--help' -`-h' - Print a summary of all of the options to `configure', and exit. - -`--help=short' -`--help=recursive' - Print a summary of the options unique to this package's - `configure', and exit. The `short' variant lists options used - only in the top level, while the `recursive' variant lists options - also present in any nested packages. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`--prefix=DIR' - Use DIR as the installation prefix. *Note Installation Names:: - for more details, including other options available for fine-tuning - the installation locations. - -`--no-create' -`-n' - Run the configure checks, but stop before creating any output - files. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - @@ -1,79 +1,2 @@ -- How can I get started with this software? - -You should create device file for MPIO. Be root and type following: - - /usr/local/sbin/mkmpiodev - -Once you create it, you do not need to run this script again. -Next, the driver module has to be loaded before playing. - - /sbin/depmod -a - /sbin/modprobe mpio - -Connect your MPIO to PC by USB cable. You can run mpiosh shell now. -When you want to stop playing, disconnect MPIO and type: - - /sbin/modprobe -r mpio - -*Hotplug for kernel 2.4.x - - If the Hot plugging tool (like Murasaki) is installed on your -system, the driver module will be loaded/unloaded automatically -when MPIO player is connected/disconnected to your PC. And you -do not need to run modprobe anymore. - -- Is there any risk to use this software with my MPIO mp3 player? - -We do not really know that, but we do not garantee for anything. If -you use this software and your MPIO mp3 player turns into a useless -brick it is your own fault. If you use any other device with this -library it would be a wonder if does _not_ turn it into a brick. So if -you do not like your mp3 player just use this software ;-) - -- I downloaded a current CVS snapshot but there is no configure script, only - a configure.in ! What do I have to do?? - -configure and a few other files are automagically created using the -tools aclocal, autoconf and automake. Execute the script "autogen.sh" -and you should be ready to go. (Of course, you need to have the -mentioned tools installed ;-) - -- How to help us finding bugs and learning more about different models - of the MPIO mp3 players? - -The mpiosh shell is at the moment the only user interface to access -the functionality of libmpio. Because this software is definitly not -ready yet (pre alpha) and we need a lot of more information about -different models of the MPIO mp3 players we add special debugging -functionality to the shell to help users to support our work. - -To help us understanding your bug reports we need a lot of information -about the data which is exchanged between your MPIO mp3 player and our -library. To get this information we added a special 'debug' command to -the mpio-shell (mpiosh). To activate the debug ouput type the following -command: - - mpio <i> debug on - -to see more detailed debug output the level can be changed using the -'level' option like this: - - mpio <i> debug level 5 - -This sets the highest debug level available. To make it easier to send us -the output you can redirect the debug output to a file like this: - - mpio <i> debug file /tmp/mpio-5.debug - -If you would like to help us finding bugs and learning more about the -protocol of the MPIO players use this debugging support and send the log -files to one of the developers or the mailing-list at sourceforge - -Thanks for you help. - -your MPIO-Team - - - - +This is a fork of http://mpio.sourceforge.net/ @@ -1,47 +0,0 @@ -$Id: TODO,v 1.19 2003/04/06 23:09:19 germeier Exp $ - -* Kernel Module - - the MPIO can no multitasking, so: - allow only *one* process to use the device - [did always work, my mistake] - -* libmpio - - find FAT entry dynamic [DONE] - - finish API - - implement dir functions [DONE] - - implement ECC code (we want a GPL code for this) [DONE] - - use ECC code for every read/write operation!! [DONE] - - implement reading of files [DONE] - - implement writing of files [partially done] - * writing to internal memory [DONE] - * resolve remainig block addressing issues in spare area [DONE] - * fix 8.3 filenames [DONE] - * fix timestamps of files [DONE] - - implement deleting of files [DONE] - - If everything is done: - - implement formating of external memory [DONE] - * write code to fix defective CIS (??), MBR, PBR [DONE] - - implement formating of internal memory (BEWARE !!!!) - [DONE: BEWARE no config files are written!!!!] - - written config files file setting/permissions seem not - to be right for the newer players (CONFIG.DAT appears as - a playable track) - -* mpio_tool [is deprecated, use mpiosh] - -* mpiosh - - more completion functions - + command completion [DONE] - + correct completion of filenames (quoting) [DONE] - + command option completion [partly DONE] - - handle regexps in command arguments [DONE] - - use indices for files as possible arguments for put/get - - use shell-like regular expressions [DONE] - - command separator like ';' [DONE] - - using stdin for reading command sequences [DONE] - - fill: uses current local directory to fill the current memory card - + options: random, best(?) - - configuration files [almost DONE] - - save command history [DONE] - diff --git a/etc/mpioshrc b/contrib/mpioshrc index d599aed..d599aed 100644 --- a/etc/mpioshrc +++ b/contrib/mpioshrc diff --git a/debian/README b/debian/README deleted file mode 100644 index e04899b..0000000 --- a/debian/README +++ /dev/null @@ -1,6 +0,0 @@ -The Debian Package mpio ----------------------------- - -Comments regarding the Package - -Andreas Büsching <crunchy@bitkipper.net>, Sat, 1 Apr 2006 19:40:10 +0200 diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index da87b83..0000000 --- a/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -mpio (0.7.1-1) unstable; urgency=low - - * Initial Release. - - -- Andreas Büsching <crunchy@bitkipper.net> Mon, 3 Apr 2006 23:15:38 +0200 diff --git a/debian/control b/debian/control deleted file mode 100644 index 1dfcd1c..0000000 --- a/debian/control +++ /dev/null @@ -1,21 +0,0 @@ -Source: mpio -Section: misc -Priority: optional -Maintainer: Andreas Büsching <crunchy@bitkipper.net> -Build-Depends: debhelper (>= 4.0.0), autotools-dev, cdbs, libusb-dev, libreadline5-dev -Standards-Version: 3.6.2 - -Package: libmpio -Architecture: any -Depends: ${shlibs:Depends}, libusb-0.1-4 -Description: provides access to MPIO MP3 players - -Package: libmpio-dev -Architecture: all -Depends: ${shlibs:Depends} -Description: Development files for the MPIO library - -Package: mpio-tools -Architecture: any -Depends: ${shlibs:Depends}, libmpio, libreadline5 -Description: MPIO Shell and MPIO Logo diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 0ba1c99..0000000 --- a/debian/copyright +++ /dev/null @@ -1,24 +0,0 @@ -This is mpio, written and maintained by - Markus Germeier <markus@bitschubser.de> - Andreas Buesching <crunchy@bitkipper.net> - -Copyright (C) 2006 - -License: - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/docs b/debian/docs deleted file mode 100644 index ed91ff0..0000000 --- a/debian/docs +++ /dev/null @@ -1,5 +0,0 @@ -NEWS -README -TODO -COPYING -AUTHORS diff --git a/debian/libmpio-dev.install b/debian/libmpio-dev.install deleted file mode 100644 index f616c9a..0000000 --- a/debian/libmpio-dev.install +++ /dev/null @@ -1 +0,0 @@ -debian/tmp/usr/include/mpio/* diff --git a/debian/libmpio.install b/debian/libmpio.install deleted file mode 100644 index dd9256f..0000000 --- a/debian/libmpio.install +++ /dev/null @@ -1,2 +0,0 @@ -debian/tmp/usr/lib/libmpio* -debian/tmp/etc/hotplug/usb/* diff --git a/debian/mpio-tools.install b/debian/mpio-tools.install deleted file mode 100644 index 38676ab..0000000 --- a/debian/mpio-tools.install +++ /dev/null @@ -1,3 +0,0 @@ -debian/tmp/usr/bin/* -debian/tmp/etc/mpio/* - diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 7f8c955..0000000 --- a/debian/postinst +++ /dev/null @@ -1,42 +0,0 @@ -#! /bin/sh -# postinst script for gex -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postinst> `configure' <most-recently-configured-version> -# * <old-postinst> `abort-upgrade' <new version> -# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -# <new-version> -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -# <failed-install-package> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# - -case "$1" in - configure) - - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/debian/rules b/debian/rules deleted file mode 100755 index fef39cd..0000000 --- a/debian/rules +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/make -f - -include /usr/share/cdbs/1/class/autotools.mk -include /usr/share/cdbs/1/rules/simple-patchsys.mk -include /usr/share/cdbs/1/rules/debhelper.mk - diff --git a/hotplug/libmpio.in b/hotplug/libmpio.in deleted file mode 100755 index 27c5370..0000000 --- a/hotplug/libmpio.in +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# -# /etc/hotplug/usb/libmpio -# -# Fix permissions on device file, so -# "normal" users can access the MPIO player - -MPIO_USER=@MPIOUSER@ -MPIO_GROUP=@MPIOGROUP@ -MPIO_PERM=@MPIOPERM@ - -if [ "$ACTION" = "add" ] && - [ "$TYPE" = "usb" ] && - [ -f "${DEVICE}" ] -then - chmod 0000 "$DEVICE" - chown $MPIO_USER "$DEVICE" - chgrp $MPIO_GROUP "$DEVICE" - chmod $MPIO_PERM "$DEVICE" -fi diff --git a/hotplug/libmpio.usermap b/hotplug/libmpio.usermap deleted file mode 100644 index a73ca0e..0000000 --- a/hotplug/libmpio.usermap +++ /dev/null @@ -1,5 +0,0 @@ -# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info -# all MPIO players: -libmpio 0x0003 0x2735 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 -# Virgin Pulse branded MPIO players: -libmpio 0x0003 0x2735 0x0071 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 diff --git a/libmpio/CMakeLists.txt b/libmpio/CMakeLists.txt index ce48530..fb590ef 100644 --- a/libmpio/CMakeLists.txt +++ b/libmpio/CMakeLists.txt @@ -3,12 +3,4 @@ cmake_minimum_required (VERSION 2.4) set (PACKAGE libmpio) project (${PACKAGE} C) -set (CMAKE_C_FLAGS -Wall) - -include_directories (${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/mplib) - -add_library (mpio STATIC src/mpio.c src/io.c src/debug.c src/smartmedia.c - src/mmc.c src/directory.c src/fat.c src/ecc.c src/cis.c) - -target_link_libraries (mpio -lusb) +add_subdirectory (src) diff --git a/libmpio/src/CMakeLists.txt b/libmpio/src/CMakeLists.txt new file mode 100644 index 0000000..0422cb7 --- /dev/null +++ b/libmpio/src/CMakeLists.txt @@ -0,0 +1,9 @@ +set (CMAKE_C_FLAGS -Wall) + +include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../) + +add_library (mpio STATIC mpio.c io.c debug.c smartmedia.c mmc.c directory.c + fat.c ecc.c cis.c) + +target_link_libraries (mpio -lusb) + diff --git a/mkmpiodev b/mkmpiodev deleted file mode 100755 index bbe6995..0000000 --- a/mkmpiodev +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -#------------------------------ -# Create device file for MPIO -#------------------------------ - -DEVFILE=/dev/usb/mpio -MAJOR=180 -MINOR=70 -PERM=666 -OWNER=root.root - -if test -c $DEVFILE; then - echo -n "Removing $DEVFILE ... " - rm -f $DEVFILE - echo "done" -fi - -if test "$1" != "-r"; then - echo -n "Creating $DEVFILE ... " - mknod -m $PERM $DEVFILE c $MAJOR $MINOR - chown $OWNER $DEVFILE - echo "done" -fi - diff --git a/mpio.spec.in b/mpio.spec.in deleted file mode 100644 index 43bd5cd..0000000 --- a/mpio.spec.in +++ /dev/null @@ -1,65 +0,0 @@ -# -*- rpm-spec -*- -%define version @VERSION@ -%define release @RELEASE@ -%define name mpio -%define prefix /usr -%define sysconfdir %prefix/etc - -Version: %version -Summary: MPIO - providing access to MPIO mp3 players -Name: %name -Release: %release -License: GPL -Group: Applications/MultiMedia -Source: http://download.sourceforge.net/mpio/mpio-@VERSION@.tar.gz -Prefix: %prefix -Buildroot: /var/tmp/mpio-@VERSION@-buildroot/ -Packager: Andreas Büsching <crunchy@tzi.de> -Requires: libusb >= 0.1.7, readline >= 4.3, ncurses >= 5.0 -BuildRequires: readline-devel >= 4.3 -BuildRequires: ncurses-devel >= 5.0 - -%description -This is a project for using Digitalway/Adtec digital audio player MPIO -(DMG, DMK, DME, DMB, FD 100, FL100, FY100, FY200) under Linux. It uses -libusb and provides a userspace library and at the moment one tool to -access the MPIO player. - -%prep -%setup -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix -sysconfdir=%sysconfdir - -%build -make - -%install -rm -rf $RPM_BUILD_ROOT -KVERSION=`uname -r` - -echo "%defattr(755,root,root)" > /tmp/mpio-files.lst -echo "%prefix/bin/mpiosh" >> /tmp/mpio-files.lst -echo "%prefix/bin/mpiologo" >> /tmp/mpio-files.lst -echo "%prefix/lib/libmpio*" >> /tmp/mpio-files.lst -echo "%defattr(700,root,root)" >> /tmp/mpio-files.lst -echo "%defattr(644,root,root)" >> /tmp/mpio-files.lst -echo "%sysconfdir/mpio/mpioshrc" >> /tmp/mpio-files.lst -echo "%prefix/include/mpio/mpio.h" >> /tmp/mpio-files.lst -echo "%prefix/include/mpio/defs.h" >> /tmp/mpio-files.lst -echo "/etc/hotplug/usb/libmpio.usermap" >> /tmp/mpio-files.lst -echo "%defattr(755,root,root)" >> /tmp/mpio-files.lst -echo "/etc/hotplug/usb/libmpio" >> /tmp/mpio-files.lst - -make DESTDIR=$RPM_BUILD_ROOT install - -%post -ldconfig - -%files -f /tmp/mpio-files.lst - -%doc COPYING ChangeLog INSTALL NEWS -%doc README TODO - -%clean -rm -rf $RPM_BUILD_ROOT -rm -f /tmp/mpio-files.lst - diff --git a/mpiosh/.gitignore b/src/.gitignore index 2e3941e..2e3941e 100644 --- a/mpiosh/.gitignore +++ b/src/.gitignore diff --git a/mpiosh/CMakeLists.txt b/src/CMakeLists.txt index efff2c7..7132b28 100644 --- a/mpiosh/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,8 +1,3 @@ -cmake_minimum_required (VERSION 2.4) - -set (PACKAGE mpiosh) -project (${PACKAGE} C) - set (CMAKE_C_FLAGS -Wall) configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in diff --git a/mpiosh/callback.c b/src/callback.c index e98a334..e98a334 100644 --- a/mpiosh/callback.c +++ b/src/callback.c diff --git a/mpiosh/callback.h b/src/callback.h index 00ffb86..00ffb86 100644 --- a/mpiosh/callback.h +++ b/src/callback.h diff --git a/mpiosh/cfgio.c b/src/cfgio.c index b8a1829..b8a1829 100644 --- a/mpiosh/cfgio.c +++ b/src/cfgio.c diff --git a/mpiosh/cfgio.h b/src/cfgio.h index d58cd3f..d58cd3f 100644 --- a/mpiosh/cfgio.h +++ b/src/cfgio.h diff --git a/mpiosh/command.c b/src/command.c index 9c42a8c..9c42a8c 100644 --- a/mpiosh/command.c +++ b/src/command.c diff --git a/mpiosh/command.h b/src/command.h index 34dbc9b..34dbc9b 100644 --- a/mpiosh/command.h +++ b/src/command.h diff --git a/mpiosh/config.h.in b/src/config.h.in index bb60f14..bb60f14 100644 --- a/mpiosh/config.h.in +++ b/src/config.h.in diff --git a/mpiosh/global.c b/src/global.c index 04fd9e7..04fd9e7 100644 --- a/mpiosh/global.c +++ b/src/global.c diff --git a/mpiosh/global.h b/src/global.h index 1e52491..1e52491 100644 --- a/mpiosh/global.h +++ b/src/global.h diff --git a/mpiosh/mpiosh.c b/src/mpiosh.c index e74278d..e74278d 100644 --- a/mpiosh/mpiosh.c +++ b/src/mpiosh.c diff --git a/mpiosh/mpiosh.h b/src/mpiosh.h index 8291178..8291178 100644 --- a/mpiosh/mpiosh.h +++ b/src/mpiosh.h diff --git a/mpiosh/readline.c b/src/readline.c index afc78c0..afc78c0 100644 --- a/mpiosh/readline.c +++ b/src/readline.c diff --git a/mpiosh/readline.h b/src/readline.h index a0bb08a..a0bb08a 100644 --- a/mpiosh/readline.h +++ b/src/readline.h |