Hi guys, I'm developping a firmware for an usb device for my enterprise and I try to be compatible with OpenBSD.
So I test my device (which just do serial communication following the USB cdc Abstract Control Modem). The plug seems to works fine. The attach works and attach ucom0 at umodem and umodem at uhub. But when I'm trying to do this : echo aaab > /dev/ttyU0 The echo still freeze. So I get the sys.tar.gz and add some trace on ucom.c and umodem.c to find where does my device sucks. My problem seems to be a TIMEOUT on the set_line_coding. Do you know what packet should I send on set_line_coding ? for the moment my device just got the packet and read 7bits for gets the data concerning the baudrate etc.. I try to add some ack packet after or / and before the recv but that don't change my problem. this is the line added by the plug of my device on dmesg: umodem0 at uhub3 port 2 configuration 1, interface 0 umodem0: Atmel AT91USBSerial, rev 1.01/0.01, addr2, iclass 2/2 umodem0: data interface 1, has no CM over data, has break umodem0: status change notification available ucom0 at umodem0 Thanks in advance for your help. -- Gallon sylvestre Rathaxes Core Developper / LSE researcher kernel developer for adeneo and OpenBSD fan http://devsyl.blogspot.com/ | www.rathaxes.eu

