Prev: How Would I Write a MBR?
Next: WinUSB suspend
From: Christian Clément on 9 Oct 2009 08:02 I want to develop a special USB device which will start automatically without installing a new driver or using the "Autorun" function on Windows. It has to work like an USB Stick you plug. My idea is that Windows has to recognize it like a HID (a keyboard, mouse or loudspeaker) but my application will do something else. Has anybody an idea if it is possible or how I can solve my problem ? Thank you
From: Leo Havmøller on 9 Oct 2009 10:45 "Christian Cl�ment" <cclement1975(a)gmail.com> wrote in message news:0be957f9-24b4-4dd1-8460-ececdf70ff11(a)b2g2000yqi.googlegroups.com... > I want to develop a special USB device which will start automatically > without installing a new driver or using the "Autorun" function on > Windows. It has to work like an USB Stick you plug. > My idea is that Windows has to recognize it like a HID (a keyboard, > mouse or loudspeaker) but my application will do something else. > > Has anybody an idea if it is possible or how I can solve my problem ? Sure, use HID with a vendor-defined page and input/oupput report with the maximum endpoint size that your hardware supports. http://www.edn.com/article/CA243218.html Leo Havm�ller.
From: Christian Clément on 9 Oct 2009 15:20 Thank you, but I need a little bit more. In your example an application accesses to a device trough the HID. My target is to start automatically a application which is on the USB stick itself. You plug it and without installing any software the application starts itself.
From: Pavel A. on 10 Oct 2009 15:58 "Christian Cl�ment" <cclement1975(a)gmail.com> wrote in message news:3f7e49c4-99c6-4e37-864b-3836283f94b1(a)g23g2000yqh.googlegroups.com... > Thank you, but I need a little bit more. In your example an > application accesses to a device trough the HID. My target is to start > automatically a application which is on the USB stick itself. You plug > it and without installing any software the application starts itself. Looks like a non-starter (pardon the pun). Silent autorun from removable device is way too suspicious, so expect that users would either block it, or let Windows display the usual autorun dialog. Some pre-installed software (service) on the user machine is needed. --pa
From: Tim Roberts on 11 Oct 2009 02:10 Christian Cl�ment <cclement1975(a)gmail.com> wrote: > >Thank you, but I need a little bit more. In your example an >application accesses to a device trough the HID. My target is to start >automatically a application which is on the USB stick itself. You plug >it and without installing any software the application starts itself. You need to think about what you're asking. This is exactly equivalent to allowing a web site to send me an executable and force it to be executed, without my permission. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc.
|
Pages: 1 Prev: How Would I Write a MBR? Next: WinUSB suspend |