SCIENTIFIC-LINUX-USERS Archives

October 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Joshua J. Kugler" <[log in to unmask]>
Reply To:
Joshua J. Kugler
Date:
Sun, 30 Oct 2011 11:45:00 -0800
Content-Type:
Text/Plain
Parts/Attachments:
Text/Plain (41 lines)
On Sunday, October 30, 2011, Stephen Isard elucidated thus:
> I have an RCA VR5320 digital voice recorder.  It has a usb connector,
> but isn't recognized by SL 5.6.  I get log messages of the form
> 
> kernel: usb 1-5: new high speed USB device using ehci_hcd and address
> 4 kernel: usb 1-5: ep0 maxpacket = 32
> 
> This is evidently a known problem and there is a patch for
> drivers/usb/core/hub.c with the comment "A few devices (such as the
> RCA VR5220 voice recorder) are so non-compliant with the USB spec
> that they have invalid maxpacket sizes for endpoint 0. 
> Nevertheless, as long as we can safely use them, we may as well do
> so."  I think this patch is incorporated in 2.6.32 kernels.
> 
> Q1: Am I correct in thinking that I would have to compile a whole new
> kernel, as opposed to just a module, to incorporate a patch to hub.c?
> 
> Q2: Is there any sort of module or userspace hack I could try
> instead?
> 
> I don't want to get into a position of maintaining my own kernel. 
> I'd rather wait until I catch up with 2.6.32 and impose on friends
> with newer kernels or windows machines in the meantime.

A1: Yes, it is a single module, but you'd need to pull the source from 
the new kernel, since it is a kernel module.  You may be able compile it 
with the source of the current kernel, but since you're pulling from a 
new kernel, it might have dependencies in the newer kernel.  In other 
words, you're welcome to try.

A2: No userspace hack that I know of, as USB operations are a kernel-
level thing.

j

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
[log in to unmask] - Jabber: [log in to unmask]
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

ATOM RSS1 RSS2