Re: Talking to USB

From: Ray Cassick \(Home\) (rcassickNOSPAM_at_enterprocity.com)
Date: 11/28/04

  • Next message: Jose Rojas: "Re: Wait 3 seconds before run next line"
    Date: Sat, 27 Nov 2004 20:42:24 -0500
    
    

    Take a look here:

    http://www.componentscience.net/Elements/TransPort/

    I have never used this, am not affiliated with the company at all, and am
    not sure if it will work for what you need.. I am just passing on an add
    that I have seen a few times in MSDN Mag...

    "Don" <phoney.email@yahoo.com> wrote in message
    news:41a88c32.11305000@news.individual.net...
    > Hi Roland,
    >
    > In my case it's a scanner but I can't use TWAIN because it's too high
    > level. I have a list of low level commands which I wish to send to the
    > scanner directly because they go beyond TWAIN capabilities.
    >
    > I'm beginning to realize that USB is not as simple as I thought but I
    > expected at least some common approach to the most basic level i.e.
    > identifying devices and then simple sending and receiving of bytes.
    >
    > Don.
    >
    > On Sat, 27 Nov 2004 13:42:20 +0100, "roland"
    > <roland.demeester@skynet.be> wrote:
    >
    > >Don
    > >I recently had to write an interface with a serial device that was
    connected
    > >through a usb-to-serial convertor. I spent some time browsing the net and
    I
    > >learned that there is no such thing as as a USB port and a USB protocol:
    you
    > >have to interface directly with the API's the USB driver for the device
    > >provides for.
    > >In my case the USB2COM convertor provided for a virtual serial port that
    I
    > >could communicate with, so it was fairly transparent. Unfortunately I
    cannot
    > >point you to any exemple that interfaces directly with the API's of a USB
    > >driver.
    > >Greetings, Roland
    > >
    > >"Don" <phoney.email@yahoo.com> wrote in message
    > >news:41a74dba.8602887@news.individual.net...
    > >> Environment: VB6 under W98
    > >>
    > >> I have a USB hardware device I wish to program directly. The original
    > >> software installed a low level driver and the hardware is both
    > >> registered and operational.
    > >>
    > >> Now then, I'd like to have access to this device directly. In other
    > >> words, I'd like to enumerate all devices on the USB bus, pick the one
    > >> I want, and then communicate with it (send commands, get data, etc).
    > >>
    > >> So, how does one go about talking to the USB? VB6/W98 combo doesn't
    > >> seem to have any dedicated USB routines.
    > >>
    > >> What I need - I guess - is the USB equivalent of the MSComm control.
    > >> Is there such a thing as a "USB Control"? What's the canonical way of
    > >> talking to USB from VB?
    > >>
    > >> I did google around a bit but couldn't find anything applicable. Most
    > >> sites and pages I came across seem to focus on actually writing a low
    > >> level USB driver.
    > >>
    > >> Thanks!
    > >>
    > >> Don.
    > >
    > >
    >


  • Next message: Jose Rojas: "Re: Wait 3 seconds before run next line"

    Relevant Pages

    • Re: I want a guitar synth for my grandpappy
      ... Godin) don't have USB out - they have a proprietary 13-pin jack, ... protocol defined by Roland. ... The same box has MIDI outs, that you can use to connect with the MIDI ... AhHa ok Joey I see but I do use Reason v3 and Cubase SX3 (I have ...
      (rec.music.makers.guitar.jazz)
    • Re: I want a guitar synth for my grandpappy
      ... Godin) don't have USB out - they have a proprietary 13-pin jack, ... protocol defined by Roland. ... I don't know if it's analog or digital ... The same box has MIDI outs, that you can use to connect with the MIDI ...
      (rec.music.makers.guitar.jazz)
    • Re: FBSD-6 usb/scanner-access-rights
      ... > Dear Roland, ... >> One thing you could do is make the groups usb and cdrom and make them ... > katrin# camcontrol devlist ... I don't have many usb devices, ...
      (freebsd-stable)
    • Re: USB sound adapter
      ... > the usb alsa linux driver, ... Roland wrote the USB MIDI specification, ... help with the Linux driver. ...
      (comp.os.linux.hardware)
    • Re: Talking to USB
      ... I do have the SDK but it's provided on "as is" basis. ... does *not* address the actual USB communications! ... The missing piece is how do I send these commands down the USB pipe? ... I have a list of low level commands which I wish to send to the ...
      (microsoft.public.dotnet.languages.vb.controls)