Re: new device - agfa af5080MS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 3 Dec 2009, Ben Efros wrote:

> I'm certain that SANE_SENSE is used often (much more than these faulty devices are). 
> 
> Since the problem is the device is faulty, I don't think its appropriate to reduce the SANE_SENSE functionality to work around the faulty device.  It seems appropriate that the INSANE_SENSE idea be brought back.  The INSANE_SENSE flag could prevent the SANE_SENSE from being detected.  Most importantly it could be specified as a quirk on the kernel command line.  (ie: "usb-storage.quirks=067b:1063:XYZ")
> 
> I don't like the quirk idea, but it seems like the only appropriate solution when the device has explicitly claimed to have more data than 18.  I'll prepare a patch in the next few days to make review and discuss.

Okay.

> The only other idea I have at this moment is to remove the if-condition that detects truncated sense data.  I am not entirely opposed to this idea, but it would remove large sense support for everything except SAT commands. 

And this is something you would prefer not to do?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux