Johan Hovold <johan@xxxxxxxxxx> 於 2019年4月17日 週三 下午7:13寫道: > > The code I see in the pl2303_set_termios function > > is still pl2303_vendor_write(serial,0x0,0x41), > > Not pl2303_update_reg(serial,0,PL2303_FLOWCTRL_MASK,0x40); > > Yes, you need to base it on my usb-next branch (or linux-next): > > git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git OK, I will use "git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git " > I'll try to clean up the current driver some more based on your > feedback. I'll get back to you as soon as have something concrete > and we'll get the HXN support in place. Thank you very much! > > Meanwhile here are few questions: > > 1. Can bcdUSB be used to detect the HXN devices? No , you can't use bcdUSB be used to detect the HXN devices. > > 2. Does the old (type 01 and hx) devices require the register address > to be ORed with 0x80 when reading? Yes, the old (type_01 and HX ) needs require the register address to be ORed with 0x80 when reading. > 3. And the HXN does not need that ORing with 0x80 it seems? Yes, HXN's hardware design is different old (type_01 and hx). > 4. How do you use the chip-reset register (0x7) on HXN; do you write > 0x03 if you only want to reset both data pipes? Yes, I only want to reset both data pipes. Charles.