Re: [PATCH 14/17] Documentation: usb: SERIAL function testing

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

 



On Mon, Dec 01, 2014 at 09:33:45AM +0100, Andrzej Pietrasiewicz wrote:
> W dniu 28.11.2014 o 16:37, Johan Hovold pisze:
> > On Fri, Nov 28, 2014 at 02:57:47PM +0100, Andrzej Pietrasiewicz wrote:
> >> Summary of how to test SERIAL function of USB gadget.
> >
> >> +Testing the SERIAL function
> >> +---------------------------
> >> +
> >> +On host: insmod usbserial vendor=<vendorID> product=<productID>
> >
> > You should use the sysfs interface to add the IDs dynamically instead of
> > the legacy module parameters here.
> >
> Thank you for pointing that out. Can you tell how to actually do it?

Sure, just do

	echo VID PID >/sys/bus/usb-serial/drivers/generic/new_id

> I followed the instruction in Documentation/usb/gadget_serial.txt.
> It says:
> 
> "You must explicitly load the usbserial driver with parameters to
> configure it to recognize the gadget serial device, like this:
> 
>    modprobe usbserial vendor=0x0525 product=0xA4A6".

That one should probably be updated as well then.

Thanks,
Johan
--
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