473,323 Members | 1,547 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Sniffing USB

I purchased a Logitech Orbit webcam. To my dismay there is no software
that remotely controls it's pan, tilt and zoom features, which to me
seems like it defeats it's purpose. I want to set one of these up and
remotely move it around to see what's going on.

It comes with software that locally does this. It's a USB cam. Is it
possible to see what commands it sending to the device though the USB
connection and mimic this in a VB app?

Thanks for any help.

Dec 16 '05 #1
7 5673
well...i prefer sniffing glue. ;^)

i don't understand your question.

you say you want to "remotely" control the webcam.
you say the oem software doesn't do this.
you say you want to make software to do this.
you say the oem software controls the webcam "locally".

at this point, all i can safely assume is that you want to put the camera
(without a direct usb connection...aka, "remotely") at some distance from
your computer and control it. if this is the case, then no amount of
programming you do is going to solve your problem. you can either purchase a
longer cable (with amp if needed) and still use their software...or you can
go from usb to rf at your pc and then from rf back to usb at the
webcam...and still use their software.

or you could have some fun and google for some simple electronics projects.
i control a "cantenna" to pan and pitch over a half sphere area to visually
map/survey waps and signal strengths. i made my own serial port to
communicate but you can just as readily make usb, infrared, wifi connectors.
all you need is a pic microchip, a few resistors, capacitors, power, solder
and iron...just send out electric pulses from the pic to two servos that
either pan or pitch. if you are like me and are NOT an EE, you can even buy
preassembled devices or kits. pololu has tons of each from $20 to $40+ usd.
personally, i just hacked some schematics i found for a similar homebrewed
project off the net and then bought the parts i needed.

anyway...back to the glue!

<ad****@gmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
|I purchased a Logitech Orbit webcam. To my dismay there is no software
| that remotely controls it's pan, tilt and zoom features, which to me
| seems like it defeats it's purpose. I want to set one of these up and
| remotely move it around to see what's going on.
|
| It comes with software that locally does this. It's a USB cam. Is it
| possible to see what commands it sending to the device though the USB
| connection and mimic this in a VB app?
|
| Thanks for any help.
|
Dec 16 '05 #2
Hi,

The BASIC answer is, no. USB devices (other than HID or standard Windows
hardware types -- modems or other serial devices, sound cards, network
devices, printers, etc.) require a virtual device driver for that specific
hardware. If the manufacturer does not provide an API for this, then you'd
have to write your own -- and this would be a much more expensive,
time-consuming, and down right hard task than should be considered.

For more information on the workings of USB devices in general, I suggest
Jan Axelson's book, USB Complete 3rd Edition. I have a link to it under
Books on my homepage.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
Dec 16 '05 #3

"Dick Grier" <di**************@msn.com> wrote in message
news:Ox**************@TK2MSFTNGP12.phx.gbl...
| Hi,
|
| The BASIC answer is, no. USB devices (other than HID or standard Windows
| hardware types -- modems or other serial devices, sound cards, network
| devices, printers, etc.) require a virtual device driver for that specific
| hardware.

that is somewhat true...but entirely misleading, dick. while the os does
require a driver to handle the io on each device type it does not negate
that some of these you mention have a formalized protocol, under which
driver level communication is a mute point. one layer up it the actual data
sent over/though that protocol. i KNOW you know what i mean...your favorite
rs232 for example. ;^) anyway, i think this is the layer he was talking
about.

what i'm puzzled over is his definition of "remote" and "local"...which may
not even require anything other than getting or altering some hardware.

btw, i'm glad to see you recommending jan's book. i appreciate your
humility. yours too, is an EXCELLENT book...plus, jan still hasn't written
shit-for-code for serial comm and vb. how many years is it now? 5...7?

we all appreciate it when you're here, dick...keep 'em truck'n.
Dec 16 '05 #4
Hi,

while the os does
require a driver to handle the io on each device type it does not negate
that some of these you mention have a formalized protocol, under which
driver level communication is a mute point
<<

Sure. However, without a formal API, you are shooting in the dark when
trying to understand the protocol the actual device uses. That's what I
meant by my comments.

If you don't know (in advance) the protocol, it would be less expensive to
simply buy a device that provides one than to try to figure this one out. A
hardware USB sniffer is very expensive, and software ones are only slightly
less expensive -- and there is nothing built into Windows to provide these
details -- The sniffer would be required, and even then there would be
significant work to do, even for simple commands and responses.

Jan is considering writing a new edition Serial Port Complete. I don't know
how far along she is with that project.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
Dec 16 '05 #5
Sorry for not being clear.

The webcam connects to a computer via USB. I call this the local
computer. It has software that runs on the local computer that can
pan, tilt and zoom the lens and you can see the image on the local
computer. I would like to develop some software that will contol the
pan, tilt and zoom through the internet from a another computer, a
remote computer, and view video.

I was hoping I could watch the data being sent via USB and create a VB
app that mimicks it. Is there way to call the webcams driver via
VB.NET without the API documentation?

Thanks.

Dec 16 '05 #6
gotcha.

you know i found 3 very good examples doing just that after reading your op
and googling ".net logitech orbit". and on the first page too...funny how
that works!

uh...this is just one of the links:

http://www.freedownloadscenter.com/N...ogiSphere.html

freeware that does just what you want.

hth,

me

<ad****@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
| Sorry for not being clear.
|
| The webcam connects to a computer via USB. I call this the local
| computer. It has software that runs on the local computer that can
| pan, tilt and zoom the lens and you can see the image on the local
| computer. I would like to develop some software that will contol the
| pan, tilt and zoom through the internet from a another computer, a
| remote computer, and view video.
|
| I was hoping I could watch the data being sent via USB and create a VB
| app that mimicks it. Is there way to call the webcams driver via
| VB.NET without the API documentation?
|
| Thanks.
|
Dec 16 '05 #7
Thanks for the reply. Yeah, I downloaded that and tried it a couple
days ago. It doesn't zoom and it doesn't have the source code. I
tried the Microsoft Media Encoder and it loads the Logitech driver and
streams the media to a remote Media Player. I'm going to try some
sendkey commands to the actual local application from a remote location
by having a local app running that listens to a port of something.

Thanks for everyones help.

Dec 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Fabiano Sidler | last post by:
Hello Friends! How would you implement as parallel as possible sniffing with multiple pacpObjects? On my machine, I must create pcapObjects for two interfaces, but I don't want the others, for...
11
by: James | last post by:
I wasn't sure where to post this so I'm sorry if this is the wrong place. But I would like to know what some of the differences are between client-side and server-side browser sniffing. I'm aware...
2
by: David Pratt | last post by:
Hi. I have files that I will be importing in at least four different plain text formats, one of them being tab delimited format, a couple being token based uses pipes (but not delimited with...
0
by: Nuno Magalhaes | last post by:
Why does C# only supports LAN packet sniffing? Should I have to use WinPCap if I want to capture the outgoing packets on xp pro also? Why this limitation? Here's the source for capturing the...
1
by: CW | last post by:
It's recommended that when signing on using FormsAuthentication, one should do so over a secure (SSL) channel. If I understand FormsAuthentication mechanism correctly, the Authentication ticket...
16
by: petermichaux | last post by:
Hi, Does anyone have a a cross-browser setOpacity function that does not use browser sniffing? I looked at the Yahoo! UI function and it detects IE by looking for window.ActiveXObject. I also...
1
by: anton07 | last post by:
im a final year undergrad student..and i want to develop a packet sniffing software..but ive got no idea about what software's to use..hope i can get some help here..thanks so much.. or if there's...
1
by: RobG | last post by:
Browser sniffing is generally considered a very bad idea, developers are usually told that feature detection is the way to go. It seems a real pitty then that the developers of new platforms are...
1
by: Ken Fine | last post by:
I have been investigating programmatically downloading FLV content from various sites ("video scraping"??) Many interactive GUI tools do this, such as the Orbit downloader. At the heart of them...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.