From owner-freebsd-mobile Mon Apr 7 02:39:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA04633 for mobile-outgoing; Mon, 7 Apr 1997 02:39:13 -0700 (PDT) Received: from scotty.masternet.it (scotty.masternet.it [194.184.65.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA04626 for ; Mon, 7 Apr 1997 02:39:08 -0700 (PDT) Received: from gmarco.eclipse.org (ts1port14d.masternet.it [194.184.65.36]) by scotty.masternet.it (8.8.5/8.7.3) with SMTP id LAA17637 for ; Mon, 7 Apr 1997 11:39:37 GMT Message-ID: <334A2E94.41C67EA6@scotty.masternet.it> Date: Tue, 08 Apr 1997 11:40:04 +0000 From: Gianmarco Giovannelli X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: mobile@freebsd.org Subject: I need help for Usr Sportser v34 :-) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello to everyone... After a long war with kernel config file, /etc/sysconfig and pccard.conf I am finally succeded in using my 3c589c pcmcia card , but I am still not able to configure the usr sportser v34 (33.6). Here is the pccardc dumpcis output : --- begin --- Configuration data for card in slot 0 [...] Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: 00 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = 512b, 1 units Tuple #2, code = 0x15 (Version 1 info), length = 43 000: 05 00 55 2e 53 2e 20 52 6f 62 6f 74 69 63 73 00 010: 31 36 32 36 00 53 70 6f 72 74 73 74 65 72 20 56 020: 2e 33 34 20 4d 6f 64 65 6d 00 ff Version = 5.0, Manuf = [U.S. Robotics],card vers = [1626] Addit. info = [Sportster V.34 Modem],[] Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 02 01 2c 00 PCMCIA ID = 0x102, OEM ID = 0x2c Tuple #4, code = 0x1a (Configuration map), length = 5 000: 01 23 00 03 03 Reg len = 2, config register addr = 0x300, last config = 0x23 Registers: XX------ Tuple #5, code = 0x1b (Configuration entry), length = 16 000: e0 41 99 49 55 26 25 aa 60 f8 03 07 30 ff ff 28 Config index = 0x20(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 2 x 100mA Power down supply current: 2 x 10mA Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3f8 block length = 0x8 IRQ modes: Level IRQs: 4 5 8 9 10 11 12 13 14 15 Max twin cards = 0 Misc attr: (Audio-BVD2) (Power down supported) Tuple #6, code = 0x1b (Configuration entry), length = 7 000: 21 08 aa 60 f8 02 07 Config index = 0x21 Card decodes 10 address lines, 8 Bit I/O only Tuple #7, code = 0x1b (Configuration entry), length = 7 000: 22 08 aa 60 e8 03 07 Config index = 0x22 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3e8 block length = 0x8 Tuple #8, code = 0x1b (Configuration entry), length = 7 000: 23 08 aa 60 e8 02 07 Config index = 0x23 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2e8 block length = 0x8 Tuple #9, code = 0x21 (Functional ID), length = 2 000: 02 01 Serial port/modem - POST initialize Tuple #10, code = 0x22 (Functional EXT), length = 4 000: 00 02 0f 7c Serial interface extension: 16550 UART, Parity - Space,Mark,Odd,Even, Tuple #11, code = 0x22 (Functional EXT), length = 9 000: 01 1f 0d 00 03 00 00 03 00 Modem interface capabilities: Tuple #12, code = 0x22 (Functional EXT), length = 12 000: 02 06 00 3f 1c 03 03 0f 07 00 02 b5 Data modem services available: Tuple #13, code = 0x22 (Functional EXT), length = 8 000: 13 06 00 0f 00 02 00 b5 Tuple #14, code = 0x22 (Functional EXT), length = 8 000: 23 06 00 0f 00 02 00 b5 Tuple #15, code = 0x0 (Null tuple), length = 10 000: 02 01 2c 00 01 00 00 00 00 ff Tuple #16, code = 0x14 (No link), length = 0 Tuple #17, code = 0xff (Terminator), length = 0 2 slots found --- end --- and here is /etc/pccard.conf --- begin --- # Sample PCCARD configuration file [...] # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 9 10 11 15 # Available memory slots memory 0xd4000 96k # 3Com Etherlink III 3C589B, 3C589C card "3Com Corporation" "3C589" config 0x1 "ep0" ? insert echo 3Com Etherlink III inserted # insert /etc/pccard_ether ep0 -link0 link1 insert /etc/pccard_ether ep0 link0 -link1 remove echo 3Com Etherlink III removed remove /sbin/ifconfig ep0 delete # US Robotics COURIER PCMCIA V.34 card "U.S. Robotics" "1626" config 0x20 "sio2" ? insert echo USRobotics PCMCIA Modem inserted remove echo USRobotics PCMCIA Modem removed --- end --- and here there is the relevant part of the kernel config file --- begin --- # # Laptop support (see LINT for more options) # device apm0 at isa? disable # Advanced Power Management options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS # PCCARD (PCMCIA) support controller crd0 device pcic0 at crd? device pcic1 at crd? device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr siointr device psm0 at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr device ep0 at isa ? port 0x300 net irq 10 vector epintr --- end --- The laptop is a IBM 365XD , with an intel pcmcia controller. FreeBSD is 2.2.1 (ctm #215) Only few questions now :-) 1) What I wrong for the usr modem card ? Everytime I insert it says :"Resource allocation failure for U.S. Robotics ...." Is the config 0x20 the right one ? Any hints ? I am sorry, but I am not still able to find a little documentation. I understand a little more reading the PAO readme files, but I don't use it... 2) When the kernel boots it first complains about the lack of the ep0 (it presumes it is an isa card, as I can seen from the kernel). Then it recognizes as pcmcia card. Is it a correct way of doing thing ? I am trying to explain better... Is there any way to tell the kernel that my ep0 is only a pcmcia card and not an isa one so it can prove it only after loading the pccard ? 3) When it recognizes it as card it outputs the string on the boot screen in a random position. Is it correct ? Or have I to modify something to have things goes like so : "Slot 0 : ep0 , address ....etc etc" . Yes I know the important thing is that card works but .... 4) For use the modem pcmcia must I compile my kernel with a more sio added ...? In other words have I to add the line of the sio that will use the modem after it is recognized ... ? I am sorry for my long messages, and I think it will be a little obscure in some parts, but it is the best thing I can do with my school-english. Thanks again to everyone for attention... -- Regards... Gianmarco "Unix expert since yesterday" http://www2.masternet.it From owner-freebsd-mobile Mon Apr 7 09:15:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA20627 for mobile-outgoing; Mon, 7 Apr 1997 09:15:03 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA20606 for ; Mon, 7 Apr 1997 09:14:53 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA09777; Mon, 7 Apr 1997 10:14:21 -0600 (MDT) Date: Mon, 7 Apr 1997 10:14:21 -0600 (MDT) Message-Id: <199704071614.KAA09777@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Gianmarco Giovannelli Cc: mobile@freebsd.org Subject: Re: I need help for Usr Sportser v34 :-) In-Reply-To: <334A2E94.41C67EA6@scotty.masternet.it> References: <334A2E94.41C67EA6@scotty.masternet.it> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I am finally succeded in using my 3c589c pcmcia card , but I am still > not able to configure the usr sportser v34 (33.6). Congratulations on the first, and we'll get the second working in a few minutes. > Here is the pccardc dumpcis output : Thanks, this is perfect for what we need. First, a question. Are you using the PAO code or what code? The dumpcis output seems corrupted, and I'd like to know how to blame, me or someone else. :) > Tuple #5, code = 0x1b (Configuration entry), length = 16 > 000: e0 41 99 49 55 26 25 aa 60 f8 03 07 30 ff ff 28 > Config index = 0x20(default) ^^^^ This is the index you have chosen. > Interface byte = 0x41 (I/O) +RDY/-BSY active > Vcc pwr: > Nominal operating supply voltage: 5 x 1V > Continuous supply current: 2 x 100mA > Power down supply current: 2 x 10mA > Card decodes 10 address lines, 8 Bit I/O only > I/O address # 1: block start = 0x3f8 block length = 0x8 ^^^^^ This is 'sio0', which probably conflicts with you built-in serial card. You probably want. > IRQ modes: Level > IRQs: 4 5 8 9 10 11 12 13 14 15 > Max twin cards = 0 > Misc attr: (Audio-BVD2) (Power down supported) > Tuple #6, code = 0x1b (Configuration entry), length = 7 > 000: 21 08 aa 60 f8 02 07 > Config index = 0x21 > Card decodes 10 address lines, 8 Bit I/O only > Tuple #7, code = 0x1b (Configuration entry), length = 7 > 000: 22 08 aa 60 e8 03 07 > Config index = 0x22 ^^^^ > Card decodes 10 address lines, 8 Bit I/O only > I/O address # 1: block start = 0x3e8 block length = 0x8 ^^^^^ sio2. I suspect idex 0x21 is the one you want even though the output is corrupted. > Tuple #8, code = 0x1b (Configuration entry), length = 7 > 000: 23 08 aa 60 e8 02 07 > Config index = 0x23 > Card decodes 10 address lines, 8 Bit I/O only > I/O address # 1: block start = 0x2e8 block length = 0x8 ^^^^^ sio3 > --- end --- > > and here is /etc/pccard.conf > > --- begin --- > > # Sample PCCARD configuration file > [...] > # Generally available IO ports > io 0x240-0x360 > # Generally available IRQs (Built-in sound-card owners remove 5) > irq 9 10 11 15 > # Available memory slots > memory 0xd4000 96k > > # 3Com Etherlink III 3C589B, 3C589C > card "3Com Corporation" "3C589" > config 0x1 "ep0" ? > insert echo 3Com Etherlink III inserted > # insert /etc/pccard_ether ep0 -link0 link1 > insert /etc/pccard_ether ep0 link0 -link1 > remove echo 3Com Etherlink III removed > remove /sbin/ifconfig ep0 delete > > # US Robotics COURIER PCMCIA V.34 > card "U.S. Robotics" "1626" > config 0x20 "sio2" ? ^^^^ > insert echo USRobotics PCMCIA Modem inserted > remove echo USRobotics PCMCIA Modem removed >From the looks of things, you'll want to changes this line to > config 0x21 "sio1" ? *OR* > config 0x22 "sio2" ? and it should work with a kernel modification. > and here there is the relevant part of the kernel config file > > --- begin --- > > # > # Laptop support (see LINT for more options) > # > device apm0 at isa? disable # Advanced Power Management > options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS > > # PCCARD (PCMCIA) support > controller crd0 > device pcic0 at crd? > device pcic1 at crd? > > device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr > siointr You'll need to add another serial line here, so the pccard driver has something to use. The first one is for your built-in serial line, and the second one is for you pccard. Whatever serial line you use make sure that it's used above in the /etc/pccard.conf config line. > laptop is a IBM 365XD , with an intel pcmcia controller. > FreeBSD is 2.2.1 (ctm #215) *Ouch* that means it's my problem, unless you've patched it with the PAO stuff. :( > 1) What I wrong for the usr modem card ? Everytime I insert it says > :"Resource allocation failure for U.S. Robotics ...." > Is the config 0x20 the right one ? Any hints ? > I am sorry, but I am not still able to find a little documentation. I > understand a little more reading the PAO readme files, but I don't use > it... See above. > 2) When the kernel boots it first complains about the lack of the ep0 > (it presumes it is an isa card, as I can seen from the kernel). Then it > recognizes as pcmcia card. Is it a correct way of doing thing ? Yes, that is correct. It didn't find a 'normal' ethernet device, so the device driver is available for the PCCARD system to use. > 3) When it recognizes it as card it outputs the string on the boot > screen in a random position. Is it correct ? Or have I to modify > something to have things goes like so : "Slot 0 : ep0 , address ....etc > etc" . Yes I know the important thing is that card works but .... No one has taken the time to make the output look 'pretty'. For now, ignore it. > 4) For use the modem pcmcia must I compile my kernel with a more sio > added ...? In other words have I to add the line of the sio that will > use the modem after it is recognized ... ? Yes, although it doesn't matter which line you use as long as the built-in hardware doesn't use it. The PCCARD code will correctly select the necessary parameters. Nate From owner-freebsd-mobile Thu Apr 10 17:30:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA13823 for mobile-outgoing; Thu, 10 Apr 1997 17:30:00 -0700 (PDT) Received: from assaris.sics.se (assaris.sics.se [193.10.66.108]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA13818 for ; Thu, 10 Apr 1997 17:29:57 -0700 (PDT) Received: (from assar@localhost) by assaris.sics.se (8.8.5/8.7.3) id CAA00747; Fri, 11 Apr 1997 02:29:54 +0200 (MET DST) To: mobile@freebsd.org Subject: sb0 doesn't work properly after resuming Mime-Version: 1.0 (generated by tm-edit 7.68) Content-Type: text/plain; charset=US-ASCII From: Assar Westerlund Date: 11 Apr 1997 02:29:50 +0200 Message-ID: <5lafn6jta9.fsf@assaris.sics.se> Lines: 15 X-Mailer: Gnus v5.2.40/Emacs 19.34 Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Running 2.2.1-RELEASE + PAO-970331 on a Thinkpad 560 and with the soundcard being recognized by the kernel as: sb0 at 0x220 irq 5 drq 1 on isa sb0: After suspending and resuming the laptop the soundcard doesn't work anymore and I get a lot of these errors while trying to access it: /kernel: Sound: DMA timed out - IRQ/DRQ config error? It seems to me that the soundcard needs to be reinitialized after resuming? Anyone else seen this problem? /assar From owner-freebsd-mobile Fri Apr 11 06:10:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA17270 for mobile-outgoing; Fri, 11 Apr 1997 06:10:38 -0700 (PDT) Received: from nise-ch.nosc.mil (nise-ch.nosc.mil [198.253.16.38]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id GAA17261; Fri, 11 Apr 1997 06:10:31 -0700 (PDT) Received: from toogoodoo by nise-ch.nosc.mil (NX5.67f2/NX3.0M) id AA13590; Fri, 11 Apr 97 09:10:30 -0400 Received: by toogoodoo.nosc.mil (NX5.67e/NX3.0S) id AA00441; Fri, 11 Apr 97 09:10:29 -0400 Message-Id: <9704111310.AA00441@toogoodoo.nosc.mil> Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) Content-Type: text/plain; charset=us-ascii X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3) Received: by NeXT.Mailer (1.118.2.RR) From: Stephen Board Date: Fri, 11 Apr 97 09:07:25 -0400 To: freebsd-mobile@freebsd.org Subject: Question about Compaq LTE 5300 notebook Cc: freebsd-questions@freebsd.org Reply-To: boards@nise-ch.nosc.mil Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by freefall.freebsd.org id GAA17262 Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello all, I have a Compaq LTE 5300 notebook. I have installed FreeBSD 2.1.7 from the WC CD distribution. I am having a few problems. 1. What mouse device do I need to use to get the "J-stick" pointing device to work? All that I have tried do not seem to work. 2. What type of X settings do I need to use? I have tried using VGA16 and SVGA defining the chipset I have (Cirrus Logic GD7543) and it doesn't want to work. Sometimes when I try to use Xconfig to modify the settings, the machine reboots. Nice feature hey? 3. Small problem. Only 16M of RAM is recognized at bootup. Is this just a kernel rebuild? If anyone has had experiences with one of thes (or similar notebook) and can give some pointers, please let me know. Thanks a bunch... Stephen --- Stephen Board boards@nosc.mil From owner-freebsd-mobile Fri Apr 11 08:00:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA23019 for mobile-outgoing; Fri, 11 Apr 1997 08:00:52 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA23009 for ; Fri, 11 Apr 1997 08:00:48 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA04548; Fri, 11 Apr 1997 09:00:42 -0600 (MDT) Date: Fri, 11 Apr 1997 09:00:42 -0600 (MDT) Message-Id: <199704111500.JAA04548@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: boards@nise-ch.nosc.mil Cc: freebsd-mobile@freebsd.org Subject: Re: Question about Compaq LTE 5300 notebook In-Reply-To: <9704111310.AA00441@toogoodoo.nosc.mil> References: <9704111310.AA00441@toogoodoo.nosc.mil> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > [ Moved to just -mobile ] > I have a Compaq LTE 5300 notebook. I have installed FreeBSD 2.1.7 > from the WC CD distribution. I am having a few problems. > > 1. What mouse device do I need to use to get the "J-stick" > pointing device to work? All that I have tried do not seem to > work. The PS/2 mouse driver, but it's doubtful that it will work in 2.1.7. But, give it a shot by 'enabling' the psm driver and see if it's recognized. (The driver was completely re-written for 2.2, but unfortunately does not back-port very well to 2.1.7). > 2. What type of X settings do I need to use? Don't know. That's an XFree86 question. > 3. Small problem. Only 16M of RAM is recognized at bootup. Is this > just a kernel rebuild? Try using the option MAXMEM in your config file. options "MAXMEM=(X*1024)" where X is the number of MB's you actually have. (People have also found that this works better if you actually multiply the #'s ahead of time, instead of relying on the multiplication to be done. Nate From owner-freebsd-mobile Fri Apr 11 11:40:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA10613 for mobile-outgoing; Fri, 11 Apr 1997 11:40:14 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA10583; Fri, 11 Apr 1997 11:40:07 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id LAA01232; Fri, 11 Apr 1997 11:40:03 -0700 (PDT) Date: Fri, 11 Apr 1997 11:40:03 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: boards@nise-ch.nosc.mil cc: freebsd-mobile@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Question about Compaq LTE 5300 notebook In-Reply-To: <9704111310.AA00441@toogoodoo.nosc.mil> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 11 Apr 1997, Stephen Board wrote: > I have a Compaq LTE 5300 notebook. I have installed FreeBSD 2.1.7 from > the WC CD distribution. I am having a few problems. Compaq: Expect the unexpected. If we liked it, it's proprietary. > 1. What mouse device do I need to use to get the "J-stick" pointing > device to work? All that I have tried do not seem to work. psm0 would be my guess. > 2. What type of X settings do I need to use? I have tried using VGA16 > and SVGA defining the chipset I have (Cirrus Logic GD7543) and it > doesn't want to work. Sometimes when I try to use Xconfig to modify the > settings, the machine reboots. Nice feature hey? Did you check the SVGA README and made sure that it's supported? The GD7xxx series are PCI I believe and support is in embryotic stages. Being that it's on a laptop complicates things... > 3. Small problem. Only 16M of RAM is recognized at bootup. Is this > just a kernel rebuild? Yes. How much is in it? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major