Gadget serial driver

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

 



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 someone have a look at this, or give me a few hints on how to fix this myself (i don't have much kernel experience but I'm interested to learn things).

Jef
--
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