Re: [linux-usb-devel] [PATCH 8 of 12] USB usb.h changes

2001-12-24 Thread Pete Zaitcev
> From: Wolfgang Mües <[EMAIL PROTECTED]> > Date: Mon, 24 Dec 2001 15:40:04 +0100 > > p* can be removed (I don't like it either), but why the _t? It's a clear > > marking that this is a defined type and it makes the code a tiny bit more > > readable. And usb.h is not the only one using that style

Re: [linux-usb-devel] [PATCH 8 of 12] USB usb.h changes

2001-12-24 Thread Pete Zaitcev
> > The absolutely worst happens when someone attempts to re-type > > a _t over a large body of existing code, for instance inexpirienced > > coders keep proposing to change kdev_t into a pointer. > > I'd hardly call Andries inexperienced, and in fact he did precisely that > a long time ago but t

Re: [linux-usb-devel] [PATCH 2 of 8] USB module ownership change

2002-01-03 Thread Pete Zaitcev
> Here's a patch against 2.5.2-pre7 that allows the USB core to control > the module usage count of the USB driver modules. Looks good, but one question - was it oopsable before? -- Pete ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at

Re: [linux-usb-devel] 2.5.2-pre6 OOPS in usb_destroy_configuration

2002-01-04 Thread Pete Zaitcev
> Here is part of the stack trace from the oops/panic in my first > message about this problem: > > >>EIP; c012ad65<= > Trace; c4817ee4 <[usbcore]usb_destroy_configuration+104/210> > Trace; c48171e2 <[usbcore]usb_free_dev+22/50> > Trace; c48288b5 <[usb-uhci

Re: [linux-usb-devel] isdn USB TA

2002-01-09 Thread Pete Zaitcev
> From: "victor saldarriaga" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: Wed, 9 Jan 2002 13:10:09 -0500 > A manufacturer of ISDN terminal adapters needs a kernel developer for one of > its usb TA's. > The manufacturer would supply you with firmware and chipset specs, a unit, > and win32

Re: [linux-usb-devel] Re: two bugs in usb-skeleton

2002-01-13 Thread Pete Zaitcev
On Sun, Jan 13, 2002 at 10:24:55AM -0800, Greg KH wrote: > On Sun, Jan 13, 2002 at 12:58:45PM +0100, Oliver Neukum wrote: > > 2) skel_write checks for -EINPROGRESS. This is a race. > > Yes, but it's a race that _so_ many different drivers have that I don't > consider it a driver problem. It sho

Re: [linux-usb-devel] problems with a USB controller..

2002-01-25 Thread Pete Zaitcev
> From: Thomas Davis <[EMAIL PROTECTED]> > To: linux-usb-devel <[EMAIL PROTECTED]> > Date: Fri, 25 Jan 2002 10:11:28 -0800 > PCI: Found IRQ 10 for device 00:1f.2 > IRQ routing conflict for 00:1f.2, have irq 9, want irq 10 This is a material for Manfred Spraul. Did you try to enable ACPI and see

[linux-usb-devel] Question about SDDR-31

2002-01-25 Thread Pete Zaitcev
Hello, I've got a stupid question for Matt or someone with a SanDisk reader: what is the model suffix for CF reader (as opposed to MemorySpit, DumbMedia, etc.)? I have couple of SDDR-31 bugs assigned and I am trying to purchase the hardware. Our preferred supplier carries only "SDDR-31-07", and I

Re: [linux-usb-devel] [PATCH] usb printer (disable accepting IEEE 1284.4 protocol)

2002-02-10 Thread Pete Zaitcev
> From: Lars Doelle <[EMAIL PROTECTED]> > Date: Mon, 11 Feb 2002 01:08:29 +0100 >[...] > There is some Linux support for IEEE 1284.4 underway, but until this is > working and integrated, i think one should better disable accepting these > protocols, as it would never work in the moment. David

Re: [linux-usb-devel] [PATCH] usb printer (disable accepting IEEE 1284.4 protocol)

2002-02-12 Thread Pete Zaitcev
> From: Lars Doelle <[EMAIL PROTECTED]> > Date: Tue, 12 Feb 2002 15:48:53 +0100 > So my suggestion is to go this way and put a vendor/product list into > printer.c indicating when a 7/1/3 should really be picked and call the device > then /dev/usb/hpoj, so that you can pick it up with your user

Re: [linux-usb-devel] FW: Connect Debounce

2002-02-13 Thread Pete Zaitcev
> From: Brad Hards <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>, "'Greg KH'" <[EMAIL PROTECTED]> > Date: Thu, 14 Feb 2002 07:56:37 +1100 > > Yes, I'm referring to 7-29. I don't have the source handy and my > > "information" is anecdotal. It might be a problem with a particular > > implementati

Re: [linux-usb-devel] [PATCH] hub usb_port_status stack bug

2002-02-19 Thread Pete Zaitcev
> Date: Wed, 20 Feb 2002 00:36:14 +0100 (CET) > From: Martin Diehl <[EMAIL PROTECTED]> > Johannes, Pete - if it's ok for you I'd like to suggest this could go into > early 2.4.19-pre series. I do not mind. If I remember JE's argument right, he did not like how long it takes to renumber a bus wit

Re: [linux-usb-devel] USB HC TakeOver Failed

2002-03-08 Thread Pete Zaitcev
> From: "Sean J Power" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: Fri, 8 Mar 2002 12:45:51 -0500 > I am having issues loading USB, the relevent excerpt of dmesg follows... > > PCI: Enabling device 02:0a.0 (0014 -> 0016) > PCI: Found IRQ 5 for device 02:0a.0 > PCI: Sharing IRQ 5 with 0

Re: [linux-usb-devel] USB HC TakeOver Failed

2002-03-08 Thread Pete Zaitcev
> From: David Brownell <[EMAIL PROTECTED]> > Date: Fri, 08 Mar 2002 10:10:12 -0800 > You might try increasing the smm_timeout in hc_reset() > in drivers/usb/usb-ohci.c to see if the BIOS/SMM code is > just painfully slow. Or tweaking the BIOS settings to make > it forget (or learn?) about USB.

[linux-usb-devel] Workaround for broken hw by ATEN

2002-03-11 Thread Pete Zaitcev
Guys, The patch came about as offshot of my anti-usbkbd crusade. (Or shall I say Vojtech's anti-usbkbd policies? :) This patch is truly a kludge, but it seems to work. Some hardware by a certain company called "ATEN" crashes if GET_REPORT is sent. I tried to modify our GET_REPORT, but it seems t

Re: [linux-usb-devel] Workaround for broken hw by ATEN

2002-03-11 Thread Pete Zaitcev
> Date: Mon, 11 Mar 2002 09:51:14 -0800 > From: Greg KH <[EMAIL PROTECTED]> > > it seems that nothing helps. So, I simply switched GET_REPORT off. > > It works for the piece of junk that Red Hat bought for my testing, > > and I got several "thank you" notes since we shipped the patch. > A number

Re: [linux-usb-devel] Failing Sandisk SDDR-31 CF reader

2002-03-26 Thread Pete Zaitcev
> From: [EMAIL PROTECTED] > Date: Mon, 25 Mar 2002 12:19:47 -0800 > % cp /mnt/cf/dc265_01/*.jpg /tmp > top kernel: usb_control/bulk_msg: timeout > top kernel: usb-uhci.c: interrupt, status 3, frame# 571 > > It had copied about 10MBs of data when the timeout occured. Brian, I hear complaints abo

[linux-usb-devel] A bug report here...

2002-03-27 Thread Pete Zaitcev
Hello, would someone mind sparing a quick glance, and tell me if this looks familiar. User uses pl2303, and after a while it hangs. If he pulls USB cable, system oopses (2.4.9+). pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.7 .. long time before hang usb-uhci.c: ENXIO c04

Re: [linux-usb-devel] Re: Remove help for unused usb option

2002-03-31 Thread Pete Zaitcev
> Why not? What's wrong with 2.5? In fact, that's where all new work > should be going on right now, not the 2.4 tree. The pressure to stay with stable kernels is simply too strong. If you develop for unstable series, you must track a quickly changing codebase, and this saps the time and effort

Re: [linux-usb-devel] [PATCH] /proc/tty support for usb serial core

2002-04-11 Thread Pete Zaitcev
> From: Guest section DW <[EMAIL PROTECTED]> > Date: Thu, 11 Apr 2002 02:57:14 +0200 > > This patch against the 2.5.8-pre3 kernel adds /proc/ > > Totally unrelated, but this reminds me: > The unreadable /proc/bus/usb always annoyed me, and I added a > blank line, separating entries. Hope that no

Re: [linux-usb-devel] Re: PATCH 2.5.14 -- uhci, compiler warnings and one BUG()

2002-05-09 Thread Pete Zaitcev
was included on the list of recipients. -- From: Linus Torvalds <[EMAIL PROTECTED]> To: Pete Zaitcev <[EMAIL PROTECTED]> cc: Johannes Erdfelt <[EMAIL PROTECTED]> Subject: Re: About atomicity of set_bit In-Reply-To: <[EMAIL PR

Re: [linux-usb-devel] TCP/IP over USB

2002-05-20 Thread Pete Zaitcev
> From: "Ben Simkin" <[EMAIL PROTECTED]> > Date: Mon, 20 May 2002 15:32:20 +1000 > I would like to ask if it were possible to setup TCP/IP over USB > (without an ethernet USB chip, or whatever they use)... > > You see, I want to setup a 2-way satellite system, and AFAIK, the > "modem" connects t

Re: [linux-usb-devel] HID and usb-uhci-hcd.c (was: usb-storage)

2002-05-21 Thread Pete Zaitcev
> From: [EMAIL PROTECTED] > Date: Tue, 21 May 2002 18:37:08 +0200 (MEST) > T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0 > D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=05e3 ProdID=000a Rev= 0.00 > C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr= 48mA > I: If#= 0

[linux-usb-devel] Sony SRX77 lockup with memory stick and usb-storage

2002-05-28 Thread Pete Zaitcev
Guys, I've got a customer who complains about lockups with a new version of Sony's MS controller. Unfortunately, he resists my mind control powers when I try to type keys on his laptop remotely. :) Did anyone hear of someone with this problem who can get me stack snapshots to track the lockup? -

Re: [linux-usb-devel] Re: PCI DMA to small buffers oncache-incoherentarch

2002-06-10 Thread Pete Zaitcev
> From: Oliver Neukum <[EMAIL PROTECTED]> > Date: Mon, 10 Jun 2002 20:46:17 +0200 > > See my other post ... start of next structure is controlled by a > > structure level alignment attribute (forcing extra padding at end), > > while start of next _member_ is controlled by member level attributes.

[linux-usb-devel] Yet another unusual_devs.h member.

2003-01-24 Thread Pete Zaitcev
Matt & Greg, would you be so kind to take this: --- linux-2.5.54/drivers/usb/storage/unusual_devs.h 2002-12-15 18:08:14.0 -0800 +++ linux-2.5.54-p3/drivers/usb/storage/unusual_devs.h 2003-01-24 14:50:25.0 +-0800 @@ -121,12 +121,11 @@ "LS-120 Camera",

Re: [linux-usb-devel] Patch for IBM USB 128 MB Memory Key

2003-01-29 Thread Pete Zaitcev
> From: "Janne Pikkarainen" <[EMAIL PROTECTED]> > Date: Wed, 29 Jan 2003 21:19:43 +0200 (EET) > This is the first patch I ever try to submit, so please forgive me if I'm > doing something terribly wrong. :-) Anyway, I have a 128 MB USB Memory Key > by IBM, and without my patch it doesn't work at a

Re: [linux-usb-devel] usbdevfs setup URB buffer size limit

2003-02-05 Thread Pete Zaitcev
> From: Christopher Li <[EMAIL PROTECTED]> > Date: Wed, 5 Feb 2003 07:26:45 -0800 > Any comment? > /* min 8 byte setup packet, max arbitrary */ > - if (uurb.buffer_length < 8 || uurb.buffer_length > PAGE_SIZE) > + if (uurb.buffer_length < 8 || (uurb.buffer_le

Re: [linux-usb-devel] #linux-usb on IRC

2003-02-14 Thread Pete Zaitcev
> From: Dmitri <[EMAIL PROTECTED]> > Date: 14 Feb 2003 09:03:41 -0800 > > What do others think? Should we just remove this? > > How many developers have time for IRC in first place? It is too > demanding on one's attention, IMO. > > Dmitri Greg is on IRC often. It can be done, with proper tools

Re: [linux-usb-devel] WANTED *ISA* USB card

2003-03-06 Thread Pete Zaitcev
> From: Ian Molton <[EMAIL PROTECTED]> > Date: Thu, 6 Mar 2003 18:14:56 + > I need a cheap and cheerful ISA USB card. Generally speaking, there is no such animal (this also explains why PCMCIA USB adapters do not exist). Phillips makes a silicon which potentially can be used (isp1601 or some

Re: [linux-usb-devel] WANTED *ISA* USB card

2003-03-06 Thread Pete Zaitcev
> From: Christopher Li <[EMAIL PROTECTED]> > Date: Thu, 6 Mar 2003 11:37:21 -0800 > > Generally speaking, there is no such animal (this also explains > > why PCMCIA USB adapters do not exist). Phillips makes a silicon > > I haven't see an ISA usb card. But there are tons of pcmcia > usb card out

Re: [linux-usb-devel] WANTED *ISA* USB card

2003-03-06 Thread Pete Zaitcev
>[...] > OHCI is a silicon which works with a high-speed, DMA master bus. > Adaptations of the IP block to ARM exist, but primarily it is > sold as a PCI master. How are you going to hook it to ISA? BTW, I'm not saying it cannot be done. If you are willing to do a little bit of design, you can use

Re: [linux-usb-devel] cleanup of synchronous API

2003-03-19 Thread Pete Zaitcev
> From: Oliver Neukum <[EMAIL PROTECTED]> > Date: Wed, 19 Mar 2003 21:44:10 +0100 > +#define __wait_event_timeout(wq, condition, ret) \ > + if (condition) \ > + break;

Re: [linux-usb-devel] cleanup of synchronous API

2003-03-19 Thread Pete Zaitcev
> From: Oliver Neukum <[EMAIL PROTECTED]> > Date: Wed, 19 Mar 2003 22:13:07 +0100 > > > From: Oliver Neukum <[EMAIL PROTECTED]> > > > Date: Wed, 19 Mar 2003 21:44:10 +0100 > > > > > > +#define __wait_event_timeout(wq, condition, ret) \ > > > + if (condition)

Re: [linux-usb-devel] Re: Keyspan 49W/49WLC Panic with 2.4.21-pre5 bk latest

2003-04-01 Thread Pete Zaitcev
Speaking of Keyspan, one gentleman complains of serial stream corruption with a 2.4.21-pre4 based kernel and 49W. RH bz#86590. I have no idea what to do about it, perhaps I should buy myself one of those things. -- Pete --- This SF.net email is

Re: [linux-usb-devel] usb-storage related hang on 2.5.66.recent

2003-04-02 Thread Pete Zaitcev
> From: David Brownell <[EMAIL PROTECTED]> > Date: Wed, 02 Apr 2003 07:52:05 -0800 > I got a report of a problem with a high speed CD-ROM that > could be reproduced by a simple loop: > >dd if=/dev/scd0 of=cdrom.iso >cmp /dev/scd0 cdrom.iso > > The failure was reported on 2.4, so I wanted

[linux-usb-devel] Re: [patch] fix 2.4 usbdevfs race

2003-06-06 Thread Pete Zaitcev
> Date: Thu, 5 Jun 2003 02:15:06 -0400 > From: Johannes Erdfelt <[EMAIL PROTECTED]> > I didn't see this on x86, but apparentely others have looking at the > RedHat 9 kernel sources. (RedHat bugzilla #81091) > Pete, could you give this patch a shot for the problem you found in that > bug? I'm prett

[linux-usb-devel] Oops in usb-serial in 2.4.21-rc2

2003-06-06 Thread Pete Zaitcev
Strangely, I didn't see this on the list, looked poorly? Anyway, here's the deal: kernel BUG at sched.c:999! EIP is at schedule [kernel] 0x2aa (2.4.20-13.9) eax: 0001 ebx: c3ad8c74 ecx: c0349d64 edx: c0349d5c esi: c0348000 edi: c3ad8c7c ebp: c0349d54 esp: c0349d44 ds: 0068 es: 00

Re: [linux-usb-devel] PATCH: Don't allocate transfer buffersonthestackin hub.c

2003-06-06 Thread Pete Zaitcev
> From: "Christopher Hoover" <[EMAIL PROTECTED]> > Date: Fri, 6 Jun 2003 10:58:50 -0700 > > So all I/O buffers _must_ be allocated using kmalloc() > > Use GFP_DMA flag on the kmalloc() call, too, whenever possible. > This will help avoid bounce buffering on some systems. Wrong!!! Where did yo

[linux-usb-devel] Patchlet for hid.h

2003-06-06 Thread Pete Zaitcev
I hear this from people who do CONFIG_HID_INPUT=m: : USB HID v1.10 Mouse [Logitech USB Mouse] on usb1:3.0 See that funny colon in the begining? I think this should be the patch, but I'm not sure how to reproduce and test. -- Pete --- linux-2.4.21-rc2-ac2/drivers/usb/hid.h 2003-04-24 11:42:

Re: [linux-usb-devel] hiddev not claiming my usb device - please help me

2003-06-09 Thread Pete Zaitcev
> From: Jackson Chan <[EMAIL PROTECTED]> > Date: Mon, 9 Jun 2003 11:57:36 -0600 > > I have been trying to solve this problem for a long time and any help > > would be greatly appreciated. In such case you would be well advised to stop being a jerk and cross-post the same stupid question everywher

Re: [linux-usb-devel] PATCH: usb-uhci fix for one-shot interrupt problem

2003-06-21 Thread Pete Zaitcev
by Frode Isaksen and > improved by Pete Zaitcev. Pete Zaitcev has applied this patch as an > errata fix for the RedHat 9.0 kernel. I only added when Alan looked and said he'd add it to -ac, he just forgot the usb-uhci side. He has usb-ohci fix since -rc2-ac2. It's n

Re: [linux-usb-devel] can usb_disconnect pre-empt?

2003-06-23 Thread Pete Zaitcev
> From: Tuukka Toivonen <[EMAIL PROTECTED]> > Date: Mon, 23 Jun 2003 20:39:33 +0300 (EEST) > If usb_disconnect() can happen while already executing in open(), and if > the former frees the data structures used by the driver, then the latter > call might continue working with already freed memory r

Re: [linux-usb-devel] can usb_disconnect pre-empt?

2003-06-23 Thread Pete Zaitcev
> Date: Mon, 23 Jun 2003 21:11:35 +0300 (EEST) > From: Tuukka Toivonen <[EMAIL PROTECTED]> > >> If usb_disconnect() can happen while already executing in open(), and if > >> the former frees the data structures used by the driver, then the latter > >> call might continue working with already freed

Re: [linux-usb-devel] PATCH: usb-uhci fix for one-shot interrupt problem

2003-06-23 Thread Pete Zaitcev
> From: Greg KH <[EMAIL PROTECTED]> > Date: Mon, 23 Jun 2003 15:45:38 -0700 > What problem does this cause with these drivers (the lego and visor > one.)? The usb-uhci was an oops with a NULL pointer. In ohci case it wasn't an oops, but something didn't work, I forgot the symptom. https://bugzil

Re: [linux-usb-devel] UHCI driver: urb->status and urbp->status

2003-07-17 Thread Pete Zaitcev
> From: David Brownell <[EMAIL PROTECTED]> > Date: Thu, 17 Jul 2003 15:38:11 -0700 > >>A bug has turned up in the UHCI driver. Briefly, when an URB completes, > >>uhci_transfer_result() doesn't store the status in urb->status but only in > >>urbp->status. urb->status is set just before calling h

Re: [linux-usb-devel] UHCI driver: urb->status and urbp->status

2003-07-17 Thread Pete Zaitcev
> Date: Thu, 17 Jul 2003 18:39:38 -0700 > From: David Brownell <[EMAIL PROTECTED]> > > So the completion uses an extra field to indicate that > > urb was released by HC driver to the uppper level. > > It's not an explicit field, it's an extra field. > > This really makes no sense to me. There's

Re: [linux-usb-devel] UHCI driver: urb->status and urbp->status

2003-07-17 Thread Pete Zaitcev
> Date: Thu, 17 Jul 2003 23:01:42 -0400 (EDT) > From: Alan Stern <[EMAIL PROTECTED]> > [...] But a properly-written driver won't > touch the URB _at all_ once it has been submitted until the completion > callback. I said the same. It cannot look at the urb->status. -- Pete ---

[linux-usb-devel] Re: [patch] fix 2.4 usbdevfs race

2003-07-25 Thread Pete Zaitcev
> Date: Thu, 5 Jun 2003 02:15:06 -0400 > From: Johannes Erdfelt <[EMAIL PROTECTED]> > The fix is to just move setting hub->children to later in the > enumeration process. This way usbdevfs_read_super won't see the device > before it has been through the usbdevfs_add_device path. > > I didn't see

Re: [linux-usb-devel] usb-uhci loses my USB mouse and keyboard periodically

2002-06-22 Thread Pete Zaitcev
> From: Luke Hutchison <[EMAIL PROTECTED]> > Date: 22 Jun 2002 14:54:09 -0600 > Here is some output from /var/log/messages from when the problem Can you send me more of it, unedited? "some" sounds suspicious. Personally, I suspect that hid races itself. Of course, it's a check potshot at Vojtec

[linux-usb-devel] rtl8150.c in 2.4.19-rc3

2002-07-22 Thread Pete Zaitcev
Petko: The following check seems redundant: static void * rtl8150_probe(struct usb_device *udev, unsigned int ifnum, const struct usb_device_id *id) { .. if ((udev->descriptor.idVendor != VENDOR_ID_REALTEK) || (udev->descriptor.idProduct != PRO

Re: [linux-usb-devel] Re: rtl8150.c in 2.4.19-rc3

2002-07-22 Thread Pete Zaitcev
> From: Petko Manolov <[EMAIL PROTECTED]> > Date: Mon, 22 Jul 2002 21:51:39 -0700 (PDT) > Do you by any chance know the vendor and device id of that Melco device? The patch was attached to the bug report. This part was sane: @@ -72,11 +72,15 @@ /* Define these values to match your device */

Re: [linux-usb-devel] [patch] add "nousb" to kernel

2002-09-27 Thread Pete Zaitcev
> From: "Randy.Dunlap" <[EMAIL PROTECTED]> > Date: Fri, 27 Sep 2002 22:45:45 -0700 > --- ./drivers/usb/core/usb.c.2539 Fri Sep 27 14:49:55 2002 > +++ ./drivers/usb/core/usb.c Fri Sep 27 22:35:30 2002 > +int nousb; /* Disable USB when built into kernel image */ > +

Re: [linux-usb-devel] hub driver sleeping with its own spinlock

2002-10-01 Thread Pete Zaitcev
> From: David Brownell <[EMAIL PROTECTED]> > Date: Tue, 01 Oct 2002 17:20:02 -0700 > Yes, it looks like hub.c down()s a semaphore while holding > its own spinlock... it doesn't always cause this message. > The comment says it never blocks, but... shouldn't this change? > > - Dave Crap, it's my

Re: [linux-usb-devel] Up against a wall

2002-10-09 Thread Pete Zaitcev
> From: Douglas Roberts <[EMAIL PROTECTED]> > Date: Wed, 09 Oct 2002 10:58:04 -0600 > lilly:[~/radio/driver]% ./evtest /dev/input/event0 > evtest: No such device Just to make it all clear, do "strace evtest /dev/input/event0", please. I suspect it fails in open, but I do not know for sure. -- P

Re: [linux-usb-devel] khubd sleeping function oops eating 100% cpu

2002-10-10 Thread Pete Zaitcev
> From: Chris Cheney <[EMAIL PROTECTED]> > Date: Thu, 10 Oct 2002 22:33:31 -0500 > Debug: sleeping function called from illegal context at include/asm/semaphore.h:119 It needs down() replaced with if (down_trylock()) BUG(); Posslibly fixed already in Greg's tree. -- Pete

Re: [linux-usb-devel] Patch for ALi lockups in IBM i1200/i1300

2002-10-23 Thread Pete Zaitcev
> Date: Wed, 23 Oct 2002 13:57:49 -0700 > From: David Brownell <[EMAIL PROTECTED]> > > Out of the blue an ALi engineer contacted me and offered a fix for > > lockups in IBM i-series laptops (RH Bugzilla #50225). I would > > really appreciate if someone ran it on their _regular_ ohci > > to ensure

Re: [linux-usb-devel] Patch for ALi lockups in IBM i1200/i1300

2002-10-23 Thread Pete Zaitcev
> Haven't tried that patch yet, do you have a 2.5 version? I am wondering if the 2.5 might work as it is on i1200/i1300. It preserves the HCFS field. I'll get back to it when Red Hat ships a 2.6 based release. -- Pete --- This sf.net email is

[linux-usb-devel] Patch for ALi lockups in IBM i1200/i1300

2002-10-22 Thread Pete Zaitcev
Out of the blue an ALi engineer contacted me and offered a fix for lockups in IBM i-series laptops (RH Bugzilla #50225). I would really appreciate if someone ran it on their _regular_ ohci to ensure that it does not break non-ALi silicon. Both 2.4 and 2.5 are the same (approximately), the patch is

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-05 Thread Pete Zaitcev
> From: Robert Love <[EMAIL PROTECTED]> > Date: 05 Nov 2002 14:26:08 -0500 Just in case nobody else answers: > I believe the Windows driver for both has the ability to read the > battery strength. Greg said the information may be encoded in the HID > information and maybe someone on this list ca

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-05 Thread Pete Zaitcev
> From: Brad Hards <[EMAIL PROTECTED]> > Date: Wed, 6 Nov 2002 16:48:08 +1100 > > 2. Ask logitech - I have a contact that might work. > Logitech says: > > Yes, the battery status information comes from a vendor command. >[...] This is wonderful, however I am concerned that hiddev cannot be used

Re: [linux-usb-devel] [PATCH] hub.c - "hub.c: connect-debounce failed, port N disabled"

2002-11-06 Thread Pete Zaitcev
> From: Michal Cihar <[EMAIL PROTECTED]> > Date: Wed, 06 Nov 2002 09:59:55 +0100 > I was having problems with my usb device, that failed with "hub.c: > connect-debounce failed, port N disabled". [...] > Problems seems to be in clearing USB_PORT_STAT_CONNECTION flag after it > is being read once

Re: [linux-usb-devel] [PATCH] hub.c - "hub.c: connect-debounce failed, port N disabled"

2002-11-06 Thread Pete Zaitcev
> Date: Wed, 6 Nov 2002 18:24:31 -0500 > From: Johannes Erdfelt <[EMAIL PROTECTED]> > > Interestingly, JE was up in arms against a simple 400ms delay > > in this place, which always worked before. Now, someone came > > with the debonce routine and lo and behold: it always delays > > for the same 4

Re: [linux-usb-devel] boot from usb storage

2002-11-07 Thread Pete Zaitcev
> From: Todd Lyons <[EMAIL PROTECTED]> > Date: Thu, 7 Nov 2002 14:38:51 -0800 > The only state I forsee is _slow_. A flat out balls to the wall copy > from a local filesystem to a usb filesystem across a USB 1.1 bus > proceeds at a rate of about 1 MB per minute. That's about 50 times slower than

[linux-usb-devel] Re: fix an error return in printer driver

2002-11-07 Thread Pete Zaitcev
> From: Oliver Neukum <[EMAIL PROTECTED]> > Date: Thu, 7 Nov 2002 23:42:34 +0100 > if we wrote some bytes we need to admit it even if we'd otherwise return > -EAGAIN. Any news on Linus' printing problem incidentally? > if (!usblp->wcomplete) { > barrier(); >

Re: [linux-usb-devel] Re: [OOPS] Help needed for usb semaphore lock in 2.4.20-rc1 (since 2.4.13)

2002-11-15 Thread Pete Zaitcev
> From: "Randy.Dunlap" <[EMAIL PROTECTED]> > Date: Fri, 15 Nov 2002 08:40:36 -0800 (PST) > | > Yes, I think you are right. > | > To test your idea, I moved the initialization > | > > | > init_MUTEX(&usb_bus_list_lock); > | > > | > from usb_init() to just before the call to usb_scan_devices

Re: [linux-usb-devel] Re: [OOPS] Help needed for usb semaphore lock in 2.4.20-rc1 (since 2.4.13)

2002-11-15 Thread Pete Zaitcev
> Date: Fri, 15 Nov 2002 14:38:05 -0500 (EST) > From: Duncan Haldane <[EMAIL PROTECTED]> > >| Also, the order in which cpia and usbcore are listed in the Makefile > >| is significant, it determines the order in which do_initcalls > >| calls them in case of them being 'y'. > > > > The case is both

Re: [linux-usb-devel] why this hub.c patch?

2002-12-07 Thread Pete Zaitcev
> From: "Tvrtko A. Ursulin" <[EMAIL PROTECTED]> > Date: Sat, 7 Dec 2002 17:27:52 +0100 > So I wonder, what this patch does? Should it be submitted to the main tree? The patch you quoted defeats the whole purpose of debouncing, shortcutting the loop. The loop is broken as it is in 2.4.20, so killi

Re: [linux-usb-devel] why this hub.c patch?

2002-12-07 Thread Pete Zaitcev
> Please try the attached patch, and also send me the output > of your dmesg, taken after the test. There is a special printout > there to diagnose the problem. Sorry for answering my own post, I forgot one thing. I would like several unrelated people to try the patch, not only Tvertko. When you

[linux-usb-devel] Patch for debounce in 2.5

2002-12-09 Thread Pete Zaitcev
Hi, Greg, I was getting annoyed that nobody fixed the obviously broken debounce loop, so I had to go ahead and fix that. Please add it to 2.5. -- Pete --- linux-2.5.50/drivers/usb/core/hub.c 2002-11-17 20:29:45.0 -0800 +++ linux-2.5.50-sparc/drivers/usb/core/hub.c 2002-12-09 09:44:30.

Re: [linux-usb-devel] proper error return for usblcd

2002-12-17 Thread Pete Zaitcev
> From: Oliver Neukum <[EMAIL PROTECTED]> > Date: Wed, 18 Dec 2002 01:20:56 +0100 > unknown ioctls return -ENOTTY and nothing else. > - return -ENOIOCTLCMD; > + return -ENOTTY; Does it pop to userland in that code? Alan says it can be used under controlled conditions. > A

Re: [linux-usb-devel] Transfer buffer question

2002-12-19 Thread Pete Zaitcev
> From: shino korah <[EMAIL PROTECTED]> > Date: Thu, 19 Dec 2002 15:59:14 -0800 (PST) > I have a USB device doing DMA.I'm using bulk read and > write.If I need to write e.g. 200k bytes of data. > Can I create the urb->transfer_buffer to 200k and put > the data in there? Or Am I restricted to only

[linux-usb-devel] ibmcam oneliner

2002-12-19 Thread Pete Zaitcev
Do you guys think Dmitri had anything particular in mind when he dropped this static? --- linux-2.4.21-pre1/drivers/usb/ibmcam.c 2002-08-02 17:39:45.0 -0700 +++ linux-2.4.21-pre1-sparc/drivers/usb/ibmcam.c2002-12-19 19:43:28.0 +-0800 @@ -87,7 +87,7 @@ } ibmcam_t; #d

[linux-usb-devel] static cams in ibmcam.c

2003-01-07 Thread Pete Zaitcev
Greg, would you mind adding this trivial patchlet, please. IIRC, Dimitri approved, at least for 2.5. --- linux-2.4.21-pre3-nip/drivers/usb/ibmcam.c 2003-01-06 17:36:50.0 -0800 +++ linux-2.4.21-pre3/drivers/usb/ibmcam.c 2003-01-06 17:25:15.0 -0800 @@ -87,7 +87,7 @@ } ibmcam_t

Re: [linux-usb-devel] static cams in ibmcam.c

2003-01-07 Thread Pete Zaitcev
> | --- linux-2.4.21-pre3-nip/drivers/usb/ibmcam.c 2003-01-06 17:36:50.0 >-0800 > | +++ linux-2.4.21-pre3/drivers/usb/ibmcam.c 2003-01-06 17:25:15.0 -0800 > | -static struct usbvideo *cams = NULL; > | +struct usbvideo *cams = NULL; > > That's going in the wrong/reverse direc

[linux-usb-devel] usb: Improve Kconfig comment for mct_u232

2006-05-22 Thread Pete Zaitcev
Add a couple of supported devices into the help message. It's a long story... I promised this comment changed to a user long ago, so I'd like to have that promise kept. In reality though, nobody is likely to read this anyway. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> ---

[linux-usb-devel] usb: Syntax cleanup for pl2303 (trailing backslash)

2006-05-22 Thread Pete Zaitcev
Remove the silly trailing backslash. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- linux-2.6.17-rc2/drivers/usb/serial/pl2303.c2006-04-23 21:06:18.0 -0700 +++ linux-2.6.17-rc2-lem/drivers/usb/serial/pl2303.c2006-05-22 21:31:15.0 -0700 @@ -599,7

[linux-usb-devel] usb serial

2006-05-22 Thread Pete Zaitcev
Hi, Greg: I looked at RMK's UART infrastructure and it seemed a little too fine-grained to me. It does not seem like a good match for things like edgeport and keyspan. So, my enthusiasm about "us" has diminished. Also, remember what kind of pain in the butt was the coexistence of usb-storage and

[linux-usb-devel] usb: rmmod pl2303 after -28

2006-05-24 Thread Pete Zaitcev
Wait for the scheduled work to finish before freeing memory, prevent oops. http://bugzilla.kernel.org/show_bug.cgi?id=6596 Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- linux-2.6.17-rc2/drivers/usb/serial/usb-serial.c2006-04-23 21:06:18.0 -0700 +++ linux-2.6.17-rc2-lem/d

Re: [linux-usb-devel] resetting high speed usb device

2006-05-24 Thread Pete Zaitcev
On Wed, 24 May 2006 11:26:37 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > > Nup, here it sometimes takes 1min to get it going again. > > How can you tell? By watching an LED? > The place you should modify is in drivers/usb/storage/transport.c. Near > the end of the usb_stor_invoke_tran

Re: [linux-usb-devel] resetting high speed usb device

2006-05-24 Thread Pete Zaitcev
On Wed, 24 May 2006 21:32:46 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > output, not very easy to interpret. But it shouldn't be hard to find the > sections where the 29 timeouts and resets occur, just by searching for > large jumps in the timestamps. I suggest looking for -104 (unlink)

[linux-usb-devel] Re: usb: io_edgeport, cleanup to unicode handling

2006-05-25 Thread Pete Zaitcev
On Thu, 25 May 2006 02:15:37 -0500, Al Borchers <[EMAIL PROTECTED]> wrote: > One minor thing, I would prefer "sizeof(string)" to "30", but > it is not crucial. Done in my tree. I'll either send a follow-up to Greg or resend, depending on the acceptance. -- Pete

[linux-usb-devel] ub: random cleanups

2006-05-25 Thread Pete Zaitcev
Remove some silly messages and cast in stone "temporary" messages which we keep around. Also, I am hesitant to remove the initialization retries without having the hardware to test (anyone who was at KS04 has a spare?) Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- linux-2

[linux-usb-devel] ub: atomic add_disk

2006-05-25 Thread Pete Zaitcev
e path of no return. With that fix in place, we do not need to test GENHD_FL_UP. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- Greg, this is something to merge after 2.6.17, please. Not urgent. --- linux-2.6.17-rc5-gregkh/drivers/block/ub.c 2006-05-25 18:45:10.0 -0700 +++ li

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-26 Thread Pete Zaitcev
On Fri, 26 May 2006 20:22:17 +0200, Frank Gevaerts <[EMAIL PROTECTED]> wrote: > usb 1-4.5.7: USB disconnect, address 79 > [ cut here ] > kernel BUG at kernel/workqueue.c:110! Please let me know if this helps: --- linux-2.6.17-rc2/drivers/usb/serial/usb-serial.c2006-04

[linux-usb-devel] Re: usb-serial ipaq kernel problem

2006-05-30 Thread Pete Zaitcev
On Tue, 30 May 2006 19:48:21 +0200, Frank Gevaerts <[EMAIL PROTECTED]> wrote: +0100 > +++ linux-2.6.17-rc4.test/drivers/usb/serial/ipaq.c 2006-05-30 > 19:41:19.0 +0200 > @@ -692,6 +694,7 @@ static void ipaq_close(struct usb_serial > struct ipaq_private *priv = usb_get_serial_po

Re: [linux-usb-devel] [PATCH RFC 0/11] usbserial: Serial Core port.

2006-06-02 Thread Pete Zaitcev
On Fri, 02 Jun 2006 00:03:06 -0300, "Luiz Fernando N.Capitulino" <[EMAIL PROTECTED]> wrote: This looks interesting, although I do not know if it buys us much. The code seems sane at first view. The private lock inside pl2303 saves you from the most obvious races. > The tests I've done so far we

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-02 Thread Pete Zaitcev
On Fri, 2 Jun 2006 11:39:05 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > Also it looks like either usbmon has dropped a lot of lines or you have > edited them out of the log. The '1t' pseudo file provides the counters, if anyone is interested. Most of the time, the main reason for dropp

Re: [linux-usb-devel] [PATCH 8/11] usbserial: pl2303: Ports tty functions.

2006-06-02 Thread Pete Zaitcev
On Fri, 2 Jun 2006 13:50:14 -0700, Greg KH <[EMAIL PROTECTED]> wrote: > On Fri, Jun 02, 2006 at 12:03:14AM -0300, Luiz Fernando N.Capitulino wrote: > > 2. The new pl2303's set_termios() can (still) sleep. Serial Core's > > documentation says that that method must not sleep, but I couldn't f

Re: [linux-usb-devel] [PATCH RFC 0/11] usbserial: Serial Core port.

2006-06-02 Thread Pete Zaitcev
On Fri, 02 Jun 2006 11:03:29 +0100, David Woodhouse <[EMAIL PROTECTED]> wrote: > On Thu, 2006-06-01 at 23:48 -0700, Pete Zaitcev wrote: > > > > > The tests I've done so far weren't anything serious: as the mobile > > > supports a > > > AT co

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-06-02 Thread Pete Zaitcev
On Fri, 2 Jun 2006 15:25:39 -0700, "Vivek Dharmadhikari" <[EMAIL PROTECTED]> wrote: > >The '1t' pseudo file provides the counters, if anyone is interested > > What are these counters ? > How different are these counters from the current format of usbmon log ? > Do the file usbmon.txt contains i

Re: [linux-usb-devel] [PATCH] Regression in Some NVidia USB Controllers

2006-06-05 Thread Pete Zaitcev
On Sat, 03 Jun 2006 02:17:48 -0500, Paul Serice <[EMAIL PROTECTED]> wrote: > The workaround in commit f7201c3dcd7799f2aa3d6ec427b194225360ecee > broke. The work around requires memory for DMA transfers for some > NVidia EHCI controllers to be below 2GB, but recent changes have > caused the DMA me

Re: [linux-usb-devel] [PATCH RFC 0/11] usbserial: Serial Core port.

2006-06-05 Thread Pete Zaitcev
On Sun, 4 Jun 2006 20:12:23 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > | I understand. My intent was different, however. One of the bigger sticking > | points for usb-serial was its interaction with line disciplines, which are > | notorious for looping back and requesting w

[linux-usb-devel] usb: io_edgeport touch-up

2006-06-06 Thread Pete Zaitcev
Al Borchers suggested to do this in his review of my previous patch. I guess that I skipped this initially because of my visceral dislike of sizeof(data). But in this case it seems well localized. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- linux-2.6.17-rc6-gregkh/drivers/usb/

Re: [linux-usb-devel] Probe function not called (Linux 2.6.16)

2006-06-08 Thread Pete Zaitcev
On Thu, 8 Jun 2006 12:21:14 +0200, Sven Moellers <[EMAIL PROTECTED]> wrote: > I am suspecting another driver gets probed and claims the device [...] Make sure your old usbfs based app wasn't running. Other than this the source looks perfect, it must work. Look at /proc/bus/usb/devices, it show

[linux-usb-devel] usb: update usbmon, fix glued lines

2006-06-09 Thread Pete Zaitcev
event buffers (certainly we can have a couple of pages) - Add event counter First touch upon usbmon for 2.6.18. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- I am far from done with performance issues, especially on loaded systems where cat may be not scheduled for a few jiffies an

[linux-usb-devel] usb: implement error event in usbmon

2006-06-09 Thread Pete Zaitcev
Implement the "error" event in usbmon. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- This has to go on top of the patch I sent earlier today. I hoped I'd come with a clever way to have this combined with the submission event, but nothing comes to mind which weren

[linux-usb-devel] RFC usbmon.txt change

2006-06-10 Thread Pete Zaitcev
The usbmon's documentation leaves me dissatisfied, it seems clumsy. What do you native English speaker guys think about the below, is it any improvement? --- linux-2.6.17-rc5/Documentation/usb/usbmon.txt 2005-09-13 01:05:37.0 -0700 +++ linux-2.6.17-rc5-lem/Documentation/usb/usbmon.t

Re: [linux-usb-devel] USB-Serial port to Serial Core: current issues.

2006-06-12 Thread Pete Zaitcev
On Mon, 12 Jun 2006 16:29:45 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > The problem is that ftdi_sio calls usb_control_msg() in ftdi_tiocmget() > to get the modem status from the device, but ftdi_get_mctrl() (Serial > Core version) cannot sleep because it's called with a s

[linux-usb-devel] usb: update usbmon.txt

2006-06-12 Thread Pete Zaitcev
Fix up the documentation. Apparently, I left unedited copy-paste results in examples. Also, Alan helped me to improve the most confusing parts. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- linux-2.6.17-rc5/Documentation/usb/usbmon.txt 2005-09-13 01:05:37.0 -0700 +++

  1   2   3   4   5   6   7   8   9   10   >