From: Bob M. <rsm...@st...> - 2001-05-27 21:58:27
|
Arnim Laeuger [arn...@gm...] wrote: > > Hi again! > > > Well, I played around with some SCSI_IOCTL_SYNC stuff that doesn't seem > > to do much. Currently mjmmc hangs my x86 machine hard, and I took the > > USB card out of my alpha... > > Apart from the troubles (see below) mjmmc works fine on my machine. No > crashes or hangs at all. Good! > > Attached is the latest version, only some formatting improvements, and > > the date-in-seconds-since-1904 field. Haven't had time to play with it > > much lately. > > It does not compile, there seems to be something missing in mjmmc.h > (mjmmc_entry has no member date). Ack, oops. Attached is the updated header file. Right now I'm trying to track down a UHCI bug that hangs my machine. *sigh* > > So everything works with the Zio? That's cool. Any trouble with it? > > Zio is a USB device, right? > > Yes, the Zio is a USB device. Actually it enumerates as a "supported" > device from SCM: > > T: Bus=01 Lev=02 Prnt=13 Port=03 Cnt=01 Dev#= 14 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1 > P: Vendor=04e6 ProdID=0006 Rev= 4.04 > S: Manufacturer=SCM Microsystems Inc. > S: Product=eUSB MultiMediaCard Adapter > S: SerialNumber=000000000000 > C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 > Driver=usb-storage > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms > > > So far no troubles with kernel drivers or anything else related to USB. Cool! > On the other hand mjmmc seems to break the consistency of my MMC. I > installed the same file twice (with deleting it in between) and had no > luck. It is always broken in such a way that after ~40 seconds playing > skips right into the middle of another song. Two or three other songs > are messed up as well and lead into each other. > Unfortunately I deleted the initial dump of the card so I am not able to > recover it with dd :-( Hmmm, that's bad. Would it be possible for you to create a "clean" mmc by: 1) format the mmc, 2) add a bunch of songs using mj-xfer or the windows software, 3) dump the entire mmc to a file using dd, 4) put the dump of the mmc somewhere I can get it? (recall I haven't been able to use mj-xfer to transfer files yet -- I think it's a UHCI problem... *sigh*) The only thing I've ever had to work with was the mmc as it originally shipped with the minijam. I've never been able to put songs on it except with mjmmc, hence, I expect mjmmc isn't perfect. ;) For instance, I still can't get the minijam to display the title/artist of files. :( A dump of a "correct" mmc would help greatly. > Here is the log from the install run: [...] > The listing of the free blocks looks strange to me. There are several > entries that are the same or have the same end values. Yes, that's strange. Whenever I use it, the free block list contains only one entry, something like: 527-127000. mjmmc should only ever leave one big free block, unless you start deleting files from the middle of the list. It's a good idea to delete all files on the mmc before installing new ones, for now. BTW, how fast is it? The SanDisk unit should do ~200k/s, but I think the UHCI driver is messing with me. (do you see a long pause between the message "Waiting for close..." and the program exiting?) Note that 200k/s is limited by the mmc's ability to write, and is considerably faster than the speed of the "SpeedLoader" sold by InnoGear. ;) Cheers, -- Bob Bob McElrath (rsm...@st...) Univ. of Wisconsin at Madison, Department of Physics |