please dont rip this site

Universal Serial Bus

Michael Hetherington's USB Keyboard demo and his the EXCELLENT Atapchi: World's Smallest Low-speed USB Analyzer

Making a USB Male connectoin from PCB stock only.

RLC-3 USB to TTL serial converter

HTML 5 Web Apps can access the USB port.

USB FLASH Memory

When using a generic USB serial adapter, the only reliable way to identify the device is to look for the new port to show up when the device is connected.

USB devices are identified by a VID (Vendor ID) and then by a PID (Product ID) under that VID. No other information about the device is transmitted to the computer from the device.

VID's are $5500
https://www.usb.org/getting-vendor-id

It MIGHT be possible to get a unique PID under someone elses VID:

For example,
http://pid.codes/
https://hackaday.com/2015/04/03/usb-pids-for-all/
offers PIDs, under their VID for nothing, if your project qualifies. All hardware and software must be open source and present with a specific license file.

In the past, companies who have purchased a VID and then tried to re-sell PID's under it, have had the VID revoked by the usb.org. It's specifically prohibited without prior written approval. However, this pid.codes outfit seems to have been getting away with it for a long time, probably because they are open source and giving them out.

It also appears that SiLabs, the mfgr of the CP2104 has started selling PIDs under their VID!
https://www.silabs.com/products/interface/request-product-id

But the key point is this: The VID PID tell the OS which driver to install. With a custom VID or even just a new PID under SiLabs, the driver no longer matches. SiLabs has a tool to make a custom version of the driver, but then you must distribute that with the product, and the user must pre-install the driver before Dexter is connected. And... and this is a really important issue... your driver is no longer certified by the OS vendor. E.g. it's an unsigned driver which Windows 8 and 10 will NOT let you install without disabling protection on the computer, which many large organizations will not allow. Adafruit users run into this all the time.

Xiaofan says:

USB sniffers:
  1. sniffusb 0.12 and 0.13. http://www.wingmanteam.com/usbsnoopy/
    • + logs in text format (for easy perl processing).
    • - does not work with windows xp
    • - chokes sometimes on large USB bulk transfers.
       
      Most perl scripts were made to parse the format of the logs created by this program.
       
  2. usb snoopy pro. http://sourceforge.net/projects/usbsnoop/
    • - logs in binary format (-> no further discussion necessary)
       
  3. sniff-bin . http://benoit.papillault.free.fr/usbsnoop/  This program looks similar to sniffusb
    • + logs in plain text (although slightly different format from sniffusb)
    • + works under windows xp
       
  4. Try DebugView as well. It is very useful for USB debugging.
     
  5. Under Linux, http://people.redhat.com/zaitcev/linux/ there are some work as well but it is quite new.

USB sniff log parser:

  1. usb snoopy pro
    http://www.ee.oulu.fi/~tuukkat/quickcam/xmlintr.c
     
  2. usbsnoopy or sniff-bin
    There is a perl-script to generate the corresponding libusb call. I just read this recently in the Linux libusb mailing list.
    http://iki.fi/lindi/usb/usbsnoop2libusb.pl
     
    There are some other tools to read usbsnoop log file as well. Here is one of them.
    http://www.aracnet.com/~seagull/NJB/tools/

See also:

Interested:


file: /Techref/usbs.htm, 10KB, , updated: 2018/9/28 14:32, local time: 2018/12/17 05:41, owner: MDH-pacific-468,
TOP NEW HELP FIND: 
3.80.218.53:LOG IN

 ©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://techref.massmind.org/techref/usbs.htm"> Universal Serial Bus - USB</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .