Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jun 2007 17:51:34 +0300
From:      Alexander Motin <mav@alkar.net>
To:        Nikolay Pavlov <quetzal@zone3000.net>
Cc:        =?UTF-8?B?0JzQsNGF0LzQsNGC0YXQsNC90L7QsiDQoNGD0YHQu9Cw0L0g0JrQsNC30LHQtQ==?=, =?UTF-8?B?0LrQvtCy0LjRhw==?= <R.Mahmatkhanov@SKYLINK.RU>, freebsd-usb@freebsd.org
Subject:   Re: ucom0: could not set data multiplex mode
Message-ID:  <4666C9F6.5010106@alkar.net>
In-Reply-To: <20070606142813.GA46995@zone3000.net>
References:  <20070531054845.GA22380@zone3000.net> <20070531.010436.-460543608.imp@bsdimp.com> <20070602122453.GA48237@zone3000.net> <20070602.131011.-1370572280.imp@bsdimp.com> <20070606091528.GA44081@zone3000.net> <466682FB.6070904@SKYLINK.RU> <20070606142813.GA46995@zone3000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@alkar.net
Optima Telecom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4666C9F6.5010106>