Need to build a Windows Driver for 450 USB

Inside the Roomba and Scooba and more, Cool mods, Repair and Upgrades - including the all new iRobot Create Kit. Let's void that warranty baby!

Need to build a Windows Driver for 450 USB

Postby vic7767 » January 11th, 2014, 2:58 pm

Need a bit of Windows driver building so that the new Scooba 450 micro USB port can be monitored via a PC.

Here is a text dump of a driver created during the early testing of the Neato using a USB cable and a Windows PC

;
; Windows USB CDC Driver Vista/7 x64)
;

[Version]
Signature = "$Windows NT$"
Provider = %COMPANY%
DriverVer = 01/19/2011

Class = Ports
ClassGuid = {4D36E978-E325-11CE-BFC1-08002BE10318}

[Manufacturer]
%MFGNAME% = Devices,NTamd64

;--------------------------------------------------------------------------
; Files
;--------------------------------------------------------------------------

[DestinationDirs]
DefaultDestDir = 12

;--------------------------------------------------------------------------
; Device driver
;--------------------------------------------------------------------------

[DriverInstall.NTamd64]
Include = mdmcpq.inf
CopyFiles = DriverInstall.NTamd64.CopyFiles
AddReg = DriverInstall.NTamd64.AddReg

[DriverInstall.NTamd64.CopyFiles]
usbser.sys

[DriverInstall.NTamd64.Services]
AddService = usbser, 0x00000002, DriverServiceInst

[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

;--------------------------------------------------------------------------
; Services
;--------------------------------------------------------------------------

[DriverServiceInst]
DisplayName = %SERVICE%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\usbser.sys
LoadOrderGroup = PNP Filter

;--------------------------------------------------------------------------
; Devices
;--------------------------------------------------------------------------

[Devices.NTamd64]
%DESCRIPTION% = DriverInstall,USB\VID_2108&PID_780b

;--------------------------------------------------------------------------
; Strings
;--------------------------------------------------------------------------

[Strings]
COMPANY = "Random-Workshop"
MFGNAME = "www.random-workshop.com"
DESCRIPTION = "XV-11 Communications Port"
SERVICE = "USB RS-232 Emulation Driver"
SERVICE2 = "Low-Speed CDC Transfer Interface"


Need some clues here fellow hackers:
Roomba and Neato Mods, come visit: http://www.vic7767.com/

http://www.Robot-Doc.com/
User avatar
vic7767
Robot Master
 
Posts: 14371
Joined: January 14th, 2006, 8:31 pm
Location: Haughton Louisiana - USA

Re: Need to build a Windows Driver for 450 USB

Postby mfortuna » January 11th, 2014, 4:15 pm

If you are extremely lucky and the Neato uses the same usb serial port as the roomba (I kinda doubt it because I thought the Neato's USB port was built into the Atmel SOC) you could try changing the VID/PID numbers in the .inf file to match what you got from the Roomba properties in device manager.

Chances are it is one of these ICs but you may have to take it apart to find out.

http://www.ftdichip.com/FTProducts.htm
Mike
Reds x 3, Dirt Dog, Disco (now a parts bot), Create, Scooba 350, and Security Dawg
Evolution Mint
Neato XV-11
User avatar
mfortuna
Robot Master
 
Posts: 5767
Joined: February 5th, 2006, 10:35 am
Location: NH

Re: Need to build a Windows Driver for 450 USB

Postby mfortuna » January 13th, 2014, 7:58 am

You could try starting with the driver for the roomba USB to SCI cable. Maybe Irobot incorporated that design in the Scooba.
Mike
Reds x 3, Dirt Dog, Disco (now a parts bot), Create, Scooba 350, and Security Dawg
Evolution Mint
Neato XV-11
User avatar
mfortuna
Robot Master
 
Posts: 5767
Joined: February 5th, 2006, 10:35 am
Location: NH

Re: Need to build a Windows Driver for 450 USB

Postby vic7767 » January 13th, 2014, 5:20 pm

Big OOps Mike, it appears that when a cable is connected between the Scooba 450 micro USB to the PC USB the Windows software recognizes a device of "Other" instead of a Comm port. Snapshot below:
Attachments
tstt.png
Roomba and Neato Mods, come visit: http://www.vic7767.com/

http://www.Robot-Doc.com/
User avatar
vic7767
Robot Master
 
Posts: 14371
Joined: January 14th, 2006, 8:31 pm
Location: Haughton Louisiana - USA

Re: Need to build a Windows Driver for 450 USB

Postby mfortuna » January 13th, 2014, 8:31 pm

I think that is a non issue since with no driver the device can't be enumerated.

It could still be a comm port. But it could be anything.
Mike
Reds x 3, Dirt Dog, Disco (now a parts bot), Create, Scooba 350, and Security Dawg
Evolution Mint
Neato XV-11
User avatar
mfortuna
Robot Master
 
Posts: 5767
Joined: February 5th, 2006, 10:35 am
Location: NH

Re: Need to build a Windows Driver for 450 USB

Postby vic7767 » January 13th, 2014, 9:12 pm

So somehow I need to build a driver and install it (associate, enumerate) with this hardware port.
Roomba and Neato Mods, come visit: http://www.vic7767.com/

http://www.Robot-Doc.com/
User avatar
vic7767
Robot Master
 
Posts: 14371
Joined: January 14th, 2006, 8:31 pm
Location: Haughton Louisiana - USA

Re: Need to build a Windows Driver for 450 USB

Postby mfortuna » January 14th, 2014, 7:48 am

Yes. I think your best bet may be to look at the inside of the scooba and find out what IC connects to the USB port. I think that is tougher with a scooba because it is sealed. But you could still try a driver from a USB to serial device.
Mike
Reds x 3, Dirt Dog, Disco (now a parts bot), Create, Scooba 350, and Security Dawg
Evolution Mint
Neato XV-11
User avatar
mfortuna
Robot Master
 
Posts: 5767
Joined: February 5th, 2006, 10:35 am
Location: NH


Return to Robotic Hacking

Who is online

Users browsing this forum: aarolar, Franzl, Snokia, teokakav and 403 guests