Re: VC+ and USB detection

From: Marc Reinig (Marco_at_newsgroups.nospam)
Date: 01/14/05


Date: Fri, 14 Jan 2005 12:12:18 -0800

You don't poll the USB. Use RegisterDeviceNotification and you will be
notified when the desired interface arrives, then you check to see if it is
one in which you are interested.

-Marco
________________________
Marc Reinig
UCO/Lick Observatory
Laboratory for Adaptive Optics

"Amund Glomsås" <amund.glomsas@no.thalesgroup.com> wrote in message
news:OIFLhYj%23EHA.1292@TK2MSFTNGP10.phx.gbl...
> Hello!
>
> I wonder if somone know how a aplication can detect when a USBdevice is
> connected to the USB bus, whitout polling the bus.
>
> regards
> Amund Glomsås
>
>



Relevant Pages

  • Re: USB.Bluetooth not recognized at boot-time
    ... usbcore: registered new driver hub ... USB Universal Host Controller Interface driver v2.2 ... uhci_hcd 0000:00:11.2: new USB bus registered, ... new full speed USB device using address 2 ...
    (comp.os.linux.setup)
  • Re: USB (OHCI) not working without pci=routeirq
    ... > initialize the USB bus and no USB device will work at that point. ... > Initializing USB Mass Storage driver... ...
    (Linux-Kernel)
  • Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm2-V0.7.30-9
    ... (different driver, e100), but has problems with the usb uhci-hcd driver. ... uhci_hcd 0000:00:1d.0: new USB bus registered, ... hub 1-0:1.0: USB hub found ...
    (Linux-Kernel)
  • USB broken
    ... Also xsane could no longer find the scanner and my usb ... new USB bus registered, ... hub.c: USB hub found ... USB UHCI at I/O 0xdc00, ...
    (Debian-User)
  • 2.6.9 suspend-to-disk bug (during resume)
    ... usb usb1: USB disconnect, address 1 ... ohci_hcd 0000:00:03.0: USB bus 1 deregistered ... usb usb1: Product: EHCI Host Controller ... hub 1-0:1.0: USB hub found ...
    (Linux-Kernel)

Loading