On Mon, 22 May 2006 00:48:31 -0700
Phil Dibowitz <[EMAIL PROTECTED]> wrote:
>
> Is there still desire for that? If so, I can whip up a patch, or perhaps
> Benjamin would prefer to do it.
I don't prefer it, because as I am not familiar with it,
it takes me really a lot of time.
> Personally,
Hello,
The last patch I'have sent to you changes the following
- New device entry for unusual_dev.h with rev id 0x0103 instead of
0x-0x and with the new flag
- New flag MAX_SECTORS_128 in include/linux/usb_usual.h
- Sets max_sectors per request of queue to 128 sectors if
flag i
Hello Phil,
Please let me know if you'll apply the patch.
Benjamin
---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM Web
> +static int max_sectors_init (struct us_data *us);
> +
> /* The entries in this table, except for final ones here
> * (USB_MASS_STORAGE_CLASS and the empty entry), correspond,
> * line for line with the entries of us_unsuaul_dev_list[].
> @@ -1071,6 +1073,12 @@ static void * storage_probe(s
Okay,
I have tried to make a new patch now.
Changes :
- New flag MAX_SECTORS_128 in include/linux/usb_usual.h
- Sets max_sectors per request of queue to 128 sectors if
flag is set in drivers/usb/storage/scsiglue.c
- New device entry for unusual_dev.h with rev id 0x0103 instead
> I have a few concerns about your patch:
> 1. What makes you think it needs US_FL_FIX_CAPACITY and
> US_FL_IGNORE_RESIDUE?
US_FL_FIX_CAPACITY : It didn't work without it, BUT I have opened the disk as
"physical disc"
with Hex Workshop under win xp now, which says the last sector is 3
The device is also sold by Typhoon as DJ 1820 and by Easylite as DJ 20.
Link to my linux-usb device entry
http://www.qbik.ch/usb/devices/showdev.php?id=3702
This patch adds an entry to drivers/usb/storage/unusual_devs.h, but the device
also needs max_sectors
to be set to 128. Otherwise it cr