On Tue, Jan 5, 2010 at 4:53 PM, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: >> it seems like, some change to the kernel destroyed support for my usb device >> 2770:915d (a umass device of a usb cam)... >> >> can u fix it? >> >> here r 2 bug reports in distribution related bug report tools: >> https://bugzilla.redhat.com/show_bug.cgi?id=540105 >> http://bugs.gentoo.org/show_bug.cgi?id=297357| >> > > This bug report is a bit confusing, but Ryan has a patch at the > gentoo.org link. > > Ryan, if that patch is still good then please resend it via emailed > reply-to-all to this email, with a little changelog description and a > Signed-off-by: line as per Documentation/SubmittingPatches, thanks. Here's the patch: From: Ryan May <rmay31@xxxxxxxxx> Remove entry for 2770:915d (usb digital camera with mass storage support) from unusual_devs.h. The fix triggered by the entry causes the file system on the camera to be completely inaccessible (no partition table, the device is not mountable). Signed-off-by: Ryan May <rmay31@xxxxxxxxx> --- The patch works, but let me clarify a few things about it. All the patch does is remove the entry for this device from the drivers/usb/storage/unusual_devs.h, which is supposed to help with a problem with the device's reported size (I think). I'm pretty sure it was originally added for a reason, so I'm not sure removing it won't cause other problems to reappear. Also, I should note that this unusual_devs.h entry was present (and activating workarounds) in 2.6.29, but in that version everything works fine. Starting with 2.6.30, things no longer work. --- drivers/usb/storage/unusual_devs.h.old 2009-12-17 15:56:50.000000000 -0600 +++ drivers/usb/storage/unusual_devs.h 2009-12-17 15:57:01.000000000 -0600 @@ -1820,13 +1820,6 @@ UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_GO_SLOW ), -/* Reported by Rohan Hart <rohan.hart17@xxxxxxxxx> */ -UNUSUAL_DEV( 0x2770, 0x915d, 0x0010, 0x0010, - "INTOVA", - "Pixtreme", - US_SC_DEVICE, US_PR_DEVICE, NULL, - US_FL_FIX_CAPACITY ), - /* Reported by Frederic Marchal <frederic.marchal@xxxxxxxxxxxxxx> * Mio Moov 330 */ -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma -- 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