[linux-usb-devel] Testing the USB host controller on linux 2.6.12 kernel

2005-09-13 Thread Conio sandiago
Hi all I have a USB host controller on a application board. The OS is Linux kernel 2.6.12 Now i want to test the USB host controller. Please explain --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 *

[linux-usb-devel] USB Mouse or Touch screen hangs

2005-09-13 Thread Rajagopal C - CTD, Chennai.
Hello We are running Linux 2.4.20 on a custom hardware. We are using a USB based 3M touch screen. After Linux comes up, the touch screen is responding. We use JRE for the UI and when we touch the screen while JRE is being untarred the touch screen stops responding after a few touches. We tried th

[linux-usb-devel] bulk-transfer : reset

2005-09-13 Thread ramya b.b
Hi, I am trying to write a bulk transfer driver based on usb-skeleton.c. I am using prolific usb host-host cable (vendor id =0x67b and product=0x2501) with 2.6.11 kernel patched with 2.6.12 –rc5 patch. I am not able to flush the buffer once it has been read. Suppose I write 1024 bytes and read

AW: [linux-usb-devel] Testing the USB host controller on linux 2.6.12 kernel

2005-09-13 Thread Andreas Schweigstill
Hi! >I have a USB host controller on a application board. >The OS is Linux kernel 2.6.12 >Now i want to test the USB host controller. You can find the relevant documentation for conformance testing on the USB.org website: http://www.usb.org/developers/docs/ In order to perform software test you

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

2005-09-13 Thread Franck
2005/9/12, Alan Stern <[EMAIL PROTECTED]>: > No, it means there's a mistake in urb_unlink. It should not release > the bandwidth reservation. Even if the HCD calls claim_bandwidth again > after giveback_urb returns, there's still a period of time while the > completion routine is running during w

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

2005-09-13 Thread Alan Stern
On Mon, 12 Sep 2005, Dave Memmott wrote: > 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. What's the connection between the Cypress control

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

2005-09-13 Thread Alan Stern
On Tue, 13 Sep 2005, xiuzhanyu wrote: > 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

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

2005-09-13 Thread Alan Stern
On Tue, 13 Sep 2005, Franck wrote: > Thanks for these usefull explanations ! I have another question ;) > urb->error_count is documented (in kernel code)as follows: "Returns > the number of ISO transfers that reported errors." For not ISO > transfers can I use it for my own purposes ? You're bett

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

2005-09-13 Thread Randy.Dunlap
On Tue, 13 Sep 2005, Alan Stern wrote: > On Tue, 13 Sep 2005, Franck wrote: > > > Thanks for these usefull explanations ! I have another question ;) > > urb->error_count is documented (in kernel code)as follows: "Returns > > the number of ISO transfers that reported errors." For not ISO > > transf

[linux-usb-devel] [rediffed patch] USB PXA-27x OHCI Separate platform code from main driver

2005-09-13 Thread Richard Purdie
To allow multiple platforms to use the PXA27x OHCI driver, the platform code needs to be moved into the board specific files in arch/arm/mach-pxa. This patch does this for mainstone and adds preliminary hooks to allow other boards to use the driver. This has been compile tested for mainstone and s

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

2005-09-13 Thread Dave Memmott
Alan, You are excactly right! The device files should be 08:01. After fixing the device node (/dev/sda1) in my device table and recompiling, it mounted just fine. It was indeed reading the first sector of /dev/sda. Thanks for your help! Dave M. -Original Message- > Hi, > > I'm trying

[linux-usb-devel] Re: [rediffed patch] USB PXA-27x OHCI Separate platform code from main driver

2005-09-13 Thread Richard Purdie
On Tue, 2005-09-13 at 12:15 -0700, David Brownell wrote: > Looks OK to me ... except for one minor point, that I'd prefer not > to see platform devices registered on boards that don't support them. > In such cases they're just a waste of memory. Wasting a KByte here > and there does start to add u

[linux-usb-devel] unknown RNDIS message 0x00430209

2005-09-13 Thread Artur Kasperek
I am having a problem using Samsung S3C2410 ARM with UDC RNDIS gadget driver and 2.6.13 kernel, the initialization of the UDC gadget interface: 0.00 USB: s3c2410_udc: version 28 Aug 2005 0.01 USB: s3c2410_udc_probe 0.02 USB: udc_disable called udc: pullup(2) 0.03 USB: usb_gadget_register_driver()

[linux-usb-devel] Fw: [Bugme-new] [Bug 5247] New: Kernel hang at boot if no USB device plugged in

2005-09-13 Thread Andrew Morton
Regression. It hangs here: ohci_hcd :00:02.1: new USB bus registered, assigned bus number 3 ohci_hcd :00:02.1: irq 20, io mem 0xd0001000 hub 3-0:1.0: USB hub found hub 3-0:1.0: 3 ports detected <-- Hang here --> Begin forwarded message: Date: Tue, 13 Sep 2005 14:25:23 -0700 From: [E

[linux-usb-devel] [patch 2.6.14-rc1, 1/5] usb_interface power state

2005-09-13 Thread David Brownell
This patch tightens handling of interface "power state", and adds a useful invariant. Now the "power" is PM_EVENT_ON only if (a) some driver is bound to it, and (b) it's not suspended. - Dave This updates the handling of power state for USB interfaces. - Formalizes an existing invariant: in

[linux-usb-devel] [patch 2.6.14-rc1, 2/5] remove suspend-path recursion

2005-09-13 Thread David Brownell
As previously discussed, this removes some code we don't actually need. (A separate patch will address resume-path recursion.) The change is user-visible in that writing to sysfs power/state to suspend USB devices now returns errors if the children aren't ready. However it only affects CONFIG_USB_

[linux-usb-devel] [patch 2.6.14-rc1, 4/5] remove duplicated resume path code

2005-09-13 Thread David Brownell
This removes some other code we don't need, in this case because we have other code that by now does the same thing. - Dave This gets rid of some inconsistently duplicated logic to resume interfaces. Similar code was in both finish_port_resume() and in usb_generic_resume(). Now there is just one c

[linux-usb-devel] [patch 2.6.14-rc1, 3/5] remove usb_suspend_device() parameter

2005-09-13 Thread David Brownell
The parameter isn't needed, or even usable, without the recursion removed in the previous patch. - Dave This patch removes the extra usb_suspend_device() parameter. The original reason to pass that parameter was so that this routine could suspend any active children. A previous patch removed t

[linux-usb-devel] [patch 2.6.14-rc1, 5/5] remove some USB_SUSPEND dependencies

2005-09-13 Thread David Brownell
For various historical reasons, some code was testing the wrong CONFIG_ symbol. Only S3C2410 OHCI was at all broken by this though. This will matter more later on, when the two root hub suspend paths merge. - Dave This simplifies some of the PM-related #ifdeffing by recognizing that USB_SUSPEN

[linux-usb-devel] [patch 2.6.14-rc1, 0/5] USB PM updates

2005-09-13 Thread David Brownell
The next five patches are small incremental steps that shrink the difference between configurations with CONFIG_USB_SUSPEND enabled, and those without it. There will be other such steps, since eventually we want that config option to vanish. pm-ifstate.patch ... tightens "interface power state"

[linux-usb-devel] application's close function call

2005-09-13 Thread Savita H. Neelannava
Hi All, I am wrtting USB scanner driver is 2.6.11 kernel. I need to provide an interface to application , so that user can send different commands to scanner.I am doing this by creating a node in /dev directory with devfs filesystem enabled (usb_register_dev). Its working fine, but once in whi