[linux-usb-devel] Re: 2.6.12-rc5/2.6.12-rc5-git8 USB problems

2005-06-04 Thread Andrew Morton
Sid Boyce [EMAIL PROTECTED] wrote: Everything works OK on 2.6.12-rc4. The joysticks are seen by lsusb and the joystick test programs, but the controls do nothing in 2.6.12-rc5 and 2.6.12-rc5-git8. # js_demo Joystick test program. ~~ Joystick 0: CH PRODUCTS CH FLIGHT

[linux-usb-devel] [RFC] Introduce usb_to_input_id

2005-06-04 Thread Dmitry Torokhov
Hi, I have noticed that all USB input devices use the exact same sequence to initialize input_id from usb device. Would anyone object to the patch below? The patch is RFC only since it is on top of some local changes and may not apply to other trees... -- Dmitry Input: introduce

[linux-usb-devel] Re: [RFC] Introduce usb_to_input_id

2005-06-04 Thread Greg KH
On Sat, Jun 04, 2005 at 02:26:18AM -0500, Dmitry Torokhov wrote: Hi, I have noticed that all USB input devices use the exact same sequence to initialize input_id from usb device. Would anyone object to the patch below? The patch is RFC only since it is on top of some local changes and

[linux-usb-devel] Re: [RFC] Introduce usb_to_input_id

2005-06-04 Thread Dmitry Torokhov
On Saturday 04 June 2005 02:32, Greg KH wrote: On Sat, Jun 04, 2005 at 02:26:18AM -0500, Dmitry Torokhov wrote: Hi, I have noticed that all USB input devices use the exact same sequence to initialize input_id from usb device. Would anyone object to the patch below? The patch is

[linux-usb-devel] Re: [PATCH] Creative WebCam mini driver

2005-06-04 Thread Kiril Jovchev
On 6/3/05, Greg KH [EMAIL PROTECTED] wrote: On Fri, Jun 03, 2005 at 03:37:01PM +0300, Kiril Jovchev wrote: Please read Documentation/Submitting patches for how to do this properly. Your patch was linewrapped, and you didn't have a good Using Gmail to send was not probably a good idea.

[linux-usb-devel] Re: [parisc-linux] [PATCH] usb/input/hid-core.c extract() brain damage

2005-06-04 Thread Joel Soete
Grant Grundler wrote: On Fri, Jun 03, 2005 at 09:25:18PM -0400, John David Anglin wrote: It seems that this problem has been around for some time. I didn't check to see how long this code has been around. It's in 2.6.10-pa3. Since the USB mouse and keyboard work in it, some other change

[linux-usb-devel] Re: [parisc-linux] [PATCH] usb/input/hid-core.c extract() brain damage

2005-06-04 Thread Joel Soete
[...] Ok. Can you want to try the older version of include/asm-parisc/unaligned.h? Interesting, I will too Sorry it didn't help for me (on a b180 with kernel 2.6.12-rc5-pa2 and 2.6.8/include/asm-parisc/unaligned.h) still panicing as usual: [101511b0] cache_grow+0xd8/0x1a8 [10151428]

Re: [linux-usb-devel] Re: [parisc-linux] [PATCH] usb/input/hid-core.c extract() brain damage

2005-06-04 Thread Alan Stern
On Sat, 4 Jun 2005, Grant Grundler wrote: Yes, Kyle tracked it down to parisc switching from a parisc asm definition of get_unaligned() to using the generic ones. Ie we moved from avoiding kernel traps to exercising them. But 64-bit kernel worked fine with USB. And on 32-bit kernels le64()

Re: [linux-usb-devel] Re: OHCI driver have problems with USB 2.0 memory devices

2005-06-04 Thread Alan Stern
On Sat, 4 Jun 2005, Dag Nygren wrote: sda: Write Protect is off sda: Mode Sense: 03 00 00 00 sda: assuming drive cache: write through sda:7usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command READ_10 (10 bytes) usb-storage: 28 00 00 00 00 00 00 00 08 00

Re: [linux-usb-devel] 2.6.12-rc5 : repeatable modprobe usb-storage hang

2005-06-04 Thread Alan Stern
On Fri, 3 Jun 2005, Parag Warudkar wrote: On Friday 03 June 2005 16:57, Alan Stern wrote: That may be a harmless artifact, arising because the OHCI driver is loaded before the EHCI driver. Trouble is when this error is in dmesg no USB device works (Mouse, Storage). It happens

Re: [linux-usb-devel] 2.6.12-rc5 : repeatable modprobe usb-storage hang

2005-06-04 Thread Parag Warudkar
On Saturday 04 June 2005 11:15, Alan Stern wrote: If you get rid of the EHCI driver entirely (for example, rename /lib/modules/.../drivers/usb/host/ehci-hcd.ko to something else so that modprobe can't find it), does the Unlink after no-IRQ? error still occur? I can try that - it brings in

Re: [linux-usb-devel] 2.6.12-rc5 : repeatable modprobe usb-storage hang

2005-06-04 Thread Alan Stern
On Sat, 4 Jun 2005, Parag Warudkar wrote: On Saturday 04 June 2005 11:15, Alan Stern wrote: If you get rid of the EHCI driver entirely (for example, rename /lib/modules/.../drivers/usb/host/ehci-hcd.ko to something else so that modprobe can't find it), does the Unlink after no-IRQ? error

Re: [linux-usb-devel] Re: [PATCH] Creative WebCam mini driver

2005-06-04 Thread randy_dunlap
On Sat, 4 Jun 2005 10:50:57 +0300 Kiril Jovchev wrote: | On 6/3/05, Greg KH [EMAIL PROTECTED] wrote: | On Fri, Jun 03, 2005 at 03:37:01PM +0300, Kiril Jovchev wrote: | | Please read Documentation/Submitting patches for how to do this | properly. Your patch was linewrapped, and you didn't

Re: [linux-usb-devel] Re: [parisc-linux] [PATCH] usb/input/hid-core.c extract() brain damage

2005-06-04 Thread Grant Grundler
On Sat, Jun 04, 2005 at 11:06:52AM -0400, Alan Stern wrote: In spite of the total overall number of changes required, wouldn't it be much simpler to have a suite of routines (inlines or macros) like: get_16, put_16, get_le16, put_le16, get_be16, put_be16 get_32, put_32,

Re: [linux-usb-devel] 2.6.12-rc5 : repeatable modprobe usb-storage hang

2005-06-04 Thread David Brownell
On Friday 03 June 2005 10:41 am, Parag Warudkar wrote: Also interesting is this line - [ 40.586298] ohci_hcd :00:02.0: Unlink after no-IRQ? Controller is probably using the wrong IRQ. So did you investigate these IRQ setup problem, or just ignore that pointed diagnostic? Controllers

Re: [linux-usb-devel] 2.6.12-rc5 : repeatable modprobe usb-storage hang

2005-06-04 Thread Parag Warudkar
On Saturday 04 June 2005 15:12, David Brownell wrote: On Friday 03 June 2005 10:41 am, Parag Warudkar wrote: Also interesting is this line - [ 40.586298] ohci_hcd :00:02.0: Unlink after no-IRQ? Controller is probably using the wrong IRQ. So did you investigate these IRQ setup

Re: [linux-usb-devel] 2.6.12-rc5 : repeatable modprobe usb-storage hang

2005-06-04 Thread Parag Warudkar
On Saturday 04 June 2005 11:50, Alan Stern wrote: On Sat, 4 Jun 2005, Parag Warudkar wrote: I can try that - it brings in another issue - ohci-hcd hangs the system for 2 minutes complete during calling pci_enable_device() for the controller to which any storage device is attached -

Re: [linux-usb-devel] Re: [PATCH] Creative WebCam mini driver

2005-06-04 Thread Kiril Jovchev
randy_dunlap wrote: On Sat, 4 Jun 2005 10:50:57 +0300 Kiril Jovchev wrote: | On 6/3/05, Greg KH [EMAIL PROTECTED] wrote: | On Fri, Jun 03, 2005 at 03:37:01PM +0300, Kiril Jovchev wrote: | | Please read Documentation/Submitting patches for how to do this | properly. Your patch was

Re: [linux-usb-devel] Re: [PATCH] Creative WebCam mini driver

2005-06-04 Thread randy_dunlap
On Sun, 05 Jun 2005 00:34:07 +0300 Kiril Jovchev wrote: | randy_dunlap wrote: | On Sat, 4 Jun 2005 10:50:57 +0300 Kiril Jovchev wrote: | | | On 6/3/05, Greg KH [EMAIL PROTECTED] wrote: | | On Fri, Jun 03, 2005 at 03:37:01PM +0300, Kiril Jovchev wrote: | | | | Please read

Re: [linux-usb-devel] Re: [PATCH] Creative WebCam mini driver

2005-06-04 Thread Kiril Jovchev
randy_dunlap wrote: The only problem that I see with it now is that it uses spaces instead of tabs... so it won't apply cleanly, since the original source uses tabs. That means that either you used cut-n-paste to put the patch into email (which usually destroys tabs) or your email client

Re: [linux-usb-devel] IBM Ultraport camera driver for Linux kernel version 2.6.10 (ultracam module)

2005-06-04 Thread Jeremy S. Viehland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg == Greg KH [EMAIL PROTECTED] writes: The IBM Ultraport camera driver for linux kernel version 2.6.10 (ultracam module) is now working for me, after quite a bit of modification. Greg Care to post your patches? I haven't yet

Re: [linux-usb-devel] Re: [PATCH] Creative WebCam mini driver

2005-06-04 Thread randy_dunlap
On Sun, 05 Jun 2005 01:20:58 +0300 Kiril Jovchev wrote: | | Lets see did I got it right this time. Much closer this time, but there are 3 new/added lines that still uses spaces instead of tabs. Marked below. | --- linux-2.6.12-rc5/drivers/usb/media/stv680.c 2005-05-25

Re: [linux-usb-devel] Re: [PATCH] Creative WebCam mini driver

2005-06-04 Thread Kiril Jovchev
randy_dunlap wrote: On Sun, 05 Jun 2005 01:20:58 +0300 Kiril Jovchev wrote: | | Lets see did I got it right this time. Much closer this time, but there are 3 new/added lines that still uses spaces instead of tabs. Marked below. This is my first patch. Sorry for the huge amount of e-mails.

Re: [linux-usb-devel] IBM Ultraport camera driver for Linux kernel version 2.6.10 (ultracam module)

2005-06-04 Thread Jeremy S. Viehland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg == Greg KH [EMAIL PROTECTED] writes: The IBM Ultraport camera driver for linux kernel version 2.6.10 (ultracam module) is now working for me, after quite a bit of modification. Greg Care to post your patches? I haven't yet

Re: [linux-usb-devel] Re: [parisc-linux] [PATCH] usb/input/hid-core.c extract() brain damage

2005-06-04 Thread Alan Stern
On Sat, 4 Jun 2005, Grant Grundler wrote: On Sat, Jun 04, 2005 at 11:06:52AM -0400, Alan Stern wrote: In spite of the total overall number of changes required, wouldn't it be much simpler to have a suite of routines (inlines or macros) like: get_16, put_16, get_le16, put_le16,

Re: [linux-usb-devel] Re: [PATCH] Creative WebCam mini driver

2005-06-04 Thread randy_dunlap
On Sun, 05 Jun 2005 01:52:33 +0300 Kiril Jovchev wrote: | randy_dunlap wrote: | On Sun, 05 Jun 2005 01:20:58 +0300 Kiril Jovchev wrote: | | | | | Lets see did I got it right this time. | | Much closer this time, but there are 3 new/added lines | that still uses spaces instead of tabs.