ucom0: could not set data multiplex mode

Alexander Motin mav at alkar.net
Wed Jun 6 15:51:41 UTC 2007


Nikolay Pavlov wrote:
>>> Hi Warner and Ruslan. Warner i have found that Ruslan is the originator of the patches for
>>> umodem.c: http://www.freebsd.org/cgi/query-pr.cgi?pr=109838
>>> So there is already a few CMOTECH devices there. In any case guys here is my "usbdevs -v" output:
>>> Controller /dev/usb0:
>>> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
>>> port 1 addr 2: full speed, power 100 mA, config 1, CMOTECH CDMA Technologies(0x5533), CMOTECH CO., LTD.(0x16d8), rev 0.00
>>> port 2 powered
>>> I am open to any test ;)
>> Please, try attached patch:
>>
>> # cd /usr/src/sys/dev/usb
>> # patch < /path/to/ccu550.diff
>>
>> Then rebuild and reinstall kernel, reboot and try to use CCU550 with that new kernel.
>>
>> Patch is applying cleanly against in -CURRENT:
>>
>>  - usb_quirks.c  1.41.2.8
>>  - usbdevs       1.296
>>
>> so update your sources if you have earlier versions of this files or adapt this patch for your files versions.
> 
> Yes. This patch works for me. Thank you Ruslan. I can attach and detach
> the device for now:
> 
> And it works. :) Is this possible to commit this Warner?
> 
> However i have found one issue. If i am trying to detach it while mpd
> session is running i see this message from kernel:
....
>  
> I don't know who is the right person regarding this question.
> May be the maintainer of the mpd port knows?
> 
> Alexander?

It's a pity, but tty and ng_tty code is still a white region on my
FreeBSD world map. I have not looked there deep yet and I have no USB
modem to test it.

I think you should ask somebody of previous ng_tty committers.

-- 
Alexander Motin mav at alkar.net
Optima Telecom


More information about the freebsd-usb mailing list