Re: [linux-usb-devel] bluetooth breakage

2004-07-09 Thread Marcel Holtmann
Hi David, > > Pulling the usb tree is always fun. > > > > drivers/bluetooth/bfusb.c: In function `bfusb_load_firmware': > > drivers/bluetooth/bfusb.c:589: structure has no member named `halted' > > drivers/bluetooth/bfusb.c:589: structure has no member named `halted' > > drivers/bluetooth/bfusb.c

[linux-usb-devel] Re: YEAH! (was: [Linux-usb-users] Genesys-Based Devices and Nforce2 usb chipset)

2004-07-09 Thread Alexandre Aractingi
Le jeu 08/07/2004 à 18:41, Alexandre Aractingi a écrit : > Le jeu 08/07/2004 à 17:16, Alan Stern a écrit : > > As a test, see what happens when you don't use the first part of the > > patch. That is, keep max_sectors set to 128 instead of reducing it to 64. > > If that doesn't work and the driv

Re: [linux-usb-devel] Re: [PATCH][2.4] Remove hiddev.h dependence on hid.h

2004-07-09 Thread Sergey Vlasov
On Thu, Jul 08, 2004 at 10:39:24PM -0700, Pete Zaitcev wrote: > On Wed, 7 Jul 2004 17:52:01 -0400 > Adam Kropelin <[EMAIL PROTECTED]> wrote: > > > /* hiddev_usage_ref_multi is used for sending multiple bytes to a control. > > * It really manifests itself as setting the value of consecutive usag

[linux-usb-devel] Lose 19% weight. A new weightloss is now available.

2004-07-09 Thread Loraine Bingham
Hello, I have a special offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Loss of 20-35% abdominal Fat. - Up to 300% more Weight Loss while dieting. - Incr

[linux-usb-devel] PATCH: (as342) Allow NULL argument in usb_unlink_urb() and usb_kill_urb()

2004-07-09 Thread Alan Stern
Greg: It makes sense for APIs involved in cleanup activities (like kfree()) to accept NULL arguments. Doing so frees drivers from the responsibility of checking whether each resource was actually acquired before trying to release it. Accordingly, this patch makes usb_unlink_urb() and usb_kil

[linux-usb-devel] Bluetooth kill_urb simplification

2004-07-09 Thread Alan Stern
Marcel: Now that usb_kill_urb() is in Greg's development tree, stimulated in no small part by the changes needed for the USB Bluetooth driver, those changes can be simplified. I don't know when usb_kill_urb() will make its way into the -mm series -- maybe it already has -- but when it's there you

[linux-usb-devel] PATCH: (as343) Final (we hope!) fix for Genesys Logic interfaces

2004-07-09 Thread Alan Stern
On Thu, 8 Jul 2004, Matthew Dharm wrote: > I think, for now, since this seems to be the only device which is so badly > broken, let's just leave it as a hard-coded thing. That is, check for the > Genesys vendorID in both places (max_sectors and delay). Here it is then. This patch reduces max_se

Re: [linux-usb-devel] [BUG] Still having problems with an USB Drive

2004-07-09 Thread Alan Stern
On Thu, 8 Jul 2004, Rogério Brito wrote: > Well, I think that these are some good news: it printed that the actual > length was 8, as you can see below. > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > (...) > usb 1-1.1: new full speed USB device using address 3 > u

Re: [linux-usb-devel] PATCH: (as340) Don't use standard rwsem semantics

2004-07-09 Thread David Brownell
Alan Stern wrote: Lastly, why does a thread need to take the lock twice? Quite simply, it needs to lock two devices. ... Here are a couple of examples of times when a driver needs to lock two devices (always in top-down order!): Locking two devices shouldn't necessarily involve taking any given

Re: [linux-usb-devel] PL2303 driver broken in 2.6.7

2004-07-09 Thread Al Borchers
Olaf Hering wrote: Here is a dmesg debug output, rm has an agetty connected, screen connected via keyspan. I dont get any newlines. > S0:12345:respawn:/sbin/agetty -L 9600 keyspan screen agetty sttys the port to onlcr (map newline to carriage-return newline). However, the pl2303 cannot do this; it

Re: [linux-usb-devel] PATCH: (as340) Don't use standard rwsem semantics

2004-07-09 Thread Alan Stern
On Fri, 9 Jul 2004, David Brownell wrote: > Alan Stern wrote: > > > Lastly, why does a thread need to take the lock twice? Quite simply, it > > needs to lock two devices. ... > > Here are a couple of examples of times when a driver needs to lock two > > devices (always in top-down order!): >

Re: [linux-usb-devel] PATCH: (as340) Don't use standard rwsem semantics

2004-07-09 Thread David Brownell
Alan Stern wrote: On Fri, 9 Jul 2004, David Brownell wrote: When I get a moment to re-test the CONFIG_USB_SUSPEND patch, along with its locktree() primitive, I'll repost that patch against Linus' BK tree. Deltas from the 2.6.7 patch there are for the usb_new_device() reorganization, and some smar

Re: [linux-usb-devel] Re: [PATCH][2.4] Remove hiddev.h dependence on hid.h

2004-07-09 Thread Adam Kropelin
On Fri, Jul 09, 2004 at 04:34:24PM +0400, Sergey Vlasov wrote: > On Thu, Jul 08, 2004 at 10:39:24PM -0700, Pete Zaitcev wrote: > > On Wed, 7 Jul 2004 17:52:01 -0400 > > Adam Kropelin <[EMAIL PROTECTED]> wrote: > > > > > /* hiddev_usage_ref_multi is used for sending multiple bytes to a control. >

Re: [linux-usb-devel] [BUG] Still having problems with an USB Drive

2004-07-09 Thread Rogério Brito
On Jul 09 2004, Alan Stern wrote: > On Thu, 8 Jul 2004, Rogério Brito wrote: > > I still haven't compiled the kernel with the 8 in the place of the 64, > > though. > > That will be the real test. But as long as actual_length <= 8, it should > work okay. Now, I compiled the kernel with the array

Re: [linux-usb-devel] [BUG] Still having problems with an USB Drive

2004-07-09 Thread Alan Stern
On Fri, 9 Jul 2004, Rogério Brito wrote: > Now, I compiled the kernel with the array of size 8 instead of 64 and > everything seems to be working fine. Thanks. Does this mean that this newer > version (or something inspired in it) may be included in newer kernels? > It is nice to save a few bytes

Re: [linux-usb-devel] PATCH: (as340) Don't use standard rwsem semantics

2004-07-09 Thread Alan Stern
Okay, in a separate thread on LKML Andrew Morton has said he doesn't really like my approach either. Then what should it be? Clumsily use different routines for locking the first vs. the others in a nested set? (Or clumsily force drivers that want to lock more than one de

[linux-usb-devel] Re: PATCH: (as342) Allow NULL argument in usb_unlink_urb() and usb_kill_urb()

2004-07-09 Thread Greg KH
On Fri, Jul 09, 2004 at 09:41:37AM -0400, Alan Stern wrote: > Greg: > > It makes sense for APIs involved in cleanup activities (like kfree()) to > accept NULL arguments. Doing so frees drivers from the responsibility of > checking whether each resource was actually acquired before trying to >

Re: [linux-usb-devel] PATCH: (as340) Don't use standard rwsem semantics

2004-07-09 Thread Andrew Morton
Alan Stern <[EMAIL PROTECTED]> wrote: > > Okay, in a separate thread on LKML Andrew Morton has said he doesn't > really like my approach either. Then what should it be? > > Clumsily use different routines for locking the first vs. the > others in a nested set? (Or clumsily force driv

Re: [linux-usb-devel] PATCH: (as340) Don't use standard rwsem semantics

2004-07-09 Thread Andrew Morton
Andrew Morton <[EMAIL PROTECTED]> wrote: > > take_the_lock() > { > if (sem_holder == current) { > sem_depth++; > } else { > down(&sem); > sem_holder = current; > } > } > > drop_the_lock() > { > if (--sem_depth == 0) { >

[linux-usb-devel] BANNED FILENAME (.exe) IN YOUR MAIL

2004-07-09 Thread Postmaster
BANNED FILENAME ALERT Our virus checker found banned filename: .exe in your email to the following recipient: -> [EMAIL PROTECTED] Delivery of the email was stopped! Please check your system for viruses, or ask your system administrator to do so. For your reference, here are headers from yo

[linux-usb-devel] OT: ISP1161A1BD - Asia-Pacific Suppliers???

2004-07-09 Thread Hasjim Williams
Hi everybody, Firstly, sorry for the slightly-off-topic post... Does anyone know of any Asia-Pacific Suppliers for the Philips ISP1161A1 USB Host Controller ICs? http://www.semiconductors.philips.com/cgi-bin/pldb/pip/isp1161a1.html We originally had planned to order some ISP1161A1BD ICs from Ar

[linux-usb-devel] NULL pointer dereference in bluetooth.c

2004-07-09 Thread kailash
Hi, I have a USB bluetooth card and I was trying to get a bluetooth tty driver up for it by compiling bluetooth.c (by Greg Kroah-Hartman)found in kernel source. But I am getting a NULL pointer dereference exception in the line : interface = &dev->actconfig->interface[ifnum].altsetting[0

[linux-usb-devel] Обзор арбитражной практики.

2004-07-09 Thread kip
Образовательный Центр, приглашает руководителей организаций, юристов, финансовых директоров, а также их помощников и заместителей на программы открытых семинаров-практикумов 19 июля 2004 года «Обзор арбитражной прак