Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread CeDeROM
Try to add VID/PID of your device into a usbmodem driver. Use configurations to see which one works with your device. Rebuild the module/kernel, reboot, try it out untill success. After your device is recognised by usbmodem and creates several cuaU* devices.. still Your device may require

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread blubee blubeeme
On Fri, Nov 2, 2018, 22:11 Warner Losh wrote: > On Fri, Nov 2, 2018 at 8:04 AM Andrey V. Elsukov > wrote: > > > On 02.11.2018 16:59, Warner Losh wrote: > > > All the commands for USB modems should be described here: > > > > > > https://www.usb.org/sites/default/files/CDC_EEM10.pdf > > >

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Warner Losh
On Fri, Nov 2, 2018 at 8:04 AM Andrey V. Elsukov wrote: > On 02.11.2018 16:59, Warner Losh wrote: > > All the commands for USB modems should be described here: > > > > https://www.usb.org/sites/default/files/CDC_EEM10.pdf > > > > I'm sorry, but I don't have time currently to decode

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Andrey V. Elsukov
On 02.11.2018 16:59, Warner Losh wrote: > All the commands for USB modems should be described here: > > https://www.usb.org/sites/default/files/CDC_EEM10.pdf > > I'm sorry, but I don't have time currently to decode the Linux traces > and compare with FreeBSD. > > > One thing to

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Warner Losh
On Fri, Nov 2, 2018 at 3:57 AM Hans Petter Selasky wrote: > On 11/2/18 10:24 AM, Andrey V. Elsukov wrote: > > On 02.11.2018 12:12, Hans Petter Selasky wrote: > >>> # cu -l /dev/cuaU0 > >>> Connected > >>> > >>> > >>> > >> > >> Did you try "-s" option to set another baudrate? > > > > Yes, the

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Hans Petter Selasky
On 11/2/18 10:24 AM, Andrey V. Elsukov wrote: On 02.11.2018 12:12, Hans Petter Selasky wrote: # cu -l /dev/cuaU0 Connected Did you try "-s" option to set another baudrate? Yes, the result is the same. # cu -s 115200 -l /dev/cuaU0 Connected If I understand correctly from

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Andrey V. Elsukov
On 02.11.2018 12:12, Hans Petter Selasky wrote: >> # cu -l /dev/cuaU0 >> Connected >> >> >> > > Did you try "-s" option to set another baudrate? Yes, the result is the same. # cu -s 115200 -l /dev/cuaU0 Connected If I understand correctly from

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Hans Petter Selasky
On 11/2/18 9:53 AM, Andrey V. Elsukov wrote: On 02.11.2018 11:45, Hans Petter Selasky wrote: And it seems in Linux it is handled by generic CDC ACM driver without any quirks. So, I think the problem is with our umodem(4) or ucom(4) driver. No, I didn't. The usbmon dumps above are still

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Andrey V. Elsukov
On 02.11.2018 11:45, Hans Petter Selasky wrote: >>> And it seems in Linux it is handled by generic CDC ACM driver without >>> any quirks. So, I think the problem is with our umodem(4) or ucom(4) >>> driver. >>> >> No, I didn't. >> >> The usbmon dumps above are still there, and if someone can

Re: umodem0, Cisco USB serial console, and quirks

2018-11-02 Thread Hans Petter Selasky
On 11/2/18 1:01 AM, Mike Andrews wrote: On 11/1/18 4:59 PM, Andrey V. Elsukov wrote: On 27.09.2017 05:11, Mike Andrews wrote: This is the USB read transfer. The other side is not returning any data, so neither is "cu" printing anything. Maybe you can try to get a similar trace from the system