Hello,
On ven, 2008-01-11 at 21:14 +0100, Hans de Goede wrote:> Boaz Harrosh wrote:> > Yes, you're right. in ULDs it is a much proper way to do this.> > > > So I guess you'll have to do that special host flag or device> > flag, and add a check for it in sd.c. You'll see that sd.c is > > already doing bufflen truncation at sd_prep_fn(), just add one> > more case.> > > > Done, thanks for the hint. Patch implementing my fix this way attached, please > apply.> > Thanks & Regards,> > Hans> I have tested this time with two PSC 1610 printers, and two SD cards,the same bug occured without the patch.And is fixed with your new patch. Good work !
The bug however did not occur with a microSD card in a SD adaptator ?!
But it fixes only two models.Do you think other devices (hp or not) can be impacted ?There are hundreds of models with card readers only for hp :http://hplip.sourceforge.net/supported_devices/combined.html
Will this be possible to use "LAST_SECTOR_BUG" quirk for testing withoutrecompiling a kernel ?
Best regards,
Guillaume B.
-------------------------------------------------------------------------Check out the new SourceForge.net Marketplace.It's the best place to buy or sell services forjust about anything Open Source.http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________linux-usb-devel@xxxxxxxxxxxxxxxxxxxxxxx unsubscribe, use the last form field at:https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[Home]
[Video for Linux]
[Photo]
[Yosemite Forum]
[Yosemite Photos]
[Video Projectors]
[PDAs]
[Hacking TiVo]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]
[Free Dating]