[linux-usb-devel] Re: PATCH proc_usb_info.txt

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 10:36:01PM -0800, David Brownell wrote: > Hi, > > This updates linux/Documentation/usb/proc_usb_info.txt to: > > - refer to "usbfs" > - describe the /proc/bus/usb/BBB/DDD files > - more info about the .../drivers and .../devices > - ... generally, gives mo

Re: [linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.7-pre2

2002-03-18 Thread Greg KH
On Mon, Mar 18, 2002 at 03:02:25PM -0800, David Paschal wrote: > Greg KH wrote: > > > [EMAIL PROTECTED], 2002-03-17 10:48:38-08:00, [EMAIL PROTECTED] > > > USB printer patch > > > > > > added NEC printer to quirks list > > > > > > drivers/usb/printer.c |1 + > > > 1 files changed, 1 i

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-18 Thread Greg KH
On Tue, Mar 19, 2002 at 12:32:56AM +0100, Nemosoft Unv. wrote: > Hello, > > On Monday 18 March 2002 04:12, David Brownell wrote: > > > thus no ioctl(). > > > > There's this thing called JNI, which solves that. If they're doing stuff > > like memory mapping the video memory, it's being used alrea

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-18 Thread Greg KH
On Mon, Mar 18, 2002 at 12:48:34PM +0100, Sebastian Linz wrote: > Don't you have an advice how I can solve the problem on my own? Until the > end of this week I've to get my web cam-grabber work. I can't wait till > somebody wrote necessary kernel updates. In my case I'm using the > pwc-driver

[linux-usb-devel] Re: [patch] uhci.c 2.4.19-pre3 erroneous completion callback

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 03:26:04PM -0500, Johannes Erdfelt wrote: > uhci.c would call the completion callback when the call to submit_urb > failed. This is a rare situation. > > This patch only calls the completion handler if the URB successfully > completed immediately (as in the case of talking

[linux-usb-devel] Re: [patch] uhci.c 2.4.19-pre3 kmem_cache_alloc flags

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 03:23:15PM -0500, Johannes Erdfelt wrote: > My previous patch which cleaned up some of the spinlocks, moved one of > the spinlocks around a call to kmem_cache_alloc. It would sometimes > erroneously call it with GFP_KERNEL. > > This patch fixes the problem by always callin

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-18 Thread Greg KH
On Mon, Mar 18, 2002 at 12:47:14AM -0500, Johannes Erdfelt wrote: > Unfortunately, I left out one line from my spinlock cleanup patch > recently. > > As a result, using interrupt URB's could cause a deadlock on SMP > kernels. > > This should fix the deadlock Greg reported. I've added this to my

Re: [linux-usb-devel] [lp.hp] USB and HP printers (was: New HP LaserJet 1200 won't print in Linux)

2002-03-18 Thread Greg KH
On Mon, Mar 18, 2002 at 06:02:13PM -0800, David Paschal wrote: > As of a few days ago, Greg KH (the Linux USB maintainer) has accepted > my changes into his trees, sent them to Linus for inclusion into the next > 2.5 kernel, and promised he would send them to Marcelo (for 2.4) in the > next few da

[linux-usb-devel] [lp.hp] USB and HP printers (was: New HP LaserJet 1200 won't print in Linux)

2002-03-18 Thread David Paschal
Hi, Since this question has come up a lot recently, I thought I should explain exactly what's going on and how to fix it in the short and long terms. Till, I apologize for not addressing this better until now, which is probably too late to do anything for Mandrake 8.2. The problem: if you connec

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-18 Thread David Brownell
> > For example, > > each interface that was bound might have a "U:" line, which could > > have "char 180/32" (and if devfs were in use, the name it uses) > > Remember there could be multiple U: lines (does anybody know offhand of a > USB device that has multiple physical devices on one USB inte

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-18 Thread David Brownell
Here are two whacks at this same problem. - One from Allen Barnett for printer support. It only works for devices published through device nodes, can't be applied to devices, and doesn't try to do anything smart with /devfs when it's available. - Something I whacked up really quickly, a b

[linux-usb-devel] Re: PATCH: echi and Intel ICH

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 08:31:15PM -0800, David Brownell wrote: > Hi Greg, > > Here's a patch against 2.5.7-pre1, please merge. applied, thanks. greg k-h ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-18 Thread Dmitri
Quoting Nemosoft Unv. <[EMAIL PROTECTED]>: > On Monday 18 March 2002 04:12, David Brownell wrote: > > > thus no ioctl(). > > > > There's this thing called JNI, which solves that. If they're doing stuff > > like memory mapping the video memory, it's being used already. > > If not, no big deal si

[linux-usb-devel] Re: PATCH (3 of 3) misc lowpri fixes

2002-03-18 Thread Greg KH
On Sat, Mar 16, 2002 at 05:59:26PM -0800, David Brownell wrote: > Hi, > > This is mostly minor doc cleanups, but it also stops inlining > some code in usb-ohci.h to save a chunk of memory. > > Against 2.5.7-pre1, please merge. Applied (actually I split it up into two different changesets.) tha

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-18 Thread Nemosoft Unv.
Hello, On Monday 18 March 2002 04:12, David Brownell wrote: > > thus no ioctl(). > > There's this thing called JNI, which solves that. If they're doing stuff > like memory mapping the video memory, it's being used already. > If not, no big deal since the code is Linux-specific in the first place

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-18 Thread Nemosoft Unv.
Hi, On Monday 18 March 2002 12:48, Sebastian Linz wrote: > > > Short version of the story: some simple kernel updates will solve your > > particular issue, but someone has to write and interface and submit > > patches for the webcams you're using. One model to follow (in the > > kernel) is how

[linux-usb-devel] Re: PATCH (2 of 3) mem flags nonpoisonous

2002-03-18 Thread Greg KH
On Sat, Mar 16, 2002 at 05:57:14PM -0800, David Brownell wrote: > Hi, > > This patch completely punts on passing SLAB_POISON, I've > gotten burnt by it once too many. Seems like the slab code > changed somewhere. I've got a separate patch to make the > pci_pool code use CONFIG_DEBUG_SLAB, which

Re: [linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.7-pre2

2002-03-18 Thread David Paschal
Greg KH wrote: > > [EMAIL PROTECTED], 2002-03-17 10:48:38-08:00, [EMAIL PROTECTED] > > USB printer patch > > > > added NEC printer to quirks list > > > > drivers/usb/printer.c |1 + > > 1 files changed, 1 insertion(+) ... > + { 0x0409, 0xefbe, USBLP_QUIRK_BIDIR }, /* NEC Picty900

[linux-usb-devel] Re: PATCH (1 of 3) hcd.c, non-HS periodic transfers

2002-03-18 Thread Greg KH
On Sat, Mar 16, 2002 at 05:54:02PM -0800, David Brownell wrote: > Hi, > > This patch adds a missing "break", which prevented low and full > speed periodic transfers from getting through the "hcd" framework > to the driver (OHCI, for now). Sigh... :) > > It's against 2.5.7-pre1, please merge. A

Re: [linux-usb-devel] Re: HP 959c AND quirk_printers

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 02:19:50PM +0900, Taisuke Yamada wrote: > > > I found a solution for my printing problem. > > I posted it a while ago, but nobody answered me :-( > > It seems USB interface that comes with HP printers are generally > broken and requires this "not-really-bidirectional" fla

Re: [linux-usb-devel] HP 959c AND quirk_printers

2002-03-18 Thread Greg KH
On Sat, Mar 16, 2002 at 11:59:54AM +0100, Kai Reichert wrote: > Hi ! > > I found a solution for my printing problem. > > I posted it a while ago, but nobody answered me :-( > > I've just updated the quirk_printers[] table with my model (HP 959c): I've just applied this patch to all 3 USB trees

[linux-usb-devel] 콘도21박 숙박 무료증정

2002-03-18 Thread 스위스콘도
Title: Äܵµ ¿Õ´ë¹Ú ¸¶Áö¸· Âù½º !!!  Äܵµ ¿Õ´ë¹Ú ¸¶Áö¸· Âù½º !!!   - ¹«·á ¼÷¹Ú±Ç 21¹Ú(ÀÏ) ÁõÁ¤ - ±¹³»Äܵµ´Â ¹°·Ð ÇØ¿Ü ¿©Çà 3³â°£ ¹«·á ÇýÅÃ. ·»Æ®Ä« 1ÀÏ ¹«·á(1Â÷ ȸ¿ø¿¡ ÇÑÁ¤) °Ü¿ï½ºÅ°¸®ÇÁÆ®, ·»Å» 30%-50% ÇÒÀÎ ±¹³» ÀüÁö¿ª Ç×°ø±Ç 10% ÇÒÀÎ  ÀüÈ­·Î Çà¿îÀ».  

[linux-usb-devel] URB model issues ... (was: Bluetooth USB driver problems recap)

2002-03-18 Thread David Brownell
> > > All of these exceptions are one of the reasons I dislike the current > > > (2.4) URB interface. > > > > I'm not entirely sure what you mean by that ... although I've begun to > > dislike "automagic resubmit" more. The ISO ring stuff is particularly > > annoying, there's no clean way to rep

[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.7-pre2

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 10:57:40AM -0800, Greg KH wrote: > [EMAIL PROTECTED], 2002-03-17 10:38:43-08:00, [EMAIL PROTECTED] > USB HID driver > > Workaround for the ATEN switches > > drivers/usb/hid-core.c | 38 -- > drivers/usb/hid.h |2 ++ >

[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.7-pre2

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 10:57:40AM -0800, Greg KH wrote: > [EMAIL PROTECTED], 2002-03-17 10:48:38-08:00, [EMAIL PROTECTED] > USB printer patch > > added NEC printer to quirks list > > drivers/usb/printer.c |1 + > 1 files changed, 1 insertion(+) # This is a BitKeeper generated patch

[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.7-pre2

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 10:57:40AM -0800, Greg KH wrote: > [EMAIL PROTECTED], 2002-03-17 10:31:22-08:00, [EMAIL PROTECTED] > USB serial drivers > > Several functions in the serial drivers can be called from bottom > half or interrupt context. They must use the GFP_ATOMIC flag for > call

[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.7-pre2

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 10:57:40AM -0800, Greg KH wrote: > [EMAIL PROTECTED], 2002-03-17 10:29:11-08:00, [EMAIL PROTECTED] > USB catc driver > > Here is a patch to add support for F5U011 to catc.c driver. The > patch has been compile tested against 2.5.6 and 2.5.7pre1 > (and tested ag

[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.7-pre2

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 10:57:40AM -0800, Greg KH wrote: > [EMAIL PROTECTED], 2002-03-17 10:14:24-08:00, [EMAIL PROTECTED] > USB Urefs for hid-core/hiddev > > I've written a patch Vojtech and I discussed for enhancing the > hiddev code to optionally provide more detailed output on read(

[linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.7-pre2

2002-03-18 Thread Greg KH
On Sun, Mar 17, 2002 at 10:57:40AM -0800, Greg KH wrote: > [EMAIL PROTECTED], 2002-03-17 10:07:21-08:00, [EMAIL PROTECTED] > USB printer update > > - bind to 7/1/2 alternate setting by default, to fix printing with HP > LaserJet 1200 and 2200 > - ioctls needed by the GPL user-mode IEE

Re: [Bluez-devel] Re: [linux-usb-devel] Bluetooth USB driver problems recap.

2002-03-18 Thread Johannes Erdfelt
On Sun, Mar 17, 2002, David Brownell <[EMAIL PROTECTED]> wrote: > > There is one small problem with uhci.c (patch appended) where it checks > > urb->status after the completion handler. It should only do this if it's > > an auto resubmitting interrupt URB, but we always checked it. > > > > Other

Re: [linux-usb-devel] Problem with usb-uhci

2002-03-18 Thread Georg Acher
On Mon, Mar 18, 2002 at 02:41:55PM +0100, "David Müller (ELSOFT AG)" wrote: > usb_stor_allocate_irq(2) ss->current_urb: 43543d36 ss->irq_urb: 2f736269 Looks to me like ASCII ("CT=6" and "/sbi", maybe /sbin?). > Obviously the values in ss->cuurent_urb and ss->irq_urb (and possibly > others)

[linux-usb-devel] Problem with usb-uhci

2002-03-18 Thread "David Müller (ELSOFT AG)"
Hello I have a strange problem with the driver for the UHCI controller. For me i looks like a memory corruption caused by a call to usb_submit_urb() in usb_stor_allocate_irq() in drivers/usb/storage/usb.c. The used hardware is an Intel PIIX4 southbridge connected to an embedded IBM PowerPC con

RE: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-18 Thread Sebastian Linz
Hi, > Hey, I'm the guy who did the original Java USB API (on Linux), so I'm > not going to worry about that! (http://jusb.sourceforge.net :) You really impress me. > Of course I've not done a lot with it beyond still image camera support, but that's > because the Right Way to do webcams is lik

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-18 Thread David Brownell
> > It can be solved for any particular driver just by adding usb(dev)fs ioctl > > support to that driver. > > :o) > > > Define a structure, say FOO, that ... > > :o/ urgh, could you please be more concrete. As a java developer I don't > want to spam your mailing list. Hey, I'm the guy who d