Re: [linux-usb-devel] Re: serious 2.6 bug in USB subsystem?

2004-03-10 Thread David Mosberger
David, Here is some comments on the 2.6.4 ohci driver relative to my original proposed patch: - The state which I called ED_DESCHEDULED you represent with "ED_UNLINK && not on the ed_rm_list" - The state which I called ED_UNLINK you represent with "ED_UNLINK && on the ed_rm_list" This l

[linux-usb-devel] Support for Video Class

2004-03-10 Thread Syed Nasehuddin ALVI
Has work started on supporting Video Class in linux and what about the New Interface Associate Descriptors ? --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of Gen

[linux-usb-devel] Cardbus ehci *solved*

2004-03-10 Thread Brad Campbell
Betcha all were hoping I had gone away huh? I sent a query to o2micro about the OZ6933 cardbus bridge detailing my woes and was informed (within the limits of what the kind man could tell me given this info is undocumented) of a couple of points. Firstly the OZ6933 bridge should have a latency o

Re: [linux-usb-devel] Re: serious 2.6 bug in USB subsystem?

2004-03-10 Thread David Mosberger
> On Wed, 10 Mar 2004 18:43:25 -0800, David Brownell <[EMAIL PROTECTED]> said: David.B> David Mosberger wrote: >> The current OHCI relies on the internals of the dma_pool() >> implementation. ... David.B> It'd be good if you said _how_ you think it relies on such David.B> internal

[linux-usb-devel] USB Driver.

2004-03-10 Thread sumesh
Hi, I would like to connect a PCMCIA Card to the USB Port through a PCMCIA-USB Adaptor. For this to function, I have to develop drivers. I see two approaches:- 1. Redirecting requests to PCMCIA Driver by the USB Driver(Filter between USB Port n PCMCIA Driver). 2. USB Driver

[linux-usb-devel] UHCI

2004-03-10 Thread Malcolm Blaney
Hi all, I have been writing to the users list about usb not working on a Boser single board computer, but have got around the problem by removing the line: uhci->fsbr = 0; in uhci.c: alloc_uhci() in the 2.4.23 kernel. Removing the line didn't work for 2.6 kernels, but changing it to: uhci->fsbr

Re: [linux-usb-devel] Re: serious 2.6 bug in USB subsystem?

2004-03-10 Thread David Brownell
David Mosberger wrote: >> The current OHCI relies on the internals of the dma_pool() >> implementation. ... David.B> It'd be good if you said _how_ you think it relies on such David.B> internals. I thought I did. Suppose somebody changed the dma_pool code such that it would overwrite fre

[linux-usb-devel] [patch 2.6.4] add "gadget_chips.h"

2004-03-10 Thread David Brownell
This adds standard gadget_is_*() calls. Gadget drivers using those calls can get rid of some inlined #ifdefs, and will also be able to do more "late binding" to their hardware. Please merge. - Dave Define gadget_is_*() calls, to help do late binding to USB controllers. Current gadget drivers exp

[linux-usb-devel] failure notice

2004-03-10 Thread MAILER-DAEMON
Hi. This is the qmail-send program at mail4.elitel.it. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[EMAIL PROTECTED]>: Sorry, no mailbox here by that name. vpopmail (#5.1.1) --- Below this line i

[linux-usb-devel] Re: [PATCH] usblp.c (Was: usblp_write spins forever after an error)

2004-03-10 Thread Greg KH
On Fri, Mar 05, 2004 at 06:11:51PM +, Paulo Marques wrote: > > Here it is. > > The patch is only one line for 2.6.4-rc2. (I also did a little formatting > adjustment to better comply with CodingStyle) > > For the 2.4.26-pre1 kernel, I also backported the return codes correction > patch fro

[linux-usb-devel] Re: PATCH: (as214) Avoid babble errors when reading strings

2004-03-10 Thread Greg KH
On Thu, Mar 04, 2004 at 01:16:46PM -0500, Alan Stern wrote: > On Thu, 4 Mar 2004, Ullrich Sigwanz wrote: > > > Hello, > > > > After compiling a new 2.6 kernel my Hewlett Packard Scanner 4300C was no > > longer detected. > > The console output was usb_control/bulk_msg: timeout > > > > I investiga

[linux-usb-devel] failure notice

2004-03-10 Thread MAILER-DAEMON
Hi. This is the qmail-send program at apocalypse.mvista.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[EMAIL PROTECTED]>: 10.0.0.15 failed after I sent the message. Remote host said: 550 Unacc

[linux-usb-devel] Re: [2.6 patch] USB_STORAGE: remove a comment

2004-03-10 Thread Greg KH
On Tue, Mar 09, 2004 at 02:42:36AM +0100, Adrian Bunk wrote: > In 2.6, USB_STORAGE selects SCSI, so there's no longer a need for this > comment. Applied, thanks. greg k-h --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux t

[linux-usb-devel] Re: [PATCH]locking fix for pid.c

2004-03-10 Thread Greg KH
On Mon, Mar 08, 2004 at 03:56:27AM +0100, Oliver Neukum wrote: > Hi, > > you forgot to drop a spinlock before you report an error. A deadlock > will occur. Applied, thanks. greg k-h --- This SF.Net email is sponsored by: IBM Linux Tutorials F

[linux-usb-devel] Re: [PATCH]fixes for aiptek driver

2004-03-10 Thread Greg KH
On Mon, Mar 08, 2004 at 02:36:56PM +0100, Oliver Neukum wrote: > Hi, > > -don't pass buffers allocated on stack to the sync helpers > -check errors in probe > -fix count in open > -proper macros Applied, thanks. greg k-h --- This SF.Net email

[linux-usb-devel] Re: [PATCH]wacom driver

2004-03-10 Thread Greg KH
On Mon, Mar 08, 2004 at 11:41:53PM +0100, Oliver Neukum wrote: > Hi, > > the same error code path as in the other drivers. > In addition I added the endianness macros. They save cycles > in interrupt. Applied, thanks. greg k-h --- This SF.Net

[linux-usb-devel] Re: [PATCH]bug in error code path of kbtab driver

2004-03-10 Thread Greg KH
On Mon, Mar 08, 2004 at 01:51:02PM +0100, Oliver Neukum wrote: > Hi, > > this fixes > - a leak in the error code path of open() > - removes SLAB_ATOMIC where it isn't needed > - uses le16_to_cpu (yes Pete, unaligned access is taken care of) Applied, thanks. greg k-h ---

[linux-usb-devel] Re: bundled patches

2004-03-10 Thread Greg KH
On Tue, Mar 09, 2004 at 03:22:05AM +0100, Oliver Neukum wrote: > Hi, > > Sourceforge is blocking my mails. Their Spamassassin is going wild. > Therefore I am trying to get through to you by bundling all patches > in one chunk. I am sorry about the inconvinience. They got to me just fine, and I've

[linux-usb-devel] Re: [PATCH] net2280 section usage

2004-03-10 Thread Greg KH
On Sun, Mar 07, 2004 at 07:49:58PM -0800, Randy.Dunlap wrote: > > Hi, > > Please apply to 2.6.current. > > -- > ~Randy > > > // Linux 2.6.4-rc2 > // net2280_remove() is called by net2280_probe() so it > // shouldn't be marked as __exit; Applied, thanks, greg k-h ---

[linux-usb-devel] Re: PATCH: (as218) Remove interface/altsetting assumptions from usb-midi

2004-03-10 Thread Greg KH
On Mon, Mar 08, 2004 at 05:10:03PM -0500, Alan Stern wrote: > Greg: > > This patch makes the usb-midi driver use usb_ifnum_to_if(), thereby > removing assumptions about which interface is stored in which array entry. > Similarly, it stores the bAlternateSetting value rather than the array > in

[linux-usb-devel] Re: [patch 2.6.3] usbcore doc update, for queueing

2004-03-10 Thread Greg KH
On Mon, Mar 08, 2004 at 05:46:19PM -0800, David Brownell wrote: > Some doc updates, mostly from Alan Stern, clarifying > quetions folk have asked recently about unlinking > and about iso transfers. > > Please merge. Applied, thanks. greg k-h

Re: [linux-usb-devel] Casio QV-R4 digicam

2004-03-10 Thread Alan Stern
On Wed, 10 Mar 2004, Christoph Feikes wrote: > Hello! > > PC running Linux kernel 2.6.3, excerpt of /var/log/messages follows: > Mar 10 08:58:16 rooster kernel: usb-storage: Vendor: Casio > Mar 10 08:58:16 rooster kernel: usb-storage: Product: QV DigitalCamera > Mar 10 08:58:16 rooster kernel: u

[linux-usb-devel] Re: [PATCH 2.6.3] usb_unlink_urb() has distinct "not linked" fault

2004-03-10 Thread Greg KH
On Mon, Mar 08, 2004 at 08:18:06PM -0800, David Brownell wrote: > This gets rid of an often-bogus diagnostic, and lets > at least the unlink test code recover reasonably when > it hits that brief window while another CPU has gotten > the complete() callback but hasn't yet resubmitted. > > Please m

[linux-usb-devel] Re: [patch 2.6.3] gadget zero, simplified controller-specific configuration

2004-03-10 Thread Greg KH
On Tue, Mar 09, 2004 at 06:30:56PM -0800, David Brownell wrote: > This removes several controller-specific #define, and > converts to using the config_buf utilities. Depends > on the patch I submitted yesterday. Looking simpler! > > Please merge. Applied, thanks. greg k-h --

[linux-usb-devel] Re: [patch 2.6.3] usbtest updates (new firmware)

2004-03-10 Thread Greg KH
On Mon, Mar 08, 2004 at 08:25:49PM -0800, David Brownell wrote: > This includes some small updates to "usbtest", mostly > from Martin Diehl. Please merge. Applied, thanks. greg k-h --- This SF.Net email is sponsored by: IBM Linux Tutorials F

[linux-usb-devel] Re: [patch 2.6.3] usb buffer allocation shouldn't require DMA

2004-03-10 Thread Greg KH
On Tue, Mar 09, 2004 at 02:41:50PM -0800, David Brownell wrote: > Deepak's recent dma_pool changes accidentally assumed that > all HCDs use DMA. The fix is simple: use kmalloc/kfree > when there's no DMA. > > Please merge. Applied, thanks. greg k-h --

[linux-usb-devel] Re: PATCH: (as220) Altsetting/interface update for USB image drivers

2004-03-10 Thread Greg KH
On Tue, Mar 09, 2004 at 04:59:47PM -0500, Alan Stern wrote: > Greg: > > This patch contains minute updates for the hpusbscsi, mdc800, and microtek > drivers. Only two things are worth noting. In the mdc800 driver I > removed some unnecessary calls to usb_driver_claim_interface(), > usb_driver

[linux-usb-devel] Re: [patch 2.6] usb gadget, dualspeed {run,compile}-time flags

2004-03-10 Thread Greg KH
On Mon, Mar 08, 2004 at 06:42:57PM -0800, David Brownell wrote: > This is the first several autoconfig patches; please merge. > This particular one abstracts dual-speed (high and full) > support. Applied, thanks. greg k-h --- This SF.Net email

Re: [linux-usb-devel] "Badness in local_bh_enable at kernel/softirq.c:121" using ohci-hdc

2004-03-10 Thread jeanseb valette
Ok but now how should I schedule tasklet to do BH things ? On Wed, 10 Mar 2004 11:15:30 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > It's guaranteed that URB completions will be called > with IRQs blocked -- for all HCDs. > > Any device driver that assumes otherwise is buggy. > > > --

[linux-usb-devel] Casio QV-R4 digicam

2004-03-10 Thread Christoph Feikes
Hello! PC running Linux kernel 2.6.3, excerpt of /var/log/messages follows: Mar 10 08:58:16 rooster kernel: usb 1-1.2: new full speed USB device using address 3 Mar 10 08:58:16 rooster kernel: usb-storage: USB Mass Storage device detected Mar 10 08:58:16 rooster kernel: usb-storage: act_altsettin

[linux-usb-devel] Re: serious 2.6 bug in USB subsystem?

2004-03-10 Thread Colin Leroy
Hi, Your patch at http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107890218325615&w=2 does fix the "OHCI unrecoverable error" and "ep0in control timeout" and the other errors I kept getting with my ACM modem (motorola GPRS phone). Thanks ! (PS I also applied this one: http://marc.theaimsgro

Re: [linux-usb-devel] "Badness in local_bh_enable at kernel/softirq.c:121" using ohci-hdc

2004-03-10 Thread David Brownell
It's guaranteed that URB completions will be called with IRQs blocked -- for all HCDs. Any device driver that assumes otherwise is buggy. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbi

Re: [linux-usb-devel] [PATCH 2.6.4-rc2] Disable USB Gadget if Support for USB is disabled

2004-03-10 Thread Greg KH
On Sun, Mar 07, 2004 at 03:11:08PM -0800, David Brownell wrote: > Marc-Christian Petersen wrote: > > > >I think the attached patch is needed to stop showing us USB Gadget support > >if Support for USB is disabled. > > No it isn't. But maybe the attached patch would clarify what's > really going

[linux-usb-devel] Re: [patch 2.6.3] usbnet and ALI M5632

2004-03-10 Thread Greg KH
On Thu, Mar 04, 2004 at 04:51:37PM -0800, David Brownell wrote: > Some of the 480 Mbit/sec USB host-to-host links have ALI > chips in them. They seem to work with no problem, given > this patch, even when the ends talk different speed. Applied, thanks. greg k-h

Re: [linux-usb-devel] "Badness in local_bh_enable at kernel/softirq.c:121" using ohci-hdc

2004-03-10 Thread jeanseb valette
iso and bulk callback call tasklet_schedule to either schedule the tasklet for dealing with received cell or send pending one. BUT it must have traffic (may be bad cell received from the line). this point of code in finish_urb seem to be the source of the problem : /* urb->complete() ca

Re: [linux-usb-devel] Re: serious 2.6 bug in USB subsystem?

2004-03-10 Thread David Mosberger
> On Wed, 10 Mar 2004 08:22:26 -0800, David Brownell <[EMAIL PROTECTED]> said: David.B> It won't add new BUG_ON calls (WARN at worst) I put them there mostly as assertions. What I'd really want there is a DEBUG_BUG_ON, which is more like assert() in user-land (i.e., production code would d

[linux-usb-devel] Re: [PATCH] establish minimal idle period before initializing reports

2004-03-10 Thread David Mosberger
> On Wed, 10 Mar 2004 09:23:34 +0100, Vojtech Pavlik <[EMAIL PROTECTED]> said: >> If so, wouldn't/shouldn't HID force it back to the normal "report >> protocol"? Vojtech> Maybe yes, but there are devices which crash if you try to Vojtech> do that. :( You mean sending Set_Protocol to

[linux-usb-devel] Oops in 2.6 in ohci hc_start (bz#117738)

2004-03-10 Thread Pete Zaitcev
A strange oops happens for one of Fedora users, described in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117738 xwing kernel: hub 3-0:1.0: 3 ports detected xwing kernel: ohci_hcd :02:06.1: OHCI Host Controller xwing kernel: ohci_hcd :02:06.1: irq 193, pci mem 4289e000 xwing kerne

[linux-usb-devel] (SMTP) Virus found in a message you sent

2004-03-10 Thread _Svc_NortonAV
(SMTP) A virus was found in a message sent by this account. --- Scan information follows --- Result: Virus Detected Virus Name: [EMAIL PROTECTED] File Attachment: ps.doc.exe Attachment Status: deleted --- Original message information follows --- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Dat

[linux-usb-devel] Delivery Status Notification (Failure)

2004-03-10 Thread postmaster
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] Reporting-MTA: dns;sy2ba-exch.synergon.hu Received-From-MTA: dns;sy2ba-smtp.synergon.hu Arrival-Date: Wed, 10 Mar 2004 18:13:51 +0100 Final-Recipient: rfc822;

Re: [linux-usb-devel] "Badness in local_bh_enable at kernel/softirq.c:121" using ohci-hdc

2004-03-10 Thread kolja
David Brownell wrote: kolja wrote: i'm using kernel 2.6.2-rc2 and testing kernelmode Driver for ECI usb adsl modem Looks like that modem driver's urb completion callback is making a call it's not allowed to make. here is the code handling callback :

Re: [linux-usb-devel] "Badness in local_bh_enable at kernel/softirq.c:121" using ohci-hdc

2004-03-10 Thread David Brownell
kolja wrote: i'm using kernel 2.6.2-rc2 and testing kernelmode Driver for ECI usb adsl modem Looks like that modem driver's urb completion callback is making a call it's not allowed to make. --- This SF.Net email is sponsored by: IBM Linux Tutor

Re: [linux-usb-devel] 2.6 ARM SA11x0 Gadget Driver?

2004-03-10 Thread David Brownell
[EMAIL PROTECTED] wrote: Any pointers would be very appreciated. I'd be willing to put some work into this, with the ultimate goal to port it back to 2.4. I'm not exactly an USB wizard, tho ;p I think starting with the existing 2.4 "sa1100usb_core" non-gadget code might be easier than starting with

[linux-usb-devel] Sharp Zaurus cradle and kernel 2.6 : khubd oops

2004-03-10 Thread Matthias Saou
Hi, I reported this problem on the fedora-devel-list, but someone suggested I should also here, as I would probably get more information about it. The kernel mentioned is in fact based on 2.6.3-bk5 with a few Red Hat specific patches. Matthias -- From: Matthias Saou To: Fedora Devel List <[EMA

Re: [linux-usb-devel] Re: serious 2.6 bug in USB subsystem?

2004-03-10 Thread David Brownell
I'll send out a revised patch later, thanks! It's also good this code got a more careful read. It seems like some things are not as obvious as I might like... That patch will merge those list corruption fixes I sent, the "else" you verified was needed (ugh!!!), and some of what you include here.

Re: [linux-usb-devel] Over-current change - VIA Chipset.

2004-03-10 Thread Anders Misfeldt
On Thu, 26 Feb 2004 09:02:20 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > Looks like whoever built your VT6202 based card may > have wired it up strangely ... and in such a way that > it generates bogus overcurrent reports. If there's > a workaround in software, we'd need to see the > additi

[linux-usb-devel] "Badness in local_bh_enable at kernel/softirq.c:121" using ohci-hdc

2004-03-10 Thread kolja
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi all , i'm using kernel 2.6.2-rc2 and testing kernelmode Driver for ECI usb adsl modem when driver starts to send bulk urb to the device dmesg reports some errors here is the dmesg log Mar 10 12:15:33 localhost kernel: GlobeSpan GS7470 USB ADSL WAN Mo

Re: [linux-usb-devel] Over-current change - VIA Chipset.

2004-03-10 Thread Anders Misfeldt
On Thu, 26 Feb 2004 09:02:20 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > Looks like whoever built your VT6202 based card may > have wired it up strangely ... and in such a way that > it generates bogus overcurrent reports. If there's > a workaround in software, we'd need to see the > additi

[linux-usb-devel] 2.6 ARM SA11x0 Gadget Driver?

2004-03-10 Thread stefan . eletzhofer
Hi, as I'm messing around with the good ol' SA11x0 processor, I wonder if there is some work to get the UDC of this processor to work with the Gadget API. Any pointers would be very appreciated. I'd be willing to put some work into this, with the ultimate goal to port it back to 2.4. I'm not exact

[linux-usb-devel] hiddev - read

2004-03-10 Thread Martin Kneppe
I have a problem reading from my hid-device using the hid module. I managed to send commands to the device using the CSREPORT and CSUSAGE, but i cant seem to get the information back from the device. As i have writen the firmware myself, i know that the device responds to command through endpoin

[linux-usb-devel] Re: [PATCH] establish minimal idle period before initializing reports

2004-03-10 Thread Vojtech Pavlik
On Tue, Mar 09, 2004 at 11:54:51PM -0800, David Mosberger wrote: > > On Wed, 10 Mar 2004 08:41:04 +0100, Vojtech Pavlik <[EMAIL PROTECTED]> said: > > Vojtech> It's supposed to do that only in case it's planning to use > Vojtech> the limited HID-BP protocol. > > I was concerned that the f