Re: USB mass storage and RCA VR5220

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

 



On Mon, 4 Oct 2010, James wrote:

>  On 10/04/10 10:55, Alan Stern wrote:
> > On Sun, 3 Oct 2010, James wrote:
> >
> >>  I need help.
> >> I am trying to get an RCA VR5220 voice recorder to work with Linux.
> >> It is supposed to just mount as a mass storage device (reviews said it
> >> does on Windows and Mac so I figured it would on Linux).
> >> I don't have a Windows box I can test with.
> >> Eventually, I will track it a Windows box but I'm hoping someone here
> >> sees a problem.q
> I tried it on a Windows machine and it works there.
> I used http://www.usblyzer.com/ which seems to show problems with the
> device's compliance to the spec.
> 
> I've uploaded the dmesg output and the Windows usblyzer ouput to
> http://lockie.ca/test/RCAVR5220/
> 
> I am looking at usbmon.

Here's a patch that should allow the device to work under Linux.  
However, bear in mind that the device really is not compliant with the
USB spec.  Given how badly it works, you may not want to rely on it.

Alan Stern


Index: usb-2.6/drivers/usb/core/hub.c
===================================================================
--- usb-2.6.orig/drivers/usb/core/hub.c
+++ usb-2.6/drivers/usb/core/hub.c
@@ -2882,8 +2882,7 @@ hub_port_init (struct usb_hub *hub, stru
 	else
 		i = udev->descriptor.bMaxPacketSize0;
 	if (le16_to_cpu(udev->ep0.desc.wMaxPacketSize) != i) {
-		if (udev->speed != USB_SPEED_FULL ||
-				!(i == 8 || i == 16 || i == 32 || i == 64)) {
+		if (!(i == 8 || i == 16 || i == 32 || i == 64)) {
 			dev_err(&udev->dev, "ep0 maxpacket = %d\n", i);
 			retval = -EMSGSIZE;
 			goto fail;

--
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