|
From: Michael S. <ms...@cl...> - 2004-02-13 04:52:08
|
Hello again. So as you know, I got the mass storage working in 2.6.1. Well, I copied a bunch of files onto my 180/T and wanted to put them in a directory. So I created a directory in the mp3 player and then moved all my mp3s into in (note that the mp3's were already on the player). Well, the mp3's vanished. Everything that was moved into the newly created directory was lost but when doing a df, the mp3 player was maxed out. This forced me to do a format (which I did on my friend's window box). When I did this, windows would only format 109M when my player is a 128M player. Before it was formated for 128M. Anyone have any suggestions on this one? Thanks On Thu, 2004-02-12 at 06:49, Cedric Staub wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Oh, moment, from where came all these "~" in the patch?! > Maybe its better if you download the patch from > http://www.irclog.de/~cedric/linux/ifp.patch ... > > Cedric > > Cedric Staub wrote: > | Hi Michael! > | > | Make sure your "linux" directory points to your sources. > | Than type: > | > | patch -p 0 -i ifp.patch > | > | (You find the patch at the bottom of the message) > | For more read man patch... > | I've successfully tested the patch with 2.6.0, 2.6.1-rc1 and 2.6.3-rc3. > | Have fun! > | > | Cedric > | > | |>> And heres the patch: > | > | --- linux/include/scsi/scsi_devinfo.h.orig 2004-01-06 > | 01:00:29.000000000 +0100 > | +++ linux/include/scsi/scsi_devinfo.h 2004-01-06 20:15:50.036892568 > +0100 > | @@ -19,4 +19,5 @@ > | ~ #define BLIST_MS_SKIP_PAGE_08 0x2000 /* do not send ms page 0x08 */ > | ~ #define BLIST_MS_SKIP_PAGE_3F 0x4000 /* do not send ms page 0x3f */ > | ~ #define BLIST_USE_10_BYTE_MS 0x8000 /* use 10 byte ms before 6 byte > | ms */ > | +#define BLIST_NORMB 0x10000 /* Known to be not removable */ > | ~ #endif > | --- linux/drivers/scsi/scsi_scan.c.orig 2004-01-06 01:00:29.000000000 > | +0100 > | +++ linux/drivers/scsi/scsi_scan.c 2004-01-06 20:10:19.731106680 > +0100 > | @@ -536,7 +536,8 @@ > | ~ sdev->online = FALSE; > | ~ } > | > | - sdev->removable = (0x80 & inq_result[1]) >> 7; > | + sdev->removable = (((0x80 & inq_result[1]) >> 7) && > | + !(*bflags & BLIST_NORMB)); > | ~ sdev->lockable = sdev->removable; > | ~ sdev->soft_reset = (inq_result[7] & 1) && ((inq_result[3] & 7) > | == 2); > | > | --- linux/drivers/scsi/scsi_devinfo.c.orig 2004-01-06 > | 01:00:29.000000000 +0100 > | +++ linux/drivers/scsi/scsi_devinfo.c 2004-01-06 20:13:46.890613648 > +0100 > | @@ -183,6 +183,7 @@ > | ~ {"SGI", "TP9500", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, > | ~ {"MYLEX", "DACARMRB", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, > | ~ {"XYRATEX", "RS", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, > | + {"iRiver", "iFP Mass Driver", NULL, BLIST_NORMB}, > | ~ { NULL, NULL, NULL, 0 }, > | ~ }; > | > | <<< End of the patch > | > | Michael Speth wrote: > | | Hey. I was looking back at some older messages from January and > | | remembered Javier made a patch for the 2.6.1 kernel to get USB Mass > | | storage working. Anyways, I wasn't able to find the complete patch and > | | was wondering where I could find that. > | | > | | Also --- once I have the patch, how do I patch the kernel? > | | > | | Thanks > | | Michael Speth > | | > | | > | | > | | ------------------------------------------------------- > | | SF.Net is sponsored by: Speed Start Your Linux Apps Now. > | | Build and deploy apps & Web services for Linux with > | | a free DVD software kit from IBM. Click Now! > | | http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > | | _______________________________________________ > | | Ifp-driver-common mailing list > | | Ifp...@li... > | | https://lists.sourceforge.net/lists/listinfo/ifp-driver-common > | | > | | > | > > - ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Ifp-driver-common mailing list > Ifp...@li... > https://lists.sourceforge.net/lists/listinfo/ifp-driver-common > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFAK2gsJjWJC8iusyYRAnGWAJ9xu9yWUezKSN8unJumDId4LIvkugCfaw7M > V66CgjMImEfOARUpqBYEoSA= > =ePjf > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Ifp-driver-common mailing list > Ifp...@li... > https://lists.sourceforge.net/lists/listinfo/ifp-driver-common |