On Wed, Oct 22, 2014 at 04:13:36PM +0200, Andreas Sundstrom wrote: > On 10/22/2014 03:00 PM, Johan Hovold wrote: > > On Wed, Oct 22, 2014 at 01:17:44PM +0200, Andreas Sundstrom wrote: > >> Some newer switch models from HP has a usb2serial port in them. > >> I just got to try one out and it sort of works with the generic > >> usbserial driver. > >> > >> The problem I am seeing is that it always use 9600 bps, even if I > >> specify 115200 or 19200. > >> > >> Is it possible to troubleshoot this in any way, I can test patches if > >> needed. > >> This is on a vanilla 3.17.1 kernel. > >> > >> Here are the details: > >> modprobe usbserial vendor=0x3f0 product=0x13f > >> [...] > >> Looks like this one should be handled by the cdc-acm driver, but the > >> device class (Misc) prevents it from being recognised. > >> > >> Can you try forcing it to bind through sysfs? > >> > >> echo 03f0 013f >/sys/bus/usb/drivers/cdc_acm/new_id > >> > I don't know how it works, but after I compiled the cdc_acm driver it is > being loaded automatically when the USB port is plugged in. > And it looks like it's working as it should. Even better. The driver is matching on the interface (as it should). > Thanks for the help You're welcome. 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