From owner-freebsd-mobile@FreeBSD.ORG Sun Dec 23 19:54:40 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45D7816A420; Sun, 23 Dec 2007 19:54:40 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id D5A5113C44B; Sun, 23 Dec 2007 19:54:39 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([10.24.21.170]) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id lBNJsY8V023195 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Dec 2007 22:54:36 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1J6Wu9-0001it-SC; Sun, 23 Dec 2007 22:54:33 +0300 From: Vladimir Grebenschikov To: freebsd-mobile Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Sun, 23 Dec 2007 22:46:50 +0300 Message-Id: <1198439210.1617.8.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-current Subject: device uart - does it work for anybody with PCMCI card? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2007 19:54:40 -0000 Hi ppl Can anybody confirm that device uart just works for some PCMCI card ? I've tried with two different cards (both are different pccard celluar modems) and gets exactly same result. Device is detected, port can be open with any valid speed, but no any communication, or probably, no any replays from modem. First, I've thought that it is problem of my card, but then I've tried another card (just simple GSM modem) and gets same result. Example: cbb0: mem 0xe4300000-0xe4300fff irq 16 at device 0.0 on pci21 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] uart0: at port 0x400-0x408 irq 16 function 1 config 63 on pccard0 uart0: [FILTER] # cu -l /dev/cuau0 -s 115200 Connected ... Probably, there are some ideas how to debug that ? Machine is IBM/Lenovo T60 i386, RELENG_7 -- Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com From owner-freebsd-mobile@FreeBSD.ORG Mon Dec 24 01:16:27 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E24716A41A for ; Mon, 24 Dec 2007 01:16:27 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 548BF13C469 for ; Mon, 24 Dec 2007 01:16:27 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.14.1/8.13.8) with ESMTP id lBO15NDZ091513; Sun, 23 Dec 2007 20:05:23 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id lBO15Mju045196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Dec 2007 20:05:22 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200712240105.lBO15Mju045196@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 23 Dec 2007 20:05:30 -0500 To: Vladimir Grebenschikov , freebsd-mobile From: Mike Tancsa In-Reply-To: <1198439210.1617.8.camel@localhost> References: <1198439210.1617.8.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-current Subject: Re: device uart - does it work for anybody with PCMCI card? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2007 01:16:27 -0000 At 02:46 PM 12/23/2007, Vladimir Grebenschikov wrote: >Hi ppl > >Can anybody confirm that device uart just works for some PCMCI card ? Yes, in fact, for some PCMCIA cards, I need to use the uart driver as the sio driver does not work (eg Sierra Wireless). ---Mike From owner-freebsd-mobile@FreeBSD.ORG Mon Dec 24 15:21:20 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33A0716A417 for ; Mon, 24 Dec 2007 15:21:20 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id C97FE13C45A for ; Mon, 24 Dec 2007 15:21:19 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=JyZXNNcSFD4/Y4TpFVM7w/U45JCoZ6+ved1WMtmCkfMWHVOC7/wuEDAK7Tc6UW5LhNV7XWRgmurL0jr3RPqajYMozs8vrswppnu1JUBXpfZzOXLwznWDAY+picvD8v6ilFFG4kkgaHt/YBnR57YAAGxW9Vbp4/Fa4AMfvgA+LoE=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1J6op5-000F6n-3M; Mon, 24 Dec 2007 18:02:31 +0300 Date: Mon, 24 Dec 2007 18:02:29 +0300 From: Eygene Ryabinkin To: Vladimir Grebenschikov Message-ID: References: <1198439210.1617.8.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <1198439210.1617.8.camel@localhost> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-1.9 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_50 Cc: freebsd-current , freebsd-mobile Subject: Re: device uart - does it work for anybody with PCMCI card? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2007 15:21:20 -0000 Vladimir, good day. Sun, Dec 23, 2007 at 10:46:50PM +0300, Vladimir Grebenschikov wrote: > Can anybody confirm that device uart just works for some PCMCI card ? Yeah, I have ST-Lab RS-232 Serial PCMCIA card: http://www.st-lab.com/assign.asp?keyid=bn5 (C-130) It has Oxford Semiconductor OXCB950 chip and works fine. The card is discontinued, but there is other model that named simularily, 'C-131': http://www.st-lab.com/assign.asp?keyid=bn15 I don't know what chip they use in it, so can not say for sure that it will work out of the box. -- Eygene From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 28 14:41:59 2007 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC77616A417 for ; Fri, 28 Dec 2007 14:41:59 +0000 (UTC) (envelope-from geoffb@chuggalug.clues.com) Received: from chuggalug.clues.com (chuggalug2.demon.co.uk [83.104.169.191]) by mx1.freebsd.org (Postfix) with ESMTP id 35F4013C4CC for ; Fri, 28 Dec 2007 14:41:58 +0000 (UTC) (envelope-from geoffb@chuggalug.clues.com) Received: from chuggalug.clues.com (localhost [127.0.0.1]) by chuggalug.clues.com (8.14.0/8.12.10) with ESMTP id lBSESjed036402 for ; Fri, 28 Dec 2007 14:28:45 GMT (envelope-from geoffb@chuggalug.clues.com) Received: (from geoffb@localhost) by chuggalug.clues.com (8.13.8/8.12.10/Submit) id lBSESj0N036401 for mobile@freebsd.org; Fri, 28 Dec 2007 14:28:45 GMT (envelope-from geoffb) Date: Fri, 28 Dec 2007 14:28:45 +0000 From: Geoff Buckingham To: mobile@freebsd.org Message-ID: <20071228142845.GA35822@chuggalug.clues.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Cc: Subject: sdh PCI SD driver use in RELENG_7? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 14:41:59 -0000 I have been trying to get the sdh driver working in RELENG_7. I have found the original driver doesn't compile. http://lists.freebsd.org/pipermail/freebsd-mobile/2007-February/009508.html However some use of google found updated versions of sdh.c sdhreg.h and sdhvar.h at: http://phk.freebsd.dk/patch/ These allow me to compile a module, that attaches: sdh0@pci0:3:1:1: class=0x080501 card=0x01bd1028 chip=0x08221180 rev=0x19 hdr=0x00 vendor = 'Ricoh Company, Ltd.' device = 'R5C832, R5C843 SDA Standard Compliant SD Host Controller' class = base peripheral and gives me a slow, but working /dev/mmcsd0. I have found no explanation of the phk hosted versions, however a diff of sdh.c showed they addressed the first compile error I was getting with the original version. So I used them and it seems to work. Is there a more up to date version I should be using?