[linux-usb-devel] g_file_storage do_wrtie() timeout!

2005-09-12 Thread xiuzhanyu
Title: g_file_storage do_wrtie() timeout! Dear All:   I insmod g_file_storage module of linux 2.6.12 on smdk2440 platform, usb slave simulate a usb mass storage , My configuration : Insmod g_file_storage.ko file=/dev/mtdblock/3 removable=1 Then plug it in Windows XP host,  the Host c

[linux-usb-devel] Fwd: [patch 0/3] driver model wakeup flags

2005-09-12 Thread David Brownell
The patches are: http://lists.osdl.org/pipermail/linux-pm/2005-September/001351.html http://lists.osdl.org/pipermail/linux-pm/2005-September/001348.html http://lists.osdl.org/pipermail/linux-pm/2005-September/001350.html Call them small cleanups, and starting to fix a pmcore hole. :) I've got s

[linux-usb-devel] Fw: [Bugme-new] [Bug 5237] New: scsi_eh not get released by disconnecting the device when doing rescan

2005-09-12 Thread Andrew Morton
Begin forwarded message: Date: Mon, 12 Sep 2005 21:11:28 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 5237] New: scsi_eh not get released by disconnecting the device when doing rescan http://bugzilla.kernel.org/show_bug.cgi?id=5237 Summary: scsi_e

RE: [linux-usb-devel] encode Video data, and saved data in USB storage

2005-09-12 Thread Liau.Cloud
-Original Message- From: Randy.Dunlap [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 10:58 AM To: Liau.Cloud Cc: [email protected] Subject: Re: [linux-usb-devel] encode Video data, and saved data in USB storage On Tue, 13 Sep 2005 10:49:00 +0800 Liau.Cloud

Re: [linux-usb-devel] encode Video data, and saved data in USB storage

2005-09-12 Thread Randy.Dunlap
On Tue, 13 Sep 2005 10:49:00 +0800 Liau.Cloud wrote: > > -Original Message- > From: Randy.Dunlap [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 13, 2005 10:28 AM > To: Liau.Cloud > Cc: [email protected] > Subject: Re: [linux-usb-devel] encode Video data, and save

Re: [linux-usb-devel] multiple webcam single machine

2005-09-12 Thread Randy.Dunlap
(back on the mailing list) On Sun, 11 Sep 2005 22:30:08 -0700 (PDT) jatan wrote: > > > > > > Thanx for replying. Ya, I am connecting 3 webcams > > to > > > single usb host controller. I am using usb hub to > > > connect rest 2 out of 3 webcams. usb documentation > > > says that one can attach 1

RE: [linux-usb-devel] encode Video data, and saved data in USB storage

2005-09-12 Thread Liau.Cloud
-Original Message- From: Randy.Dunlap [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 10:28 AM To: Liau.Cloud Cc: [email protected] Subject: Re: [linux-usb-devel] encode Video data, and saved data in USB storage On Mon, 12 Sep 2005 14:04:06 +0800 Liau.Clo

Re: [linux-usb-devel] encode Video data, and saved data in USB storage

2005-09-12 Thread Randy.Dunlap
On Mon, 12 Sep 2005 14:04:06 +0800 Liau.Cloud wrote: > Dear all: >I used VWEB vw2010 to encode Video data, and saved data in USB storage > through PCI. When I used NEC HC chip, system will crash at processing the > write function of VWEB > encode. But it's OK with VIA HC chip. What was

RE: [linux-usb-devel] encode Video data, and saved data in USB storage log file

2005-09-12 Thread Liau.Cloud
But it OK with VIA chip. Are there different between VIA and NEC chips. I only know that when PCI Autoconfig, NEC: PCI function PCI Autoconfig: Found Bus 0, Device 2, Function 0 PCI Autoconfig: BAR 0, Mem, size=0x100, address=0x4b00 PCI Autoconfig: Found Bus 0, Device 3, Function 0 PCI Au

[linux-usb-devel] High-speed host controller testing for 2.4 kernel

2005-09-12 Thread Nishant Kamat
Hi, I would like some suggestions for testing a high-speed host controller driver which is based on a 2.4 kernel. I was thinking of using the 'usbstress' suite with some high-speed EZ-USB device. However I don't think the firmware for it works for high-speed. I was wondering if anyone had fixed t

[linux-usb-devel] bogus logical sector size 20487

2005-09-12 Thread Dave Memmott
Hi, I'm trying to implement the USB mass storage class (Kernel 2.4.6 and Cypress EZ-OTG CY767200 controller)and I'm having problems reading the boot sector on my USB Flash drive when I mount it. Here's how I mount the thumb drive: mount -t vfat /dev/sda1 /files (there isn't anything in /f

[linux-usb-devel] Fw: [Bugme-new] [Bug 5233] New: usb hid 'relative' input events incorrectly treated as 'absolute' events

2005-09-12 Thread Andrew Morton
Begin forwarded message: Date: Mon, 12 Sep 2005 12:36:33 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 5233] New: usb hid 'relative' input events incorrectly treated as 'absolute' events http://bugzilla.kernel.org/show_bug.cgi?id=5233 Summary: usb

Re: [linux-usb-devel] buffers for USB data

2005-09-12 Thread Alan Stern
On Mon, 12 Sep 2005, Istvan De wrote: > > It is. Note that in general with bulk transfers, arrival of a > > short packet (32 bytes instead of 64, for example) indicates the end of a > > data stream. > so you mean that a short packet will only arrive if the device sends a short > packet or the u

[linux-usb-devel] Fw: [Bugme-new] [Bug 5231] New: usb mass storage (mp3-player) i/o errors while read or write

2005-09-12 Thread Andrew Morton
Begin forwarded message: Date: Mon, 12 Sep 2005 10:14:46 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 5231] New: usb mass storage (mp3-player) i/o errors while read or write http://bugzilla.kernel.org/show_bug.cgi?id=5231 Summary: usb mass storag

[linux-usb-devel] [PATCH] USB: ftdi_sio: custom baud rate fix

2005-09-12 Thread Greg KH
[PATCH] USB: ftdi_sio: custom baud rate fix ftdi_sio: I messed up the baud_base for custom baud rate support in 2.6.13. The attached one-liner patch fixes it. Signed-off-by: Ian Abbott <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit f5e09b7cac4a2705f55830db6

[linux-usb-devel] [PATCH] USB: EHCI workaround for NForce and mem > 2GB

2005-09-12 Thread Greg KH
[PATCH] USB: EHCI workaround for NForce and mem > 2GB NVidia reports (via Mark Overby) that some of their EHCI controllers don't like certain data structure addresses beyond the 2GB mark. He provided an earlier version of this patch. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by

[linux-usb-devel] [PATCH] USB UHCI: remove the FSBR kernel timer

2005-09-12 Thread Greg KH
[PATCH] USB UHCI: remove the FSBR kernel timer This patch (as558) removes from the UHCI driver a kernel timer used for checking Full Speed Bandwidth Reclamation (FSBR). The checking can be done during normal root-hub polling; it doesn't need a separate timer. Signed-off-by: Alan Stern <[EMAIL PR

[linux-usb-devel] [PATCH] USB: get rid of minor log spamming

2005-09-12 Thread Greg KH
[PATCH] USB: get rid of minor log spamming Routine cases like handoff-to-companion shouldn't trigger diagnostics. This gets rid of some recently added log spamming. It's routine for hub_port_wait_reset() to return -ENOTCONN to indicate handoff from highspeed hubs to companions, so an error messag

[linux-usb-devel] [PATCH] USB: fix usbdevice_fs header breakage

2005-09-12 Thread Greg KH
[PATCH] USB: fix usbdevice_fs header breakage [USBDEVFS] fix inclusion of to avoud header mess Without moving the include of compat.h down, userspace programs that use usbdevice_fs.h end up including half the kernel includes (and eventually fail to compile). Signed-off-by: Harald Welte <[EMAIL

[linux-usb-devel] [PATCH] USB: storage: Fix messed-up locking

2005-09-12 Thread Greg KH
[PATCH] USB: storage: Fix messed-up locking This is patch as550 from Alan Stern. Apparently someone changed the SCSI core so that it no longer holds the host lock when doing a device or bus reset. usb-storage was updated at the time, but the change was done carelessly. Some of the code depends

[linux-usb-devel] [PATCH] USB: add apple usb touchpad driver

2005-09-12 Thread Greg KH
[PATCH] USB: add apple usb touchpad driver This is a driver for the USB touchpad which can be found on post-February 2005 Apple PowerBooks. This driver is derived from Johannes Berg's appletrackpad driver [1], but it has been improved in some areas: * appletouch is a full kernel driver, no us

[linux-usb-devel] [PATCH] USB Storage: unusual_devs.h request for Transcend

2005-09-12 Thread Greg KH
[PATCH] USB Storage: unusual_devs.h request for Transcend The stick replies to the door lock commands with a check condition (e.g. FAIL status in a normal bulk CSW), but the subsequent REQUEST SENSE returns all-zero sense. The situation is documented in our Bugzilla, including usbmon traces.

[linux-usb-devel] [PATCH] USB: OHCI relies less on NDP register

2005-09-12 Thread Greg KH
[PATCH] USB: OHCI relies less on NDP register Some OHCI implementations have differences in the way the NDP register (in roothub_a) reports the number of ports present. This patch allows the platform specific code to optionally supply the number of ports. The driver just reads the value at init (i

[linux-usb-devel] [PATCH] USB: proc_usb_info.txt: add blank lines

2005-09-12 Thread Greg KH
[PATCH] USB: proc_usb_info.txt: add blank lines Update Documentation/usb/proc_usb_info.txt: - remove some trailing whitespace - add a blank line before each T: line to match current kernel and to make the text more readable. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Greg Kr

[linux-usb-devel] [PATCH] usbcore: small changes to HCD glue layer

2005-09-12 Thread Greg KH
[PATCH] usbcore: small changes to HCD glue layer This patch (as549) introduces two small changes in the HCD glue layer. The first simply removes a redundant test. The second allows root-hub polling to continue for a single iteration after a host controller dies; this is needed for the patch that

[linux-usb-devel] [PATCH] USB: PL2303: CA-42 Phone cable

2005-09-12 Thread Greg KH
[PATCH] USB: PL2303: CA-42 Phone cable This patch adds the product ID and vendor ID for a Nokia CA-42 USB cable to the list of devices handled by the pl2303 driver. The patch is against 2.6.13. Signed-off-by: Robert Spanton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

[linux-usb-devel] [PATCH] USB: OHCI, pxa27x OHCI port power tweaks

2005-09-12 Thread Greg KH
[PATCH] USB: OHCI, pxa27x OHCI port power tweaks Now that it's in use on other boards, a bug in the original code needs fixing. There is no need for the PXA27x OHCI to set usb power during init, since the hub driver in usbcore handles that. Those platform-specific power control functions are also

[linux-usb-devel] [PATCH] USB: OHCI irq tweak

2005-09-12 Thread Greg KH
[PATCH] USB: OHCI irq tweak Evidently there are some boards which care a lot about this, but as a rule it's been hard to notice. OHCI_INTR_RD wasn't always cleared in the ohci irq handler. On some systems this means certain remote wakeup scenarios could seem to hang (in an interrupt storm, RD ne

[linux-usb-devel] [PATCH] USB: storage: Add unusual_dev SINGLE_LUN entries

2005-09-12 Thread Greg KH
[PATCH] USB: storage: Add unusual_dev SINGLE_LUN entries This patch adds entries for several USB floppies that need the US_FL_SINGLE_LUN flag. These were reported by Sebastian Kapfer <[EMAIL PROTECTED]> and Olaf Hering <[EMAIL PROTECTED]>, with rediffing and cleaning from me. Reported-by: Sebasti

[linux-usb-devel] [PATCH] USB: EHCI port tweaks

2005-09-12 Thread Greg KH
[PATCH] USB: EHCI port tweaks One change may improve some S1 or S3 resume cases, and the other seems mostly to explain some strange state "lsusb" would show. Two fixes: - On resume, don't think about resuming any unpowered port, or resetting any port with OWNER set to the OHCI/UHCI companio

[linux-usb-devel] [PATCH] USB gadgetfs: fixes an error on writing to endpoint file

2005-09-12 Thread Greg KH
[PATCH] USB gadgetfs: fixes an error on writing to endpoint file this patch fixes an "Invalid argument" error returned by a write to an endpoint-file after reopening it in the gadgetfs module in the kernel 2.6.12. This was testet only with dummy_hcd module! Signed-off-by: Pavol Kurina <[EMAIL P

[linux-usb-devel] [PATCH] USB: relax usbcore reset timings

2005-09-12 Thread Greg KH
[PATCH] USB: relax usbcore reset timings This appears to help some folk, please merge. This patch relaxes reset timings. There are some reports that it helps make enumeration work better on some high speed devices. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartm

[linux-usb-devel] [PATCH] USB: CP2101 New Device IDs

2005-09-12 Thread Greg KH
[PATCH] USB: CP2101 New Device IDs Three new device IDs for CP2101 USB to UART Bridge Signed-off-by: Craig Shelley <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit 198b95170f2c7ad56b4ba92fe3d4d896f5be5c7e tree 8d9c63ed9b40685ca2f6fd4a2fa5a963c780a9d6 parent 1f

[linux-usb-devel] [PATCH] USB: usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-09-12 Thread Greg KH
[PATCH] USB: usb-storage: Add unusual_devs entry for Neuros Audio MP3 player Alan Stern wrote: > If the device sometimes reports the correct values, then you should > include NEED_OVERRIDE flag to prevent messages about unnecessary > overrides showing up in the system log. Also, if bInterfaceSubc

[linux-usb-devel] [PATCH] usb: fix uss720 schedule with interrupts off

2005-09-12 Thread Greg KH
[PATCH] usb: fix uss720 schedule with interrupts off This patch fixes the long standing schedule with interrupts off problem of the uss720 driver. The problem is caused by the parport layer calling the save and restore methods within a write_lock_irqsave guarded region. The fix is to issue the con

[linux-usb-devel] [PATCH] drivers/usb: fix-up schedule_timeout() usage

2005-09-12 Thread Greg KH
[PATCH] drivers/usb: fix-up schedule_timeout() usage Description: Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- co

[linux-usb-devel] [PATCH] USB: Usbmon setup DMA patch

2005-09-12 Thread Greg KH
[PATCH] USB: Usbmon setup DMA patch Alan Stern sent me this patch. It goes on top of the patch the adds mon_dmapeek: http://ftp.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-04-usb/usb-usbmon-dma-areas.patch Please be warned about ordering requirements or the build may fail. Actu

[linux-usb-devel] Revert "[PATCH] USB: Prevent hid-core claiming Apple Bluetooth device on new G4 powerbooks"

2005-09-12 Thread Greg KH
Revert "[PATCH] USB: Prevent hid-core claiming Apple Bluetooth device on new G4 powerbooks" This reverts 22af8878d2d641c6b15fe39fe4de3c05b2c477f0 commit. Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit 80908309ce44677a07763e24e6ec9371cfa3ab5f tree a9fa1c380392c2ed83c3d5d216f

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

2005-09-12 Thread Greg KH
Here are a bunch more USB patches against your latest git tree. They are pretty all just small bugfixes, with the exception of the big sisvga driver update. There's also a revert here for the usb apple bluetooth problem that was previously pointed out. Please pull from: rsync://rsync.ker

Re: [linux-usb-devel] question on bandwidth release.

2005-09-12 Thread Alan Stern
On Mon, 12 Sep 2005, Franck wrote: > 2005/9/12, Alan Stern <[EMAIL PROTECTED]>: > > On Mon, 12 Sep 2005, Franck wrote: > > > > > Hi, > > > > > > I have a question about "usb_release_bandwidth": > > > > > > "usb_release_bandwidth" needs an urb as parameters. If I understand, > > > this function is

Re: [linux-usb-devel] buffers for USB data

2005-09-12 Thread Istvan De
Hi, > > however, what if I > > allocate > > a 128byte buffer just for the sake of this example, and submit URBs with > > 64 byte transfer buffers. > > I hope you're speaking only theoretically. A 64-byte transfer buffer is yes, of course, I'm working currently with 5 ms buffers > > For the fi

Re: [linux-usb-devel] question on bandwidth release.

2005-09-12 Thread Franck
2005/9/12, Alan Stern <[EMAIL PROTECTED]>: > On Mon, 12 Sep 2005, Franck wrote: > > > Hi, > > > > I have a question about "usb_release_bandwidth": > > > > "usb_release_bandwidth" needs an urb as parameters. If I understand, > > this function is called when periodic pipes is released ie when an ep

Re: [linux-usb-devel] buffers for USB data

2005-09-12 Thread Alan Stern
On Mon, 12 Sep 2005, Istvan De wrote: > Hi, > > How do you implement buffers for streaming USB data in a kernel driver? > > For me, ring buffers would be an obvious choice, They seem like the obvious solution for almost any case. > however, what if I > allocate > a 128byte buffer just for the

[linux-usb-devel] buffers for USB data

2005-09-12 Thread Istvan De
Hi, How do you implement buffers for streaming USB data in a kernel driver? For me, ring buffers would be an obvious choice, however, what if I allocate a 128byte buffer just for the sake of this example, and submit URBs with 64 byte transfer buffers. For the first bulk IN transfer, the 64 byte a

Re: [linux-usb-devel] question on bandwidth release.

2005-09-12 Thread Alan Stern
On Mon, 12 Sep 2005, Franck wrote: > Hi, > > I have a question about "usb_release_bandwidth": > > "usb_release_bandwidth" needs an urb as parameters. If I understand, > this function is called when periodic pipes is released ie when an ep > is disabled. No. The bandwidth is released when there

Re: [linux-usb-devel] RE: encode Video data, and saved data in USB storage

2005-09-12 Thread Alan Stern
On Mon, 12 Sep 2005, Liau.Cloud wrote: > NEC chip log: > ehci_hcd 00:04.2: fatal error kernel BUG at hcd/ehci-mem.c:129! > and can you use something that is a lot newer than 2.4.18? > > > system: linux 2.4.18 Yes indeed! As I recall, the EHCI d

[linux-usb-devel] [PATCH-2.6.13] ftdi_sio: custom baud rate fix

2005-09-12 Thread Ian Abbott
ftdi_sio: I messed up the baud_base for custom baud rate support in 2.6.13. The attached one-liner patch fixes it. Greg, could you also apply this to the 2.6.13-stable tree? Signed-off-by: Ian Abbott <[EMAIL PROTECTED]> diff -ur a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c

[linux-usb-devel] question on bandwidth release.

2005-09-12 Thread Franck
Hi, I have a question about "usb_release_bandwidth": "usb_release_bandwidth" needs an urb as parameters. If I understand, this function is called when periodic pipes is released ie when an ep is disabled. This is normally done in "xxx_endpoint_disable" where xxx is an hcd. But this function doesn

[linux-usb-devel] 票

2005-09-12 Thread [EMAIL PROTECTED]
本公司有部分普通发票(商品销售发票)增值税发票及海关代征增值税专用缴款书及其它服务行业发票, 公路、内河运输发票。可以以低税率为贵公司代开,本公司具有内、外贸生意实力,保证我司开具的票据的真实性。 希望可以合作!共同发展!敬侯您的来电洽谈、咨询! 联系人: 李先生 联系电话:13632588281 如有打扰望谅解,祝商琪。 --- SF.Net email is Sp

[linux-usb-devel] Fw: [Bugme-new] [Bug 5227] New: mounted usb block devices don't work after resume

2005-09-12 Thread Andrew Morton
Begin forwarded message: Date: Mon, 12 Sep 2005 01:31:46 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 5227] New: mounted usb block devices don't work after resume http://bugzilla.kernel.org/show_bug.cgi?id=5227 Summary: mounted usb block devices

[linux-usb-devel] encode Video data, and saved data in USB storage log file

2005-09-12 Thread Liau.Cloud
+ cfifo.Write(p_buf); + cfifo.Write(p_buf); 8192 = write(6, 678352, 8192); 499712 bytes 8192 = write(6, 678352, 8192); 507904 bytes + cfifo.Write(p_buf); 8192 = write(6, 678352, 8192); 516096 bytes + cfifo.Write(p_buf); 8192 = write(6, 678352, 8192); 524288 bytes + cfifo.Write(p_buf)