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
Glenn Maynard
495a418884
Previously, the main mount loop was unlocking the thread and then immediately
...
re-locking it. In some threads implementations (Linux 2.6), this causes the
mount thread to hog the lock, which causes SetMountThreadState to hang. Move
the "check and delay" part of the mount thread outside of the lock, so other
threads have opportunity to get the lock.
2004-12-07 00:06:59 +00:00
Glenn Maynard
4bde245842
m_fd isn't used anymore
2004-12-06 23:47:23 +00:00
Chris Danford
c23c0bec17
improve mapping from scsi index to scsi device
2004-10-15 13:47:54 +00:00
Chris Danford
d906bc83e7
don't allow Iomega micro drives
2004-10-12 01:36:37 +00:00
Chris Danford
f4f02e23a2
show a different string for "card inserted, but we don't yet know the name on the card"
2004-10-09 09:57:12 +00:00
Chris Danford
269768f856
HACK: Don't do the temp mount and the write test in the mount thread.
2004-10-09 09:34:30 +00:00
Chris Danford
e1a8aa0fbb
add more to whitelist
2004-10-08 07:29:51 +00:00
Chris Danford
332dd17b41
fix compile error
2004-10-07 23:44:12 +00:00
Chris Danford
68fcb42954
add more devices to whitelist
2004-10-07 23:17:16 +00:00
Chris Danford
c47b7fb124
clean up whitelist, add entry for Creative Labs MuVo
2004-10-07 19:48:24 +00:00