[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071201100422.GA14566@gamma.logic.tuwien.ac.at>
Date: Sat, 1 Dec 2007 11:04:22 +0100
From: Norbert Preining <preining@...ic.at>
To: Pete Zaitcev <zaitcev@...hat.com>
Cc: Jaime Velasco Juan <jsagarribay@...il.com>,
Oliver Neukum <oliver@...kum.org>,
Johann Wilhelm <johann.wilhelm@...dent.tugraz.at>,
Rui Santos <rsantos@...popie.com>, linux-usb@...r.kernel.org,
kristoffer.ericson@...il.com, drussell@...hat.com,
linux-kernel@...r.kernel.org, greg@...ah.com
Subject: Re: [PATCH] USB: option: Bind to the correct interface of the Huawei E220
On Sa, 01 Dez 2007, Pete Zaitcev wrote:
> > is this the only addition that should be needed, ortogether with the
> > changes in option to call the huawei init function?
>
> The only one.
Ok.
> Your problem is something else. Neither my patch nor Jaime's patch
> address it. Honestly, I'm not even sure how to tackle it. I seem to
Ah, ok.
> recall that I had a usbmon trace from you but I'm unable to find it now.
> Gettin it (again?) probably would be a good place to restart that
> investigation.
I am not sure that I used usbmon ...,I can't recall it, but I know what
the problem is, I need this patch:
--- drivers/usb/storage/initializers.c.orig 2007-11-17 12:29:25.000000000 +0100
+++ drivers/usb/storage/initializers.c 2007-11-17 12:29:37.000000000 +0100
@@ -100,7 +100,7 @@
result = usb_stor_control_msg(us, us->send_ctrl_pipe,
USB_REQ_SET_FEATURE,
USB_TYPE_STANDARD | USB_RECIP_DEVICE,
- 0x01, 0x0, us->iobuf, 0x1, 1000);
+ 0x01, 0x0, us->iobuf, 0, 1000);
US_DEBUGP("usb_control_msg performing result is %d\n", result);
return (result ? 0 : -1);
}
With this everything works really smoothly. Even better, now I do get
only 2 (instead of prior 3) /dev/ttyUSB devices (that caused some
problems with umtsmon).
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@...ic.at> Vienna University of Technology
Debian Developer <preining@...ian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
POLBATHIC (adj.)
Gifted with ability to manipulate taps using only the feet.
--- Douglas Adams, The Meaning of Liff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists