Re: Gadget serial driver

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

 



On Fri, Nov 12, 2010 at 08:26:22PM +0100, Jef Driesen wrote:
> Hi,
>
> The g_serial kernel module has two idVendor and idProduct parameters. I 
> used those in the past to simulate a usb device with non-default VID/PID, 
> e.g.
>
> sudo modprobe g_serial idVendor=0xFFFF idProduct=0x0005 use_acm=1
>
> But recently this stopped working. Whatever values I pass the default 
> values (0525:a4a7) get used. The parameters are still there in 
> drivers/usb/gadget/composite.c, but it looks like there values aren't used 
> anywhere in the g_serial module (serial.c). Only the hardcoded defaults are 
> used there.
>
> I don't know exactly which version used to work, but I think it was 2.6.32. 
> The one I'm running now is 2.6.35. Both are ubuntu kernels.

Can you try a kernel.org kernel?  We have no idea what is patched in
ubuntu kernels :(

If you can narrow it down to a version, and then a commit (using 'git
bisect') that would be the best.

thanks,

greg k-h
--
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