[linux-usb-devel] Re: PATCH: 2.5.8 ehci, submit errors

2002-04-22 Thread David Brownell
Oh, and for non-x86 platforms with interesting pci mapping, this tweak to one new routine would be important in a particular error path I've yet to see ... :) Please include along with ehci-0420. - Dave ehci-0420b.patch Description: Binary data

Re: [linux-usb-devel] data transffer over USB cable

2002-04-22 Thread David Brownell
> I have compiled 2.4.18 kernel with USB support and instered the usbnet.o > module. After insterting the module is the ifconfig command supposed to show > any USB device ? Only if there's such a USB device present ... you say there isn't. Why would you expect the kernel to tell you about hardw

[linux-usb-devel] usb_bulk_message equivalent

2002-04-22 Thread Daniel Cruz
Hello, Anybody know if there si any equivalent wrapper as usb_bulk_message for interrupt endpoints, or for interrupt endpoints I have to malloc(), fill_int_urb and submitn_urb...??... Thanks, daniel. ___ [EMAIL PROTECTED] To unsubscribe, use the l

Re: [linux-usb-devel] usb_bulk_message equivalent

2002-04-22 Thread David Brownell
Not today, though you should be able (in current kernels) to create one by submitting the interrupt urb and unlinking it in your completion callback (after one packet's transfer). To transfer N packets, update your transfer buffer in all but the last callback. Other approaches won't work on all H

Re: [linux-usb-devel] usb_bulk_message equivalent

2002-04-22 Thread Johannes Erdfelt
On Mon, Apr 22, 2002, Daniel Cruz <[EMAIL PROTECTED]> wrote: > Anybody know if there si any equivalent wrapper as usb_bulk_message for > interrupt endpoints, or for interrupt endpoints I have to malloc(), > fill_int_urb and submitn_urb...??... You mean a synchronous interrupt transfer? JE __

[linux-usb-devel] oopses with both uhci and usb-uhci from 2.5.x

2002-04-22 Thread Jak
I have been getting kernel oopses with all recent 2.5.x kernels, since at least 2.5.7pre series, possibly before. I normally use modules usb-uhci and acm, but started getting lockups when trying to access modem. Playing around with these modules, I find that usb-uhci will oops after being load

[linux-usb-devel] Question on mass storage and LUN

2002-04-22 Thread Haefliger, Juerg
Hello, I'm currently writting a driver for the Compaq PA-2 MP3 player. This device can hold up to 2 memory cards and I'm implementing the driver such that is treats the PA-2 as dual-LUN device. The question now is how/when to I report to the upper layer if there is no memory card in one (or bo

[linux-usb-devel] Re: PATCH: 2.5.8 ehci, submit errors

2002-04-22 Thread Greg KH
On Sat, Apr 20, 2002 at 02:00:53PM -0700, David Brownell wrote: > Hi, > > This patch applies against 2.5.8 (and, with minor fuzz, against > 2.5.8 plus the ehci-0411.patch you resubmitted). Applied, thanks. greg k-h ___ [EMAIL PROTECTED] To unsubscrib

[linux-usb-devel] Re: PATCH: 2.5.8 ehci, submit errors

2002-04-22 Thread Greg KH
On Mon, Apr 22, 2002 at 06:49:38AM -0700, David Brownell wrote: > Oh, and for non-x86 platforms with interesting pci > mapping, this tweak to one new routine would be > important in a particular error path I've yet to see ... :) > > Please include along with ehci-0420. Applied, thanks. greg k-h

[linux-usb-devel] set_bit() and friends now need a long paramater

2002-04-22 Thread Greg KH
Hi all, In the latest 2.5.x bleeding edge bk tree, set_bit() and friends have changed to require a long as the second parameter. Here are the warning messages I get when building the USB tree: ehci-hub.c: In function `ehci_hub_status_data': ehci-hub.c:94: warning: passing arg 2 of `set_bit' fro

Re: [linux-usb-devel] oopses with both uhci and usb-uhci from 2.5.x

2002-04-22 Thread Greg KH
On Mon, Apr 22, 2002 at 06:52:21PM +0100, Jak wrote: > > I have been getting kernel oopses with all recent 2.5.x kernels, since at > least 2.5.7pre series, possibly before. I normally use modules usb-uhci and > acm, but started getting lockups when trying to access modem. Playing around > with

Re: [linux-usb-devel] Mistake in usb.c

2002-04-22 Thread Greg KH
On Sun, Apr 21, 2002 at 02:41:38PM +, Dominik Kuhlen wrote: > Hello > > I diffed the usb.c of kernel 2.5.8 as described in Documentation/SubmittingPatches. > > But this patch looks different to the others posted on this list. > Do you have any guidelines (eg. a/... b/ directories, th

[linux-usb-devel] [BK PATCH] USB changes for 2.5.8

2002-04-22 Thread Greg KH
Pull from: bk://linuxusb.bkbits.net/linus-2.5 (this includes some changesets from the last round I sent that haven't ended up in your tree yet) CREDITS | 10 Documentation/usb/brlvger.txt | 36 + Documentation/usb/ov511.txt | 14

Re: [linux-usb-devel] Question on mass storage and LUN

2002-04-22 Thread Matthew Dharm
Return MEDIUM_NOT_PRESENT on any condition which requires media access. That is, INQUIRY should always work. Also, remember to return "not ready to ready transition" on the first media access command, so the host knows that the device was just (re-)attached, and thus we have to throw away all pre

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

2002-04-22 Thread Greg KH
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet1.536 -> 1.537 # Documentation/usb/o

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

2002-04-22 Thread Greg KH
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet1.539 -> 1.540 # drivers/usb/serial/

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

2002-04-22 Thread Greg KH
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet1.538 -> 1.539 # drivers/usb/net/rtl

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

2002-04-22 Thread Greg KH
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet1.542 -> 1.543 # drivers/usb/core/us

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

2002-04-22 Thread Greg KH
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet1.540 -> 1.541 # drivers/usb/host/eh

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

2002-04-22 Thread Greg KH
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet1.541 -> 1.542 # drivers/usb/host/eh

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

2002-04-22 Thread Greg KH
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet1.537 -> 1.538 # drivers/usb/media/o

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

2002-04-22 Thread Greg KH
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet1.535 -> 1.536 # drivers/usb/misc/Co