Re: [linux-usb-devel] oops in 2.6.6 usb_ifnum_to_if during unplug

2004-05-12 Thread Duncan Sands
> 2.6.6 does not oops. It will once the latest batch of USB changes goes in... Duncan. --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.9

[linux-usb-devel] Delivery Notification: Delivery has failed

2004-05-12 Thread Internet Mail Delivery
This report relates to a message you sent with the following header fields: Return-path: <[EMAIL PROTECTED]> Received: from ims-ms-daemon.msg1s.netvision.net.il by msg1s.netvision.net.il (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) id <[EMAIL PROTECTED]> (original ma

[linux-usb-devel] linux-usb-devel收

2004-05-12 Thread [EMAIL PROTECTED]
您好: 国内大型 ASP、PHP、JAVA、VB、PB、DELPHI、VC 源程序 本公司从事软件开发多年,出售各类大型源码程序,每种程序均经过测试,100%保证完整正常运行。 全国网络系统集成方案 价格:300元 具体资料请点击这里 http://202.98.223.74/soft/html/jcfa.htm 高级源代码程序光盘,(分PHP,ASP,JAVA、VB、PB、DELPHI、VC ) ASP源代码光盘: 价格:300元 (整站程序) 东方自助建站V3.0 哲强物业管理及网络办公平台 华北电子商务在线

Re: [linux-usb-devel] get hub port status on big endian board

2004-05-12 Thread fengwei yin
The oldest kernel I've got is 2.4.20, which might not be the same as your 2.4.17. However, in my kernel usb_get_port_status() doesn't return a 32-bit value at all. What it returns is the status of the transfer (which should be 0) -- the data itself is stored using a pointer to a struct usb_port_s

[linux-usb-devel] Undeliverable: Hi

2004-05-12 Thread System Administrator
Your message To: [EMAIL PROTECTED] Subject: Hi Sent:Thu, 13 May 2004 10:18:36 +0800 did not reach the following recipient(s): [EMAIL PROTECTED] on Thu, 13 May 2004 10:43:06 +0800 The recipient name is not recognized The MTS-ID of the original message is: c=tw;a= ;p=nta

[linux-usb-devel] where can I find these patches?

2004-05-12 Thread zhu pengfei
I got some changelog entries concerning usb as following from kernel-2.4.spec: -fix more usb-storage bugs for Power Blade support -rework usb-storage locking to avoid hangs on disconnect -remove Power-Blade-specific def for USB TEAC floppy -enable USB-2.0-hub-based mice/keyboards to function but it

Re: [linux-usb-devel] Re: USB locking problems

2004-05-12 Thread David Brownell
(8): Reading port status messages and marking the child device as USB_STATE_NOTATTACHED when a connect change occurs And issuing disconnect() notifications ... that's three separate things, and I think only the third one (notifications) should require holding the device/port's

[linux-usb-devel] Returned mail: see transcript for details

2004-05-12 Thread Mail Delivery Subsystem
The original message was received at Thu, 13 May 2004 03:38:37 +0200 (CEST) from mxzilla2.xs4all.nl [194.109.24.132] - The following addresses had permanent fatal errors - <[EMAIL PROTECTED]> (reason: Service unavailable) - Transcript of session follows - Can't deliver m

[linux-usb-devel] Re: Recent power management changes for OHCI and EHCI

2004-05-12 Thread David Brownell
Your recent patches cause build failures when CONFIG_PM isn't defined, because then struct dev_pm_info doesn't have any members. In particular, there is no power_state. And this patch should resolve that problem. Greg? - Dave --- 1.116/drivers/usb/core/hub.cSun May 9 10:26:14 2004 ++

Re: [linux-usb-devel] Re: reserving USB serial ports

2004-05-12 Thread Greg KH
On Wed, May 12, 2004 at 08:06:49AM -0700, Greg KH wrote: > On Wed, May 12, 2004 at 12:13:23AM -0500, Al Borchers wrote: > > How about io_edgeport and io_ti driver bug fixes and > > enhancements for 2.4--are you still interested in > > such patches? > > Of course, as long as you also provide 2.6 pa

[linux-usb-devel] [PATCH] Chicony USB Keyboard

2004-05-12 Thread Antonio Cuni
Hi, I've got a Chicony KU-0108 USB keyboard with some multimedial keys: most of them works fine, but there is no chance to use the 'cut', 'copy' and 'paste' keys with the official kernels: the problem is that the keyboard reports strange usages for those keys, so I write a little patch that fixe

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Greg KH
On Wed, May 12, 2004 at 05:19:29PM -0400, Alan Stern wrote: > > +void usb_uninterruptible_sleep_ms (int msecs) > > +{ > > + long timeout = MSEC_TO_JIFFIES(msecs); > > I don't see MSEC_TO_JIFFIES defined anywhere. What am I missing? A long thread on lkml right now :)

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Oliver Neukum
> > +void usb_uninterruptible_sleep_ms (int msecs) > > +{ > > + long timeout = MSEC_TO_JIFFIES(msecs); > > I don't see MSEC_TO_JIFFIES defined anywhere. What am I missing? The include from above :-) [..] > How about adding a declaration to linux/usb.h as well? Good idea. Tomorrow. I am too

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Alan Stern
On Wed, 12 May 2004, Oliver Neukum wrote: > diff -Nru a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c > --- a/drivers/usb/core/usb.c Wed May 12 22:46:51 2004 > +++ b/drivers/usb/core/usb.c Wed May 12 22:46:51 2004 > @@ -40,6 +40,7 @@ > #include > #include > #include > +#include Is that

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Oliver Neukum
Am Mittwoch, 12. Mai 2004 21:38 schrieb Alan Stern: > On Wed, 12 May 2004, Oliver Neukum wrote: > > > > There are plenty of other places in the USB code that could use this sort > > > of cleanup. How about defining and exporting a utility routine in usb.c > > > for this purpose? Something like >

Re: [linux-usb-devel] Kernel OOPS with usbserial during device disconnect

2004-05-12 Thread Rüdiger Plüm
Pete Zaitcev wrote: On Tue, 11 May 2004 16:36:08 +0200 Rüdiger Plüm <[EMAIL PROTECTED]> wrote: May 10 22:37:02 euler kernel: usbserial.c: too much data (112) [] Oops: 0002 2.4.21-20040509-debug #7 Mon May 10 12:04:53 CEST 2004 OK. The value of 112 means that you're running the earlier version

Re: [linux-usb-devel] Recent power management changes for OHCI and EHCI

2004-05-12 Thread David Brownell
Alan Stern wrote: David: Your recent patches cause build failures when CONFIG_PM isn't defined, because then struct dev_pm_info doesn't have any members. In particular, there is no power_state. Whoops -- that'd be just the stuff in {e,o}hci-dbg.c right? I'll make a patch. - Dvae --

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Alan Stern
On Wed, 12 May 2004, Oliver Neukum wrote: > > There are plenty of other places in the USB code that could use this sort > > of cleanup. How about defining and exporting a utility routine in usb.c > > for this purpose? Something like > > Excellent suggestion, but if you complete the thought, the

[linux-usb-devel] Recent power management changes for OHCI and EHCI

2004-05-12 Thread Alan Stern
David: Your recent patches cause build failures when CONFIG_PM isn't defined, because then struct dev_pm_info doesn't have any members. In particular, there is no power_state. Alan Stern --- This SF.Net email is sponsored by Sleepycat Soft

Re: [linux-usb-devel] Re: USB locking problems

2004-05-12 Thread Alan Stern
On Wed, 12 May 2004, David Brownell wrote: > Alan Stern wrote: > > > (8): Reading port status messages and marking the child device > > as USB_STATE_NOTATTACHED when a connect change occurs > > And issuing disconnect() notifications ... that's three separate > things, and I think on

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Oliver Neukum
> 1) You need to call set_current_state(...) before every call to > schedule[_timeout] - when schedule() returns, the state has been set > to TASK_RUNNING again, so the task will not go to sleep without first > resetting its state to something other. With plain schedule() this > will result in bu

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Oliver Neukum
> There are plenty of other places in the USB code that could use this sort > of cleanup. How about defining and exporting a utility routine in usb.c > for this purpose? Something like Excellent suggestion, but if you complete the thought, then you'll find nothing specific to USB in that functi

[linux-usb-devel] Linux-usb-devel, How do they f@kk with snakes?

2004-05-12 Thread eban
Looks like you've come to a real Z00 here! Yeap! We have goats, we have horses, sheep, snakes, even dogs! e have lots of @[EMAIL PROTECTED] here and we also have lots of g1r|s who just love to have some s. e -x with these creatures? How do they do it? http://zoo-action.com/av/val/?wFGPa How do

[linux-usb-devel] Re: [patch 2.6.6 + bk-usb] hcd-pci suspend tweak

2004-05-12 Thread David Brownell
if (has_pci_pm) retval = pci_set_power_state (dev, state); + dev->dev.power.power_state = state; No, we should use the dpm_set_power_state() function here instead, right? If it were exported, that would be an option. N

Re: [linux-usb-devel] oops in 2.6.6 usb_ifnum_to_if during unplug

2004-05-12 Thread Olaf Hering
On Wed, May 12, Olaf Hering wrote: > > unplugging an usb keyboard leads to this oops with Gregs usb-2.6 tree, > from a few days ago. The changes from yesterday will probably not fix it. > This is a Thinkpad T40p. > > > usb 2-2: new low speed USB device using address 2 > usbcore: registered new

[linux-usb-devel] Re: [patch 2.6.6 + bk-usb] hcd-pci suspend tweak

2004-05-12 Thread Greg KH
On Wed, May 12, 2004 at 11:01:15AM -0700, David Brownell wrote: > I needed this to get an APM + UHCI config to behave on resume. > Applies against your BK of last night ... OHCI and EHCI do > some of this manually, they could be simplified later. > > - Dave > > --- 1.32/drivers/usb/core/hcd-pci.

[linux-usb-devel] [patch 2.6.6 + bk-usb] hcd-pci suspend tweak

2004-05-12 Thread David Brownell
I needed this to get an APM + UHCI config to behave on resume. Applies against your BK of last night ... OHCI and EHCI do some of this manually, they could be simplified later. - Dave --- 1.32/drivers/usb/core/hcd-pci.c Thu May 6 12:40:22 2004 +++ edited/drivers/usb/core/hcd-pci.c Tue May 1

Re: [linux-usb-devel] Re: USB locking problems

2004-05-12 Thread David Brownell
Alan Stern wrote: (8): Reading port status messages and marking the child device as USB_STATE_NOTATTACHED when a connect change occurs And issuing disconnect() notifications ... that's three separate things, and I think only the third one (notifications) should require holding

[linux-usb-devel] Mail delivery failed: returning message to sender

2004-05-12 Thread Mail Delivery System
Client: MailMonitor for SMTP v1.2.2 The message body part has been replaced with this note. Problem description: Virus identity found: W32/NetskyP-Dam --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisc

[linux-usb-devel] oops in 2.6.6 usb_ifnum_to_if during unplug

2004-05-12 Thread Olaf Hering
unplugging an usb keyboard leads to this oops with Gregs usb-2.6 tree, from a few days ago. The changes from yesterday will probably not fix it. This is a Thinkpad T40p. usb 2-2: new low speed USB device using address 2 usbcore: registered new driver hiddev input: USB HID v1.00 Keyboard [IBM IBM

Re: [linux-usb-devel] USB Hot-plug'ing doesn't work on _my_ Fedora Core 2 (kernel 2.6.5) on a Centrino laptop

2004-05-12 Thread Alan Stern
On Wed, 12 May 2004 [EMAIL PROTECTED] wrote: > I've put in some debugging info to see where it gets to during the > cold-plug/unplug/hotplug process, and have included an edited version > of the /var/log/messages output during this time frame. > > Hopefully it might shed some light on the situati

[linux-usb-devel] Re: reserving USB serial ports

2004-05-12 Thread Greg KH
On Wed, May 12, 2004 at 12:13:23AM -0500, Al Borchers wrote: > How about io_edgeport and io_ti driver bug fixes and > enhancements for 2.4--are you still interested in > such patches? Of course, as long as you also provide 2.6 patches first :) thanks, greg k-h -

Re: [linux-usb-devel] USB Hot-plug'ing doesn't work on _my_ Fedora Core 2 (kernel 2.6.5) on a Centrino laptop

2004-05-12 Thread Fulko . Hew
I've put in some debugging info to see where it gets to during the cold-plug/unplug/hotplug process, and have included an edited version of the /var/log/messages output during this time frame. Hopefully it might shed some light on the situation. Sorry for its length. Also, since I've been seein

Re: [linux-usb-devel] Genesys ... the saga continiues..

2004-05-12 Thread Brad Campbell
Alan Stern wrote: http://www.vipower.com/driver/GeneIOUSBIDE210.pkg.tar.gz I'm no Mac guru. But I wonder if the Vipower technical people wouldn't be willing to share some of the information that went into programming that driver? Have you tried pursuing that path? Yes, its a GeneSys supplied

Re: [linux-usb-devel] Genesys ... the saga continiues..

2004-05-12 Thread Alan Stern
On Wed, 12 May 2004, Brad Campbell wrote: > I don't know if there are any Mac gurus on the list, but this driver for MacOS 10.3 > is quite small > and appears to have all relevant debugging info still compiled in, and if someone > had the software > to dissasemble it perhaps it might give us s

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Sergey Vlasov
On Tue, May 11, 2004 at 11:44:47PM +0200, Oliver Neukum wrote: > set_current_state(TASK_INTERRUPTIBLE); > if (!mdc800->irq_woken) > { > - schedule_timeout (msec*HZ/1000); > + long timeout = msec*HZ/1000; > + while(timeout) > +

Re: [linux-usb-devel] get hub port status on big endian board

2004-05-12 Thread Alan Stern
On Wed, 12 May 2004, fengwei yin wrote: > Hi,everyone > > I have a 4-port usb hub.If on pc,every thing is ok. > > When I use it on my board based mips(big endian),it can be > detected by 2-port hub-on-board.But When I connect some usb > device on this 4-port hub,usb_get_port_status of 4-poprt hu

Re: [linux-usb-devel] Re: usb-serial (ref)counting

2004-05-12 Thread Alan Stern
On Tue, 11 May 2004, Oliver Neukum wrote: > > > This puts some faith into usb_submit_urb properly failing when directed > > at disconnected devices. I seem to recall we had a discussion just > > recently that this ought not to be done "after the disconnect returns". > > But it may be just my imag

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Alan Stern
On Tue, 11 May 2004, Oliver Neukum wrote: > Hi Greg, hi list, > > quoting Linus: > > -- > > so there is no need to recheck the bit in do/while loop, because > > there is no false wakeups now. > > You should never assume this. You should assume that there are _always_ > false wakeups. > > Why?

[linux-usb-devel] Tamar Aanen. Waterford Institute of Technology

2004-05-12 Thread Tamar Aanen
Hello, I have kernel 2.4.. in suse 9.0 My device (www.validationtech.com) reports that in /proc/bus/usb/devices: T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0ce5 ProdID=0003 Rev= 0.01 S: Manuf

[linux-usb-devel] Undeliverable mail: Re: Extended Mail

2004-05-12 Thread MAILER-DAEMON
Failed to deliver to '<[EMAIL PROTECTED]>' LOCAL module(account [EMAIL PROTECTED]) reports: account is full (quota exceeded) Reporting-MTA: dns; frnt6.test.carnation.com.cn Original-Recipient: rfc822;<[EMAIL PROTECTED]> Final-Recipient: LOCAL; Action: failed Status: 5.0.0 Received: from [202.156

[linux-usb-devel] Genesys ... the saga continiues..

2004-05-12 Thread Brad Campbell
I don't know if there are any Mac gurus on the list, but this driver for MacOS 10.3 is quite small and appears to have all relevant debugging info still compiled in, and if someone had the software to dissasemble it perhaps it might give us some insight into the GeneSys issues. I don't have the $

[linux-usb-devel] ISP1161 new driver

2004-05-12 Thread Adsynori
I changed it to do work ISOC transfer from PC webcam (B (BIt is based on (Bisp1161 USB HCD for Linux Version 0.9.5 (10/28/2001) (B (Bhttp://www.geocities.jp/linux_on_tango/downloadfiles/isp1161_tango_driver.ht (Bml (B (Badsynori (B (B (B (B (B---

[linux-usb-devel] $B!y13!&56$j$N$J$$:_Bp%o!<%/(B($BA[A|$H0c$$C/$b$,$S$C$/$j!*(B)$B!y(B

2004-05-12 Thread hot
$B!y13!&56$j$N$J$$:_Bp%o!<%/(B($BA[A|$H0c$$C/$b$,$S$C$/$j!*(B)$B!y(B (B $B(."""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(/(B (B $B%[%C%H!&%[%C%H!&%K%e!<%9(B $B!c(B2004.05.09$BH/9T!d(B $B(1"""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(0(B (B $B!Z"-

Re: [linux-usb-devel] Re: [Linux-usb-users] Cable Modem Motorola Surfboard 5100 does not gets detected under 2.6

2004-05-12 Thread Heiko Rosemann
On Mon, 10 May 2004, David Brownell wrote: > Alan Stern wrote: > > On Sun, 9 May 2004, Heiko Rosemann wrote: > > > >> But, if you get another SETUP request and just by bad luck the data > >> registers are still set up for an IN request with previous data, you easily > >> get the wrong data if you