Re: usb-serial gadget -- windows xp not working

From: Xiaofan Chen
Date: Mon Mar 21 2011 - 11:17:15 EST

On Mon, Mar 21, 2011 at 10:43 PM, nidhi mittal hada
<nidhimittal19@xxxxxxxxx> wrote:
> Hi all
> I tried using g_serial driver for using my BeagleBoard (BB)  as usb
> serial gadget to connect it to windows xp host.
> using this link
> The command
> modprobe g_serial executed properly  on BB (gadget) and It gets
> identified successfully on Linus host(ubuntu) when connected through
> usb wire.
> But
> when the gadget connected to Windows XP .
> Host XP identifies a new hardware in device manager ...But the step of
> installing the .inf file obtained from
> does not succeed !!!

The inf file indeed has some bugs. But I doubt that is your problem.

mchpcdc.inf (and its derivatives)

FakeModemCopyFileSection=12 ; <------ add this line

;; CopyFiles = DriverCopyFiles.nt ; <------ wrong one: reference
to this INF file
CopyFiles = FakeModemCopyFileSection ; <------ right one: reference
to a section in mdmcpq.inf

;; [DriverCopyFiles.nt] ; <------ delete these lines
;; usbser.sys,,,0x20 ; <------

> As i found after googling --  i changed the product ID Vendor ID in
> .inf file found for my gadget.
> But the problem persists.!!!

If you have used the VID/PID for other experiment, then you will got
problems. You can use usbdeview to get Windows to forget about
the VID/PID combination.

Or you can use pnputil if you have WDK.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at