Pages: [1]   Go Down
Author Topic: Windows Vista fails to install driver for UNO (continued from old forum)  (Read 1742 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Original posting was here (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1291934290)
 I would like to continue this topic as it has not been solved for me and I think there is a potential issue with the driver for some vista users.

 A quick summary,
 After following the install instructions for the Arduino driver on a vista (Service pack 1) the install fails.
 Logs indicate a problem with dependencies on usbser.sys from mdmcpq.
 Similar problems with driver install have been reported within other forums, as mentioned by "Coding Badly" in original post. However the proposed work around didn't work for me.

Further advice is welcome. Thanks
 
Logged

Austin, TX
Offline Offline
God Member
*****
Karma: 12
Posts: 524
carpe diem
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have attached a modified version of the Arduino UNO.inf file. I use this inf format for all of my CDC device projects and have had success on XP, Vista, and Windows 7. I modified the Arduino UNO.inf to match the format I have used, leaving the UNO specific pieces alone.

Try to update the driver for your UNO and point it to this .inf instead of the original.

Let me know how it goes.

* Arduino UNO 2.inf (2.97 KB - downloaded 24 times.)
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Louis,
 I tried your inf file but it still fails. I think it all clearly indicates that the install of my windows vista (business SP1) is missing essential drivers for USB communication.
  Currently I'm using a XP vm to talk to the arduino and that works fine. I hope to get an update to Windows 7 soon which I know will work.


 log file snippet shows same problem from previous attempts
ndv:                Installing files...
     dvi:                {DIF_INSTALLDEVICEFILES} 11:20:55.696
     dvi:                     Class installer: Enter 11:20:55.697
     dvi:                     Class installer: Exit
     dvi:                     Default installer: Enter 11:20:55.697
     dvi:                          {Install FILES}
     inf:                               Opened PNF: 'c:\windows\system32\driverstore\filerepository\arduino uno 2.inf_922e27f9\arduino uno 2.inf' ([strings] <src=drvstore>)
     inf:                               Opened PNF: 'C:\Windows\INF\mdmcpq.inf' ([strings] <src=drvstore>)
     inf:                               {Install Inf Section [DriverInstall.NTAMD64]}
     inf:                                    CopyFiles=FakeModemCopyFileSection  (arduino uno 2.inf line 52)
     cpy:                                    Open PnpLockdownPolicy: Err=2. This is OK. Use LockDownPolicyDefault
     flq:                                    QueueSingleCopy...
     flq:                                    Inf     : 'c:\windows\system32\driverstore\filerepository\arduino uno 2.inf_922e27f9\arduino uno 2.inf'
     flq:                                    SourceInf: 'C:\Windows\INF\mdmcpq.inf'
     flq:                                    SourceSection: [sourcedisksfiles]
     flq:                                    Source root path based on SourceInf
     flq:                                    SourceRootPath: 'C:\Windows\System32\DriverStore\FileRepository\mdmcpq.inf_ec18f765'
     flq:                                    {FILE_QUEUE_COPY}
     flq:                                         CopyStyle      - 0x00002000
     flq:                                         SourceRootPath - 'C:\Windows\System32\DriverStore\FileRepository\mdmcpq.inf_ec18f765'
     flq:                                         SourceFilename - 'usbser.sys'
     flq:                                         TargetDirectory- 'C:\Windows\system32\DRIVERS'
     flq:                                         TargetFilename - 'usbser.sys'
     flq:                                         SourceDesc     - 'windows cd'
     flq:                                    {FILE_QUEUE_COPY exit(0x00000000)}
     inf:                               {Install Inf Section [DriverInstall.NTAMD64] exit (0x00000000)}
     dvi:                               Processing co-installer registration section [DriverInstall.NTAMD64.CoInstallers].
     inf:                               {Install Inf Section [DriverInstall.NTAMD64.CoInstallers]}
     inf:                                    No (Copy/Ren/Del)Files directives found
     inf:                               {Install Inf Section [DriverInstall.NTAMD64.CoInstallers] exit (0x00000000)}
     dvi:                               Co-installers registered.
     dvi:                               {Install INTERFACES}
     dvi:                                    Installing section [DriverInstall.NTAMD64.Interfaces]
     dvi:                               {Install INTERFACES exit 00000000}
     dvi:                          {Install FILES exit (0x00000000)}
     dvi:                     Default installer: Exit
     dvi:                {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 11:20:55.707
     ndv:                Pruning file queue...
     dvi:                {_SCAN_FILE_QUEUE}
     flq:                     ScanQ flags=620
     flq:                          SPQ_SCAN_PRUNE_COPY_QUEUE
     flq:                          SPQ_SCAN_FILE_COMPARISON
     flq:                          SPQ_SCAN_ACTIVATE_DRP
     flq:                     ScanQ number of copy nodes=1
     flq:                     ScanQ action=200 DoPruning=32
     flq:                     ScanQ end Validity flags=620 CopyNodes=1
     dvi:                {_SCAN_FILE_QUEUE exit(0, 0x00000000)}
     ndv:                Committing file queue...
     flq:                {_COMMIT_FILE_QUEUE}
     flq:                     CommitQ DelNodes=0 RenNodes=0 BackNodes=0 CopyNodes=1
     flq:                     {SPFILENOTIFY_STARTQUEUE}
     flq:                     {SPFILENOTIFY_STARTQUEUE - exit(0x00000001)}
     flq:                     {SPFILENOTIFY_STARTSUBQUEUE}
     flq:                     {SPFILENOTIFY_STARTSUBQUEUE - exit(0x00000001)}
     flq:                     SPFILENOTIFY_NEEDMEDIA:
     flq:                          Description  - [windows cd]
     flq:                          SourcePath   - [C:\Windows\System32\DriverStore\FileRepository\mdmcpq.inf_ec18f765]
     flq:                          SourceFile   - [usbser.sys]
     flq:                          Flags        - 0x00000000
     flq:                     {SPFILENOTIFY_NEEDMEDIA}
     flq:                     {SPFILENOTIFY_NEEDMEDIA - exit(0x00000000)}
!!!  flq:                     SPFILENOTIFY_NEEDMEDIA: returned FILEOP_ABORT.
!!!  flq:                     Error 2: The system cannot find the file specified.
     flq:                     {SPFILENOTIFY_ENDQUEUE}
     flq:                     {SPFILENOTIFY_ENDQUEUE - exit(0x00000001)}
!    bak:                     Install failed, attempting to restore original files.
     flq:                {_COMMIT_FILE_QUEUE exit(0x00000002)}
     ndv:                Device install status=0x00000002
     ndv:                Performing device install final cleanup...
!    ndv:                Queueing up error report since device installation failed...
Logged

Austin, TX
Offline Offline
God Member
*****
Karma: 12
Posts: 524
carpe diem
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Does the SourceRootPath directory exist?
Are there other directories similar to this mdmcpq.inf_XXXXXXXX? If so, copy the usbser.sys from that most recent once.
Can you manually go to the SourceRootPath directory in explorer and copy usbser.sys to the TargetDirectory?

SourceRootPath - 'C:\Windows\System32\DriverStore\FileRepository\mdmcpq.inf_ec18f765'
SourceFilename - 'usbser.sys'
TargetDirectory- 'C:\Windows\system32\DRIVERS'
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No the sourcerootpath does not exist and I haven't be able to do an install of mdmcpq. I have a copy of usbser.sys in the targetdir.
 Is there a way we can change the Arduino UNO.inf  to not look for usbser in mdmcpq and get it from C:\Windows\system32\DRIVERS?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've had the same problem with windows 7 (32-bit). I finally got it fixed by manually copying usbser.sys to the "C:/windows/system32/drivers" folder.
I then adjusted the "Arduino UNO.inf"  file by commenting out the following:

[DriverInstall.nt]
;include=mdmcpq.inf
;CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg

[DriverCopyFiles.nt]
;usbser.sys,,,0x20

After that i reinstalled the driver via the Device manager.




* Arduino UNO Driver.zip (14.66 KB - downloaded 10 times.)
« Last Edit: February 21, 2011, 04:43:01 am by Ruud22H » Logged

Sweden
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

on win7 amd64 here and having the same problem.
Logged

Sweden
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've had the same problem with windows 7. I finally got it fixed by manually copying usbser.sys to the "C:/windows/system32/drivers" folder.
I then adjusted the "Arduino UNO.inf"  file by commenting out the following:

[DriverInstall.nt]
;include=mdmcpq.inf
;CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg

[DriverCopyFiles.nt]
;usbser.sys,,,0x20

After that i reinstalled the driver via the Device manager.

i take it you're on 32bit win7? the solution did not work for me.
Logged

Sweden
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i got it working. the included files will only work for amd64 win 7.

what you do is go to c:\windows\system32\driverstore and right click on filerepository. properties -> security -> edit -> add -> type in your username -> check names -> ok. click the newly added user item, and give him full control. ok. if you get some errors just cancel them.

go to filerepository and create a folder called mdmcpq.inf_amd64_neutral_774523d133de6343.

paste the files i've included there.

mdmcpq.zip
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 13
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i got it working. the included files will only work for amd64 win 7.

Awesome!!!
Note thread title, "Windows Vista fails to install driver for UNO"
Logged

Pages: [1]   Go Up
Jump to: