Re: Switching device types in a USB device



In article <MeedncHnN8cEgKnVnZ2dneKdnZydnZ2d@xxxxxxxxxxxxxx>,
alj@xxxxxxxxxx says...
Paul Carpenter wrote:
In article <ts-dnV9x5ujJVK7VRVnyjgA@xxxxxxxxxxxxxx>, alj@xxxxxxxxxx
says...
A similar technique used by people like Picotech for their scopes.

Enumerate as V1.1 device with next to no endpoints. Will only do anything
after driver initialised to load firmware, and then if possible
reenumerate as USB 2.0 device with LOTS and LOTS of endpoints.
Really ridiculous as Flash memory is not that expensive and would be
easier to upload the code when it changes, and make for easier use!
Having seen USB 2.0 systems wait for the USB V1.1 transfer to complete
the transfer several times, when it gets confused (just today saw
one logging error codes as data so upto -150V data points for device
being monitored that could only produce -12V MAX!

That system needs more recycling for USB drivers than anything else.

Does this happen often?

If yo mean recycling the system to reenumerate because the drivers
are out of sync, for those devices too often for my liking. Whne
developing it can be many times a day. Sometimes pulling lead out and
reenumerating sorts it out but not always.

I meant when using the Picotech stuff. I wouldn't be very happy having
to unplug/plug a commercial product all the time.

I was talking about the Picotech stuff, they are the reason for the re-
enumerations and sonetimes system cycling. I *personally* would not
use them, however I have a customer who loves them.

If it stays in sync (driver and device) it is fine, otherwise it is
just as bad as many inkjet USB printers.

There are other reasons as well why I would not use them, that I will
not discuss here.

--
Paul Carpenter | paul@xxxxxxxxxxxxxxxxxxxxxxxxxxx
<http://www.pcserviceselectronics.co.uk/> PC Services
<http://www.pcserviceselectronics.co.uk/fonts/> Timing Diagram Font
<http://www.gnuh8.org.uk/> GNU H8 - compiler & Renesas H8/H8S/H8 Tiny
<http://www.badweb.org.uk/> For those web sites you hate
.



Relevant Pages

  • Re: usbser.sys throughput problem
    ... The speeds are in kilo bits per seconds. ... The endpoints that I use for sending and receiving data are configured ... And there is no other USB device attached to the same host ... About writing my own driver, I'm trying to avoid that as much as ...
    (microsoft.public.development.device.drivers)
  • Re: Problems with USB
    ... Somewhere there abouts is a bug in that if an endpoint is active before the daemon is active, a wild pointer writes all over the kernel when the daemon attempts to hook the driver. ... I assumed that the USBD.sys driver would know first about devices (endpoints) being added or removed. ... It was pointed out to me by another that he has similar problem if his USB printer was powered on at boot time. ...
    (comp.os.os2.bugs)
  • Re: help finding USB physical addresses
    ... (Are you sure that you did not enumerated Disk driver instances instead of USBSTOR driver instances?). ... you can easily enumerate them all on XP. ... >From driver that enumerated device connected to USB. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: usbser.sys throughput problem
    ... Except for usb ... That's another reason why you should build your own driver. ... The endpoints that I use for sending and receiving data are configured ... can find out about NAKs in windows system? ...
    (microsoft.public.development.device.drivers)
  • Re: [PATCH 0/7] [RFC] Sizing zones and holes in an architecture independent manner V2
    ... RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize ... SCSI device sda: drive cache: write back w/ FUA ... usbcore: registered new driver hub ... hub 1-0:1.0: USB hub found ...
    (Linux-Kernel)