Commit Graph
166 Commits
Author SHA1 Message Date
Glenn Maynard 9dc6b7366a cleanup 2005-12-09 23:54:18 +00:00
Glenn Maynard a6414302b6 cleanup 2005-12-06 21:54:23 +00:00
Glenn Maynard a4c0b8e963 Test writable without writing a file. This reduces the chance of corruption: merely mounting a device should not write to it. 2005-12-06 21:53:47 +00:00
Chris Danford 5a2c4504f2 add volume size 2005-12-04 09:02:40 +00:00
Chris Danford 299e1f7d68 add memcard blacklist by OsMountDir and UI to disable specific drives 2005-11-27 01:50:10 +00:00
Glenn Maynard fe19cdf726 don't FixSlashes on the memory card OS path. This is a system path, not a RageFile path, so it doesn't need to follow our rules. 2005-10-27 17:33:01 +00:00
Glenn Maynard 539ec6aa5c HAVE_WIN32 -> WINDOWS. HAVE_LINUXKERNEL -> LINUX. If some features originating in Linux work on other systems, then define them specifically (eg. HAVE_LINUX_JOYSTICKS). 2005-10-24 07:22:28 +00:00
Glenn Maynard f0998a1dc5 store /sys/block name in Linux 2005-10-03 07:17:09 +00:00
Ben Anderson a450acf26c RageFile token without matching #include 2005-09-10 23:39:09 +00:00
Glenn Maynard 26e1a11af6 noisy 2005-09-10 17:31:29 +00:00
Glenn Maynard 0a3d0759b6 sync before umount; cleanup 2005-07-02 05:37:33 +00:00
Chris Danford 6aa44a76ee absolute path 2005-05-23 01:05:49 +00:00
Glenn Maynard 8b1dcc850f better logging 2005-05-22 21:09:17 +00:00
Glenn Maynard 11fdc9a3d5 use /rootfs 2005-05-22 02:29:02 +00:00
Glenn Maynard b664ec07b1 fix mountpoint 2005-05-22 02:13:24 +00:00
Glenn Maynard d9b595ad08 fix lost state 2005-05-07 04:18:39 +00:00
Glenn Maynard 3ba7b814c7 remove old whitelisting code 2005-05-04 05:44:50 +00:00
Glenn Maynard 1ea1ecfaaf move FastLoadProfileNameFromMemoryCard into ProfileManager 2005-04-24 23:06:15 +00:00
Glenn Maynard d8e675a1c4 pass -l flag to umount 2005-04-24 22:46:18 +00:00
Glenn Maynard cabfc056fd API 2005-04-24 19:33:46 +00:00
Glenn Maynard e2ab509b8e pull out common memory card profile code (in prep for import handling) 2005-04-24 19:30:35 +00:00
Glenn Maynard 30c3578cdc interface to allow more specific error messages 2005-04-22 05:48:52 +00:00
Glenn Maynard 0d9b7c943a remove iScsiIndex 2005-04-22 05:24:19 +00:00
Glenn Maynard 85313caf7c UsbStorageDevice::STATE_WRITE_ERROR -> UsbStorageDevice::STATE_ERROR 2005-04-22 05:15:59 +00:00
Glenn Maynard b252d7b3f7 simplify, mount based on device, not mountpoint 2005-04-22 03:53:20 +00:00
Glenn Maynard 0ba49a8f6a sScsiDevice -> sDevice 2005-04-22 03:16:14 +00:00
Glenn Maynard 769bc2636e cleanup 2005-04-22 03:04:58 +00:00
Glenn Maynard 37650adbec Newer kernels store device strings in memory on USB device init. This makes querying them later safe. (Thanks Greg KH) 2005-04-22 01:33:53 +00:00
Glenn Maynard 88023a04db fix card state lost when another card updates 2005-04-21 06:36:30 +00:00
Chris Danford 40f74ad837 fix Windows compile 2005-03-16 02:25:40 +00:00
Ben Anderson 167e5aebc0 Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.) 2005-03-15 00:30:26 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Glenn Maynard aef09d0872 quiet down 2005-02-21 03:48:39 +00:00
Glenn Maynard 4b726d2e23 disable whitelisting (will hopefully go away entirely); fix product trimming; better logging 2005-02-21 03:47:47 +00:00
Glenn Maynard f1e84f98b8 driver update 2005-02-06 19:49:34 +00:00
Glenn Maynard d14ea1ee41 compiles (doesn't support everything yet) 2005-02-06 05:46:07 +00:00
Glenn Maynard 7a21e95ede memory card work (linux update in a few minutes) 2005-02-06 05:11:57 +00:00
Glenn Maynard 7e1be2bde3 fix tabbing 2005-02-06 00:25:29 +00:00
Glenn Maynard bc3f8803c3 minor cleanups 2005-02-05 23:56:23 +00:00
Glenn Maynard 9c55974c63 remove MemoryCardDriverThreaded 2005-02-05 19:18:49 +00:00
Glenn Maynard 76e45504a3 MemoryCardDriverThreaded_Linux compiles (not yet tested) 2005-02-05 19:12:02 +00:00
Glenn Maynard c7434d29de simplify; pausing and threading is handled above (Linux update in a few
minutes)
2005-02-05 19:02:25 +00:00
Ben Anderson 25ea8e4825 Fix compilation 2005-01-27 23:58:37 +00:00
Glenn Maynard 39604143f6 mount and unmount FILEMAN mountpoints in MemoryCardManager,
not drivers; use timeout FS; don't pass mountpoints to drivers since
they never need to know them
2005-01-27 19:23:54 +00:00
Glenn Maynard 7efbea62aa cleanup 2005-01-27 19:16:32 +00:00
Glenn Maynard 8af4296b08 simplify a bit 2005-01-27 04:45:20 +00:00
Glenn Maynard cadbdf2bee remove MemoryCardDriverThreaded::UnmountMountPoint; remount the fs instead (makes
the timeout FS simpler)
use timeout FS in windows memory card code for testing
2005-01-27 04:39:10 +00:00
Glenn Maynard 3b25fd6c60 sysfs fixes 2005-01-27 04:36:11 +00:00
Glenn Maynard 41622d238c Use sysfs to probe memory cards. This has several advantages:
all of the information we need is in one place, with proper links so we
 don't have to do weird hacks to connect data together

 we don't have to touch /proc/bus/usb/devices; doing so generates USB
 messages to all devices, which can cause problems

 works for all removable devices; usb-storage or ub should both work with
 no changes, as long as mountpoints exist in /etc/fstab

 doesn't need to fork lsusb

Old support is removed; unless serious, unfixable problems are found with
this method, the old code is too big and confusing to keep around.  This
code needs more testing.
2005-01-19 18:11:13 +00:00
Glenn Maynard dac3c2b978 update 2004-12-07 00:09:47 +00:00