[linux-usb-devel] Problems with USB Storage..

2005-07-12 Thread Serdar KOYLU
I have 3-5 PC, Laptop etc, and 5-6 different model USB Stick. I plug a stick to USB, many times it's identified normally. Mount etc.. OK. But, sometimes system don't identifiy USB stick. According to dmesg, its can't read from device with error -110 (or -70, sometime but not frequently). I

[linux-usb-devel] driver for ISP1181

2005-07-12 Thread gopi vagga
Hi All, Linux driver for ISP1181 is available? If so, please send me the link or patch. Thanks in advance, Gopi. --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We

Re: [linux-usb-devel] S3C24XX USB host

2005-07-12 Thread Ben Dooks
Should I produce a new version of this patch against 2.6.13-rc2? I would like to get this included soon, is there anything else that needs doing? -- Ben --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14

RE: [linux-usb-devel] USB - Stack, Core, Host Controller Driver, Storage Driver.

2005-07-12 Thread Moushumi_Mazumdar
. Hi Alan and Group, Alan, you have suggested that the Central part of the USB STACK can be found at the path 'drivers/usb/core'. But this 'core' folder exists in linux 2.6 and not in linux 2.4. As I am using linux 2.4 can I copy the 'CORE' folder or the whole of USB folder from Linux 2.6 to

Re: [linux-usb-devel] First usbfs bulk write gets lost.

2005-07-12 Thread Alan Stern
On Tue, 12 Jul 2005, Dave Mielke wrote: Is it normal for the first user-space bulk write to a bulk output endpoint of a freshly opened usbfs file gets lost? This problem seems to have occurred on every kernel I can remember, although, in case it's important, the one I'm currently using is

RE: [linux-usb-devel] USB - Stack, Core, Host Controller Driver, Storage Driver.

2005-07-12 Thread Alan Stern
On Tue, 12 Jul 2005, Moushumi_Mazumdar wrote: Hi Alan and Group, Alan, you have suggested that the Central part of the USB STACK can be found at the path 'drivers/usb/core'. But this 'core' folder exists in linux 2.6 and not in linux 2.4. I didn't realize you were using 2.4. It's not a

Re: [linux-usb-devel] First usbfs bulk write gets lost.

2005-07-12 Thread Alan Stern
On Tue, 12 Jul 2005, Dave Mielke wrote: [quoted lines by Alan Stern on 2005/07/12 at 09:55 -0400] On the other hand, there are known examples where loading a driver, unloading it, and then loading it again will cause just such a disagreement to occur. When a driver is unloaded, usbcore

Re: [linux-usb-devel] First usbfs bulk write gets lost.

2005-07-12 Thread Dave Mielke
[quoted lines by Alan Stern on 2005/07/12 at 10:37 -0400] You could try using the USBDEVFS_RESET ioctl before claiming the interface. That ought to clear the data toggle. That indeed does appear to work. It does cause the device at the far end of an FTDI serial adapter to report one framing

[linux-usb-devel] Re: VID PID based fixed minor numbers - How ?

2005-07-12 Thread Jayaprakash Shanmugam
I got this problem fixed by giving class_driver.name=driver-%d. Earlier I didnt have the %d with my name. On 7/11/05, Jayaprakash Shanmugam [EMAIL PROTECTED] wrote: Yes. Thats correct. Thanks for your suggestion. I will try it out. Currently I am stuck up in probe(). I have two devices

[linux-usb-devel] Control transfer for reading unknown size

2005-07-12 Thread Jayaprakash Shanmugam
Hello All, I use control transfer to read some bytes of data from a device. But I dont know how much data it is going to give me. If I give less number of bytes as size, the usb_control_msg() function skips data (returns when the size number of bytes is read). If I give more number of bytes

Re: [linux-usb-devel] USB issues : Device not accepting address

2005-07-12 Thread Jayaprakash Shanmugam
Is it your custom board ? Did you try with USB 1.1 ? In our case, it gives protocol error (-71) in USB 2.0 and works fine in USB 1.1. On 7/11/05, Ram [EMAIL PROTECTED] wrote: I can do ifconfig usb0 and assign an address to my usb0. But, why the device addess given by the host is not being

Re: [linux-usb-devel] Control transfer for reading unknown size

2005-07-12 Thread Alan Stern
On Tue, 12 Jul 2005, Jayaprakash Shanmugam wrote: Hello All, I use control transfer to read some bytes of data from a device. But I dont know how much data it is going to give me. Do you know an upper bound? If I give less number of bytes as size, the usb_control_msg() function skips

[linux-usb-devel] [PATCH] USB: ohci-omap pm updates

2005-07-12 Thread Greg KH
[PATCH] USB: ohci-omap pm updates The recent pm_message_t changes removed functionality from the Linux PM framework. This patch removes it from the OMAP OHCI too, removing the distinction between (previous) PM_SUSPEND_MEM and PM_SUSPEND_DISK state transitions ... now the only suspend semantics

[linux-usb-devel] [PATCH] USB: fix usb reference count bug in cdc-acm driver

2005-07-12 Thread Greg KH
[PATCH] USB: fix usb reference count bug in cdc-acm driver This increases the reference count on the usb cdc acm control interface which is referred to by the tty interface provided by the driver. This allows the deferred removal of the tty after the physical device is disconnected if the tty is

[linux-usb-devel] [PATCH] USB ATM: fix line resync logic

2005-07-12 Thread Greg KH
[PATCH] USB ATM: fix line resync logic We map states 0x00 and 0x10 to the ATM_PHY_SIG_LOST flag. The current logic fails to resync the line if we get state 0x10 followed by 0x00, since we only resync the line when the state is 0x00 and the flag changed. Doubly fixed by (1) always resyncing

[linux-usb-devel] [PATCH] USB: gadget/ether build fixes.

2005-07-12 Thread Greg KH
[PATCH] USB: gadget/ether build fixes. I also needed the following on 2.6.13-rc1 without CONFIG_USB_ETH_RNDIS, symbol fs_status_desc isn't available in that case on PXA255. This builds both with and without ETH_RNDIS, but I haven't actually tested either. Signed-off-by: Ian Campbell [EMAIL

[linux-usb-devel] [PATCH] USB ftdi_sio: reduce device id table clutter

2005-07-12 Thread Greg KH
[PATCH] USB ftdi_sio: reduce device id table clutter ftdi_sio: Use a single usb_device_id table and detect the type of chip programatically. The table also flags devices requiring special initialization. The patch makes the driver about 10K smaller and makes it easier to add new device IDs.

[linux-usb-devel] [PATCH] USB: fix ftdi_sio compiler warnings

2005-07-12 Thread Greg KH
[PATCH] USB: fix ftdi_sio compiler warnings Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- commit 16966f2ab7db7366855d1267071a3138ae127ff6 tree 4030768e2014452f12d7c6b5197e3456e1e2d0ac parent 7e33ae67815372a93e8e77624fd47e39a986415d author Greg Kroah-Hartman [EMAIL PROTECTED] Wed, 29

[linux-usb-devel] [PATCH] USB: Patch to make usbmon to print control setup packets

2005-07-12 Thread Greg KH
[PATCH] USB: Patch to make usbmon to print control setup packets Make usbmon to print Setup packets of Control transfers. This is useful when debugging enumeration issues. This is a change to the trace format which is not fully compatible. A parser has to look at the data length word now. If

[linux-usb-devel] [PATCH] USB: add ldusb driver

2005-07-12 Thread Greg KH
[PATCH] USB: add ldusb driver The following driver provides complete interrupt-in and interrupt-out reports (raw data) to a user program. Until now it uses the HIDIOCGDEVINFO ioctl call, because I don't know better :-(. Perhaps, it will be ok for you - and I will be happy, if you assign 8 minor

[linux-usb-devel] [PATCH] USB: another cdc descriptor

2005-07-12 Thread Greg KH
[PATCH] USB: another cdc descriptor This adds another CDC descriptor type to linux/usb_cdc.h; the main claim to fame for this is that some Motorola phones include it. It's not currently needed by any driver code; included for completeness. Signed-off-by: David Brownell [EMAIL PROTECTED]

[linux-usb-devel] [PATCH] USB: Fix kmalloc's flags type in USB

2005-07-12 Thread Greg KH
[PATCH] USB: Fix kmalloc's flags type in USB Greg, This patch fixes the kmalloc() flags argument type in USB subsystem; hopefully all of its occurences. The patch was made against patch-2.6.12-git2 from Jun 20. Cleanup of flags for kmalloc() in USB subsystem. Signed-off-by: Olav Kongas [EMAIL

[linux-usb-devel] [PATCH] USB: gadget/ether fixes

2005-07-12 Thread Greg KH
[PATCH] USB: gadget/ether fixes Signed-off-by: Ian Campbell [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- commit 05f33400307cfe9d89dbeca659731b9055fefbf8 tree 6c95b6744509026c142d81d0dce2de0bff626d88 parent b9df978f1974fea373741367b5d79a2ed3b7dcf9 author Ian Campbell

[linux-usb-devel] [PATCH] USB: omap_udc tweaks

2005-07-12 Thread Greg KH
[PATCH] USB: omap_udc tweaks Minor OMAP updates that somehow got dropped from previous patches. Signed-off-by: David Brownell [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- commit 1d7beee3d4b4ae7faa881ef05ff5d94a125ed8a6 tree b135b338484326cb71fca1d3e98878f2141e45f8

[linux-usb-devel] [PATCH] USB ftdi_sio: remove redundant TIOCMBIS and TIOCMBIC code

2005-07-12 Thread Greg KH
[PATCH] USB ftdi_sio: remove redundant TIOCMBIS and TIOCMBIC code ftdi_sio: Remove redundant handling of TIOCMBIS and TIOCMBIC ioctls as they are handled in the tty layer and never reach this driver. Signed-off-by: Ian Abbott [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED]

[linux-usb-devel] [PATCH] USB: SiS USB Makefile fixes

2005-07-12 Thread Greg KH
[PATCH] USB: SiS USB Makefile fixes although 2.6.12 now contains the sisusb driver, it failes to build this driver due to a missing patch of the Makefile. From: Thomas Winischhofer [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- commit

[linux-usb-devel] [PATCH] USB: net2280 warning fix

2005-07-12 Thread Greg KH
[PATCH] USB: net2280 warning fix drivers/usb/gadget/net2280.c: In function 'show_registers': drivers/usb/gadget/net2280.c:1501: warning: assignment discards qualifiers from pointer target type Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED]

[linux-usb-devel] [PATCH] USB: add bMaxPacketSize0 attribute to sysfs

2005-07-12 Thread Greg KH
[PATCH] USB: add bMaxPacketSize0 attribute to sysfs For some reason this was not there... Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- commit cf5910bbae81b95bdf120e01fd365ad7b939b143 tree facacfba3d98f50cd506695a01f0f74fcb253849 parent 7ac3db59fd4410405ce55e2a25c397aec440d8da author

[linux-usb-devel] [PATCH] USB: khubd: use kthread API

2005-07-12 Thread Greg KH
[PATCH] USB: khubd: use kthread API Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- commit 9c8d61783e5bb5e29744b6481a1c67c6e4e8e135 tree b067887bb6a4c10d64304f61e0844bddb3a5f442 parent e8116e84b56f8fa4f091b967a045f47c55095c68 author [EMAIL

[linux-usb-devel] [PATCH] USB: coverity: (desc-bitmap)[] overrun fix

2005-07-12 Thread Greg KH
[PATCH] USB: coverity: (desc-bitmap)[] overrun fix The length of the array desc-bitmap is 3, and not 4: Definitions involved: In drivers/usb/core/hcd.h 464 #define bitmap DeviceRemovable In drivers/usb/host/ohci-hub.c 395 struct usb_hub_descriptor *desc In

[linux-usb-devel] [PATCH] USB: add driver for Keyspan Digital Remote

2005-07-12 Thread Greg KH
[PATCH] USB: add driver for Keyspan Digital Remote This driver is a basic keypress input driver for the Keyspan Digital Remote with part number UIA-11. Currently there is an older remote with part number UIA-10 which isn't supported by this driver. Support for the older UIA-10 could be added

[linux-usb-devel] [PATCH] USB: SN9C10x driver updates

2005-07-12 Thread Greg KH
[PATCH] USB: SN9C10x driver updates SN9C10x driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Remove bad get_ctrl()'s * Documentation updates + Add 0x0c45/0x602d to the list of SN9C10x based devices + Add support for OV7630 image sensors Signed-off-by: Luca Risolia [EMAIL

[linux-usb-devel] [PATCH] USB: isp116x-hcd cleanup

2005-07-12 Thread Greg KH
[PATCH] USB: isp116x-hcd cleanup Sorry that it took so long. Here comes a cleanup patch that addresses the remarks by Alexey Dobriyan about gregkh-usb-usb-isp116x-hcd-add.patch EXCEPT the remark about the typecasting of mem_flags argument for kcalloc; this will be addressed in a later patch.

[linux-usb-devel] [PATCH] USB Storage: Remove unneeded SC/P

2005-07-12 Thread Greg KH
[PATCH] USB Storage: Remove unneeded SC/P This patch removes an unneeded subclass and protocol from the 07af/0005/100 entry in unsual_devs.h as reported by Alfred Ganz [EMAIL PROTECTED]. Signed-off-by: Phil Dibowitz [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[linux-usb-devel] [PATCH] USB ATM: line speed measured in Kb not Kib

2005-07-12 Thread Greg KH
[PATCH] USB ATM: line speed measured in Kb not Kib Spotted by David Woodhouse. Signed-off-by: Duncan Sands [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- commit 322a95bc8eba889d2f9d7222936d682c9aad8294 tree 00793473169ea5ec54d0b80281a95f69143341cb parent

[linux-usb-devel] [GIT PATCH] USB patches for 2.6.13-rc2

2005-07-12 Thread Greg KH
Here are a bunch of USB patches against your latest git tree. They are all bugfixes with the exception of 2 new drivers being added. All of these patches have been in the -mm tree for the past few weeks. Please pull from:

[linux-usb-devel] [PATCH] USB: add LD devices to hid blacklist

2005-07-12 Thread Greg KH
[PATCH] USB: add LD devices to hid blacklist below you will find one patch to hid-core.c, which lets usbhid ignore our HID devices. It would be nice, if you can apply it. Signed-off-by: Michael Hund [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- commit

[linux-usb-devel] [PATCH] USB: fix ohci merge glitch

2005-07-12 Thread Greg KH
[PATCH] USB: fix ohci merge glitch A patch re-organizing some parts of root hub initialization deleted the code initializing the bus-neutral reboot/shutdown notifier for OHCI. This patch just restores that deleted code. Signed-off-by: David Brownell [EMAIL PROTECTED] Signed-off-by: Greg

[linux-usb-devel] [PATCH] USB: export usb_get_intf() and usb_put_intf()

2005-07-12 Thread Greg KH
[PATCH] USB: export usb_get_intf() and usb_put_intf() Export usb_get_intf and usb_put_intf so that modules can increase usb interface reference counts. Signed-off-by: [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- commit a3fdf4ebe016ba756de3ca29a2a6117e9acd721c tree

[linux-usb-devel] Re: [GIT PATCH] USB patches for 2.6.13-rc2

2005-07-12 Thread Alexey Dobriyan
On Tuesday 12 July 2005 22:56, Greg KH wrote: drivers/usb/misc/ldusb.c | 794 + --- /dev/null +++ b/drivers/usb/misc/ldusb.c +static int ld_usb_probe(struct usb_interface *intf, const struct usb_device_id *id) +{ + if

[linux-usb-devel] Re: [GIT PATCH] USB patches for 2.6.13-rc2

2005-07-12 Thread Greg KH
On Tue, Jul 12, 2005 at 11:43:08PM +0400, Alexey Dobriyan wrote: On Tuesday 12 July 2005 22:56, Greg KH wrote: drivers/usb/misc/ldusb.c | 794 + --- /dev/null +++ b/drivers/usb/misc/ldusb.c +static int ld_usb_probe(struct

[linux-usb-devel] [2.6 patch] drivers/usb/net/: remove two unused multicast_filter_limit variables

2005-07-12 Thread Adrian Bunk
The only uses of both variables were recently removed. This patch was already ACK'ed by Petko Manolov. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch was already sent on: - 2 Jul 2005 drivers/usb/net/pegasus.c |1 - drivers/usb/net/rtl8150.c |2 -- 2 files changed, 3

[linux-usb-devel] RE: USB - Stack, Core, Host Controller Driver, Storage Driver.

2005-07-12 Thread Steve Calfee
Date: Tue, 12 Jul 2005 10:37:59 +0530 Hi Randy, Steve and Group, Thanks for your quick and positive response. The information you have provided have helped me a lot as I am new to this area. I saw all the related codes. Thanks once again. Steve recommended going by adding an external ehci or

[linux-usb-devel] Re: [GIT PATCH] USB patches for 2.6.13-rc2

2005-07-12 Thread Alexey Dobriyan
On Tuesday 12 July 2005 22:56, Greg KH wrote: drivers/usb/input/keyspan_remote.c | 633 ++ Greg, Michael, sparse asks whether cpu_to_le16() are missed. $ cat -n drivers/usb/input/keyspan_remote.c | head -n 437 | tail -n 4 434 /* See if the offered device

[linux-usb-devel] [patch 1/1] (2/2) - trailing, 80th and similar things

2005-07-12 Thread Lonnie Mendez
I noticed that this patch has not been merged yet. If it is pending my approval, then so be it. --- From: Carlo Perassi [EMAIL PROTECTED] Reading this driver I noticed some trailing whitespaces and tabs so I removed them with some 80th column fitting and a few more similar things.

[linux-usb-devel] sn9c102_ov7630.c (was [GIT PATCH] USB patches for 2.6.13-rc2)

2005-07-12 Thread Alexey Dobriyan
On Tuesday 12 July 2005 22:56, Greg KH wrote: drivers/usb/media/sn9c102_ov7630.c | 394 + Add support for OV7630 image sensors --- /dev/null +++ b/drivers/usb/media/sn9c102_ov7630.c +static int ov7630_init(struct sn9c102_device* cam) +{ + err +=

[linux-usb-devel] Re: sn9c102_ov7630.c (was [GIT PATCH] USB patches for 2.6.13-rc2)

2005-07-12 Thread Luca Risolia
On Wed, Jul 13, 2005 at 03:21:34AM +0400, Alexey Dobriyan wrote: On Tuesday 12 July 2005 22:56, Greg KH wrote: drivers/usb/media/sn9c102_ov7630.c | 394 + Add support for OV7630 image sensors --- /dev/null +++ b/drivers/usb/media/sn9c102_ov7630.c +static int

[linux-usb-devel] question about mass storage gadget

2005-07-12 Thread Li Yang-r58472
Hi,   While I was working on a device controller driver tested with mass storage, I got a question regarding on the stall condition.  For mass storage device, the driver stalls the bulk-in ep when there is an error processing CBW.  Then the host will send clear_feature to clear the halt