On Friday 12 November 2010 14:58:49 Patrick Lamaiziere wrote: > (8.1-STABLE/i386) > > Hello, > > Here, if uplcom is attached to cuaU0, the serial connection does not > work, as far i can see it does not send anything : > > kernel: uplcom_pre_param: > kernel: uplcom_cfg_param: sc = 0xc7416200 > kernel: uplcom_cfg_param: rate=9600 fmt=0 parity=0 bits=8 > kernel: uplcom_pre_param: > kernel: uplcom_cfg_set_dtr: onoff = 1 > kernel: uplcom_cfg_set_rts: onoff = 1 > kernel: uplcom_cfg_param: sc = 0xc7416200 > kernel: uplcom_cfg_param: rate=57600 fmt=0 parity=0 bits=8 > > that's all > > But if attached to cuaU3, it works fine. The difference is the use > of an u3g key using cuaU0. > > kernel: ugen0.3: <Prolific Technology Inc.> at usbus0 > kernel: uplcom0: <Prolific Technology Inc. USB-Serial Controller D, > class 0/0, rev 1.10/3.00, addr 3> on usbus0 > kernel: uplcom_attach: sc = 0xc7417c00 > kernel: uplcom_attach: chiptype: 2303X > kernel: uplcom_pre_param: > kernel: uplcom_cfg_set_dtr: onoff = 1 > kernel: uplcom_pre_param: > kernel: uplcom_intr_callback: actlen = 10 > kernel: uplcom_intr_callback: status = 0x82 > kernel: uplcom_cfg_set_rts: onoff = 1 > kernel: uplcom_cfg_set_break: onoff = 0 > kernel: uplcom_cfg_get_status: > kernel: uplcom_cfg_param: sc = 0xc7417c00 > kernel: uplcom_cfg_param: rate=9600 fmt=0 parity=0 bits=8 > kernel: uplcom_cfg_param: sc = 0xc7417c00 > kernel: uplcom_cfg_param: rate=57600 fmt=0 parity=0 bits=8 > kernel: uplcom_cfg_get_status: > kernel: uplcom_cfg_set_dtr: onoff = 1 > kernel: uplcom_cfg_set_dtr: onoff = 0 > kernel: uplcom_cfg_set_rts: onoff = 1 > kernel: uplcom_cfg_set_dtr: onoff = 1 > kernel: uplcom_cfg_set_rts: onoff = 1 > kernel: uplcom_write_callback: actlen = 1 > kernel: uplcom_write_callback: actlen = 1 > kernel: uplcom_write_callback: actlen = 32
Hi, Maybe the device detection logic in sys/dev/usb/serial/uplcom.c is not correct. Could you dump usbconfig output from your device? usbconfig -d X.Y dump_device_desc --HPS _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[email protected]"
