2002-12-28 07:56:16

by Greg KH

[permalink] [raw]
Subject: [BK PATCH] USB changes for 2.5.53

Hi,

Here's a lot of little USB changes, mostly all of them are conversions
to using the driver core model better for usb and usb-serial devices.

Please pull from: bk://linuxusb.bkbits.net/linus-2.5

thanks,

greg k-h

Documentation/usb/dma.txt | 104 +++++++++++++++
Documentation/usb/usb-serial.txt | 34 +++-
drivers/bluetooth/hci_usb.c | 6
drivers/input/joystick/iforce/iforce-usb.c | 6
drivers/isdn/hisax/st5481_b.c | 2
drivers/isdn/hisax/st5481_d.c | 2
drivers/isdn/hisax/st5481_init.c | 6
drivers/isdn/hisax/st5481_usb.c | 2
drivers/media/video/cpia_usb.c | 10 -
drivers/net/irda/irda-usb.c | 6
drivers/usb/class/audio.c | 6
drivers/usb/class/bluetty.c | 6
drivers/usb/class/cdc-acm.c | 6
drivers/usb/class/usb-midi.c | 6
drivers/usb/class/usblp.c | 8 -
drivers/usb/core/buffer.c | 100 --------------
drivers/usb/core/config.c | 1
drivers/usb/core/devio.c | 4
drivers/usb/core/hcd-pci.c | 3
drivers/usb/core/hcd.c | 20 +-
drivers/usb/core/hcd.h | 37 -----
drivers/usb/core/hub.c | 10 -
drivers/usb/core/usb-debug.c | 2
drivers/usb/core/usb.c | 200 ++++++++++++++---------------
drivers/usb/host/ehci-hcd.c | 9 -
drivers/usb/host/hc_sl811_rh.c | 2
drivers/usb/host/ohci-hcd.c | 2
drivers/usb/host/ohci-sa1111.c | 3
drivers/usb/host/uhci-hcd.c | 2
drivers/usb/image/hpusbscsi.c | 6
drivers/usb/image/mdc800.c | 6
drivers/usb/image/microtek.c | 6
drivers/usb/image/scanner.c | 24 ++-
drivers/usb/input/aiptek.c | 6
drivers/usb/input/hid-core.c | 10 +
drivers/usb/input/hid-input.c | 5
drivers/usb/input/hid.h | 1
drivers/usb/input/pid.c | 5
drivers/usb/input/powermate.c | 6
drivers/usb/input/usbkbd.c | 6
drivers/usb/input/usbmouse.c | 6
drivers/usb/input/wacom.c | 6
drivers/usb/input/xpad.c | 6
drivers/usb/media/dabusb.c | 6
drivers/usb/media/dsbr100.c | 6
drivers/usb/media/ibmcam.c | 2
drivers/usb/media/konicawc.c | 2
drivers/usb/media/ov511.c | 6
drivers/usb/media/pwc-if.c | 6
drivers/usb/media/se401.c | 6
drivers/usb/media/stv680.c | 6
drivers/usb/media/ultracam.c | 35 -----
drivers/usb/media/usbvideo.c | 4
drivers/usb/media/vicam.c | 6
drivers/usb/misc/auerswald.c | 6
drivers/usb/misc/brlvger.c | 6
drivers/usb/misc/rio500.c | 6
drivers/usb/misc/speedtouch.c | 6
drivers/usb/misc/tiglusb.c | 6
drivers/usb/misc/usblcd.c | 6
drivers/usb/misc/usbtest.c | 9 -
drivers/usb/misc/uss720.c | 6
drivers/usb/net/catc.c | 6
drivers/usb/net/cdc-ether.c | 4
drivers/usb/net/kaweth.c | 11 -
drivers/usb/net/pegasus.c | 6
drivers/usb/net/rtl8150.c | 6
drivers/usb/net/usbnet.c | 17 +-
drivers/usb/serial/Kconfig | 4
drivers/usb/serial/belkin_sa.c | 18 +-
drivers/usb/serial/bus.c | 12 -
drivers/usb/serial/cyberjack.c | 22 +--
drivers/usb/serial/digi_acceleport.c | 75 +++++-----
drivers/usb/serial/empeg.c | 12 -
drivers/usb/serial/ezusb.c | 4
drivers/usb/serial/ftdi_sio.c | 29 ++--
drivers/usb/serial/generic.c | 6
drivers/usb/serial/io_edgeport.c | 90 ++++++-------
drivers/usb/serial/io_ti.c | 108 +++++++--------
drivers/usb/serial/ipaq.c | 56 ++++++--
drivers/usb/serial/ipaq.h | 53 ++++++-
drivers/usb/serial/ir-usb.c | 20 +-
drivers/usb/serial/keyspan.c | 100 ++++++--------
drivers/usb/serial/keyspan_pda.c | 20 +-
drivers/usb/serial/kl5kusb105.c | 35 ++---
drivers/usb/serial/kobil_sct.c | 19 +-
drivers/usb/serial/mct_u232.c | 28 ++--
drivers/usb/serial/omninet.c | 6
drivers/usb/serial/pl2303.c | 44 +++---
drivers/usb/serial/usb-serial.c | 48 +++---
drivers/usb/serial/usb-serial.h | 29 +++-
drivers/usb/serial/visor.c | 67 ++++-----
drivers/usb/serial/whiteheat.c | 54 ++++---
drivers/usb/storage/usb.c | 6
drivers/usb/usb-skeleton.c | 8 -
include/linux/usb.h | 31 ++--
sound/usb/usbaudio.c | 4
97 files changed, 990 insertions(+), 908 deletions(-)
-----

[email protected], 2002-12-27 23:51:49-08:00, [email protected]
[PATCH] USB: more dev_printk() cleanups.

drivers/usb/core/usb-debug.c | 2 +-
drivers/usb/core/usb.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
------

[email protected], 2002-12-27 23:37:51-08:00, [email protected]
[PATCH] USB: fix kaweth driver which was accessing the struct usb_device refcnt variable directly.

drivers/usb/net/kaweth.c | 5 -----
1 files changed, 5 deletions(-)
------

[email protected], 2002-12-27 23:29:19-08:00, [email protected]
[PATCH] USB: use the driver model to handle reference counting of struct usb_device

drivers/usb/core/config.c | 1
drivers/usb/core/usb.c | 78 +++++++++++++++++++++++++++++-----------------
include/linux/usb.h | 1
3 files changed, 51 insertions(+), 29 deletions(-)
------

[email protected], 2002-12-27 19:29:40-08:00, [email protected]
[PATCH] USB: rename usb_free_dev() to usb_put_dev()

This was done to make the next reference count patch easier,
and because almost everyone was already calling usb_put_dev() anyway...

drivers/usb/core/hub.c | 4 ++--
drivers/usb/core/usb.c | 7 +++----
drivers/usb/host/ehci-hcd.c | 2 +-
drivers/usb/host/hc_sl811_rh.c | 2 +-
drivers/usb/host/ohci-hcd.c | 2 +-
drivers/usb/host/uhci-hcd.c | 2 +-
include/linux/usb.h | 3 +--
7 files changed, 10 insertions(+), 12 deletions(-)
------

[email protected], 2002-12-27 15:05:33-08:00, [email protected]
[PATCH] USB: fix up some bugs in the cpia driver

drivers/media/video/cpia_usb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
------

[email protected], 2002-12-27 15:05:14-08:00, [email protected]
[PATCH] USB drivers outside /drivers/usb: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/bluetooth/hci_usb.c | 6 +++---
drivers/input/joystick/iforce/iforce-usb.c | 6 +++---
drivers/isdn/hisax/st5481_init.c | 6 +++---
drivers/media/video/cpia_usb.c | 6 +++---
drivers/net/irda/irda-usb.c | 6 +++---
sound/usb/usbaudio.c | 4 ++--
6 files changed, 17 insertions(+), 17 deletions(-)
------

[email protected], 2002-12-27 15:04:53-08:00, [email protected]
[PATCH] USB storage driver: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/storage/usb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
------

[email protected], 2002-12-27 15:04:35-08:00, [email protected]
[PATCH] USB net drivers: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/net/catc.c | 6 +++---
drivers/usb/net/cdc-ether.c | 4 ++--
drivers/usb/net/kaweth.c | 6 +++---
drivers/usb/net/pegasus.c | 6 +++---
drivers/usb/net/rtl8150.c | 6 +++---
drivers/usb/net/usbnet.c | 6 +++---
6 files changed, 17 insertions(+), 17 deletions(-)
------

[email protected], 2002-12-27 15:04:16-08:00, [email protected]
[PATCH] USB skeleton: missed a dev_get_drvdata usage

drivers/usb/usb-skeleton.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
------

[email protected], 2002-12-27 15:03:57-08:00, [email protected]
[PATCH] USB input drivers: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/input/aiptek.c | 6 +++---
drivers/usb/input/hid-core.c | 6 +++---
drivers/usb/input/powermate.c | 6 +++---
drivers/usb/input/usbkbd.c | 6 +++---
drivers/usb/input/usbmouse.c | 6 +++---
drivers/usb/input/wacom.c | 6 +++---
drivers/usb/input/xpad.c | 6 +++---
7 files changed, 21 insertions(+), 21 deletions(-)
------

[email protected], 2002-12-27 15:03:38-08:00, [email protected]
[PATCH] USB image drivers: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/image/hpusbscsi.c | 6 +++---
drivers/usb/image/mdc800.c | 6 +++---
drivers/usb/image/microtek.c | 6 +++---
drivers/usb/image/scanner.c | 8 ++++----
4 files changed, 13 insertions(+), 13 deletions(-)
------

[email protected], 2002-12-27 15:03:18-08:00, [email protected]
[PATCH] USB class drivers: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/class/audio.c | 6 +++---
drivers/usb/class/bluetty.c | 6 +++---
drivers/usb/class/cdc-acm.c | 6 +++---
drivers/usb/class/usb-midi.c | 6 +++---
drivers/usb/class/usblp.c | 8 ++++----
5 files changed, 16 insertions(+), 16 deletions(-)
------

[email protected], 2002-12-27 15:02:58-08:00, [email protected]
[PATCH] USB skeleton driver: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/usb-skeleton.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
------

[email protected], 2002-12-27 15:02:39-08:00, [email protected]
[PATCH] USB media drivers: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/media/dabusb.c | 6 +++---
drivers/usb/media/dsbr100.c | 6 +++---
drivers/usb/media/ibmcam.c | 2 +-
drivers/usb/media/konicawc.c | 2 +-
drivers/usb/media/ov511.c | 6 +++---
drivers/usb/media/pwc-if.c | 6 +++---
drivers/usb/media/se401.c | 6 +++---
drivers/usb/media/stv680.c | 6 +++---
drivers/usb/media/ultracam.c | 2 +-
drivers/usb/media/usbvideo.c | 4 ++--
drivers/usb/media/vicam.c | 6 +++---
11 files changed, 26 insertions(+), 26 deletions(-)
------

[email protected], 2002-12-27 15:02:19-08:00, [email protected]
[PATCH] USB core drivers: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/core/devio.c | 4 ++--
drivers/usb/core/hub.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
------

[email protected], 2002-12-27 15:01:53-08:00, [email protected]
[PATCH] USB serial drivers: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/serial/usb-serial.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
------

[email protected], 2002-12-27 15:01:29-08:00, [email protected]
[PATCH] USB misc drivers: remove direct calls to dev_set* and dev_get*

change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()

drivers/usb/misc/auerswald.c | 6 +++---
drivers/usb/misc/brlvger.c | 6 +++---
drivers/usb/misc/rio500.c | 6 +++---
drivers/usb/misc/speedtouch.c | 6 +++---
drivers/usb/misc/tiglusb.c | 6 +++---
drivers/usb/misc/usblcd.c | 6 +++---
drivers/usb/misc/usbtest.c | 8 ++++----
drivers/usb/misc/uss720.c | 6 +++---
8 files changed, 25 insertions(+), 25 deletions(-)
------

[email protected], 2002-12-27 11:52:10-08:00, [email protected]
USB: fix compiler warnings in the isdn usb drivers.

drivers/isdn/hisax/st5481_b.c | 2 +-
drivers/isdn/hisax/st5481_d.c | 2 +-
drivers/isdn/hisax/st5481_usb.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
------

[email protected], 2002-12-27 11:33:42-08:00, [email protected]
[PATCH] USB: remove private_data pointer from struct usb_interface, as it shouldn't be used anymore

Also added usb_get_intfdata() and usb_set_intfdata() functions to set the
struct usb_interface private pointer easier.

drivers/usb/core/usb.c | 4 ++--
drivers/usb/misc/usbtest.c | 1 -
include/linux/usb.h | 11 ++++++++++-
3 files changed, 12 insertions(+), 4 deletions(-)
------

[email protected], 2002-12-27 10:38:45-08:00, [email protected]
[PATCH] Handle kmalloc fails: drivers/usb/input/pid.c

This patch tries to check the return value of kmalloc taking the necesary
action to solve the problem.

drivers/usb/input/pid.c | 5 +++++
1 files changed, 5 insertions(+)
------

[email protected], 2002-12-27 10:36:37-08:00, [email protected]
[PATCH] Extra parameters removed from the ultracam driver

> > Ultracam was derived from ibmcam and probably copied the list of
> > parameters too. IBM cameras have this parameter, and use it.
>
> This means that it says "MODULE_PARM(lighting, "i");" and there is no
> variable called lightening. The new module code is stricter about
> this. Someone please fix.

Here is the patch for 2.5.53. It removes parameters that have no use
in the ultracam driver (and they were broken anyway).

drivers/usb/media/ultracam.c | 33 +++------------------------------
1 files changed, 3 insertions(+), 30 deletions(-)
------

[email protected], 2002-12-26 18:24:58-08:00, [email protected]
[PATCH] USB: use usb_get_serial_data() and usb_set_serial_data() functions.

drivers/usb/serial/digi_acceleport.c | 25 ++++++++++++-------------
drivers/usb/serial/io_edgeport.c | 18 +++++++++---------
drivers/usb/serial/io_ti.c | 8 ++++----
drivers/usb/serial/keyspan.c | 31 +++++++++++++++----------------
drivers/usb/serial/visor.c | 11 +++++------
5 files changed, 45 insertions(+), 48 deletions(-)
------

[email protected], 2002-12-26 18:24:39-08:00, [email protected]
[PATCH] USB: add usb_get_serial_data() and usb_set_serial_data() functions.

This is to access the private pointer in struct usb_serial

drivers/usb/serial/usb-serial.h | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
------

[email protected], 2002-12-26 17:38:55-08:00, [email protected]
[PATCH] USB: fix up the usb-serial drivers due to the removal of the struct usb_serial_port private pointer.

drivers/usb/serial/belkin_sa.c | 18 ++++++-----
drivers/usb/serial/cyberjack.c | 22 ++++++-------
drivers/usb/serial/digi_acceleport.c | 50 +++++++++++++++---------------
drivers/usb/serial/ftdi_sio.c | 29 ++++++++++-------
drivers/usb/serial/io_edgeport.c | 32 +++++++++----------
drivers/usb/serial/io_ti.c | 28 ++++++++---------
drivers/usb/serial/ipaq.c | 18 +++++------
drivers/usb/serial/keyspan.c | 57 ++++++++++++++++-------------------
drivers/usb/serial/keyspan_pda.c | 20 ++++++------
drivers/usb/serial/kl5kusb105.c | 35 +++++++++------------
drivers/usb/serial/kobil_sct.c | 19 +++++------
drivers/usb/serial/mct_u232.c | 28 ++++++++---------
drivers/usb/serial/omninet.c | 6 +--
drivers/usb/serial/pl2303.c | 24 +++++++-------
drivers/usb/serial/whiteheat.c | 54 +++++++++++++++++----------------
15 files changed, 222 insertions(+), 218 deletions(-)
------

[email protected], 2002-12-26 17:38:28-08:00, [email protected]
[PATCH] USB: take out private pointer from struct usb_serial_port

The struct device pointer should be used instead.

drivers/usb/serial/usb-serial.h | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
------

[email protected], 2002-12-26 13:59:10-08:00, [email protected]
[PATCH] USB: convert pl2303 driver to use dev_err() and dev_info() macros

drivers/usb/serial/pl2303.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
------

[email protected], 2002-12-26 13:58:47-08:00, [email protected]
[PATCH] USB: convert keyspan driver to use dev_err() and dev_info() macros

drivers/usb/serial/keyspan.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
------

[email protected], 2002-12-26 13:58:26-08:00, [email protected]
[PATCH] USB: convert ir-usb driver to use dev_err() and dev_info() macros

drivers/usb/serial/ir-usb.c | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
------

[email protected], 2002-12-26 13:58:03-08:00, [email protected]
[PATCH] USB: convert io_ti driver to use dev_err() and dev_info() macros

drivers/usb/serial/io_ti.c | 72 +++++++++++++++++++++++----------------------
1 files changed, 37 insertions(+), 35 deletions(-)
------

[email protected], 2002-12-26 13:57:41-08:00, [email protected]
[PATCH] USB: convert io_edgeport driver to use dev_err() and dev_info() macros

drivers/usb/serial/io_edgeport.c | 40 ++++++++++++++++++++-------------------
1 files changed, 21 insertions(+), 19 deletions(-)
------

[email protected], 2002-12-26 13:57:20-08:00, [email protected]
[PATCH] USB: convert empeg driver to use dev_err() and dev_info() macros

drivers/usb/serial/empeg.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
------

[email protected], 2002-12-26 12:17:51-08:00, [email protected]
[PATCH] USB: convert usbserial core to use dev_err() and dev_info() macros

drivers/usb/serial/bus.c | 12 ++++++------
drivers/usb/serial/ezusb.c | 4 ++--
drivers/usb/serial/generic.c | 6 +++---
drivers/usb/serial/usb-serial.c | 34 +++++++++++++++++-----------------
4 files changed, 28 insertions(+), 28 deletions(-)
------

[email protected], 2002-12-26 12:13:26-08:00, [email protected]
[PATCH] USB: convert visor driver to use dev_err() and dev_info() macros

drivers/usb/serial/visor.c | 56 +++++++++++++++++++++++----------------------
1 files changed, 29 insertions(+), 27 deletions(-)
------

[email protected], 2002-12-26 12:13:04-08:00, [email protected]
[PATCH] USB: make the usbserial driver have the same name for the tty, usb, and module subsystems.

drivers/usb/serial/usb-serial.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
------

[email protected], 2002-12-24 10:27:27-08:00, [email protected]
[PATCH] USB ipaq driver update

The ActiveSync USB "protocol" seems to be the same for all WinCE
devices seen so far. So it seems reasonable to pre-emptively support
all devices which work with ActiveSync.

Documentation/usb/usb-serial.txt | 34 ++++++++++++++++---------
drivers/usb/serial/Kconfig | 4 +-
drivers/usb/serial/ipaq.c | 38 +++++++++++++++++++++++++--
drivers/usb/serial/ipaq.h | 53 +++++++++++++++++++++++++++++++++++----
4 files changed, 106 insertions(+), 23 deletions(-)
------

[email protected], 2002-12-23 11:21:56-08:00, [email protected]
[PATCH] scanner.c: fix compilation error with debugging enabled

This patch removes a now unnecessary debug line taht broke compilation
when debugging was enabled.

drivers/usb/image/scanner.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
------

[email protected], 2002-12-23 11:21:38-08:00, [email protected]
[PATCH] scanner.c: Accept scanners with more than one interface

This patch allows the scanner driver to accept devices with more than
one interface. That's needed by some multi-function periphals (e.g.
scanner+printer).

drivers/usb/image/scanner.c | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
------

[email protected], 2002-12-23 11:20:30-08:00, [email protected]
[PATCH] USB Joypad quirk

Orginally from Vojtech Pavlik (16th June 2002 via email), to fix my
'broken' USB joypad, Fully tested in both 2.4.x and 2.5.52 (and
2.5.52-bk).

drivers/usb/input/hid-core.c | 4 ++++
drivers/usb/input/hid-input.c | 5 +++++
drivers/usb/input/hid.h | 1 +
3 files changed, 10 insertions(+)
------


2002-12-28 19:52:51

by Ed Tomlinson

[permalink] [raw]
Subject: Re: [BK PATCH] USB changes for 2.5.53

Greg KH wrote:

> Hi,
>
> Here's a lot of little USB changes, mostly all of them are conversions
> to using the driver core model better for usb and usb-serial devices.
>
> Please pull from: bk://linuxusb.bkbits.net/linus-2.5

Something in this seems to be ooping here:


Dec 28 14:39:10 oscar kernel: hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x101
Dec 28 14:39:10 oscar kernel: hub 1-0:0: new USB device on port 1, assigned address 2
Dec 28 14:39:10 oscar kernel: hub 1-1:0: USB hub found
Dec 28 14:39:10 oscar kernel: hub 1-1:0: 4 ports detected
Dec 28 14:39:10 oscar kernel: hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x301
Dec 28 14:39:10 oscar kernel: hub 1-0:0: new USB device on port 2, assigned address 3
Dec 28 14:39:10 oscar kernel: usb 1-2: Product: Microsoft IntelliMouse<AE> Optical
Dec 28 14:39:10 oscar kernel: usb 1-2: Manufacturer: Microsoft
Dec 28 14:39:10 oscar kernel: hub 1-1:0: debounce: port 1: delay 100ms stable 4 status 0x101
Dec 28 14:39:10 oscar kernel: hub 1-1:0: new USB device on port 1, assigned address 4
Dec 28 14:39:10 oscar kernel: usb 1-1.1: Product: Prolific Technology Inc.
Dec 28 14:39:10 oscar kernel: usb 1-1.1: Manufacturer: Prolific Technology Inc.
Dec 28 14:39:10 oscar kernel: usb 1-1.1: SerialNumber: Prolific Technology Inc.
Dec 28 14:39:10 oscar kernel: hub 1-1:0: debounce: port 4: delay 100ms stable 4 status 0x101
Dec 28 14:39:10 oscar kernel: hub 1-1:0: new USB device on port 4, assigned address 5
Dec 28 14:39:10 oscar kernel: usb 1-1.4: Product: USB SSFDC
Dec 28 14:39:10 oscar kernel: usb 1-1.4: Manufacturer: SanDisk
Dec 28 14:39:10 oscar kernel: Adding 393552k swap on /dev/hda1. Priority:1 extents:1
Dec 28 14:39:10 oscar kernel: Adding 393584k swap on /dev/hde1. Priority:1 extents:1
Dec 28 14:39:10 oscar kernel: Adding 393584k swap on /dev/hdg1. Priority:1 extents:1
Dec 28 14:39:10 oscar kernel: Module crc32 cannot be unloaded due to unsafe usage in lib/crc32.c:554
Dec 28 14:39:10 oscar kernel: Linux Tulip driver version 1.1.13 (May 11, 2002)
Dec 28 14:39:10 oscar kernel: PCI: Found IRQ 11 for device 00:0a.0
Dec 28 14:39:10 oscar kernel: IRQ routing conflict for 00:0a.0, have irq 9, want irq 11
Dec 28 14:39:10 oscar kernel: tulip0: EEPROM default media type Autosense.
Dec 28 14:39:10 oscar kernel: tulip0: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block.
Dec 28 14:39:10 oscar kernel: tulip0: MII transceiver #1 config 3000 status 7829 advertising 01e1.
Dec 28 14:39:10 oscar kernel: eth0: Digital DS21140 Tulip rev 34 at 0xc000, 00:C0:F0:32:30:70, IRQ 9.
Dec 28 14:39:10 oscar kernel: via-rhine.c:v1.10-LK1.1.15 November-22-2002 Written by Donald Becker
Dec 28 14:39:10 oscar kernel: http://www.scyld.com/network/via-rhine.html
Dec 28 14:39:10 oscar kernel: PCI: Found IRQ 9 for device 00:08.0
Dec 28 14:39:10 oscar kernel: IRQ routing conflict for 00:08.0, have irq 11, want irq 9
Dec 28 14:39:10 oscar kernel: eth1: VIA VT86C100A Rhine at 0xed120000, 00:80:c8:f9:ee:ba, IRQ 11.
Dec 28 14:39:10 oscar kernel: eth1: MII PHY found at address 8, status 0x782d advertising 05e1 Link 0000.
Dec 28 14:39:10 oscar kernel: SCSI subsystem driver Revision: 1.00
Dec 28 14:39:10 oscar kernel: Initializing USB Mass Storage driver...
Dec 28 14:39:10 oscar kernel: input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse<AE> Optical] on usb-00:07.2-2
Dec 28 14:39:10 oscar kernel: drivers/usb/core/usb.c: registered new driver hid
Dec 28 14:39:10 oscar kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Dec 28 14:39:10 oscar kernel: drivers/usb/core/usb.c: registered new driver usbserial
Dec 28 14:39:10 oscar kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
Dec 28 14:39:10 oscar kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for PL-2303
Dec 28 14:39:10 oscar kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Dec 28 14:39:10 oscar kernel: Vendor: Sandisk Model: ImageMate SDDR-0 Rev: 0208
Dec 28 14:39:10 oscar kernel: Type: Direct-Access ANSI SCSI revision: 02
Dec 28 14:39:10 oscar kernel: drivers/usb/core/usb.c: registered new driver usb-storage
Dec 28 14:39:10 oscar kernel: USB Mass Storage support registered.
Dec 28 14:39:10 oscar kernel: pl2303 1-1.1:0: PL-2303 hack: descriptors matched but endpoints did not
Dec 28 14:39:10 oscar kernel: printing eip:
Dec 28 14:39:10 oscar kernel: e09873e0
Dec 28 14:39:10 oscar kernel: Oops: 0000
Dec 28 14:39:10 oscar kernel: CPU: 0
Dec 28 14:39:10 oscar kernel: EIP: 0060:[<e09873e0>] Not tainted
Dec 28 14:39:10 oscar kernel: EFLAGS: 00010286
Dec 28 14:39:10 oscar kernel: EIP is at usb_serial_probe+0x3a4/0xbd8 [usbserial]
Dec 28 14:39:10 oscar kernel: eax: 00000000 ebx: dfceb6a6 ecx: c0292aa8 edx: dfceb600
Dec 28 14:39:10 oscar kernel: esi: dfd0e240 edi: e0996980 ebp: df871efc esp: df871e4c
Dec 28 14:39:10 oscar kernel: ds: 007b es: 007b ss: 0068
Dec 28 14:39:10 oscar kernel: Process modprobe (pid: 221, threadinfo=df870000 task=df613300)
Dec 28 14:39:10 oscar kernel: Stack: dfceb6a6 e0995797 e099696c e09968e0 e0996820 00000000 00000246 defe5820
Dec 28 14:39:10 oscar kernel: df871e88 c0150db8 00000000 00000001 00000001 00000001 00000001 00000286
Dec 28 14:39:10 oscar kernel: e0996980 dfa57000 dfbfe000 df871eb4 dfd13320 00003245 df871ec4 c01166b9
Dec 28 14:39:10 oscar kernel: Call Trace:
Dec 28 14:39:10 oscar kernel: [<e0995797>] __module_usb_device_size+0xb/0x1054 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e099696c>] pl2303_driver+0x8c/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e09968e0>] pl2303_driver+0x0/0xa0 [pl2303]
Dec 28 14:39:10 oscar pppd[464]: kernel does not support PPP filtering
Dec 28 14:39:10 oscar kernel: [<e0996820>] +0x0/0xb4 [pl2303]
Dec 28 14:39:10 oscar kernel: [alloc_inode+40/316] alloc_inode+0x28/0x13c
Dec 28 14:39:10 oscar kernel: [<e0996980>] pl2303_device+0x0/0xe0 [pl2303]
Dec 28 14:39:10 oscar kernel: [call_console_drivers+221/232] call_console_drivers+0xdd/0xe8
Dec 28 14:39:10 oscar kernel: [release_console_sem+86/200] release_console_sem+0x56/0xc8
Dec 28 14:39:10 oscar kernel: [printk+303/348] printk+0x12f/0x15c
Dec 28 14:39:10 oscar kernel: [<e09968e0>] pl2303_driver+0x0/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e0996820>] +0x0/0xb4 [pl2303]
Dec 28 14:39:10 oscar kernel: [usb_device_probe+244/348] usb_device_probe+0xf4/0x15c
Dec 28 14:39:10 oscar kernel: [<e0996820>] +0x0/0xb4 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e09968f8>] pl2303_driver+0x18/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [bus_match+56/108] bus_match+0x38/0x6c
Dec 28 14:39:10 oscar kernel: [driver_attach+66/108] driver_attach+0x42/0x6c
Dec 28 14:39:10 oscar kernel: [<e09968f8>] pl2303_driver+0x18/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e09968f8>] pl2303_driver+0x18/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [bus_add_driver+172/204] bus_add_driver+0xac/0xcc
Dec 28 14:39:10 oscar kernel: [<e09968f8>] pl2303_driver+0x18/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e09968e0>] pl2303_driver+0x0/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e0996918>] pl2303_driver+0x38/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [driver_register+54/56] driver_register+0x36/0x38
Dec 28 14:39:10 oscar kernel: [<e09968f8>] pl2303_driver+0x18/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [usb_register+116/168] usb_register+0x74/0xa8
Dec 28 14:39:10 oscar kernel: [<e09968f8>] pl2303_driver+0x18/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e0999017>] +0x17/0x25 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e09968e0>] pl2303_driver+0x0/0xa0 [pl2303]
Dec 28 14:39:10 oscar kernel: [<e0996980>] pl2303_device+0x0/0xe0 [pl2303]
Dec 28 14:39:10 oscar kernel: [sys_init_module+274/408] sys_init_module+0x112/0x198
Dec 28 14:39:10 oscar kernel: [syscall_call+7/11] syscall_call+0x7/0xb
Dec 28 14:39:10 oscar kernel:
Dec 28 14:39:10 oscar kernel: Code: ff 30 68 00 93 98 e0 e8 44 f3 78 df 83 c4 10 89 9d 70 ff ff
Dec 28 14:39:10 oscar kernel: <6>warning: process `update' used the obsolete bdflush system call
Dec 28 14:39:10 oscar kernel: Fix your initscripts?
Dec 28 14:39:10 oscar kernel: IPv4 over IPv4 tunneling driver

Ideas?
Ed Tomlinson

2002-12-29 08:05:54

by Greg KH

[permalink] [raw]
Subject: Re: [BK PATCH] USB changes for 2.5.53

On Sat, Dec 28, 2002 at 03:01:19PM -0500, Ed Tomlinson wrote:
> Greg KH wrote:
>
> > Hi,
> >
> > Here's a lot of little USB changes, mostly all of them are conversions
> > to using the driver core model better for usb and usb-serial devices.
> >
> > Please pull from: bk://linuxusb.bkbits.net/linus-2.5
>
> Something in this seems to be ooping here:

Hm, I can't duplicate this myself here. My pl2303 device works just
fine, but it is one that doesn't need the "hack" to work properly. And
I didn't change any code in that area.

Can you duplicate this when you plug in your pl2303 device, after
booting? And can you enable CONFIG_KALLSYMS to get a better oops
message that might be more helpful?

thanks,

greg k-h