Re: [linux-usb-devel] 2.6.19-rc2-g516077c1 breaks suspend for Thinkpad T41

2006-10-28 Thread Toralf Förster
Hi, sorry for the late answer, I needed some time ... Am Saturday 28 October 2006 07:50 schrieb Oliver Neukum: This leaves me with the task of explaining why added code that isn't called can hang a computer. Just to be sure could you try removing the entries for suspend resume from

Re: [linux-usb-devel] [PATCH 2/2] usbnet: use MII hooks only if CONFIG_MII is enabled

2006-10-28 Thread Adrian Bunk
On Wed, Oct 25, 2006 at 04:58:58PM -0700, Randy Dunlap wrote: ... Build tested with CONFIG_MII=y, m, n. ... --- linux-2619-rc3-pv.orig/drivers/usb/net/usbnet.c +++ linux-2619-rc3-pv/drivers/usb/net/usbnet.c @@ -47,6 +47,12 @@ #define DRIVER_VERSION 22-Aug-2005 +#if

Re: [linux-usb-devel] [PATCH 2/2] usbnet: use MII hooks only if CONFIG_MII is enabled

2006-10-28 Thread Randy.Dunlap
Adrian Bunk wrote: On Wed, Oct 25, 2006 at 04:58:58PM -0700, Randy Dunlap wrote: ... Build tested with CONFIG_MII=y, m, n. ... --- linux-2619-rc3-pv.orig/drivers/usb/net/usbnet.c +++ linux-2619-rc3-pv/drivers/usb/net/usbnet.c @@ -47,6 +47,12 @@ #define DRIVER_VERSION

Re: [linux-usb-devel] 2.6.19-rc2-g516077c1 breaks suspend for Thinkpad T41

2006-10-28 Thread Oliver Neukum
Am Samstag, 28. Oktober 2006 09:53 schrieb Toralf Förster: Hi, sorry for the late answer, I needed some time ... Am Saturday 28 October 2006 07:50 schrieb Oliver Neukum: This leaves me with the task of explaining why added code that isn't called can hang a computer. Just to be sure

[linux-usb-devel] [PATCH]failure in usblp's error path

2006-10-28 Thread Oliver Neukum
Hi, if urb submission fails due to a transient error here eg. ENOMEM , the driver is dead. This fixes it. Regards Oliver Signed-off-by: Oliver Neukum [EMAIL PROTECTED] diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index 53dcd7d..6303970 100644 ---

[linux-usb-devel] bus address

2006-10-28 Thread yh
Hi, I am coding a usb host driver on an embedded ARM processor (ep93xx), the ohci-ep93xx started fine (please see following messages) with bus number 1. Then, after plugging a device to the host, it detected the device and started a hub init process. But the hub.c printed out an error of

[linux-usb-devel] [PATCH] usbserial: new VID/PID-combos for cp2101 (linux-2.6.19-rc3)

2006-10-28 Thread Björn Schneider
From: Björn Schneider [EMAIL PROTECTED] 3 new VID/PID combinations (registered with Silicon Laboratories Inc.) added for devices made by Lipowsky Industrie Elektronik GmbH all using the CP2102 usb-to-serial converter (Baby-JTAG, Baby-LIN, HARP-1). Signed-off-by: Björn Schneider [EMAIL PROTECTED]

Re: [linux-usb-devel] bus address

2006-10-28 Thread Laurent Pinchart
Hi Jim, I am coding a usb host driver on an embedded ARM processor (ep93xx), the ohci-ep93xx started fine (please see following messages) with bus number 1. Then, after plugging a device to the host, it detected the device and started a hub init process. But the hub.c printed out an error of

[linux-usb-devel] ***性福中国成人用品商城欢迎您有空来坐坐***

2006-10-28 Thread 朋友
您好!性福中国成人用品商城好消息:即日起,购买本商城任何一款产品,都有惊喜相送!欢迎选购http://www.dzcnx.com 一次购物免费成为我们的会员,终身享受8折优惠! 产品有:男女自慰器具,名牌避孕套,护理洗液,催情助兴,壮阳延时,丰胸美乳,高档情趣内衣,进口缩阴器,MAXMAN增大产品(短时间内有效增大6-8CM)... 我们会给您最贴心的价格,最优质的服务,最保密的配送,成就你最贴身的情人! 客服QQ:男530885426 女605081148 手机:13188712690 E-mail:[EMAIL PROTECTED]

[linux-usb-devel] affection. beast gnawing

2006-10-28 Thread ETEC chest
Sections Knowledge Centers Latvia Estonia Lithuania Baltic eTBT newspaper formation WEEK Sports online. grabs token attacks players. weapons. bomb start. rushes choice locations base plant. Unlike disabled replanted Estonian Baltics Guinness hospital drinking medical workers government begin

[linux-usb-devel] 比德佳实业有限公司

2006-10-28 Thread 张杰
深圳比德佳实业有限公司 尊敬的公司,领导。财务:你们好! 本公司有向外代理代开增值税发票,普通国税发票, 运输发票,建筑安装票,广告及服务业发票等等,点数比 较低,价格优惠,质量保证,贵公司如有意者敬请来电。 联系人:邱杰 手 机:13824380663 希:贵公司合作,多谢! 祝:贵公司生意兴隆!

Re: [linux-usb-devel] alternate interface for manageing autosuspend

2006-10-28 Thread Alan Stern
Oliver: Here's an improved API for managing autosuspend calls. It lets you do what you want and it saves code space at the same time! Your usb_autopm_enable() and usb_autopm_disable() routines can easily be implemented using this API as follows: #define usb_autopm_enable(intf) do {

[linux-usb-devel] [PATCH] fix system suspend for some systems

2006-10-28 Thread Oliver Neukum
Hi Greg, this has been confirmed to fix suspend problems with usblp. Regards Oliver Signed-off-by: Oliver Neukum [EMAIL PROTECTED] diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index 809d465..53dcd7d 100644 --- a/drivers/usb/class/usblp.c +++

Re: [linux-usb-devel] alternate interface for manageing autosuspend

2006-10-28 Thread Alan Stern
On Sat, 28 Oct 2006, Oliver Neukum wrote: +static int usb_autopm_do_device(struct usb_device *udev, int inc_usage_cnt) +{ + int status; + + usb_pm_lock(udev); + udev-pm_usage_cnt += inc_usage_cnt; + if (udev-pm_usage_cnt 0) { + udev-auto_pm = 1; +

Re: [linux-usb-devel] usb initialization order (usbhid vs. appletouch)

2006-10-28 Thread Soeren Sonnenburg
On Thu, 2006-10-26 at 14:36 +0200, Oliver Neukum wrote: Am Donnerstag, 26. Oktober 2006 13:49 schrieb Soeren Sonnenburg: On Thu, 2006-10-26 at 12:20 +0200, Oliver Neukum wrote: Am Donnerstag, 26. Oktober 2006 11:53 schrieb Soeren Sonnenburg: Dear all, I've noticed that the

Re: [linux-usb-devel] usb initialization order (usbhid vs. appletouch)

2006-10-28 Thread Oliver Neukum
Am Samstag, 28. Oktober 2006 18:56 schrieb Soeren Sonnenburg: Anyways, back to the above problem. Can one somehow tell the hid-core to load the appletouch driver when it detects any of these devices and then initialize on top of that ? The appletouch driver is completely ignored (doesn't even

Re: [linux-usb-devel] alternate interface for manageing autosuspend

2006-10-28 Thread Oliver Neukum
Am Samstag, 28. Oktober 2006 17:22 schrieb Alan Stern: Oliver: Here's an improved API for managing autosuspend calls. It lets you do what you want and it saves code space at the same time! Your usb_autopm_enable() and usb_autopm_disable() routines can easily be implemented using this

Re: [linux-usb-devel] usb initialization order (usbhid vs. appletouch)

2006-10-28 Thread Soeren Sonnenburg
On Sat, 2006-10-28 at 19:03 +0200, Oliver Neukum wrote: Am Samstag, 28. Oktober 2006 18:56 schrieb Soeren Sonnenburg: Anyways, back to the above problem. Can one somehow tell the hid-core to load the appletouch driver when it detects any of these devices and then initialize on top of that ?

Re: [linux-usb-devel] usb initialization order (usbhid vs. appletouch)

2006-10-28 Thread Pete Zaitcev
On Sat, 28 Oct 2006 18:56:16 +0200, Soeren Sonnenburg [EMAIL PROTECTED] wrote: I've noticed that the appletouch driver needs to be loaded *before* the usbhid driver to function. This is currently impossible when built into the kernel (and not modules). So I wonder how

Re: [linux-usb-devel] Fwd: Re: usb initialization order (usbhid vs. appletouch)

2006-10-28 Thread Oliver Neukum
From: Sergey Vlasov [EMAIL PROTECTED] Subject: usbhid: Add HID_QUIRK_IGNORE_MOUSE flag Some HID devices by Apple have both keyboard and mouse interfaces; the keyboard interface is handled by usbhid, but the mouse (really touchpad) interface must be handled by the separate 'appletouch'

Re: [linux-usb-devel] usb initialization order (usbhid vs. appletouch)

2006-10-28 Thread Sergey Vlasov
(sorry for the duplicate - the message was considered as spam by some servers due to local misconfiguration on my end) On Sat, Oct 28, 2006 at 06:56:16PM +0200, Soeren Sonnenburg wrote: [...] OK, so I tried adding all of them to the HID_QUIRK_IGNORE LIST, i.e. #define

[linux-usb-devel] Fwd: Re: usb initialization order (usbhid vs. appletouch)

2006-10-28 Thread Pete Zaitcev
On Sat, 28 Oct 2006 20:55:03 +0200 (MEST), Oliver Neukum [EMAIL PROTECTED] wrote: Exactly. Combing both patches: Soeren, if this works, please sign it off and send it to Greg. Signed-off-by: Sergey Vlasov [EMAIL PROTECTED] This looks good. However, the love of meaningless whitespace makes

Re: [linux-usb-devel] [PATCH 2/2] usbnet: use MII hooks only if CONFIG_MII is enabled

2006-10-28 Thread David Brownell
On Saturday 28 October 2006 4:21 am, Christoph Hellwig wrote: This is really awkward and against what we do in any other driver. Awkward, yes -- which is why I posted the non-awkward version, which is repeated below. (No thanks to diff for making the patch ugly though; the resulting code is

Re: [linux-usb-devel] [PATCH 2/2] usbnet: use MII hooks only if CONFIG_MII is enabled

2006-10-28 Thread Christoph Hellwig
On Sat, Oct 28, 2006 at 02:10:09PM -0700, David Brownell wrote: On Saturday 28 October 2006 4:21 am, Christoph Hellwig wrote: This is really awkward and against what we do in any other driver. Awkward, yes -- which is why I posted the non-awkward version, which is repeated below. (No