There has been a change to the USB Vendor ID and Product ID reported by Neo running SHR This has caused a problem with USB networking and SSH not working under windows XP. I have no choice as to the operating system used so I would appreciate it if this could be fixed.
I have tested 2 versions of SHR 1 working vs 1 not working. I am uncertain of when the change occurred. Testing was done using the same XP computer with nothing else changed but the version of SHR booted from SD on the same Neo. Results of investigations for both versions included below. I apologise for the length of the post but wanted to put in the information I had collected. Regards Paul Kelly This version of SHR works with PUTTY on Windows XP SP3 Old Version SHR test r...@om-gta02 /etc $ cat shr-version Tag Name: mv-packages-to-recipes-pre VERSION: 02fe96061411de095776edd314d9ae551e1b2f22 Branch: shr/import Build Host: opmbuild Time Stamp: Sun, 06 Sep 2009 16:34:21 +0200 Windows XP SP3 Shows a Network Adaptor named Neo 1973 USB Ethernet/RNDIS #2 Using menus Device Manager -> Network Adaptors -> Properties -> Details This Reports Device Instance Id USB\VID_1457&PID_5122\6&3689F8D7&0&2 Matching Device Id usb\vid_1457&pid_5122 Device Manager -> Network Adaptors -> Properties -> Driver -> Driver Details C:\WINDOWS\system32\DRIVERS\msdimpx.sys version 5.1.2600.5512 (xpsp.08413-0852) C:\WINDOWS\system32\DRIVERS\usb8023x.sys version 5.1.2600.5512 (xpsp.08413-0852) >From setupapi.log Information on setupapi.log contents can be found here http://www.microsoft.com/whdc/driver/install/setupapilog.mspx [2010/07/16 11:16:00 3128.1374 Driver Install] #-019 Searching for hardware ID(s): usb\vid_1457&pid_5122&rev_0312,usb\vid_1457&pid_5122 #-018 Searching for compatible ID(s): usb\class_02&subclass_02&prot_ff,usb\class_02&subclass_02,usb\class_02 #-198 Command line processed: "C:\WINDOWS\system32\mmc.exe" C:\WINDOWS\system32\devmgmt.msc /s #I063 Selected driver installs from section [RNDIS.NT.5.1] in "c:\windows\inf\oem42.inf". #I320 Class GUID of device remains: {4D36E972-E325-11CE-BFC1-08002BE10318}. #I060 Set selected driver. >From UsbSnoop.log Information on UsbSnoop.log contents can be found here http://www.pcausa.com/Utilities/UsbSnoop/ [6 ms] >>> URB 1 going down >>> -- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE: TransferBufferLength = 00000012 TransferBuffer = 8621cc88 TransferBufferMDL = 00000000 Index = 00000000 DescriptorType = 00000001 (USB_DEVICE_DESCRIPTOR_TYPE) LanguageId = 00000000 [7 ms] UsbSnoop - MyInternalIOCTLCompletion(a6426126) : fido=00000000, Irp=86947008, Context=863339a0, IRQL=2 [7 ms] <<< URB 1 coming back <<< -- URB_FUNCTION_CONTROL_TRANSFER: PipeHandle = 85eba8f8 TransferFlags = 80564d2b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK) TransferBufferLength = 00000012 TransferBuffer = 8621cc88 TransferBufferMDL = 85f74bb0 00000000: 12 01 00 02 02 00 00 08 57 14 22 51 12 03 01 02 00000010: 00 02 UrbLink = 00000000 SetupPacket = 00000000: 80 06 00 01 00 00 12 00 note the 1457 5122 in reverse order in this log along with version 312 contents of oem42.INF ; Neo1973 USB Ethernet/RNDIS driver ; ; from the Template INF for a USB Remote NDIS Device ; by Microsoft Corporation ; ; for Win2k you will need to download ; http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx ; and use "rndismpy.sys" and "usb8023y.sys" ; from "RNDIS USB kit 2005\Drivers\x86fre\sys files" ; ; see http://wiki.openmoko.org/wiki/Neo1973_and_Windows ; for further instructions [Version] Signature = "$Windows NT$" Class = Net ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider = %Linux% DriverVer = 08/03/2007,1.0.0.0 ; catalog file would be used by WHQL ;CatalogFile = Linux.cat [Manufacturer] %Linux% = LinuxDevices,NT.5.1 [LinuxDevices] %LinuxDevice% = RNDIS, USB\VID_1457&PID_5122 [LinuxDevices.NT.5.1] %LinuxDevice% = RNDIS.NT.5.1, USB\VID_1457&PID_5122 [ControlFlags] ExcludeFromSelect=* ; Windows 2000 specific sections --------------------------------- [RNDIS.NT] Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI BusType = 15 DriverVer = 08/03/2007,1.0.0.0 AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_WIN2K CopyFiles = RNDIS_CopyFiles_NT ; DO NOT MODIFY THE SERVICE NAME [RNDIS.NT.Services] AddService = USB_RNDISY, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog [RNDIS_CopyFiles_NT] ; no rename of files on Windows 2000, use the 'y' names as is usb8023y.sys, , , 0 rndismpy.sys, , , 0 [RNDIS_ServiceInst_NT] DisplayName = %ServiceDisplayName% ServiceType = 1 StartType = 3 ErrorControl = 1 ServiceBinary = %12%\usb8023y.sys LoadOrderGroup = NDIS AddReg = RNDIS_WMI_AddReg_NT [RNDIS_WMI_AddReg_NT] HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpy.sys" ; Windows XP specific sections ----------------------------------- [RNDIS.NT.5.1] Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI BusType = 15 DriverVer = 08/03/2007,1.0.0.0 AddReg = RNDIS_AddReg_XP include = netrndis.inf needs = Usb_Rndis.ndi ; no copyfiles - the files are already in place [RNDIS.NT.5.1.Services] include = netrndis.inf needs = Usb_Rndis.ndi.Services ; Windows 2000 sections ; DO NOT MODIFY ServiceName [RNDIS_AddReg_NT] HKR, Ndi, Service, 0, "USB_RNDISY" HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" [RNDIS_AddReg_WIN2K] HKR, , ReclaimRecv, 0x00010001, 1 HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress% HKR, NDI\params\NetworkAddress, type, 0, "edit" HKR, NDI\params\NetworkAddress, LimitText, 0, "12" HKR, NDI\params\NetworkAddress, UpperCase, 0, "1" HKR, NDI\params\NetworkAddress, default, 0, " " HKR, NDI\params\NetworkAddress, optional, 0, "1" [RNDIS_EventLog] AddReg = RNDIS_EventLog_AddReg [RNDIS_EventLog_AddReg] HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll" HKR, , TypesSupported, 0x00010001, 7 ; An optional Property to demonstrate adding advanced properties on Windows XP [RNDIS_AddReg_XP] HKR, NDI\params\XPProperty, ParamDesc, 0, %NetworkAddress% HKR, NDI\params\XPProperty, type, 0, "edit" HKR, NDI\params\XPProperty, LimitText, 0, "12" HKR, NDI\params\XPProperty, UpperCase, 0, "1" HKR, NDI\params\XPProperty, default, 0, " " HKR, NDI\params\XPProperty, optional, 0, "1" [SourceDisksNames] 1=%SourceDisk%,,1 [SourceDisksFiles] usb8023y.sys=1 rndismpy.sys=1 [DestinationDirs] RNDIS_CopyFiles_NT = 12 ; DO NOT CHANGE ServiceDisplayName [Strings] ServiceDisplayName = "USB Remote NDIS Network Device Driver" NetworkAddress = "Network Address" Linux = "Linux Developer Community" LinuxDevice = "Neo1973 USB Ethernet/RNDIS" SourceDisk = "Ethernet/RNDIS Gadget Driver Install Disk" This version of SHR doesn't work with PUTTY on Windows XP SP3 New Version SHR unstable r...@om-gta02 /etc $ cat shr-version SHR -20100714 Built from branch: org.openembedded.dev Revision:be6ff5541d09fb0c938d12fad2ceee07680a36fc r...@om-gta02 /etc $ uname -a Linux om-gta02 2.6.32.13 PREMPT Thu Jul 1 06:45:39 CEST 2010 arm4t1 GNI/Linux Using Device Manager -> Network Adaptors -> Properties -> Details Reports Linux USB Ethernet/RNDIS Gadget Device Instance Id USB\VID_0525&PID_A4A2\6&3689F8D7&0&2 Matching Device Id usb\vid_0525&pid_a4a2 Device Manager -> Network Adaptors -> Properties -> Driver -> Driver Details >From setupapi.log C:\WINDOWS\system32\DRIVERS\usb8023.sys version 5.1.2600.5512 (xpsp.0808413-0852) [2010/07/16 11:25:10 4436.459 Driver Install] #-019 Searching for hardware ID(s): usb\vid_0525&pid_a4a2&rev_0312,usb\vid_0525&pid_a4a2 #-018 Searching for compatible ID(s): usb\class_02&subclass_02&prot_ff,usb\class_02&subclass_02,usb\class_02 #-198 Command line processed: "C:\WINDOWS\system32\mmc.exe" C:\WINDOWS\system32\devmgmt.msc /s #I063 Selected driver installs from section [RNDIS.NT.5.1] in "c:\windows\inf\oem43.inf". #I320 Class GUID of device remains: {4D36E972-E325-11CE-BFC1-08002BE10318}. #I060 Set selected driver. >From UsbSnoop.log [13 ms] >>> URB 1 going down >>> -- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE: TransferBufferLength = 00000012 TransferBuffer = 8679fce0 TransferBufferMDL = 00000000 Index = 00000000 DescriptorType = 00000001 (USB_DEVICE_DESCRIPTOR_TYPE) LanguageId = 00000000 [14 ms] UsbSnoop - MyInternalIOCTLCompletion(a5f4e126) : fido=00000000, Irp=8618c008, Context=86351c80, IRQL=2 [14 ms] <<< URB 1 coming back <<< -- URB_FUNCTION_CONTROL_TRANSFER: PipeHandle = 863a6210 TransferFlags = 80564d2b (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK) TransferBufferLength = 00000012 TransferBuffer = 8679fce0 TransferBufferMDL = 8b005f48 00000000: 12 01 00 02 02 00 00 08 25 05 a2 a4 12 03 01 02 00000010: 00 02 UrbLink = 00000000 SetupPacket = 00000000: 80 06 00 01 00 00 12 00 note the a4a2 0525 in reverse order in this log along with version 312 contents of oem43.INF ; MS-Windows driver config matching some basic modes of the ; Linux-USB Ethernet/RNDIS gadget firmware: ; ; - RNDIS plus CDC Ethernet ... this may be familiar as a DOCSIS ; cable modem profile, and supports most non-Microsoft USB hosts ; ; - RNDIS plus CDC Subset ... used by hardware that incapable of ; full CDC Ethernet support. ; ; Microsoft only directly supports RNDIS drivers, and bundled them into XP. ; The Microsoft "Remote NDIS USB Driver Kit" is currently found at: ; http://www.microsoft.com/whdc/hwdev/resources/HWservices/rndis.mspx [Version] Signature = "$CHICAGO$" Class = Net ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider = %Linux% Compatible = 1 MillenniumPreferred = .ME DriverVer = 03/30/2004,0.0.0.0 ; catalog file would be used by WHQL ;CatalogFile = Linux.cat [Manufacturer] %Linux% = LinuxDevices,NT.5.1 [LinuxDevices] ; NetChip IDs, used by both firmware modes %LinuxDevice% = RNDIS, USB\VID_0525&PID_a4a2 [LinuxDevices.NT.5.1] %LinuxDevice% = RNDIS.NT.5.1, USB\VID_0525&PID_a4a2 [ControlFlags] ExcludeFromSelect=* ; Windows 98, Windows 98 Second Edition specific sections -------- [RNDIS] DeviceID = usb8023 MaxInstance = 512 DriverVer = 03/30/2004,0.0.0.0 AddReg = RNDIS_AddReg_98, RNDIS_AddReg_Common [RNDIS_AddReg_98] HKR, , DevLoader, 0, *ndis HKR, , DeviceVxDs, 0, usb8023.sys HKR, NDIS, LogDriverName, 0, "usb8023" HKR, NDIS, MajorNdisVersion, 1, 5 HKR, NDIS, MinorNdisVersion, 1, 0 HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5" HKR, Ndi\Interfaces, DefLower, 0, "ethernet" HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_98" HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_98" HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_98" HKR, Ndi, DeviceId, 0, "USB\VID_0525&PID_a4a2" [RNDIS_Install_98] CopyFiles=RNDIS_CopyFiles_98 [RNDIS_CopyFiles_98] usb8023.sys, usb8023w.sys, , 0 rndismp.sys, rndismpw.sys, , 0 ; Windows Millennium Edition specific sections -------------------- [RNDIS.ME] DeviceID = usb8023 MaxInstance = 512 DriverVer = 03/30/2004,0.0.0.0 AddReg = RNDIS_AddReg_ME, RNDIS_AddReg_Common Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI BusType = 15 [RNDIS_AddReg_ME] HKR, , DevLoader, 0, *ndis HKR, , DeviceVxDs, 0, usb8023.sys HKR, NDIS, LogDriverName, 0, "usb8023" HKR, NDIS, MajorNdisVersion, 1, 5 HKR, NDIS, MinorNdisVersion, 1, 0 HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5" HKR, Ndi\Interfaces, DefLower, 0, "ethernet" HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_ME" HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_ME" HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_ME" HKR, Ndi, DeviceId, 0, "USB\VID_0525&PID_a4a2" [RNDIS_Install_ME] CopyFiles=RNDIS_CopyFiles_ME [RNDIS_CopyFiles_ME] usb8023.sys, usb8023m.sys, , 0 rndismp.sys, rndismpm.sys, , 0 ; Windows 2000 specific sections --------------------------------- [RNDIS.NT] Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI BusType = 15 DriverVer = 03/30/2004,0.0.0.0 AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_Common CopyFiles = RNDIS_CopyFiles_NT [RNDIS.NT.Services] AddService = USB_RNDIS, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog [RNDIS_CopyFiles_NT] ; no rename of files on Windows 2000, use the 'k' names as is usb8023k.sys, , , 0 rndismpk.sys, , , 0 [RNDIS_ServiceInst_NT] DisplayName = %ServiceDisplayName% ServiceType = 1 StartType = 3 ErrorControl = 1 ServiceBinary = %12%\usb8023k.sys LoadOrderGroup = NDIS AddReg = RNDIS_WMI_AddReg_NT [RNDIS_WMI_AddReg_NT] HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpk.sys" ; Windows XP specific sections ----------------------------------- [RNDIS.NT.5.1] Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI BusType = 15 DriverVer = 03/30/2004,0.0.0.0 AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_Common ; no copyfiles - the files are already in place [RNDIS.NT.5.1.Services] AddService = USB_RNDIS, 2, RNDIS_ServiceInst_51, RNDIS_EventLog [RNDIS_ServiceInst_51] DisplayName = %ServiceDisplayName% ServiceType = 1 StartType = 3 ErrorControl = 1 ServiceBinary = %12%\usb8023.sys LoadOrderGroup = NDIS AddReg = RNDIS_WMI_AddReg_51 [RNDIS_WMI_AddReg_51] HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismp.sys" ; Windows 2000 and Windows XP common sections -------------------- [RNDIS_AddReg_NT] HKR, Ndi, Service, 0, "USB_RNDIS" HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" [RNDIS_EventLog] AddReg = RNDIS_EventLog_AddReg [RNDIS_EventLog_AddReg] HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll" HKR, , TypesSupported, 0x00010001, 7 ; Common Sections ------------------------------------------------- [RNDIS_AddReg_Common] HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress% HKR, NDI\params\NetworkAddress, type, 0, "edit" HKR, NDI\params\NetworkAddress, LimitText, 0, "12" HKR, NDI\params\NetworkAddress, UpperCase, 0, "1" HKR, NDI\params\NetworkAddress, default, 0, " " HKR, NDI\params\NetworkAddress, optional, 0, "1" [SourceDisksNames] 1=%SourceDisk%,,1 [SourceDisksFiles] usb8023m.sys=1 rndismpm.sys=1 usb8023w.sys=1 rndismpw.sys=1 usb8023k.sys=1 rndismpk.sys=1 [DestinationDirs] RNDIS_CopyFiles_98 = 10, system32/drivers RNDIS_CopyFiles_ME = 10, system32/drivers RNDIS_CopyFiles_NT = 12 [Strings] ServiceDisplayName = "USB Remote NDIS Network Device Driver" NetworkAddress = "Network Address" Linux = "Linux Developer Community" LinuxDevice = "Linux USB Ethernet/RNDIS Gadget" SourceDisk = "Ethernet/RNDIS Gadget Driver Install Disk" http://www.linux-usb.org/usb.ids 0525 Netchip Technology, Inc. a4a2 Linux-USB Ethernet/RNDIS Gadget 1457 First International Computer, Inc. 5117 OpenMoko Neo1973 kernel usbnet (g_ether, CDC Ethernet) mode 5118 OpenMoko Neo1973 Debug board (V2+) 5119 OpenMoko Neo1973 u-boot cdc_acm serial port 5120 OpenMoko Neo1973 u-boot usbtty generic serial 5121 OpenMoko Neo1973 kernel mass storage (g_storage) mode 5122 OpenMoko Neo1973 / Neo Freerunner kernel cdc_ether USB network 5123 OpenMoko Neo1973 internal USB CSR4 module 5124 OpenMoko Neo1973 Bluetooth Device ID service 1d50 OpenMoko, Inc. 5119 GTA01/GTA02 U-Boot Bootloader http://wiki.openmoko.org/wiki/USB_Product_IDs 0x1d50 0x1db5 IDBG in DFU mode 0x1d50 0x1db6 IDBG in normal mode 0x1457 / 0x1d50 0x5117 Neo1973/FreeRunner kernel usbnet (g_ether, CDC Ethernet) Mode 0x1457 / 0x1d50 0x5118 Debug Board (FT2232D) for Neo1973/FreeRunner 0x1457 / 0x1d50 0x5119 Neo1973/FreeRunner u-boot usbtty CDC ACM Mode 0x1457 / 0x1d50 0x511a HXD8 u-boot usbtty CDC ACM Mode 0x1457 / 0x1d50 0x511b SMDK2440 u-boot usbtty CDC ACM mode 0x1457 / 0x1d50 0x511c SMDK2443 u-boot usbtty CDC ACM mode 0x1457 / 0x1d50 0x511d QT2410 u-boot usbtty CDC ACM mode 0x1457 / 0x1d50 0x511e Reserved 0x1457 / 0x1d50 0x511f Reserved 0x1457 / 0x1d50 0x5120 Neo1973/FreeRunner u-boot generic serial Mode 0x1457 / 0x1d50 0x5121 Neo1973/FreeRunner kernel mass storage (g_storage) Mode 0x1457 / 0x1d50 0x5122 Neo1973/FreeRunner kernel usbnet (g_ether, RNDIS) Mode 0x1457 / 0x1d50 0x5123 Neo1973/FreeRunner internal USB Bluetooth CSR4 module 0x1457 / 0x1d50 0x5124 Neo1973/FreeRunner Bluetooth Device ID service 0x1457 / 0x1d50 0x5125 TBD 0x1457 / 0x1d50 0x5126 TBD NOTICE - This message and any attached files may contain information that is confidential, legally privileged or proprietary. It is intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error. Any dissemination, copying, use or re-transmission of this message or attachment, or the disclosure of any information therein, is strictly forbidden. BlueScope Steel Limited does not represent or guarantee that this message or attachment is free of errors, virus or interference. If you have received this message in error please notify the sender immediately and delete the message. Any views expressed in this email are not necessarily the views of BlueScope Steel Limited. _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
