View previous topic :: View next topic |
Author |
Message |
spilz
Joined: 30 Jan 2012 Posts: 219
|
USB driver on win7 |
Posted: Wed Aug 01, 2012 3:08 pm |
|
|
hey!
I know, there is different topic about it, I tried all solutions suggested and it still doesn't work.
I'm using PCWHD 4.093 on MacBook Pro with win7 x64.
I try to use the ex_usb_serial.c
It works perfectly on the computer of a friend on XP, but the serial port driver seems doesn't work on win7 :
error "code 10"
Port_#0001.Hub_#0001
I tried to modify usb_desc_cdc.h -> #define USB_CONFIG_BUS_POWER 0
as explain here:
http://www.ccsinfo.com/forum/viewtopic.php?t=44263
I tried to modify cdc_NTXPVista.inf
as explain here:
http://www.ccsinfo.com/forum/viewtopic.php?t=44917&p=142164
Someone know how to correctly install the CCS driver on win7 ?
Maybe does it come from the files?
Can someone send me by MP the files which work with USB on win7 ?
Thanks for your help.
Sorry for my bad english.
spilz |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19538
|
|
Posted: Thu Aug 02, 2012 1:27 am |
|
|
Have you done this exact mod:
<http://www.ccsinfo.com/forum/viewtopic.php?t=41272&highlight=64bit+driver>
Proper 64bit drivers came along with about the mid 4.100 releases. However 4.093, certainly did work for people using this driver mod.
The bus power mod, is not normally needed. It depends on the PC motherboard, with a few machines which have hardware switching of the USB power line, turning the power 'off'. This then makes 'connection sense' not work, and causes problems, but for 99% of systems it doesn't matter at all.
Best Wishes |
|
|
spilz
Joined: 30 Jan 2012 Posts: 219
|
|
Posted: Thu Aug 02, 2012 1:44 am |
|
|
Thank for your reply.
I tried this modification too, but still doesn't work :( |
|
|
spilz
Joined: 30 Jan 2012 Posts: 219
|
|
Posted: Thu Aug 02, 2012 1:59 am |
|
|
OK....
Today it works, and I changed nothing on my computeur between last night and this morning, just sleep ...
I'm sorry I can't explain what I did to solve this problem :( maybe try the 3 topics linked...
I just hope it's reliable now...
thanks for your help
Spilz |
|
|
spilz
Joined: 30 Jan 2012 Posts: 219
|
|
Posted: Thu Aug 02, 2012 2:40 am |
|
|
News :
it fact, it seems it comes from my USB port :
on my MacBook Pro I have 2 USB port, and it works only with one ...
the thing I change between yesterday and today is the connector port...
I don't know why they are not the same, but now it works so my solution :
try differents USB port
Spilz |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19538
|
|
Posted: Thu Aug 02, 2012 3:40 am |
|
|
Normally, this implies that a faulty driver has got installed on the earlier port.
Reboot your windows in 'safe mode'.
Control panel, and look at the device manager.
Select 'show hidden devices'.
You should then see all drivers installed. Hopefully you will see a couple of versions of the CCS driver. Delete both, then reboot as normal, and reinstall the working driver.
If you can't find a second CCS driver installed, look through the vendor ID/PID numbers for all the installed drivers (or do a text search, in the .inf directory off Windows), looking for the VID. It is possible that a device has been installed which uses the CCS ID, and calls itself something else...
Best Wishes |
|
|
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
|
|
Posted: Thu Aug 02, 2012 7:47 am |
|
|
Ttelmah this is a great trouble shooting guide. Sadly USB became a dark art
of inf files dll's and registry entries. The USB race horse that became a camel during the committee's specification process. What you see isn't often what you get since the offending item is often hidden. Laptop USB ports can get a beating as laptops are bumped around so even hardware connections can be suspected. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19538
|
|
Posted: Thu Aug 02, 2012 8:52 am |
|
|
Yes.
Whole 'swathes' of stuff uses USB now, for things that it was never designed for, then we are stuck with unreliability, including things like the connectors themselves. The 'standard' USB connector typically only has a design life of 1500 connection cycles!. For things like a mouse, or printer, not likely to be a problem, but when you are swapping flash sticks into one port, several times during a day, is it really surprising that failures here are getting more and more common?. Laptop ports suffer even more, not only from the mechanical "bump's", but because they tend to be plugged in/out more often, and then the plugs are often 'strained' up/down, putting forces on the pins they were not even remotely designed for.
I have a personal 'hate hate' relationship with USB.
It is amazingly common now to find quite expensive pieces of kit being thrown away because of a USB socket failure - amazing how many of these _can_ be repaired.... (evil grin).
Obviously worth double checking that the port that does not work with the CCS device, _does_ work with something else, just in case such a problem is sneaking up here.
Best Wishes |
|
|
|