Re: [linux-usb-devel] Re: [usb-storage] Re: Linux 2.4.22-rc1

2003-08-14 Thread Fridtjof Busse
* David Brownell <[EMAIL PROTECTED]>: > > - temp = readl (&ehci->regs->command) & 0x0fff; > > + temp = readl (&ehci->regs->command) & 0x00ff; > > > > And know what? It fixed my problem, drive works fine with dump at > > 10500 kB/s. > > And with the 0x0aff -- does it still work? No: Aug

[linux-usb-devel] Re: [BUG] ipaq USBserial driver

2003-08-14 Thread Greg KH
On Fri, Aug 15, 2003 at 02:14:01AM +0100, Ian Molton wrote: > Hi. > > Havent had time to track this down but the ipaq.c driver seems to have a > problem since about 2.5.57 or so. > > I get repeatable stiffing of 2.6.0-test3 if I place my toshiba e750 in > the cradle while ipaq.ko is loaded. if it

Re: [linux-usb-devel] 2.6.0-test1: update interface descriptorsafter usb_reset_device ?

2003-08-14 Thread Alan Stern
On Tue, 5 Aug 2003, Joerg Albert wrote: > Hi Alan, > > Thanks for the pointers - but I don't understand much of them. > They are about some future design - is there any _working_ way to use > usb_reset_device() right now in my case (DFU download, REMAP, > usb_reset_device)? There isn't. :-( >

Re: [linux-usb-devel] 2.4.21 USB printer failure w/ HP PSC750

2003-08-14 Thread Alan Stern
On Wed, 6 Aug 2003, Peter Denison wrote: > Having just upgraded to 2.4.21, the first time I tried to print, the > following happened. The printer started to print, but gave up after a > while and spat out just about 1" of image. Needless to say, it all worked > fine under 2.4.20. > > Intel 82801B

[linux-usb-devel] Re: Badness in local_bh_enable at kernel/softirq.c:113 (2.6.0-test2,bluetooth)

2003-08-14 Thread Dave O
I also get this message when running the following (in 2.6.0-test1): /usr/sbin/pppd updetach pty /bin/false with this trace: Badness in local_bh_enable at kernel/softirq.c:113 Call Trace: [] local_bh_enable+0x85/0x87 [] ppp_async_push+0xa1/0x186 [ppp_async] [] ppp_asynctty_wakeup+0x2d/0x59 [

[linux-usb-devel] use of __devinit in st5481

2003-08-14 Thread Oliver Neukum
Hi, probe_st5481 calls functions which are marked __devinit. Is that legal? Could somebody enlighten me on when to use __devinit ? Regards Oliver --- This SF.Net email sponsored by: Free pre-built ASP.NET sites includi

[linux-usb-devel] [patch 2.6.0-test2] usb_start_wait_urb() rewrite

2003-08-14 Thread David Brownell
The code that manges the synchronous control/bulk calls has been a mess for ages. This patch rewrites it using: - "struct completion" instead of a usb-internal clone therof, - prepare_to_wait()/finish_wait() instead of the tangled mess it now uses (or a new wait_event_timeout call, as in p

Re: [linux-usb-devel] Newbie: tarballs, 2.6 and building a driver

2003-08-14 Thread Alan Stern
On Thu, 7 Aug 2003, Simon Block wrote: > Hi All, > > I'm new to building Linux drivers but not new to device drivers, o I need > some specific help for the RedHat platform. I have RH 9 (2.4) installed and > setup for driver development. I have all the CD's. > > I need to extract the kernel tarba

Re: [linux-usb-devel] Newbie: tarballs, 2.6 and building a driver

2003-08-14 Thread Charles Lepple
Simon Block said: > I need to extract the kernel tarball to my home directory for development. > Where is the kernel tarball? I presume it is a kernel-xxx-xx-xx.tar.Z type > file? I have the RedHat 9 disks so I presume it is on one of them or on my > system already? It will be an RPM with a name l

[linux-usb-devel] [2.6.0-test2-bk8] Updated pwc (webcam) driver 8.1 failure...

2003-08-14 Thread Daniel Blueman
With the new Philips WebCam PWC 8.1 driver that was merged in 2.6.0-test2-bk8, I have experienced complete USB failures of all devices when I: - open gnomemeeting - go to the configuration druid - select the 'test video' button Preceeding relevant logs are at [1], and when the driver causes fa

[linux-usb-devel] Re: [PATCH] More USB fixes for 2.6.0-test2

2003-08-14 Thread Greg KH
ChangeSet 1.1119.1.10, 2003/08/06 15:52:06-07:00, [EMAIL PROTECTED] [PATCH] USB: dvb usb driver sleeping in interrupt submitting an URB in a completion handler requires GFP_ATOMIC to be used. - usb_submit_urb must use GFP_ATOMIC in interrupt drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c

[linux-usb-devel] [2.6.0-test2-bk5] OHCI USB printing call trace...

2003-08-14 Thread Daniel Blueman
When I started a test print job, on my SiS OHCI USB controller system, I ran into problems. Let me know if any further information is needed - this kernel includes Greg's recent updates I believe (from Neukum, Bellucci, Brownell, Stern). Kernel is 2.6.0-test2-bk5. --- [Epson C62 connected] hub 2

[linux-usb-devel] [PATCH]cleanup of sleeping issue in iforce driver

2003-08-14 Thread Oliver Neukum
Hi, two issues - checking for an active waitqueue is bad - after you've changed your task's state, memory allocation must be atomic Regards Oliver You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch

[linux-usb-devel] [PATCH]return to old timeout handling

2003-08-14 Thread Oliver Neukum
Hi Greg, it seems that I've broken usblp. This reverts to the old behaviour. Please apply. Regards Oliver You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual.

[linux-usb-devel] Re: [PATCH] More USB fixes for 2.6.0-test2

2003-08-14 Thread Greg KH
ChangeSet 1.1119.1.14, 2003/08/08 16:35:07-07:00, [EMAIL PROTECTED] [PATCH] USB: ftdi_sio - VID/PID for ID TECH IDT1221U USB to RS-232 adapter This patch adds support for ID TECH's IDT1221U USB to RS-232 adapter (intended for use and/or supplied with some of their magnetic/smart card readers). T

[linux-usb-devel] 2.6.0-test2-mm5 and USB

2003-08-14 Thread Robert L. Harris
I'm having considerable problems with my Archos Jukebox and my Sony Clie. They seem to have the same problem when I use them. In both instances when I install the hardware and try to load the module the modprobe hangs. The device is unusable and on previous kernels the machine would effectiv

Re: [linux-usb-devel] Suggested reorganization of usb_reset_device()etc.

2003-08-14 Thread Alan Stern
On Fri, 8 Aug 2003, Oliver Neukum wrote: > > After usb_device_reset() and usb_set_configuration() carry out their > > physical actions, they merely need to disable all the endpoints on the > > device (except maybe ep0), set the state to the correct value, and post > > the state_change request. Th

Re: [linux-usb-devel] 2.4.22-rc1-ac1 versus 2.6.0-test2-ac1 andbroken usb-storage/Clie

2003-08-14 Thread Alan Stern
On Fri, 8 Aug 2003, Robert L. Harris wrote: > I'll get that to you tomorrow. Do you want it for both the working and > broken configs? Both might help; it would permit a direct comparison. > Thus spake Alan Stern ([EMAIL PROTECTED]): > > > Try enabling usb-storage debugging. It produces a lot

[linux-usb-devel] Re: Another Gadget-related question

2003-08-14 Thread David Brownell
Alan Stern wrote: David: This question is somewhat theoretical; I don't expect it to come up. But I'm curious. Do the slave controller drivers maintain message boundaries for bulk-out endpoints, even if the gadget's request size doesn't match the host's packet size? Yes, modulo overflows and

[linux-usb-devel] Failed synchronous unlinks

2003-08-14 Thread Alan Stern
Oliver: You've been doing a lot of auditing of the USB drivers. Here's a potential problem I've never had a chance to look for -- maybe you've run across an occurrence. The problem is that usb_unlink_urb() without the ASYNC flag set doesn't guarantee that the URB will be idle when it returns.

[linux-usb-devel] ov511 video_proc_entry

2003-08-14 Thread Sergio Ahumada N
Hi all !!! There is some patch to 2.6.0-test3 for procfs/sysfs problem ?? When I compile ov511 I get some Warnings like if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.0-test3; fi WARNING: /lib/modules/2.6.0-test3/kernel/drivers/usb/media/ov511.ko needs unknown symbol video_proc

[linux-usb-devel] Re: Linux 2.6.0-test3

2003-08-14 Thread Oliver Neukum
Am Samstag, 9. August 2003 23:27 schrieb Jacek Kawa: > I wrote: > > > o Printer is connected to /dev/usb/lp0; it's HP840c > > o ver_linux output: http://zeus.polsl.gliwice.pl/kernel/2.6.0-test3/ver_linux > > o config: http://zeus.polsl.gliwice.pl/kernel/2.6.0-test3/config > > o dmesg: http://zeus.

[linux-usb-devel] Bom aproveito...

2003-08-14 Thread fitness
ACADEMIA WALL STREET FITNESS. GANHE SEM QUALQUER CUSTO VOCÊ E SUA FAMILIA: UMA SEMANA DE GINÁSTICA (local, Step, Alongamento, Abdominal, Pump, Aeroboxe, Aeróbahia). UMA SEMANA DE SAUNA. UMA SEMANA DE MUSCULAÇÃO. UMA SEMANA DE SPINNING. UMA SEMANA DE JIU-JITSU. UMA SEMANA DE CAPOEIRA. DUAS SEMAN

[linux-usb-devel] Re: [PATCH]return to old timeout handling

2003-08-14 Thread Jacek Kawa
Oliver Neukum wrote: > it seems that I've broken usblp. This reverts to the old > behaviour. Please apply. I can confirm, that it works OK now. Thanks! Regards -- Jacek Kawa --- This SF.Net email sponsored by: Free pre-built ASP.NET sit

[linux-usb-devel] Re: Linux 2.6.0-test3

2003-08-14 Thread Oliver Neukum
Am Sonntag, 10. August 2003 00:15 schrieb Jacek Kawa: > Oliver Neukum wrote: > > > [Date: Sat, 9 Aug 2003 23:44:58 +0200, <[EMAIL PROTECTED]>] > > Is this error > > drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -104 > > repeatable? > > Yes. Looks as if once/reboot (

Re: [linux-usb-devel] Usbd status

2003-08-14 Thread David Brownell
[EMAIL PROTECTED] wrote: I'm interessed to use the serial function to have a hi-speed (USB 2.0) serial cable. Can this code be useful for this? Start with http://www.linux-usb.org/gadget/ That lets you implement high speed USB devices with Linux 2.6 kernels, or in 2.4 kernels if you apply oth

Re: [linux-usb-devel] [patch 2.6.0-test2] usb_start_wait_urb() rewrite

2003-08-14 Thread Oliver Neukum
> It's never a NOP unless the unlink somehow completed already. > As I said: using async unlinks because I want to see all the > synchronization right here, clearly visible, no hidden magic. OK, maybe I am dense, but this doesn't make sense. Let's have another closer look: --- 1.33/drivers/usb/

[linux-usb-devel] [BUG] ipaq USBserial driver

2003-08-14 Thread Ian Molton
Hi. Havent had time to track this down but the ipaq.c driver seems to have a problem since about 2.5.57 or so. I get repeatable stiffing of 2.6.0-test3 if I place my toshiba e750 in the cradle while ipaq.ko is loaded. if it isnt loaded the machine is fine. Im using uhci-hcd. the e750 needs ipaq.

[linux-usb-devel] Re: [PATCH] oops in sd_shutdown

2003-08-14 Thread Andries Brouwer
On Mon, Aug 11, 2003 at 06:13:50PM -0700, Jeff Woods wrote: > Looking only at the above code snippet, I'd suggest something more like: > + if (!sdp || This is not meaningful. A general kind of convention is that a pointer will be NULL either by mistake, when it is uninitialized, or on p

Re: [linux-usb-devel] [patch 2.6.0-test2] usb_start_wait_urb() rewrite

2003-08-14 Thread David Brownell
Oliver Neukum wrote: That's simpler, and would work on 2.4 too ... but it doesn't provide flexibility about exiting because of interrupt. True, but is that relevant for 2.6 even? I'd certainly think so. Periodically I notice how many USB drivers can be "bad citizens", because they don't let the

[linux-usb-devel] Re: [PATCH] oops in sd_shutdown

2003-08-14 Thread Andries Brouwer
On Tue, Aug 12, 2003 at 07:53:53AM +0100, Christoph Hellwig wrote: > > I see an Oops in the SCSI code, caused by the fact that sdkp is NULL > > in sd_shutdown. "How can that be?", you will ask - dev->driver_data was set > > in sd_probe. But in my case sd_probe never finished. An insmod usb-storage

[linux-usb-devel] Linux takes too long to recognize my USB device.

2003-08-14 Thread Ronald Rael Harvest
Hi, I sent this question to Mr. Greg Kroah-Hartman a few days ago, and he suggested that I post it to the linux-usb-devel list instead... So here I am. Hopefully someone can help. Please bare with me for a few moments -- this is something of an odd problem and it might

[linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Warren Togami
On Sun, 2003-08-10 at 18:52, Andrew Morton wrote: > Warren Togami <[EMAIL PROTECTED]> wrote: > > > > I normally use Logitech optical USB mice in Linux. I bought a "CompUSA > > Optical USB Notebook Mouse" for $14 and the following happens in dmesg > > in kernel-2.6.0-test3. > > > > Known bug? Sho

[linux-usb-devel] Re: [PATCH]correct error handling in usb_driver_claim_interface()

2003-08-14 Thread Oliver Neukum
Am Montag, 11. August 2003 22:20 schrieb Greg KH: > On Mon, Aug 11, 2003 at 09:44:42PM +0200, Oliver Neukum wrote: > > Hi, > > > > this function races with itself, doesn't return errors and races with > > releasing interfaces. This patch fixes it by changing the function > > prototype, introducing

Re: [linux-usb-devel] ov511 video_proc_entry

2003-08-14 Thread Sergio Ahumada N
> The real fix for this is almost complete. I will post it here today > (hopefully). > > >I download the ov511 2.25 from alpha.dyndns.org .. but it seems to be too > > old (May 13?) and dosn't compile. > > Yeah, it's due for an update. I'll put out a version that compiles under > 2.6 this week. I

[linux-usb-devel] Re: [PATCH]correct error handling in usb_driver_claim_interface()

2003-08-14 Thread Greg KH
On Mon, Aug 11, 2003 at 09:44:42PM +0200, Oliver Neukum wrote: > Hi, > > this function races with itself, doesn't return errors and races with > releasing interfaces. This patch fixes it by changing the function > prototype, introducing locking and having a correct order in > releasing interfaces.

Re: [linux-usb-devel] Re: [usb-storage] Re: Linux 2.4.22-rc1

2003-08-14 Thread David Brownell
Fridtjof Busse wrote: * Alan Stern <[EMAIL PROTECTED]>: I mentioned it on LKML, you probably didn't get it, sorry: nforce2 with ehci, some reported he doesn't have this problem with ohci (but I really don't want to do backups over USB 1.1). I'm not sure if you also got the error forwarded: "host_r

[linux-usb-devel] USB_ST_DATAOVERRUN with ohci and ISO-OUT, 2.4.21 kernel

2003-08-14 Thread Bernd Porr
Hi! I get occaisonally the error flag USB_ST_DATAOVERRUN when the interrupt handler is called with an ISO-out transmission. This only happens with the ohci driver. Especially strange that it happens in the interrupt handler and with ISO which has no ACK. Any ideas? /Bernd -- http://www.cn.sti

[linux-usb-devel] [PATCH 2.6] - Experimental patch to add ax8817x support to usbnet

2003-08-14 Thread David T Hollis
This patch adds support for the ASIX AX8817x based ethernet devices to the usbnet driver (deprecating the current ax8817x driver). At this point, I consider it highly experimental, don't deploy in production, etc etc etc. It is in the "works for me" category and I seem to get pretty decent tr

[linux-usb-devel] Re: Apacer SM/CF combo reader driver

2003-08-14 Thread Andries . Brouwer
From: Fabien Grumelard <[EMAIL PROTECTED]> Subject: Re: Apacer SM/CF combo reader driver > If you need the SM half, ask me again. yes, this is what I want to use. About the 07c4:a109 CF+SM Apacer LC1 reader: I just checked status in 2.4.21. The CF half words if

Re: [linux-usb-devel] some analysis of a hang

2003-08-14 Thread David Brownell
Alan Stern wrote: Maybe it's an attempt to protect against the "device-morphed" possibility. I'm planning a re-write of that whole area. For now, it would probably be okay to remove the down_read() and up_read() in usb_reset_device(). That "morphed" branch looks rather broken to me -- is there

[linux-usb-devel] Re: [PATCH]error check for claiming second interface in usbnet

2003-08-14 Thread Greg KH
On Mon, Aug 11, 2003 at 09:50:10PM +0200, Oliver Neukum wrote: > You can import this changeset into BK by piping this whole message to: > '| bk receive [path to repository]' or apply the patch as usual. > > === > > > [EMAIL PROTECTE

[linux-usb-devel] Re: [PATCH]ttusb_dec.c: another case of GFP_KERNEL in interrupt

2003-08-14 Thread Greg KH
On Sat, Aug 09, 2003 at 01:44:05PM +0200, Oliver Neukum wrote: > You can import this changeset into BK by piping this whole message to: > '| bk receive [path to repository]' or apply the patch as usual. > > === > > > [EMAIL PROTECTE

Re: [linux-usb-devel] some analysis of a hang

2003-08-14 Thread Oliver Neukum
Am Dienstag, 12. August 2003 22:17 schrieb Alan Stern: > On Tue, 12 Aug 2003, Oliver Neukum wrote: > > > Am Dienstag, 12. August 2003 17:57 schrieb Alan Stern: > > > > > > Maybe it's an attempt to protect against the "device-morphed" possibility. > > > I'm planning a re-write of that whole area

[linux-usb-devel] 为自己带来一份额外的收入

2003-08-14 Thread zmj
尊敬的朋友,您好! 也许您对这信息感到意外,对可能给您带来的打拢表示深深的歉意!我是一刚毕业的学生...半年前的一次偶然机会我发现了亿联这个网络(以前我也试过其他赚钱网络了的,但都让我很失望)一个可以赚钱而且基本没什么投入就能月赚3千多元的网络。它让我有了一份稳定的收入. .

Re: [linux-usb-devel] Re: [PATCH] oops in sd_shutdown

2003-08-14 Thread Greg KH
On Tue, Aug 12, 2003 at 07:53:53AM +0100, Christoph Hellwig wrote: > On Tue, Aug 12, 2003 at 12:28:44AM +0200, Andries Brouwer wrote: > > I see an Oops in the SCSI code, caused by the fact that sdkp is NULL > > in sd_shutdown. "How can that be?", you will ask - dev->driver_data was set > > in sd_pr

Re: [linux-usb-devel] Fwd: PROBLEM: EHCI Driver hard-locks systemwhen USB devices plugged. (2.4.21 & 2.6.0-test2)

2003-08-14 Thread David Brownell
Alexander Markley wrote: If I enable EHCI, the kernel won't boot! If I unplug the keyboard (and all other USB devices), it will boot, but will crash as soon as I plug it back in. I still need to see is the USB debug messages that come out when you actually plug the device in, to learn where the

Re: [linux-usb-devel] some analysis of a hang

2003-08-14 Thread Oliver Neukum
Am Dienstag, 12. August 2003 17:57 schrieb Alan Stern: > On Tue, 12 Aug 2003 [EMAIL PROTECTED] wrote: > > > Now that I mentioned that inserting usb-storage hangs forever > > and then causes a SCSI oops, the question arises how the hang > > is caused. It turns out to be a semaphore deadlock. > > >

[linux-usb-devel] Re: [PATCH]return to old timeout handling

2003-08-14 Thread Greg KH
On Sun, Aug 10, 2003 at 09:05:13AM +0200, Oliver Neukum wrote: > Hi Greg, > > it seems that I've broken usblp. This reverts to the old > behaviour. Please apply. Applied, thanks. greg k-h --- This SF.Net email sponsored by: Free pre-built ASP

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Warren Togami
On Tue, 2003-08-12 at 05:02, David Brownell wrote: > I won't send information saying how to apply patches, build > kernels, install them, etc; that's widely available. But > here's the diagnostic patch I described. Apply, run; and > send the resulting kernel messages. > > - Dave > = drivers/

Re: [linux-usb-devel] Fwd: PROBLEM: EHCI Driver hard-locks systemwhen USB devices plugged. (2.4.21 & 2.6.0-test2)

2003-08-14 Thread Alexander Markley
> I still need to see is the USB debug messages that come out when > you actually plug the device in With ehci-hcd loaded? or no? > No, APIC. It's a separate config option under "processor features". Ah, thats disabled too. :) > Another useful thing to enable is "debug memory allocations" Gotc

[linux-usb-devel] [PATCH]correct error handling in usb_driver_claim_interface()

2003-08-14 Thread Oliver Neukum
Hi, this function races with itself, doesn't return errors and races with releasing interfaces. This patch fixes it by changing the function prototype, introducing locking and having a correct order in releasing interfaces. Regards Oliver You can import this changeset in

[linux-usb-devel] Linux takes too long to power up my USB keyboard...

2003-08-14 Thread Ronald Rael Harvest
Alright... I posted regarding this to the list yesterday and have been Emailing back and forth with Mr. David Brownell in regards to it... He helped me figure out how to turn on a lot of debug messages in the kernel and get a good idea of what's going on. To summarize, h

Re: [linux-usb-devel] [patch 2.6.0-test2] usb_start_wait_urb() rewrite

2003-08-14 Thread David Brownell
Oliver Neukum wrote: Am Samstag, 9. August 2003 02:04 schrieb David Brownell: The code that manges the synchronous control/bulk calls has been a mess for ages. This patch rewrites it using: - "struct completion" instead of a usb-internal clone therof, - prepare_to_wait()/finish_wait() instead o

Re: [linux-usb-devel] USB_ST_DATAOVERRUN with ohci and ISO-OUT, 2.4.21kernel

2003-08-14 Thread Bernd Porr
Dave, thanks. I added a udelay(100) in my handler. Then the problem is "solved" and I don't get any error msgs. I'll look in the ohci specs. Thanks for the hint. Actually the bus was not very busy, I think. I started the driver and left the computer basically idle. The errror happens on both

Re: [linux-usb-devel] Usb Cable modem ntl:home 100 (Ambit) is not recognized by 2.6.0-test3

2003-08-14 Thread Greg KH
On Thu, Aug 14, 2003 at 11:18:30PM +0100, Lee Hancock wrote: > > cat /proc/bus/usb/devices > No such file. Please read the Linux USB FAQ at http://www.linux-usb.org/ for how to fix this, and then post the contents. thanks, greg k-h --- This

Re: [linux-usb-devel] some analysis of a hang

2003-08-14 Thread David Brownell
Alan Stern wrote: Any routine that issues SET_CONFIGURATION or SET_INTERFACE should probably lock against routines affecting that same device. That "serialize" lock has the right scope: device, not all-of-usb. Getting that scope right should make this hang vanish. Using dev->serialize was part

Re: [linux-usb-devel] Usb Cable modem ntl:home 100 (Ambit) is notrecognized by 2.6.0-test3

2003-08-14 Thread David Brownell
Lee Hancock wrote: My Usb Cable modem ntl:home 100 (Ambit) has been working flawlessly with the cdc-ether driver, but since the conversion to usbnet driver I have been unable to get it working. Upon boot up I get this error message. "USB 2-1: bad CDC descriptors". ... cat /proc/bus/usb/devices No

Re: [linux-usb-devel] Re: More about reset/config change [was: some analysis of a hang]

2003-08-14 Thread Oliver Neukum
> > > What about drivers that are loaded by hand, well after the initial device > > > setup has finished? Would they get a say in choosing a configuration? > > > > Certainly they should. In the same way their probe() gets called. > > It's another way to (implicitly) request a config change. >

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread David Brownell
Pete Zaitcev wrote: From: David Brownell <[EMAIL PROTECTED]> Date: Wed, 13 Aug 2003 08:30:58 -0700 --- 1.34/drivers/usb/core/message.c Mon Aug 11 07:56:25 2003 +++ edited/drivers/usb/core/message.c Wed Aug 13 08:26:45 2003 - warn("selecting invalid configuration %d", configura

Re: [linux-usb-devel] [PATCH 2.6] - Experimental patch to add ax8817xsupport to usbnet

2003-08-14 Thread David Brownell
David T Hollis wrote: This patch adds support for the ASIX AX8817x based ethernet devices to the usbnet driver (deprecating the current ax8817x driver). At this point, I consider it highly experimental, don't deploy in production, etc etc etc. It is in the "works for me" category and I seem to

[linux-usb-devel] Re: [patch 2.6.0-test3] ov511 sysfs conversion (2/3)

2003-08-14 Thread Greg KH
On Wed, Aug 13, 2003 at 07:11:50AM -0700, Mark McClelland wrote: > This patch converts ov511 to dynamically allocate struct video_device, > using the new interfaces in videodev.[ch]. This is required to safely > support sysfs without races. > > Please apply. Applied, thanks. greg k-h ---

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Pete Zaitcev
> From: David Brownell <[EMAIL PROTECTED]> > Date: Wed, 13 Aug 2003 08:30:58 -0700 > --- 1.34/drivers/usb/core/message.c Mon Aug 11 07:56:25 2003 > +++ edited/drivers/usb/core/message.c Wed Aug 13 08:26:45 2003 > - warn("selecting invalid configuration %d", configuration); > +

[linux-usb-devel] [patch/rfc 2.6.0-test3] usb_set_configuration() meets sysfs

2003-08-14 Thread David Brownell
This patch is an update of one I sent around with 2.5.70, when the kernel wasn't quite ready to do this. It resolves some bugs in the way changing device configurations were reflected in the driver model: - Moves code around so that usb_set_configuration() updates sysfs to reflect the current

Re: [linux-usb-devel] [patch 2.6.0-test3] ov511 sysfs conversion (3/3)

2003-08-14 Thread Sergio Ahumada N
El Mié 13 Ago 2003 10:15, Mark McClelland escribió: > This patch adds some read-only files to ov511's sysfs directory. The > read/write attributes will be added in a future patch. For now, the > read/write-related code is #if'd out to prevent warnings. Hello Mark, I patch 2.6.0-test3 successfully

[linux-usb-devel] Usb Cable modem ntl:home 100 (Ambit) is not recognized by 2.6.0-test3

2003-08-14 Thread Lee Hancock
My Usb Cable modem ntl:home 100 (Ambit) has been working flawlessly with the cdc-ether driver, but since the conversion to usbnet driver I have been unable to get it working. Upon boot up I get this error message. "USB 2-1: bad CDC descriptors". I've tried powering down the modem then powering it

Re: Re: [linux-usb-devel] about usb device on PXA255

2003-08-14 Thread Robert Schwebel
On Thu, Aug 14, 2003 at 08:48:19AM +, agikor M wrote: > drivers/arch/mach-pxa/usb_ctl.c > -/usb_ep0.c > -/usb_recv.c > -/usb_send.c > Do you mean these files acting as the pxa2xx_udc controller driver? No, this is old stuff. The new U

[linux-usb-devel] bug in EHCI device reset through transaction translator (2.4.22)

2003-08-14 Thread Kevin Owen
I have found a problem in linux-2.4.22 with resetting usb 1.1 devices that are attached through a transaction translator to an EHCI controller. My setup to produce this problem is to connect a usb 2.0 hub to a usb 2.0 port, then connect a usb 1.1 hub to the 2.0 hub, then connect a 1.1 device to

[linux-usb-devel] Re: [patch/rfc 2.6.0-test3] usb_set_configuration() meets sysfs

2003-08-14 Thread Greg KH
On Thu, Aug 14, 2003 at 01:21:22PM -0700, David Brownell wrote: > Alan Stern wrote: > > >>>I foresee races between set_bConfigurationValue() and disconnect. But > >>>that's not something I can fix in two minutes. > >> > >>Could you elaborate? I don't think I added any new races there. > > > > >

[linux-usb-devel] Re: [patch/rfc 2.6.0-test3] usb_set_configuration() meets sysfs

2003-08-14 Thread David Brownell
Greg KH wrote: On Thu, Aug 14, 2003 at 01:21:22PM -0700, David Brownell wrote: Alan Stern wrote: I foresee races between set_bConfigurationValue() and disconnect. But that's not something I can fix in two minutes. Could you elaborate? I don't think I added any new races there. Maybe not, bu

Re: [linux-usb-devel] Re: [usb-storage] Re: Linux 2.4.22-rc1

2003-08-14 Thread David Brownell
Fridtjof Busse wrote: * David Brownell <[EMAIL PROTECTED]>: Aug 11 07:49:05 artus kernel: hub.c: port 2, portstatus 503, change 10, 480 Mb/s Aug 11 07:49:05 artus kernel: hub.c: new USB device 00:02.2-2, assigned address 4 Aug 11 07:49:05 artus kernel: usb.c: kmalloc IF deeb3400, numif 1 Aug 11 07

[linux-usb-devel] Re: [patch/rfc 2.6.0-test3] usb_set_configuration() meets sysfs

2003-08-14 Thread David Brownell
Alan Stern wrote: I foresee races between set_bConfigurationValue() and disconnect. But that's not something I can fix in two minutes. Could you elaborate? I don't think I added any new races there. Maybe not, but perhaps you exacerbated an existing race. I'm not sure; I haven't examined th

Re: [linux-usb-devel] Re: More about reset/config change [was: someanalysis of a hang]

2003-08-14 Thread Oliver Neukum
Am Donnerstag, 14. August 2003 15:58 schrieb Alan Stern: > On Wed, 13 Aug 2003, Oliver Neukum wrote: > > > > > Alternatively, write the sysfs bConfigurationValue after modprobe. > > > > > > The disadvantage to that is it requires knowledge of what configurations > > > are supported to be divided

Re: [linux-usb-devel] [patch 2.6.0-test2] usb_start_wait_urb() rewrite

2003-08-14 Thread Oliver Neukum
Am Donnerstag, 14. August 2003 22:28 schrieb David Brownell: > Oliver Neukum wrote: > > Am Samstag, 9. August 2003 02:04 schrieb David Brownell: > > > >>The code that manges the synchronous control/bulk calls has > >>been a mess for ages. This patch rewrites it using: > >> > >> - "struct complet

[linux-usb-devel] Re: [patch/rfc 2.6.0-test3] usb_set_configuration() meets sysfs

2003-08-14 Thread Alan Stern
On Thu, 14 Aug 2003, David Brownell wrote: > Alan Stern wrote: > > The core/message.c file is getting kind of large and unfocussed. Maybe it > > should be re-factored (so to speak) at some point. Not important for now. > > That issue seems orthogonal to this patch -- I don't think it > made th

Re: [linux-usb-devel] 2.4, USB floppy with more than one LUN

2003-08-14 Thread Olaf Hering
On Sat, Aug 09, Brad Hards wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Sat, 9 Aug 2003 06:40 am, Olaf Hering wrote: > > I got a report about an USB floppy which is detected more than once, > > even with 2.4.22-pre7. A workaround would be the max_scsi_luns=1 or > > similar. Is

[linux-usb-devel] Re: [2.4.21] USB very strange problems! (fwd) POST 2

2003-08-14 Thread Greg KH
On Wed, Aug 13, 2003 at 11:01:57PM +0200, Paolo Ornati wrote: > Now I see that "USB-UHCI" there isn't in 2.6.0-test3... why? It's called 'uhci-hcd' in that kernel version. Hope this helps, greg k-h --- This SF.Net email sponsored by: Free pre

Re: [linux-usb-devel] ov511 video_proc_entry

2003-08-14 Thread Mark McClelland
Sergio Ahumada N wrote: When I compile ov511 I get some Warnings like if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.0-test3; fi WARNING: /lib/modules/2.6.0-test3/kernel/drivers/usb/media/ov511.ko needs unknown symbol video_proc_entry Disable CONFIG_VIDEO_PROC_FS in your kern

Re: [linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Warren Togami
On Mon, 2003-08-11 at 04:06, David Brownell wrote: > Warren Togami wrote: > > On Sun, 2003-08-10 at 18:52, Andrew Morton wrote: > > > >>Warren Togami <[EMAIL PROTECTED]> wrote: > >> > >>>I normally use Logitech optical USB mice in Linux. I bought a "CompUSA > >>>Optical USB Notebook Mouse" for $1

[linux-usb-devel] [patch 2.6.0-test3] ov511 sysfs conversion (1/3)

2003-08-14 Thread Mark McClelland
This is the first in a series of three patches to convert the ov511 driver's /proc/video interface to sysfs. All V4L drivers must undergo this conversion now that /proc/video has been removed from the core. This patch removes ov511's /proc/video support, which allows it to compile again. Pleas

[linux-usb-devel] Re: [PATCH]correct error handling in usb_driver_claim_interface()

2003-08-14 Thread Greg KH
On Mon, Aug 11, 2003 at 09:44:42PM +0200, Oliver Neukum wrote: > Hi, > > this function races with itself, doesn't return errors and races with > releasing interfaces. This patch fixes it by changing the function > prototype, introducing locking and having a correct order in > releasing interfaces.

[linux-usb-devel] [retry] deadlock (and mailer error)

2003-08-14 Thread Andries . Brouwer
(1) Deadlock A few hours ago I wrote: --- Now that I mentioned that inserting usb-storage hangs forever and then causes a SCSI oops, the question arises how the hang is caused. It turns out to be a semaphore deadlock. What happens is that base/bus.c:bus_add_driver() downs down_write(&bus

Re: [linux-usb-devel] Re: [usb-storage] Re: Linux 2.4.22-rc1

2003-08-14 Thread Alan Stern
On Sun, 10 Aug 2003, Fridtjof Busse wrote: > > > - dmesg output including all EHCI messages, with the usb code > > compiled with CONFIG_USB_DEBUG. The most important bits > > will be any problems it reports, near when the scsi layer > > gets unhappy. > > According to Alan, the out

Re: [linux-usb-devel] [PATCH 2.6] - Experimental patch to add ax8817x support to usbnet

2003-08-14 Thread Oliver Neukum
+ usb_fill_control_urb(urb, dev->udev, +usb_sndctrlpipe(dev->udev, 0), +(void *)req, data, size, +ax8817x_async_cmd_callback, req); + + if((status = usb_submit_urb(urb, GFP_NOIO)) < 0) + de

[linux-usb-devel] [patch 2.6.0-test3] usb hc cleanup-after-death, oops fix

2003-08-14 Thread David Brownell
Recently we've seen some oopses reported in code that cleaned up HCs after they died ... like pci-pm not letting ohci-hcd suspend until after the hardware was partly disabled, or users removing a Cardbus adapter with ehci-hcd. One root cause was that the cleanup called hcd->stop() too many times.

[linux-usb-devel] [PATCH] oops in sd_shutdown

2003-08-14 Thread Andries Brouwer
I see an Oops in the SCSI code, caused by the fact that sdkp is NULL in sd_shutdown. "How can that be?", you will ask - dev->driver_data was set in sd_probe. But in my case sd_probe never finished. An insmod usb-storage hangs forever, or at least for more than six hours, giving ample opportunity to

[linux-usb-devel] Re: [patch 2.6.0-test3] usb hc cleanup-after-death, oops fix

2003-08-14 Thread Greg KH
On Tue, Aug 12, 2003 at 04:13:04PM -0700, David Brownell wrote: > Recently we've seen some oopses reported in code that cleaned > up HCs after they died ... like pci-pm not letting ohci-hcd > suspend until after the hardware was partly disabled, or users > removing a Cardbus adapter with ehci-hcd.

[linux-usb-devel] Re: PATCH: (as82) UHCI: fix broken data toggles for queued controlURBs

2003-08-14 Thread Charles Lepple
Alan Stern said: > Charles, this will probably fix up the problems you were having when you > tried to run usbtest a month ago. It gets a big thumbs-up from me. I tried it on 2.6.0-test3 both with and without preemption, and it works well. Thanks! -- Charles Lepple <[EMAIL PROTECTED]> http://www

Re: [linux-usb-devel] Re: Suggested reorganization of usb_reset_device()etc.

2003-08-14 Thread Alan Stern
On Sat, 9 Aug 2003, Oliver Neukum wrote: > > I'm not sure about your first example. Configuration changes would take > > place immediately under my scheme, but unbinding the old interface drivers > > and probing the new interfaces would be deferred. Is anything wrong with > > That is deadly.

Re: [linux-usb-devel] Linux takes too long to recognize my USB device.

2003-08-14 Thread David Brownell
Ronald Rael Harvest wrote: While Win2K Server and OS X both take around a second *at most* to power up the keyboard and mouse when they've been switched over to the respective machine... Linux takes something like 5-6 seconds. Which can be quite annoying. You may find your level of daily

Re: [linux-usb-devel] 2.4.22-rc1-ac1 versus 2.6.0-test2-ac1 andbroken usb-storage/Clie

2003-08-14 Thread Alan Stern
On Fri, 8 Aug 2003, Robert L. Harris wrote: > Ok, it's not broken hardware on my Archos usb-storage or Sony Clie. I > just compiled 2.4.22-rc1-ac1 as a test of something else and while I was > thinking about it I tested them. They both work with 2.4.22-rc1-ac1 but > not 2.6.0-test2-ac1. > >

[linux-usb-devel] Suggested reorganization of usb_reset_device() etc.

2003-08-14 Thread Alan Stern
I've got a plan for reorganizing usb_reset_device(), usb_set_configuration(), and parts of the hub driver and core. Although it's a bit elaborate, it shouldn't have any visible consequences for drivers -- except that these routines will start working the way people want. Before doing any real

Re: [linux-usb-devel] Re: [usb-storage] Re: Linux 2.4.22-rc1

2003-08-14 Thread Fridtjof Busse
* David Brownell <[EMAIL PROTECTED]>: > > Aug 11 07:49:05 artus kernel: hub.c: port 2, portstatus 503, change > > 10, 480 Mb/s > > Aug 11 07:49:05 artus kernel: hub.c: new USB device 00:02.2-2, > > assigned address 4 > > Aug 11 07:49:05 artus kernel: usb.c: kmalloc IF deeb3400, numif 1 > > Aug 11 0

Re: [linux-usb-devel] 2.4.22-rc1-ac1 versus 2.6.0-test2-ac1 andbroken usb-storage/Clie

2003-08-14 Thread Alan Stern
On Mon, 11 Aug 2003, Robert L. Harris wrote: > Bah, it went to kern.log. Attaching that compressed. If this isn't > what you want or is too much debugging let me know. This is the whole > log file incase something is mixed in the middle. Okay, I see the problem with 2.6. It stems from a chang

Re: [linux-usb-devel] some analysis of a hang

2003-08-14 Thread Alan Stern
On Tue, 12 Aug 2003, David Brownell wrote: > Alan Stern wrote: > > >>Any routine that issues SET_CONFIGURATION or SET_INTERFACE should > >>probably lock against routines affecting that same device. That > >>"serialize" lock has the right scope: device, not all-of-usb. > >>Getting that scope rig

[linux-usb-devel] URGENT ASSISTANCE

2003-08-14 Thread anthonysanedmunds
ANTHONY EDMUNDS. EMAILl: [EMAIL PROTECTED] FAX:+34 MADRID-SPAIN: Dear Sir AN APPEAL FOR ASSISTANCE My name is Anthony Edmundo a liberian nacional I was a former minister in the Government of President Charles Taylor. I am on the run due to the iminent collapse of the

Re: [linux-usb-devel] 2.4.22-rc1-ac1 versus 2.6.0-test2-ac1 andbroken usb-storage/Clie

2003-08-14 Thread Alan Stern
On Sat, 9 Aug 2003, Robert L. Harris wrote: > Attaching the messages file from the 2 boots. On both runs I boot the > system, load usb-storage and plugin/turn on my archos jukebox. On the > 2.6 run I tried to init6 but I have to SysRq the system for a reboot. I just had a chance to look at your

Re: [linux-usb-devel] Re: [PATCH]remove GFP_DMA from pegasus

2003-08-14 Thread Alan Cox
On Mer, 2003-08-06 at 07:24, Petko Manolov wrote: > On Wed, 6 Aug 2003, Oliver Neukum wrote: > > > GFP_DMA has no place in USB drivers, as its meaning is inconsistent > > across architectures. > > The patch looks ok to me, although GFP_DMA used to mean that the allocated > memory will be contiguo

[linux-usb-devel] Re: [PATCH] More USB fixes for 2.6.0-test2

2003-08-14 Thread Greg KH
ChangeSet 1.1119.1.7, 2003/08/06 15:51:29-07:00, [EMAIL PROTECTED] [PATCH] USB: usb_new_device() updates Changes a handful of things in enumeration error paths. Bugfixes: - consistent cleanup, and consistent return of -Ewhatever/0; - a usb_put_dev() gets rid of the extra refcount; this o

[linux-usb-devel] Re: 2.6-test3 compusa USB optical mouse

2003-08-14 Thread Warren Togami
On Sun, 2003-08-10 at 18:52, Andrew Morton wrote: > Warren Togami <[EMAIL PROTECTED]> wrote: > > > > I normally use Logitech optical USB mice in Linux. I bought a "CompUSA > > Optical USB Notebook Mouse" for $14 and the following happens in dmesg > > in kernel-2.6.0-test3. > > > > Known bug? Sho

  1   2   3   >