Re: [linux-usb-devel] ether.c:rx_complete() question

2007-04-14 Thread David Brownell
On Friday 13 April 2007 2:11 pm, Matt Reimer wrote: > I'm getting a hang in s3c2410_udc.c's nuke() function which is due to > the same usb_request being queued back-to-back, with the result that > the request on the endpoint's queue points to itself, thus causing > nuke() to loop infinitely. (See b

Re: [linux-usb-devel] Reading the frame number field

2007-04-14 Thread David Brownell
On Friday 13 April 2007 10:26 am, Laurent Pinchart wrote: > > The driver needs to find the relationship between the host clock and the > device clock. The device clock/SOF counter synchronisation can be achieved > using the SCR values received with every data packet, but I found no easy way > t

Re: [linux-usb-devel] hid drivers

2007-04-14 Thread Alan Stern
On Sat, 14 Apr 2007, John Wojnaroski wrote: > Here is a trace of the MS windows program doing it's thing > > Byte 0 = 0x21 > Byte 1 = 0x09 > Byte 2 = 0x00 > Byte 3 = 0x02 > Byte 4 = 0x00 > Byte 5 = 0x00 > Byte 6 = 0x00 > Byte 7 = 0x03 > Byte 8 = 0x00 There's something fishy here. This output li

Re: [linux-usb-devel] Reading the frame number field

2007-04-14 Thread Alan Stern
On Sat, 14 Apr 2007, Pete Zaitcev wrote: > On Sat, 14 Apr 2007 12:55:43 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> > wrote: > > + frame_number = usb_get_current_frame_number(ps->dev); > > + if (put_user(frame_number, (int __user *)arg)) > > + return -EFAULT; > > + return 0; > >

Re: [linux-usb-devel] 2.6.21-rc6 USB Keyboard hangs (EHCI/UHCI/HID)

2007-04-14 Thread Alan Stern
On Sat, 14 Apr 2007, Matthias Andree wrote: > I arrived at the computer today, to find khubd in D state again, but > unfortunately, it does not show up in Alt-SysRq-T output. Do kernel > threads show up there at all? 2.6.18.8-0.1 with SUSE patches on openSUSE > 10.2. As far as I know, all tasks i

Re: [linux-usb-devel] [v4l-dvb-maintainer] [2/3] 2.6.21-rc6: known regressions

2007-04-14 Thread Mauro Carvalho Chehab
Hi Adrian, Em Sáb, 2007-04-14 às 02:38 +0200, Adrian Bunk escreveu: > Subject: USB: Oops when changing DVB-T adapter > References : http://lkml.org/lkml/2007/3/9/212 > Submitter : CIJOML <[EMAIL PROTECTED]> > Handled-By : Markus Rechberger <[EMAIL PROTECTED]> > Patch : http://lkml.org/l

Re: [linux-usb-devel] [2/3] 2.6.21-rc6: known regressions

2007-04-14 Thread Adrian Bunk
On Sat, Apr 14, 2007 at 12:37:42PM -0400, Alan Stern wrote: > On Sat, 14 Apr 2007, Adrian Bunk wrote: > > > Subject: USB: iPod doesn't work (CONFIG_USB_SUSPEND) > > References : http://lkml.org/lkml/2007/3/21/320 > > Submitter : Tino Keitel <[EMAIL PROTECTED]> > > Caused-By : Marcelo Tosatt

Re: [linux-usb-devel] Reading the frame number field

2007-04-14 Thread Pete Zaitcev
On Sat, 14 Apr 2007 12:55:43 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > + frame_number = usb_get_current_frame_number(ps->dev); > + if (put_user(frame_number, (int __user *)arg)) > + return -EFAULT; > + return 0; I think it would be safer to test frame_number for

Re: [linux-usb-devel] hid drivers

2007-04-14 Thread Alan Stern
On Sat, 14 Apr 2007, John Wojnaroski wrote: > Is there a simple, quick, uncomplicated tool to look see what is > actually going down the wire? Lots of sniffers for MS stuff, could not > find similar tools for the linux OS. Something already in the kernel, > module, whatever? Might it be a by

Re: [linux-usb-devel] hid drivers

2007-04-14 Thread John Wojnaroski
Alan Stern wrote: >On Sat, 14 Apr 2007, John Wojnaroski wrote: > > > >>Is there a simple, quick, uncomplicated tool to look see what is >>actually going down the wire? Lots of sniffers for MS stuff, could not >>find similar tools for the linux OS. Something already in the kernel, >>module,

Re: [linux-usb-devel] Reading the frame number field

2007-04-14 Thread Alan Stern
On Fri, 13 Apr 2007, Danny Budik wrote: > I had to recompile the kernel with the changes I made. In the patch > that I sent yesterday, I forgot to include the changes that I made in > the file > /include/linux/usbdevice_fs.h. I added the constant for the ioctl call: > > #define USBDEVFS_GETF

Re: [linux-usb-devel] [2/3] 2.6.21-rc6: known regressions

2007-04-14 Thread Alan Stern
On Sat, 14 Apr 2007, Adrian Bunk wrote: > Subject: USB: iPod doesn't work (CONFIG_USB_SUSPEND) > References : http://lkml.org/lkml/2007/3/21/320 > Submitter : Tino Keitel <[EMAIL PROTECTED]> > Caused-By : Marcelo Tosatti <[EMAIL PROTECTED]> > commit 1d619f128ba911cd3e6d6ad3475f

Re: [linux-usb-devel] 2.6.21-rc6 USB Keyboard hangs (EHCI/UHCI/HID)

2007-04-14 Thread Matthias Andree
On Mon, 09 Apr 2007, Alan Stern wrote: > On Mon, 9 Apr 2007, Matthias Andree wrote: > > > Please Cc: me on replies, as I read linux-kernel sporadically and am not > > subscribed to linux-usb-devel at all. > > > > Greetings, > > > > I have seen my USB keyboard drivers lock up several times now w

[linux-usb-devel] [2/3] 2.6.21-rc6: known regressions

2007-04-14 Thread Adrian Bunk
This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any other way possibly involv