Re: [linux-usb-devel] Thoughts on a new driver

2007-02-02 Thread Jiri Kosina
On Thu, 1 Feb 2007, Phil Dibowitz wrote: What's odd is when I plug it in, it declares itself a HID device: bInterfaceClass 3 Human Interface Devices bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None Feb 1 22:44:04 rider kernel: usb 3-1: new full

[linux-usb-devel] Perspective Vacancy in Travel Industry

2007-02-02 Thread Andrew Malkovich
Hello, We hope you are reading this message in a fine mood. I'd like to welcome you on a very interesting opportunity. We supppose you will be very interested in a home job in which you could get about AUD4000 per month. This job will not affect your present career, it will only take a small

Re: [linux-usb-devel] Fw: 2 GB SD card problem vs. 2.6.20-rc7 (FAT: Filesystem panic (dev sdc1))

2007-02-02 Thread Till Harbaum / Lists
Hi, i have a similar card. I somehow figured out that this card in fact has 1k sectors, not 512 bytes (i don't remember how, perhaps with a windows tool or my palm ...). This happens with at least three different card readers which is interesting, because my digital camera when being used as a

Re: [linux-usb-devel] ASIX: AX88772 usb ethenet on big-endian system

2007-02-02 Thread David Hollis
On Fri, 2007-02-02 at 10:38 +0800, Dave Liu wrote: On Thu, 2007-02-01 at 10:47 -0500, David Hollis wrote: On Tue, 2007-01-30 at 07:38 -0500, David Hollis wrote: If the AX88172 device seemed to work fine, that at least narrows it down. Most of the code is shared between the two except

[linux-usb-devel] [RFC] [PATCH 0/5]: Composite Devices Support

2007-02-02 Thread Felipe Balbi
The following patch series add support for Composite Devices following what was proposed David Brownell's patch. Each patch modify one g_* module (ether, file_storage, serial) and another one sets up the base for such support. We have some known issues but the code is working pretty fine with

[linux-usb-devel] [RFC] [PATCH 1/5]: Composite Devices Support

2007-02-02 Thread Felipe Balbi
Add linux/usb/composite.h interfaces for composite gadget drivers: - struct usb_function ... grouping one or more interfaces into a function that will often be managed as one unit; - struct usb_composite_driver ... grouping one or more such functions into a gadget

[linux-usb-devel] [RFC] [PATCH 2/5]: Composite Devices Support

2007-02-02 Thread Felipe Balbi
[PATCH] Base work for composite gadget support. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] Signed-off-by: Ragner Magalhaes [EMAIL PROTECTED] --- Index: 2.6-dev/drivers/usb/gadget/Kconfig === ---

[linux-usb-devel] [RFC] [PATCH 3/5]: Composite Devices Support

2007-02-02 Thread Felipe Balbi
[PATCH] g_ether modification for it to become a USB_FUNCTION. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] Signed-off-by: Ragner Magalhaes [EMAIL PROTECTED] --- Index: 2.6-dev/drivers/usb/gadget/ether.c === ---

[linux-usb-devel] [RFC] [PATCH 5/5]: Composite Devices Support

2007-02-02 Thread Felipe Balbi
[PATCH] g_serial modification for it to become a USB_FUNCTION. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] Signed-off-by: Ragner Magalhaes [EMAIL PROTECTED] --- Index: 2.6-dev/drivers/usb/gadget/serial.c === ---

[linux-usb-devel] [RFC] [PATCH 4/5]: Composite Devices Support

2007-02-02 Thread Felipe Balbi
[PATCH] g_file_storage modification for it to become a USB_FUNCTION. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] Signed-off-by: Ragner Magalhaes [EMAIL PROTECTED] --- Index: 2.6-dev/drivers/usb/gadget/file_storage.c === ---

[linux-usb-devel] [RFC] [NOTES]: Composite Devices Support

2007-02-02 Thread Felipe Balbi
Hello all, 1. The patch series we're implemented using Linux OMAP git tree. 2. We didn't test it with the later Linus's git tree. -- Best Regards, Felipe Balbi [EMAIL PROTECTED] Nokia Institute of Technology - INdT Kernel Developers Team +55 92 2126 1003

[linux-usb-devel] hub does disconnect when resuming

2007-02-02 Thread Alan Stern
Prakash: I think it's possible to add a workaround to the kernel for the problem you've been seeing with your hub and scanner. But first I need to see some more detailed logging information about exactly what happens when you try to resume the scanner. When you have a chance, please try hooking

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-02 Thread David Hollis
On Thu, 2007-02-01 at 22:48 -0800, Phil Dibowitz wrote: Hey folks, I have a USB device that isn't support in linux. So, of course, I've been toying with the idea of writing a driver for it. It's a Logitech Harmony 880 universal remote. I'm thinking it's probably a good candidate for a

Re: [linux-usb-devel] Fw: 2 GB SD card problem vs. 2.6.20-rc7 (FAT: Filesystem panic (dev sdc1))

2007-02-02 Thread Alan Stern
On Thu, 1 Feb 2007, Andrew Morton wrote: Apparently this is a usb-storage problem. I don't think so. It may be a hardware problem. Begin forwarded message: Date: Thu, 1 Feb 2007 14:00:15 +0100 From: Kobajashi Zaghi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc:

Re: [linux-usb-devel] hub does disconnect when resuming

2007-02-02 Thread Prakash Punnoor
Am Freitag 02 Februar 2007 schrieb Alan Stern: When you have a chance, please try hooking the scanner up to that bad hub port again, and use the usbmon facility. Instructions are in the kernel source file Documentation/usb/usbmon.txt. Start acquiring the usbmon log before running sane, and

Re: [linux-usb-devel] Fw: 2 GB SD card problem vs. 2.6.20-rc7 (FAT: Filesystem panic (dev sdc1))

2007-02-02 Thread Wolfgang Mües
Hello, On Freitag, 2. Februar 2007, Till Harbaum / Lists wrote: i have a similar card. I somehow figured out that this card in fact has 1k sectors, not 512 bytes No. The card has 512 bytes per sector (this is fixed for all SD cards), but the CAPACITY of the card is reported in 1K sectors.

Re: [linux-usb-devel] hub does disconnect when resuming

2007-02-02 Thread Alan Stern
On Fri, 2 Feb 2007, Prakash Punnoor wrote: Am Freitag 02 Februar 2007 schrieb Alan Stern: When you have a chance, please try hooking the scanner up to that bad hub port again, and use the usbmon facility. Instructions are in the kernel source file Documentation/usb/usbmon.txt. Start

[linux-usb-devel] FWIW: usb.ids updates for Itac systems trak ball and tripp-lite serial port

2007-02-02 Thread Mike
--- usb.ids 2007-02-02 09:23:20.0 -0800 *** *** 388,393 --- 388,394 0005 Type 6 Keyboard 0100 3-button Mouse 0431 Itac Systems, Inc. + 0100 Mouse-Trak 3-button Track Ball 0432 Unisys Corp. 0433 Alps Electric, Inc. 1101

[linux-usb-devel] [PATCH] usbcore: small changes to hub driver's suspend method

2007-02-02 Thread Alan Stern
This patch (as847) makes some small changes to the hub driver's suspend method: For root hubs, the status URB should be unlinked and other activity stopped _before_ the bus_suspend method is called. The test for hdev-bus being NULL has been removed, since it can

[linux-usb-devel] [PATCH] EHCI: add debugging message to ehci_bus_suspend

2007-02-02 Thread Alan Stern
This patch (as848) adds a useful little debugging message to let us know when ehci-hcd's bus_suspend method runs. The other HCDs have similar messages; now ehci-hcd doesn't need to feel left out. Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/host/ehci-hub.c

Re: [linux-usb-devel] Fw: 2 GB SD card problem vs. 2.6.20-rc7 (FAT: Filesystem panic (dev sdc1))

2007-02-02 Thread Pete Zaitcev
On Fri, 2 Feb 2007 17:53:29 +0100, Wolfgang Mües [EMAIL PROTECTED] wrote: On Freitag, 2. Februar 2007, Till Harbaum / Lists wrote: [ 221.798000] SCSI device sdc: 1992704 512-byte hdwr sectors (1020 MB) There you see it. The card reader reports that the card contains only about 1

[linux-usb-devel] Please test (Re: [patch, attach, RFC] usb-serial: ti_usb removing firmware)

2007-02-02 Thread Oleg Verych
On Sun, Jan 28, 2007 at 11:09:27PM +, Oleg Verych wrote: Hallo, Al. After your comments (mostly minor) about patch, you've said, that you will try to test it. Did you manage to do so or not? I'm going to send you whitespace-cleanup.patch, req_firm.patch, will you accept and test them?

Re: [linux-usb-devel] discussion over usb-serial

2007-02-02 Thread Greg KH
On Mon, Jan 29, 2007 at 09:36:58AM +0100, Nathael Pajani wrote: Hi ! I agree with you on all the points, but then, I cannot do what I want, as this job is for a customer. Greg KH a wrote : On Thu, Jan 25, 2007 at 10:25:34AM +0100, Nathael Pajani wrote: Don't use the generic driver for

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-02 Thread Pete Zaitcev
On Thu, 01 Feb 2007 22:48:02 -0800, Phil Dibowitz [EMAIL PROTECTED] wrote: So at a relatively blind guess, I'm thinking a few setup commands and a data transfer is about all there is to this thing. That is of course without having used any USB sniffers or anything. This probably is true, but

[linux-usb-devel] PATCH: usb: descriptor structures have to be packed

2007-02-02 Thread Inaky Perez-Gonzalez
usb: descriptor structures have to be packed Many of the Wireless USB decriptors added to usb_ch9.h don't have the __attribute__((packed)) tag, and thus, they don't reflect the wire size. This patch fixes that. Signed-off-by: Inaky Perez-Gonzalez [EMAIL PROTECTED] --- usb_ch9.h | 20

[linux-usb-devel] 2.6.20-rc7: known regressions

2007-02-02 Thread Adrian Bunk
This email lists some known regressions in 2.6.20-rc7 compared to 2.6.19 that are not yet fixed in Linus' tree. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm

Re: [linux-usb-devel] PATCH: usb: descriptor structures have to be packed

2007-02-02 Thread Pete Zaitcev
On Fri, 2 Feb 2007 17:32:24 -0800, Inaky Perez-Gonzalez [EMAIL PROTECTED] wrote: usb: descriptor structures have to be packed Many of the Wireless USB decriptors added to usb_ch9.h don't have the __attribute__((packed)) tag, and thus, they don't reflect the wire size. This patch fixes that.

[linux-usb-devel] USB: Fix error cleanup path in airprime

2007-02-02 Thread Pete Zaitcev
Fix up the error processing path: in usb_submit_urb failed, we forgot to free buffers. Also, don't free buffers in read callback: less error prone, 21 LOC less, no need to comment so much. N.B. write path is ok to do kfree. Signed-off-by: Pete Zaitcev [EMAIL PROTECTED] --- Dunno what I was