Re: usb ce 4.2 host driver

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I don't know that log. It looks like output from clients driver or some Host
driver which is not from Microsoft.
I can't help here.
Sorry
David Liao
"prashanth" <prashanth@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:17DCA56A-464D-4C2A-B3CA-F63F42713865@xxxxxxxxxxxxxxxx
> Hi David,
>
> I received the USB_CLOSE_DEVICE event when i turn off the device. It is
> only
> when i send the command to the device that i have the problem. (I am not
> sure
> if the device detaches and re-attaches when i send this cmd) The USB
> monitor
> program shows the communication log as follows when the RESET cmd is sent.
>
> cmd sent to device and receive ACK
> reset(20ms)
> suspend(96.1ms)
> reset(20ms)
> Enumerates and gives device new address
>
> As i said the generic CDC class driver on a desktop PC doesn't have this
> problem.
>
> I use a CF to USB adaptor from Ratoc systems to provide to host capability
> to the PDA.
>
> Regards,
> prashanth
>
>
>
> "David Liao (MS)" wrote:
>
>> I don't understand what you said. What you mean by "we send a RESET
>> command
>> to our device ". Does it send command to device and then device detached
>> from UBS Bus and re-attached itself again?
>> If device does reattached again, the USB_CLOSE_DEVICE should be called,
>> otherwise, the Device Address shouldn't change.
>>
>> Did you register callback function before device detached? the function
>> name
>> is RegisterNotificationRoutine.
>>
>> David Liao
>> "prashanth" <prashanth@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:E0624EC1-BC00-44B8-95BF-71E9E71E4064@xxxxxxxxxxxxxxxx
>> > Hi,
>> >
>> > I have written a custom USB device driver for POCKET PC 2003. The PDA
>> > acts
>> > as the host and communicates with our device.
>> >
>> > As part of the communication, we send a RESET command to our device
>> > which
>> > restarts it. But the host controller enumerates and gives the device a
>> > new
>> > address.
>> >
>> > As such it creates a new device context (eg COM2) and doesn't send a
>> > USB_CLOSE_DEVICE signal which would allow the driver to deallocate the
>> > previous device context (eg COM1).
>> >
>> > I checked the device against a desktop pc running Windows XP/2000. It
>> > always
>> > assigns it device address (1) after RESET.
>> >
>> > Any pointers about resolving the above described problem are greatly
>> > appreciated ...
>> >
>> > Regards,
>> > prashanth
>>
>>
>>


.



Relevant Pages

  • netdev-2.6 queue updated
    ... o ibmlana part 2 (iomem annotations and isa-ectomy) ... o This patch adds device driver model support to the mv643xx_eth driver ... fix Kconfig typos and missing select CRYPTO ... o Host AP: Updated to use Linux wireless extensions v17 ...
    (Linux-Kernel)
  • ieee1394 and fbdev oops in 2.6.3rc2
    ... Found UniNorth PCI host bridge at 0xf0000000. ... Firmware bus number: 0->0 ... PMU driver 2 initialized for Core99, ... ohci_hcd 0001:02:08.0: new USB bus registered, ...
    (Linux-Kernel)
  • Stats
    ... 3: David against Goliath ... 2: John Scmidtt ... 1: Mansur Driver ... 2: Re: WARNING TO NEW POSTERS ...
    (misc.transport.trucking)
  • [RFC v2] virtio: add virtio-over-PCI driver
    ... This adds support to Linux for using virtio between two computers linked by ... is a standard x86 system (acting as the host) and many PowerPC systems ... I have only tested this driver with a single board in my system. ... and the guest is a 533MHz PowerPC. ...
    (Linux-Kernel)
  • [RFC v1] virtio: add virtio-over-PCI driver
    ... This adds support to Linux for using virtio between two computers linked by ... is a standard x86 system (acting as the host) and many PowerPC systems ... I have only tested this driver with a single board in my system. ... and the guest is a 533MHz PowerPC. ...
    (Linux-Kernel)