Re: USB Mass Storage + Ethernet Composite Gadget problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 3, 2009 at 10:33 PM, Marek Szyprowski wrote:
I just did one more experiment. I've selected to install the driver manually in Windows wizard and I seleted the standard linux.inf for
Linux RNDIS  Ethernet gadget (it is available for example here:
<URL:http://beagleboard.googlecode.com/files/linux.inf>).

I was really surprised, the driver installed correctly and RNDIS connection started working! So the real problem is to create
a proper .inf for Windows.

On Fri, 03 Jul 2009 16:49:00 +0200, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
So it works, right? Glad to hear that.

It appears that it works everywhere expect for my computer. ;)
Windows XP SP2 running inside a VMWare even handled everything correctly (it didn't install RNDIS drivers but mass storage worked fine). The SetupAPI.log of my native Windows XP SP3 says what follows:

#v+
[2009/07/06 12:02:29 1196.44 Driver Install]
#-019 Searching for hardware ID(s): usb\vid_0830&pid_0102&rev_0222,usb\vid_0830&pid_0102 #-018 Searching for compatible ID(s): usb\devclass_00&subclass_00&prot_00,usb\devclass_00&subclass_00,usb\devclass_00,usb\composite
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device. #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
[2009/07/06 12:02:31 316.2]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line: rundll32.exe newdev.dll,ClientSideInstall \\.\pipe\PNP_Device_Install_Pipe_0.{7072A6E7-A450-4971-9029-C6D1314E6783}
#I060 Set selected driver.
#-019 Searching for hardware ID(s): usb\vid_0830&pid_0102&rev_0222,usb\vid_0830&pid_0102 #-018 Searching for compatible ID(s): usb\devclass_00&subclass_00&prot_00,usb\devclass_00&subclass_00,usb\devclass_00,usb\composite
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device. #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
#I060 Set selected driver.
#-019 Searching for hardware ID(s): usb\vid_0830&pid_0102&rev_0222,usb\vid_0830&pid_0102 #-018 Searching for compatible ID(s): usb\devclass_00&subclass_00&prot_00,usb\devclass_00&subclass_00,usb\devclass_00,usb\composite
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device. #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device. #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
#I060 Set selected driver.
#-166 Device install function: DIF_INSTALLDEVICE.
#I125 Installing NULL driver for "USB\VID_0830&PID_0102\0000000000000000".
#I121 Device install of "USB\VID_0830&PID_0102\0000000000000000" finished successfully.
#v-

Anyhow, it seems the Linux code works and now only a few tweaks and changes as well as a Windows INF file is needed.

By the way, I believe that INF file [Marek has supplied] is
flawed. Firstly it will not work for 64bit Windows.

You may want to try out the inf files here for 64bit Windows.
http://predev.wikidot.com/usbnet-setup

At this point we don't care about 64-bit system. But thanks for the links, we'll look into them when everything starts working on system we are running.

--
Best regards,                                            _     _
 .o. | Liege of Serenly Enlightened Majesty of         o' \,=./ `o
 ..o | Computer Science,  Michał "mina86" Nazarewicz      (o o)
 ooo +-<m.nazarewicz@xxxxxxxxxxx>-<mina86@xxxxxxxxxx>-ooO--(_)--Ooo--

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux