[linux-usb-devel] Re: pl2303 - unplug device.

2005-04-12 Thread Greg KH
On Mon, Apr 11, 2005 at 12:08:16PM -0300, Flavio Leitner wrote: > > > Hello, > > It's possible to unplug usb device and do tiocmset() and tiocmget() without > valid interface in pl2303 module. > > The patch below check this and return -ENODEV if interface was removed. > > (the patch is against

[linux-usb-devel] Re: [PATCH] usb: kfree() cleanups in drivers/usb/core/devio.c

2005-04-12 Thread Greg KH
On Mon, Apr 11, 2005 at 11:55:22PM +0200, Jesper Juhl wrote: > Checking for NULL before calling kfree() is redundant. This patch removes > these redundant checks and also makes a few tiny whitespace changes. > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Applied, thanks. greg k-h

[linux-usb-devel] Re: pl2303 - status line

2005-04-12 Thread Greg KH
On Mon, Apr 11, 2005 at 01:27:16PM -0300, Flavio Leitner wrote: > > Hi all, > > I'm attaching a patch to fix status when using Siemens X65 > mobile. This mobile use first byte instead of normal UART_STATE > byte. I fixed up the fact that idVendor and idProduct are now in native little endian for

Re: [linux-usb-devel] no more usb bk trees

2005-04-12 Thread Greg KH
On Sat, Apr 09, 2005 at 09:00:29AM -0700, David Brownell wrote: > > > But do please add the EHCI patch I posted yesterday, too. :) > > > > I don't see that at all. Did you CC: me? > > No, wainted confirmation from Colin that it worked first: > > http://marc.theaimsgroup.com/?l=linux-usb-devel

[linux-usb-devel] Re: [PATCH 2.6.12-rc2] Add isp116x-hcd USB host controller driver

2005-04-12 Thread Greg KH
On Sat, Apr 09, 2005 at 10:57:39PM +0300, Olav Kongas wrote: > Greg, > > Here is an isp116x-hcd driver for ISP1160/ISP1161 host > controllers. The driver has been in use for a few months > by now on ARM and PPC platforms by a number of people. > Please merge, if David (or anybody else) won't obj

[linux-usb-devel] Re: [PATCH as502 (3/5)] UHCI: Add root hub states

2005-04-12 Thread Greg KH
On Sat, Apr 09, 2005 at 05:27:32PM -0400, Alan Stern wrote: > > P.S.: I added a PCI vendor ID and some device IDs to the private header > file, because of something in LDD3 that said include/linux/pci_ids.h was > slated to go away. Was that the right thing to do, or should I move the > new IDs in

[linux-usb-devel] Re: [PATCH as500 (1/5)] UHCI: subroutine reordering

2005-04-12 Thread Greg KH
On Sat, Apr 09, 2005 at 05:24:42PM -0400, Alan Stern wrote: > Greg: > > This patch moves a few subroutines around in the uhci-hcd source file. > Nothing else is changed. > > (BTW, I had to hack the "diff" program to get a reasonably good-looking > patch file. Normally it would produce a mess b

[linux-usb-devel] Re: [PATCH] usb: kfree() cleanups in drivers/usb/core/devio.c

2005-04-12 Thread Jesper Juhl
On Tue, 12 Apr 2005, Greg KH wrote: > Date: Tue, 12 Apr 2005 00:40:56 -0700 > From: Greg KH <[EMAIL PROTECTED]> > To: Jesper Juhl <[EMAIL PROTECTED]> > Cc: linux-kernel@vger.kernel.org, Thomas Sailer <[EMAIL PROTECTED]>, > Greg Kroah-Hartman <[EMAIL PROTECTED]>, > linux-usb-devel@lists.source

RE: [linux-usb-devel] Original drivers for ISP1362 by Philips

2005-04-12 Thread
Hi Kyle, I'm working with llandre for ISP1362 support on our board. First of all thanks for your driver! I've tested it with our PPC405EP-based board (after a few changes to support it, of course), with the driver compiled into the kernel. Here are some notes about it: Using USB Storage Device (

[linux-usb-devel] USB cdrom blocks at ioctl call for more than two simultaneous instances

2005-04-12 Thread Shiju Mathew
Hi, I have a usb cdrom device. When the cdrom device is opened for more than two times simultaneouly and try to access it through ioctl, except two all the others gets blocked at ioctl call. In my case I open the cdrom device and call the ioctl CDROM_DRIVE_STATUS .When calling from the third insta

[linux-usb-devel] Data transfer - How?

2005-04-12 Thread SRINIVASA UPADHYAYA
Hi All, I am trying to port USBMon, that was developed by David Harding, from linux 2.4 to linux 2.6.4. In linux 2.4.4 the data was transferred to and from the device using urb->transfer_buffer. But in linux 2.4.6, it looks like most of the time the address pointed by urb->transfer_buffer is NULL

[linux-usb-devel] This device (05ab,0060,1105 S 06 P 50) has unneeded SubClass and Protocol entries in unusual_devs.h

2005-04-12 Thread Jens Seidel
Hi, as requested by kernel log it follows my dmesg stuff: $ uname -a Linux pluto 2.6.8-2-686 #1 Mon Jan 24 03:58:38 EST 2005 i686 GNU/Linux ieee1394: Error parsing configrom for node 0-00:1023 ieee1394: Node changed: 0-00:1023 -> 0-01:1023 ieee1394: Node changed: 0-01:1023 -> 0-00:1023 ieee1394

[linux-usb-devel] Re: [PATCH 2.6.12-rc2] Add isp116x-hcd USB host controller driver

2005-04-12 Thread Olav Kongas
On Tue, 12 Apr 2005, Greg KH wrote: > On Sat, Apr 09, 2005 at 10:57:39PM +0300, Olav Kongas wrote: > > Greg, > > > > Here is an isp116x-hcd driver for ISP1160/ISP1161 host > > controllers. The driver has been in use for a few months > > by now on ARM and PPC platforms by a number of people. >

[linux-usb-devel] Re: [PATCH 2.6.12-rc2-mm3] usbnet: Convert ASIX code to use new status infrastructure

2005-04-12 Thread David Brownell
On Tuesday 12 April 2005 8:54 am, David Hollis wrote: > Modify the ASIX USB Ethernet code to make use of the new status > infrastructure in usbnet. > > Additionally, add a link_reset() handler to the struct usbnet > structure to provide a generic means for a driver to perform link > reset tasks su

[linux-usb-devel] [PATCH] usb: kfree cleanup for drivers/usb/* - no need to check for NULL

2005-04-12 Thread Jesper Juhl
Get rid of a bunch of redundant NULL pointer checks in drivers/usb/*, there's no need to check a pointer for NULL before calling kfree() on it. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- class/audio.c | 48 +++--- class/bluetty.c

[linux-usb-devel] ehci HCRESET

2005-04-12 Thread Stuart_Hayes
I notice that ehci-hcd.c only waits up to 25ms after setting CMD_RESET in the EHCI command register before timing out and giving up. Is that 25ms based on observation, or is it actually specified somewhere? I couldn't find anything in the EHCI 1.0 spec that says how long a controller can take t

[linux-usb-devel] Re: [PATCH 2.6.12-rc2-mm3] usbnet: Convert ASIX code to use new status infrastructure

2005-04-12 Thread Greg KH
On Tue, Apr 12, 2005 at 11:54:37AM -0400, David Hollis wrote: > Modify the ASIX USB Ethernet code to make use of the new status > infrastructure in usbnet. > > Additionally, add a link_reset() handler to the struct usbnet > structure to provide a generic means for a driver to perform link > reset

[linux-usb-devel] Re: [PATCH] usb: kfree cleanup for drivers/usb/* - no need to check for NULL

2005-04-12 Thread Greg KH
On Tue, Apr 12, 2005 at 10:58:13PM +0200, Jesper Juhl wrote: > Get rid of a bunch of redundant NULL pointer checks in drivers/usb/*, > there's no need to check a pointer for NULL before calling kfree() on it. > > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Applied, thanks. greg k-h

Re: [linux-usb-devel] ehci HCRESET

2005-04-12 Thread David Brownell
On Tuesday 12 April 2005 2:53 pm, [EMAIL PROTECTED] wrote: > > I notice that ehci-hcd.c only waits up to 25ms after setting CMD_RESET > in the EHCI command register before timing out and giving up. It should be waiting up to 250 msec, not just 25 msec ... > Is that 25ms based on observation, or

Re: [linux-usb-devel] USB cdrom blocks at ioctl call for more than two simultaneous instances

2005-04-12 Thread Shiju Mathew
Hi Alan, Here is the dmesg while the problem happens . The problem could be easily reproduced on running the three instances of opening and reading the status of cdrom device. On starting the third instance, the ioctls calls of one of the first two instance will block until one other instant is sto

[linux-usb-devel] USB host controller support

2005-04-12 Thread Andrew
Hi! Can anyone please tell me if the USB host controller support is already there for S3C2410 with any versions from 2.6.9 and higher. regards -Nitin Yahoo! Messenger - Communicate instantly..."Ping" your friends today!