From owner-freebsd-hardware@FreeBSD.ORG Sun Aug 3 07:23:28 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1492137B401; Sun, 3 Aug 2003 07:23:28 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C60F143FA3; Sun, 3 Aug 2003 07:23:26 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.6p2/8.12.3) with ESMTP id h73ENNYc043608; Sun, 3 Aug 2003 16:23:24 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by nbs.imp.ch (8.12.8/8.12.3) with ESMTP id h73ENNlH8034740; Sun, 3 Aug 2003 16:23:23 +0200 (MES) Date: Sun, 3 Aug 2003 16:23:23 +0200 (CEST) From: Martin Blapp To: njl@freebsd.org Message-ID: <20030803155912.N25188@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hardware@freebsd.org Subject: Corrupted data with a SiS 5571 USB controller and umass X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2003 14:23:28 -0000 Hi all, I cannot use most USB devices on my laptop for an unknown reason. On a different box, I am able to read both card reader devices without any problems. The kernel has been compiled with option USB_DEBUG. The following sysctls has been set: hw.usb.umass.debug=1 hw.usb.debug=1 USB dmesg with the broken SiS controller (boot -v): Aug 3 15:09:41 lapi kernel: ohci0: mem 0xec001000-0xec001fff irq 11 at device 3.0 on pci0 Aug 3 15:09:41 lapi kernel: usb0: OHCI version 1.0, legacy support Aug 3 15:09:41 lapi kernel: usb0: on ohci0 Aug 3 15:09:41 lapi kernel: usb0: USB revision 1.0 Aug 3 15:09:41 lapi kernel: uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Aug 3 15:09:41 lapi kernel: uhub0: 2 ports with 2 removable, self powered Aug 3 15:09:41 lapi kernel: ohci1: mem 0xec002000-0xec002fff irq 11 at device 3.1 on pci0 Aug 3 15:09:41 lapi kernel: usb1: OHCI version 1.0, legacy support Aug 3 15:09:41 lapi kernel: usb1: on ohci1 Aug 3 15:09:41 lapi kernel: usb1: USB revision 1.0 Aug 3 15:09:41 lapi kernel: uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Aug 3 15:09:41 lapi kernel: uhub1: 2 ports with 2 removable, self powered Aug 3 15:09:41 lapi kernel: ohci2: mem 0xec003000-0xec003fff irq 11 at device 3.2 on pci0 Aug 3 15:09:41 lapi kernel: usb2: OHCI version 1.0, legacy support Aug 3 15:09:41 lapi kernel: usb2: on ohci2 Aug 3 15:09:41 lapi kernel: usb2: USB revision 1.0 Aug 3 15:09:41 lapi kernel: uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Aug 3 15:09:41 lapi kernel: uhub2: 2 ports with 2 removable, self powered First USB card reader: (cannot be initialized at all, same happens on uhub1). Aug 3 15:57:58 lapi kernel: usbd_new_device bus=0xc401d000 port=2 depth=1 speed=2 Aug 3 15:57:59 lapi kernel: usbd_new_device: addr=2, getting first desc failed Aug 3 15:57:59 lapi kernel: usbd_remove_device: 0xc4db6600 Aug 3 15:57:59 lapi kernel: uhub_explore: usb_new_device failed, error=IOERROR Aug 3 15:57:59 lapi kernel: uhub1: device problem, disabling port 2 Aug 3 15:57:59 lapi kernel: uhub1: port error, restarting port 2 Aug 3 15:57:59 lapi kernel: usbd_new_device bus=0xc401d000 port=2 depth=1 speed=2 Aug 3 15:58:00 lapi kernel: usbd_new_device: addr=2, getting first desc failed Aug 3 15:58:00 lapi kernel: usbd_remove_device: 0xc4d5c700 Aug 3 15:58:00 lapi kernel: uhub_explore: usb_new_device failed, error=IOERROR Aug 3 15:58:00 lapi kernel: uhub1: device problem, disabling port 2 Aug 3 15:58:00 lapi kernel: uhub1: port error, restarting port 2 Aug 3 15:58:01 lapi kernel: usbd_new_device bus=0xc401d000 port=2 depth=1 speed=2 Aug 3 15:58:02 lapi kernel: usbd_new_device: addr=2, getting first desc failed Aug 3 15:58:02 lapi kernel: usbd_remove_device: 0xc45f0300 Aug 3 15:58:02 lapi kernel: uhub_explore: usb_new_device failed, error=IOERROR Aug 3 15:58:02 lapi kernel: uhub1: device problem, disabling port 2 Aug 3 15:58:02 lapi kernel: uhub1: port error, restarting port 2 Second USB card reader: (dmsg looks ok, but all data on the IBM Microdrive is corrupt) Aug 3 15:56:33 lapi kernel: usbd_new_device bus=0xc401d000 port=2 depth=1 speed=2 Aug 3 15:56:33 lapi kernel: usbd_new_device: adding unit addr=2, rev=200, class=0, subclass=0, protocol=0, maxpacket=64, len=18, speed=2 Aug 3 15:56:33 lapi kernel: usbd_new_device: new dev (addr 2), dev=0xc4db6480, parent=0xc402da00 Aug 3 15:56:33 lapi kernel: usbd_probe_and_attach: trying device specific drivers Aug 3 15:56:33 lapi kernel: usbd_probe_and_attach: no device specific driver found Aug 3 15:56:33 lapi kernel: usbd_probe_and_attach: looping over 1 configurations Aug 3 15:56:33 lapi kernel: usbd_set_config_index: (addr 1) cno=2 attr=0x80, selfpowered=0, power=500 Aug 3 15:56:33 lapi kernel: usbd_set_config_index: set config 1 Aug 3 15:56:33 lapi kernel: umass0: SanDisk ImageMate CF, rev 2.00/1.19, addr 2 Aug 3 15:56:33 lapi kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000 Aug 3 15:56:33 lapi kernel: umass0:2:0:-1: Attached to scbus2 Aug 3 15:56:35 lapi kernel: pass1 at umass-sim0 bus 0 target 0 lun 0 Aug 3 15:56:35 lapi kernel: pass1: Removable Direct Access SCSI-0 device Aug 3 15:56:35 lapi kernel: pass1: 1.000MB/s transfers Aug 3 15:56:35 lapi kernel: GEOM: new disk da0 Aug 3 15:56:35 lapi kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Aug 3 15:56:35 lapi kernel: da0: Removable Direct Access SCSI-0 device Aug 3 15:56:35 lapi kernel: da0: 1.000MB/s transfers Aug 3 15:56:35 lapi kernel: da0: 1027MB (2104704 512 byte sectors: 255H 63S/T 131C) Aug 3 15:56:35 lapi kernel: [0] f:80 typ:6 s(CHS):0/1/1 e(CHS):520/63/63 s:63 l:2100609 Aug 3 15:56:35 lapi kernel: [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 3 15:56:35 lapi kernel: [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 3 15:56:35 lapi kernel: [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Aug 3 15:56:35 lapi kernel: GEOM: Configure da0s1, start 32256 length 1075511808 end 1075544063 As said, with a different controller both devices work wonderful: dmesg from working usb-controller: uhci0: port 0xb800-0xb81f irq 11 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xb400-0xb41f irq 9 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xb000-0xb01f irq 5 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered Device 1: (ok, there are some errors here, but da1 works wornderful, looks like the probe finds more devices than there are ...) da1 at umass-sim0 bus 0 target 0 lun 0 da1: Removable Direct Access SCSI-2 device da1: 1.000MB/s transfers da1: 1027MB (2104704 512 byte sectors: 255H 63S/T 131C) da2 at umass-sim0 bus 0 target 0 lun 1 da2: Removable Direct Access SCSI-2 device da2: 1.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 2 da3: Removable Direct Access SCSI-2 device da3: 1.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): Unretryable error Opened disk da2 -> 6 (da2:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:1): SCSI Status: Check Condition (da2:umass-sim0:0:0:1): NOT READY asc:3a,0 (da2:umass-sim0:0:0:1): Medium not present (da2:umass-sim0:0:0:1): Unretryable error Opened disk da2 -> 6 (da3:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:2): SCSI Status: Check Condition (da3:umass-sim0:0:0:2): NOT READY asc:3a,0 (da3:umass-sim0:0:0:2): Medium not present (da3:umass-sim0:0:0:2): Unretryable error Opened disk da3 -> 6 (da3:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:2): SCSI Status: Check Condition (da3:umass-sim0:0:0:2): NOT READY asc:3a,0 (da3:umass-sim0:0:0:2): Medium not present (da3:umass-sim0:0:0:2): Unretryable error Opened disk da3 -> 6 Device 2: Aug 3 14:54:28 fuchur kernel: umass0: SanDisk ImageMate CF, rev 2.00/1.19, addr 2 Aug 3 14:54:30 fuchur kernel: da1 at umass-sim0 bus 0 target 0 lun 0 Aug 3 14:54:30 fuchur kernel: da1: Removable Direct Access SCSI-0 device Aug 3 14:54:30 fuchur kernel: da1: 1.000MB/s transfers Aug 3 14:54:30 fuchur kernel: da1: 1027MB (2104704 512 byte sectors: 255H 63S/T 131C) Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ From owner-freebsd-hardware@FreeBSD.ORG Mon Aug 4 03:09:12 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0A3437B401 for ; Mon, 4 Aug 2003 03:09:12 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6AFB43F3F for ; Mon, 4 Aug 2003 03:09:11 -0700 (PDT) (envelope-from leibrand@informatik.tu-muenchen.de) Date: Mon, 4 Aug 2003 12:09:10 +0200 (MEST) From: Klaus Leibrandt X-X-Sender: leibrand@sunhalle19 To: freebsd-hardware@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de Subject: ATA RAID Adapters supported? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 10:09:13 -0000 Hello, I am currently considering a (Parallel/Serial) ATA RAID (5) solution for my FreeBSD Box. My questions: As I see virtually all Adaptec Host Adapters are supported, including the "Adaptec 2400A ATA-RAID". Is the "Adaptec Serial ATA RAID 2410SA" adapter also supported? Or, if not, will it be in near future? Highpoint Technologies claim that their products work on FreeBSD. But I could not find the following Adapters in Hardware.txt. Will these cards work with FreeBSD in RAID 5 Mode? HighPoint RocketRAID 1640 HighPoint RocketRAID 1540 Is there any progress with 3Ware 8000/8500 Series support? Thanks, Klaus From owner-freebsd-hardware@FreeBSD.ORG Mon Aug 4 03:10:32 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74DBB37B47D for ; Mon, 4 Aug 2003 03:10:26 -0700 (PDT) Received: from leibrandt.ath.cx (p213.54.197.179.tisdip.tiscali.de [213.54.197.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id C93F943FAF for ; Mon, 4 Aug 2003 03:10:25 -0700 (PDT) (envelope-from leibrand@in.tum.de) Received: from kl-note.intranet.lb ([192.168.0.10] helo=in.tum.de) by gateway.intranet.lb with esmtp (Exim 4.20) id 19jc0V-0007JR-0K for freebsd-hardware@freebsd.org; Mon, 04 Aug 2003 11:51:59 +0200 Message-ID: <3F2E3ADC.6010701@in.tum.de> Date: Mon, 04 Aug 2003 11:52:12 +0100 From: Klaus Leibrandt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030718 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hardware@freebsd.org X-Enigmail-Version: 0.76.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Adaptec Serial ATA RAID 2410SA X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 10:10:33 -0000 Hello, I am currently considering a (Serial) ATA RAID (5) solution for my FreeBSD Box. My questions: As I see virtually all Adaptec Host Adapters are supported, including the "Adaptec 2400A ATA-RAID". Is the "Adaptec Serial ATA RAID 2410SA" adapter also supported? Or, if not, will it be in near future? Highpoint Technologies claim that their products work on FreeBSD. But I could not find the following Adapters in Hardware.txt. Will these cards work with FreeBSD in RAID 5 Mode? HighPoint RocketRAID 1640 HighPoint RocketRAID 1540 Is there any progress with 3Ware 8000/8500 Series support? Thanks, Klaus From owner-freebsd-hardware@FreeBSD.ORG Mon Aug 4 04:01:29 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6133637B401 for ; Mon, 4 Aug 2003 04:01:29 -0700 (PDT) Received: from nsdv.konzoom.net (nsdv.konzoom.com [217.8.32.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7212543FBF for ; Mon, 4 Aug 2003 04:01:28 -0700 (PDT) (envelope-from fredde@konzoom.net) Received: by nsdv.konzoom.net (Postfix, from userid 1017) id 8FDA6108C5; Mon, 4 Aug 2003 13:01:26 +0200 (CEST) Date: Mon, 4 Aug 2003 13:01:26 +0200 From: Fredrik Lindberg To: freebsd-hardware@freebsd.org Message-ID: <20030804110126.GA27059@nsdv.konzoom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: RAID 5 array on Promise SX6000 failing after fsck at boot X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 11:01:29 -0000 Hi, I have a weird(?) problem with FreeBSD 4.8-RELEASE and a Promise SuperTrak SX6000 (device pst), running a RAID 5 setup with 4 180gb IDE-drives (identical drives). The RAID controller itself and the logical disk is detected fine --snip from dmesg--- pstpci0: mem 0xedc00000-0xedfffff pst0: 530100MB [67578/255/63] on pstpci0 I ran newfs and diskelabel as with a normal drive (no errors) and I can mount and unmount the drive without problem. Writing/reading does also work. However, when I add the drive to /etc/fstab and set the pass-field to >0 to make fsck check the filesystem at bootup the problems shows up. At boot, fsck "hangs" when running on the /dev/pst0s1e drive and the raid card beeps. If reboot the machine, 1 or more channels on the array has failed (rebuild is needed). If I use 0 in the pass-field avoiding fsck to run on the drive everything works just fine. I've searched the mailing archives and the web but I haven't found anything similar. I don't have much experience with raid and freebsd. Am I missning something vital? Am I not supposed to run fsck on a logical raid "drive"? Any help is really appreciated. Thanks, Fredrik Lindberg This is the output of disklabel. There is no output of fsck. # /dev/pst0s1e: type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 67577 sectors/unit: 1085640507 rpm: 7200 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 1085640507 0 unused 0 0 # (Cyl. 0 - 67577*) e: 1085640507 0 4.2BSD 4096 16384 158 # (Cyl. 0 - 67577*) From owner-freebsd-hardware@FreeBSD.ORG Tue Aug 5 08:56:12 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7376D37B43D for ; Tue, 5 Aug 2003 08:56:12 -0700 (PDT) Received: from boleskine.patpro.net (boleskine.patpro.net [62.4.20.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95BCA43F93 for ; Tue, 5 Aug 2003 08:56:09 -0700 (PDT) (envelope-from patpro@patpro.net) Received: from patpro.net (cassandre [192.168.0.1]) by boleskine.patpro.net (Postfix) with ESMTP id B9BC142 for ; Tue, 5 Aug 2003 17:56:08 +0200 (CEST) Date: Tue, 5 Aug 2003 17:56:07 +0200 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=ISO-8859-1; format=flowed From: Patrick Proniewski To: freebsd-hardware@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <53574812-C75D-11D7-9B0D-0030654D97EC@patpro.net> X-Mailer: Apple Mail (2.552) Subject: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 15:56:12 -0000 Hello, (I'm not sure if it's the right ML for this question, if not, please=20 disregard this post) I would like to plug on my freebsd box (router/firewall/small http=20 server) a handle of temperature acquisition probe, but I can't even=20 find the proper hardware. I would like something to plug on the serial port (or USB port) that=20 allows me to record temperature with up to 5 probes (at least 2 probes,=20= but 5 or more would be great). In terms of software, I've absolutely no idea how it's supposed to=20 work, but something that feed data into a database would be great=20 (rrdtool, mysql, whatever...) any hint greatly appreciated patpro --=20 "Rien ne se perd, rien ne se cr=E9e, tout s'empile" - Mon bureau -= From owner-freebsd-hardware@FreeBSD.ORG Tue Aug 5 09:07:55 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55ADB37B404 for ; Tue, 5 Aug 2003 09:07:55 -0700 (PDT) Received: from mail-bl.txucom.net (mail-bl.txucom.net [207.70.175.248]) by mx1.FreeBSD.org (Postfix) with SMTP id 605B043F93 for ; Tue, 5 Aug 2003 09:07:54 -0700 (PDT) (envelope-from jim@jimking.net) Received: (qmail 23349 invoked from network); 5 Aug 2003 16:07:50 -0000 Received: from wddl-adsl-nrp2-186.txucom.net (HELO quartz.jimking.net) ([207.70.162.186]) (envelope-sender ) by mail-bl.txucom.net (qmail-ldap-1.03) with SMTP for ; 5 Aug 2003 16:07:50 -0000 Received: from jimking.net (charcoal.ad.lgc.com [134.132.77.248]) (authenticated bits=0) by quartz.jimking.net (8.12.9/8.12.8) with ESMTP id h75G7q5V096188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Aug 2003 11:07:53 -0500 (CDT) (envelope-from jim@jimking.net) Message-ID: <3F2FD657.7080108@jimking.net> Date: Tue, 05 Aug 2003 11:07:51 -0500 From: Jim King User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Patrick Proniewski References: <53574812-C75D-11D7-9B0D-0030654D97EC@patpro.net> In-Reply-To: <53574812-C75D-11D7-9B0D-0030654D97EC@patpro.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hardware@freebsd.org Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 16:07:55 -0000 Patrick Proniewski wrote: > Hello, > > (I'm not sure if it's the right ML for this question, if not, please > disregard this post) > > I would like to plug on my freebsd box (router/firewall/small http > server) a handle of temperature acquisition probe, but I can't even > find the proper hardware. > I would like something to plug on the serial port (or USB port) that > allows me to record temperature with up to 5 probes (at least 2 > probes, but 5 or more would be great). > In terms of software, I've absolutely no idea how it's supposed to > work, but something that feed data into a database would be great > (rrdtool, mysql, whatever...) I use one of these: http://www.spiderplant.com/hlt/index.html to run seven probes around my house. Unfortunately, they're no longer being manufacturered, but it might give you some ideas on what to look for, or how to build your own. Jim From owner-freebsd-hardware@FreeBSD.ORG Tue Aug 5 09:23:24 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2565437B401 for ; Tue, 5 Aug 2003 09:23:24 -0700 (PDT) Received: from boleskine.patpro.net (boleskine.patpro.net [62.4.20.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B59743FBD for ; Tue, 5 Aug 2003 09:23:23 -0700 (PDT) (envelope-from patpro@patpro.net) Received: from patpro.net (cassandre [192.168.0.1]) by boleskine.patpro.net (Postfix) with ESMTP id 011D636; Tue, 5 Aug 2003 18:23:22 +0200 (CEST) Date: Tue, 5 Aug 2003 18:23:21 +0200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Jim King From: Patrick Proniewski In-Reply-To: <3F2FD657.7080108@jimking.net> Message-Id: <21318DD4-C761-11D7-9B0D-0030654D97EC@patpro.net> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) cc: freebsd-hardware@freebsd.org Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 16:23:24 -0000 On mardi, ao=FB 5, 2003, at 18:07 Europe/Paris, Jim King wrote: > I use one of these: http://www.spiderplant.com/hlt/index.html to run=20= > seven probes around my house. Unfortunately, they're no longer being=20= > manufacturered, but it might give you some ideas on what to look for,=20= > or how to build your own. too bad they don't make them any longer. It's exactly what I'm looking=20= for. Thanx for the link. patpro --=20 "Rien ne se perd, rien ne se cr=E9e, tout s'empile" - Mon bureau - From owner-freebsd-hardware@FreeBSD.ORG Tue Aug 5 11:20:05 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8025237B401 for ; Tue, 5 Aug 2003 11:20:05 -0700 (PDT) Received: from mta1.lbl.gov (mta1.lbl.gov [128.3.41.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id B296A43F85 for ; Tue, 5 Aug 2003 11:20:04 -0700 (PDT) (envelope-from j_guojun@lbl.gov) Received: from mta1.lbl.gov (localhost [127.0.0.1]) by mta1.lbl.gov (8.12.9/8.12.9) with ESMTP id h75IK1jK013347 for ; Tue, 5 Aug 2003 11:20:02 -0700 (PDT) Received: from lbl.gov (gracie.lbl.gov [131.243.2.175]) by mta1.lbl.gov (8.12.9/8.12.9) with ESMTP id h75IK13X013344; Tue, 5 Aug 2003 11:20:01 -0700 (PDT) Sender: jin@lbl.gov Message-ID: <3F2FF551.59060C58@lbl.gov> Date: Tue, 05 Aug 2003 11:20:01 -0700 From: "Jin Guojun [DSD]" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.8-RELEASE i386) X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: Patrick Proniewski References: <53574812-C75D-11D7-9B0D-0030654D97EC@patpro.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-hardware@freebsd.org Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 18:20:05 -0000 Simple one, use fetch command to get data from its Ethernet WWW API. It also has RS232 port, but I do not use it: (4/8/16 probes) http://www.weathershop.com/temptrax-E.htm -Jin Patrick Proniewski wrote: > Hello, > > (I'm not sure if it's the right ML for this question, if not, please > disregard this post) > > I would like to plug on my freebsd box (router/firewall/small http > server) a handle of temperature acquisition probe, but I can't even > find the proper hardware. > I would like something to plug on the serial port (or USB port) that > allows me to record temperature with up to 5 probes (at least 2 probes, > but 5 or more would be great). > In terms of software, I've absolutely no idea how it's supposed to > work, but something that feed data into a database would be great > (rrdtool, mysql, whatever...) > > any hint greatly appreciated > > patpro > -- > "Rien ne se perd, rien ne se crée, tout s'empile" > - Mon bureau - > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware From owner-freebsd-hardware@FreeBSD.ORG Tue Aug 5 14:30:20 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78A5F37B401 for ; Tue, 5 Aug 2003 14:30:20 -0700 (PDT) Received: from boleskine.patpro.net (boleskine.patpro.net [62.4.20.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD08143F3F for ; Tue, 5 Aug 2003 14:30:17 -0700 (PDT) (envelope-from patpro@patpro.net) Received: from patpro.net (cassandre [192.168.0.1]) by boleskine.patpro.net (Postfix) with ESMTP id AEA2042; Tue, 5 Aug 2003 23:30:17 +0200 (CEST) Date: Tue, 5 Aug 2003 23:30:15 +0200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: "Jin Guojun [DSD]" From: Patrick Proniewski In-Reply-To: <3F2FF551.59060C58@lbl.gov> Message-Id: <00FD0268-C78C-11D7-BA89-0030654D97EC@patpro.net> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) cc: freebsd-hardware@freebsd.org Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 21:30:20 -0000 On mardi, ao=FB 5, 2003, at 20:20 Europe/Paris, Jin Guojun [DSD] wrote: > Simple one, use fetch command to get data from its Ethernet WWW > API. It also has RS232 port, but I do not use it: (4/8/16 probes) > > http://www.weathershop.com/temptrax-E.htm looks good, but it's a bit overkill, and the price is not really=20 affordable. But it's definitely interesting ! thank you for this link, patpro --=20 "Rien ne se perd, rien ne se cr=E9e, tout s'empile" - Mon bureau - From owner-freebsd-hardware@FreeBSD.ORG Tue Aug 5 16:45:49 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15FC337B401 for ; Tue, 5 Aug 2003 16:45:49 -0700 (PDT) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4583E43FBD for ; Tue, 5 Aug 2003 16:45:48 -0700 (PDT) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (#6@localhost [127.0.0.1]) by whizzo.transsys.com (8.12.9/8.12.9) with ESMTP id h75NjlRY030718; Tue, 5 Aug 2003 19:45:47 -0400 (EDT) (envelope-from louie@whizzo.transsys.com) Message-Id: <200308052345.h75NjlRY030718@whizzo.transsys.com> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Patrick Proniewski X-Image-URL: http://www.transsys.com/louie/images/louie-mail.jpg From: "Louis A. Mamakos" References: <21318DD4-C761-11D7-9B0D-0030654D97EC@patpro.net> In-reply-to: Your message of "Tue, 05 Aug 2003 18:23:21 +0200." <21318DD4-C761-11D7-9B0D-0030654D97EC@patpro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 05 Aug 2003 19:45:47 -0400 Sender: louie@TransSys.COM cc: freebsd-hardware@freebsd.org Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 23:45:49 -0000 > On mardi, ao=FB 5, 2003, at 18:07 Europe/Paris, Jim King wrote: > = > > I use one of these: http://www.spiderplant.com/hlt/index.html to ru= n = > > seven probes around my house. Unfortunately, they're no longer being= = > > manufacturered, but it might give you some ideas on what to look for,= = > > or how to build your own. > = > too bad they don't make them any longer. It's exactly what I'm looking = > for. Thanx for the link. I also have a couple of the spiderplant boxes, and 12 probes scattered around the house. Over the last 4 or 5 years, I've accumulated more than 6 million temperature measurements in a MySQL database. What I would do today is continue to use the Dallas Semiconductor temperature probe devices and just drive them from the Dallas = 1-wire to RS-232 serial port adapter. You'll need some additional software to discover, address, fetch and convert measurements from each of the probes as compared to the Spiderplant box. = As far as software, you can start with /usr/ports/comms/mlan or /usr/ports/comms/mlan3 to talk to the adapter. louie From owner-freebsd-hardware@FreeBSD.ORG Tue Aug 5 20:29:31 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C8FB37B401 for ; Tue, 5 Aug 2003 20:29:31 -0700 (PDT) Received: from boleskine.patpro.net (boleskine.patpro.net [62.4.20.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEB4843F85 for ; Tue, 5 Aug 2003 20:29:30 -0700 (PDT) (envelope-from patpro@patpro.net) Received: from patpro.net (cassandre [192.168.0.1]) by boleskine.patpro.net (Postfix) with ESMTP id 437FA54; Wed, 6 Aug 2003 05:29:31 +0200 (CEST) Date: Wed, 6 Aug 2003 05:29:27 +0200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: "Louis A. Mamakos" From: Patrick Proniewski In-Reply-To: <200308052345.h75NjlRY030718@whizzo.transsys.com> Message-Id: <2F06287A-C7BE-11D7-AC8A-0030654D97EC@patpro.net> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) cc: freebsd-hardware@freebsd.org Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 03:29:31 -0000 On mercredi, ao=FB 6, 2003, at 01:45 Europe/Paris, Louis A. Mamakos = wrote: > What I would do today is continue to use the Dallas Semiconductor > temperature probe devices and just drive them from the Dallas > 1-wire to RS-232 serial port adapter. You'll need some additional > software to discover, address, fetch and convert measurements from > each of the probes as compared to the Spiderplant box. > > As far as software, you can start with /usr/ports/comms/mlan or > /usr/ports/comms/mlan3 to talk to the adapter. thank you very much for the piece of advice, I'm giong to look at this. patpro --=20 "Rien ne se perd, rien ne se cr=E9e, tout s'empile" - Mon bureau - From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 6 01:56:26 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AF3537B404 for ; Wed, 6 Aug 2003 01:56:26 -0700 (PDT) Received: from mwinf0102.wanadoo.fr (smtp8.wanadoo.fr [193.252.22.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE3FD43F3F for ; Wed, 6 Aug 2003 01:56:24 -0700 (PDT) (envelope-from patpro@patpro.net) Received: from patpro.net (AMontsouris-108-2-6-22.w217-128.abo.wanadoo.fr [217.128.219.22]) by mwinf0102.wanadoo.fr (SMTP Server) with ESMTP id 92DA71BFD391; Wed, 6 Aug 2003 10:56:20 +0200 (CEST) Date: Wed, 6 Aug 2003 10:56:19 +0200 Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: freebsd-hardware@freebsd.org From: patpro In-Reply-To: <2F06287A-C7BE-11D7-AC8A-0030654D97EC@patpro.net> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: "Louis A. Mamakos" Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 08:56:26 -0000 >> What I would do today is continue to use the Dallas Semiconductor >> temperature probe devices and just drive them from the Dallas >> 1-wire to RS-232 serial port adapter. You'll need some additional >> software to discover, address, fetch and convert measurements from >> each of the probes as compared to the Spiderplant box. >> >> As far as software, you can start with /usr/ports/comms/mlan or >> /usr/ports/comms/mlan3 to talk to the adapter. If I understand well, you're talking about this device : https://store.ibutton.com/cgi-bin/ncommerce3/ ProductDisplay?prrfnbr=2531&prmenbr=776 But it looks like one can only plug 1 probe, and by the way, I can't find simple temp probes. The starter kit looks good (http://www.ibutton.com/ibuttons/1921Kit.html) but the DS9097U-S09 has no addressable 1-Wire chip onboard. And it seems it uses TMEX driver, so I'm not sure mlan or mlan3 freebsd ports can read data from it. Thermocron looks really good too (https://store.ibutton.com/cgi-bin/ncommerce3/ ProductDisplay?prrfnbr=2438&prmenbr=776) and is apparently supported by mlan : # thermodl usage: thermodl 1wire_net_name - Thermochron download on the 1-Wire Net port ... # thermoms usage: thermoms 1wire_net_name - Thermochron configuration on the 1-Wire Net port ... So now, will TMEX driven hardware work on FreeBSD with mlan ? and does anybody have experience pluging more than one temp. probe on the DS9097U adapter family ? regards, patpro From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 6 04:21:55 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC9F37B401 for ; Wed, 6 Aug 2003 04:21:55 -0700 (PDT) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8903643F93 for ; Wed, 6 Aug 2003 04:21:54 -0700 (PDT) (envelope-from darren@dazdaz.org) Received: from no-dns-yet.demon.co.uk ([62.49.203.115] helo=localhost) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 19kMMb-00051L-0U for freebsd-hardware@freebsd.org; Wed, 06 Aug 2003 12:21:53 +0100 Date: Wed, 6 Aug 2003 12:21:39 +0100 From: Darren X-Mailer: The Bat! (v1.61) X-Priority: 3 (Normal) Message-ID: <3110704552.20030806122139@dazdaz.org> To: "freebsd-hardware@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: 3c900 NIC statistics X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Darren List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 11:21:55 -0000 Hi, I would like to dump all possible statistics for my 3Com NIC. $ sudo /usr/X11R6/bin/scanpci | grep -1 3Com pci bus 0x0000 cardnum 0x0d function 0x00: vendor 0x10b7 device 0x9001 3Com Corporation 3c900 Combo [Boomerang] $ sudo pciconf -l | grep xl0 xl0@pci0:13:0: class=0x020000 card=0x00000000 chip=0x900110b7 rev=0x00 hdr=0x00 Ideally i'd like to be able to find out firmware version, which interface port is active and all the rest of the settings as i've yet to find a FreeBSD program that will tell me these details. This the driver code. /usr/src/sys/pci/if_xl.c /usr/src/sys/pci/if_xlreg.h I would presume it's a case of reading the structure, finding the offset and feeding it into pcitweak. This is the bit where I get lost, is my approach correct or am I off? If so why and can anyone help me to decode this some more, it's proving to be an interesting learning exercise. $ sudo /usr/X11R6/bin/pcitweak -r 00:0d:0 60 Ultimately this could turn into a useful 3Com diagnostic program. One day I would like to be able to understand how to change some of these NIC options without booting to a DOS bootdisk although i'm not sure if a reboot would be required or not after a change had been made. -- Best regards, Darren mailto:darren@dazdaz.org From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 6 06:15:11 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C876637B420 for ; Wed, 6 Aug 2003 06:15:11 -0700 (PDT) Received: from mail-bl.txucom.net (mail-bl.txucom.net [207.70.175.248]) by mx1.FreeBSD.org (Postfix) with SMTP id 3163343F75 for ; Wed, 6 Aug 2003 06:15:10 -0700 (PDT) (envelope-from jim@jimking.net) Received: (qmail 18768 invoked from network); 6 Aug 2003 13:15:06 -0000 Received: from wddl-adsl-nrp2-186.txucom.net (HELO quartz.jimking.net) ([207.70.162.186]) (envelope-sender ) by mail-bl.txucom.net (qmail-ldap-1.03) with SMTP for ; 6 Aug 2003 13:15:06 -0000 Received: from jimking.net (charcoal.ad.lgc.com [134.132.77.248]) (authenticated bits=0) by quartz.jimking.net (8.12.9/8.12.8) with ESMTP id h76DF85V018298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Aug 2003 08:15:08 -0500 (CDT) (envelope-from jim@jimking.net) Message-ID: <3F30FF59.4060301@jimking.net> Date: Wed, 06 Aug 2003 08:15:05 -0500 From: Jim King User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: patpro References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "Louis A. Mamakos" cc: freebsd-hardware@freebsd.org Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 13:15:12 -0000 patpro wrote: >>> What I would do today is continue to use the Dallas Semiconductor >>> temperature probe devices and just drive them from the Dallas >>> 1-wire to RS-232 serial port adapter. You'll need some additional >>> software to discover, address, fetch and convert measurements from >>> each of the probes as compared to the Spiderplant box. >>> >>> As far as software, you can start with /usr/ports/comms/mlan or >>> /usr/ports/comms/mlan3 to talk to the adapter. >> > > > If I understand well, you're talking about this device : > > https://store.ibutton.com/cgi-bin/ncommerce3/ > ProductDisplay?prrfnbr=2531&prmenbr=776 That's the one (DS9097U). > But it looks like one can only plug 1 probe, and by the way, I can't > find simple temp probes. > The starter kit looks good > (http://www.ibutton.com/ibuttons/1921Kit.html) but the DS9097U-S09 > has no addressable 1-Wire chip onboard. And it seems it uses TMEX > driver, so I'm not sure mlan or mlan3 freebsd ports can read data > from it. DS9097U is just an adapter to allow you to plug a 1-Wire bus into an RS232 port. > Thermocron looks really good too > (https://store.ibutton.com/cgi-bin/ncommerce3/ > ProductDisplay?prrfnbr=2438&prmenbr=776) and is apparently supported > by mlan : Thermochron would be more expensive. They're $25 each; a plain temperature iButton is $7, and bare DS1920s are probably a lot less than that. Also, DalSemi has had major problems producing Thermochrons and quantities have been pretty limited for the last couple years. (A Thermochron is a nifty toy to have though - I've had fun with mine.) > So now, will TMEX driven hardware work on FreeBSD with mlan ? and > does anybody have experience pluging more than one temp. probe on > the DS9097U adapter family ? The DalSemi 1-Wire bus is really a bus - if you want more devices you just wire them onto the bus (i.e. connect them in parallel with the other devices). fyi, I played with mlan3 a little bit. I connected one of the DS1920 probes from my Spiderplant HLT into a DS9097U, and the 'temp' program from mlan3 worked fine and was able to display temperature readings from the probe. Jim From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 6 06:23:54 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47BEA37B401 for ; Wed, 6 Aug 2003 06:23:54 -0700 (PDT) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id C339243F3F for ; Wed, 6 Aug 2003 06:23:52 -0700 (PDT) (envelope-from hm@kts.org) Received: from fwd02.aul.t-online.de by mailout09.sul.t-online.com with smtp id 19kOGb-0007k3-00; Wed, 06 Aug 2003 15:23:49 +0200 Received: from ernie.kts.org (TJwJPOZQQepsCvUW21OWgiIJhqu2RcA+4ncPW1rXNkaW0VThNAsEk7@[217.227.42.71]) by fmrl02.sul.t-online.com with esmtp id 19kOGU-0fTMKe0; Wed, 6 Aug 2003 15:23:42 +0200 Received: from bert.int.kts.org (bert.int.kts.org [172.31.42.2]) by ernie.kts.org (Postfix) with ESMTP id 921A1FDB3; Wed, 6 Aug 2003 15:23:41 +0200 (CEST) Received: by bert.int.kts.org (Postfix, from userid 100) id 73E35A5; Wed, 6 Aug 2003 15:23:41 +0200 (CEST) In-Reply-To: To: patpro Date: Wed, 6 Aug 2003 15:23:41 +0200 (CEST) Organization: Kitchen Table Systems X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20030806132341.73E35A5@bert.int.kts.org> From: hm@kts.org (Hellmuth Michaelis) X-Seen: false X-ID: TJwJPOZQQepsCvUW21OWgiIJhqu2RcA+4ncPW1rXNkaW0VThNAsEk7@t-dialin.net cc: "Louis A. Mamakos" cc: freebsd-hardware@freebsd.org Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hellmuth.michaelis@t-online.de List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 13:23:54 -0000 patpro wrote: > >> What I would do today is continue to use the Dallas Semiconductor > >> temperature probe devices and just drive them from the Dallas > >> 1-wire to RS-232 serial port adapter. You'll need some additional > >> software to discover, address, fetch and convert measurements from > >> each of the probes as compared to the Spiderplant box. > >> > >> As far as software, you can start with /usr/ports/comms/mlan or > >> /usr/ports/comms/mlan3 to talk to the adapter. > > > If I understand well, you're talking about this device : > > https://store.ibutton.com/cgi-bin/ncommerce3/ > ProductDisplay?prrfnbr=2531&prmenbr=776 > > But it looks like one can only plug 1 probe, and by the way, I can't > find simple temp probes. > The starter kit looks good > (http://www.ibutton.com/ibuttons/1921Kit.html) but the DS9097U-S09 has > no addressable 1-Wire chip onboard. And it seems it uses TMEX driver, > so I'm not sure mlan or mlan3 freebsd ports can read data from it. I am using DS9097U-009 devices together with several DS1820 (in a bus topology) at several places to monitor temperature of rooms and machines. All you need is a DS9097U-009, one or more DS1820, twisted pair wiring and the mlan or better the mlan3 port on a FreeBSD machine. See also http://www.kts.org/temp.html http://www.kts.org/hm/download/mtempd.tar.gz and http://www.kts.org/hm/hm-links-1wire.html hellmuth -- Hellmuth Michaelis Hamburg, Europe hm\at\kts.org www.kts.org a duck is like a bicycle because they both have two wheels except the duck (tl) From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 6 06:27:35 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E372D37B401 for ; Wed, 6 Aug 2003 06:27:35 -0700 (PDT) Received: from mail-bl.txucom.net (mail-bl.txucom.net [207.70.175.248]) by mx1.FreeBSD.org (Postfix) with SMTP id 251B743F93 for ; Wed, 6 Aug 2003 06:27:35 -0700 (PDT) (envelope-from jim@jimking.net) Received: (qmail 19096 invoked from network); 6 Aug 2003 13:27:31 -0000 Received: from wddl-adsl-nrp2-186.txucom.net (HELO quartz.jimking.net) ([207.70.162.186]) (envelope-sender ) by mail-bl.txucom.net (qmail-ldap-1.03) with SMTP for ; 6 Aug 2003 13:27:31 -0000 Received: from jimking.net (charcoal.ad.lgc.com [134.132.77.248]) (authenticated bits=0) by quartz.jimking.net (8.12.9/8.12.8) with ESMTP id h76DRX5V018492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Aug 2003 08:27:34 -0500 (CDT) (envelope-from jim@jimking.net) Message-ID: <3F310243.2070601@jimking.net> Date: Wed, 06 Aug 2003 08:27:31 -0500 From: Jim King User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hardware@freebsd.org References: <3F30FF59.4060301@jimking.net> In-Reply-To: <3F30FF59.4060301@jimking.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "Louis A. Mamakos" cc: patpro Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 13:27:36 -0000 Jim King wrote: > Thermochron would be more expensive. They're $25 each; a plain > temperature iButton is $7, and bare DS1920s are probably a lot less > than that. Also, DalSemi has had major problems producing > Thermochrons and quantities have been pretty limited for the last > couple years. (A Thermochron is a nifty toy to have though - I've had > fun with mine.) Clarification: The bare temperature device is the DS18S20. In small quantities they're $2.57 from DalSemi. In really small quantities they'll probably send you free samples. Jim From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 6 12:42:10 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0CF237B404 for ; Wed, 6 Aug 2003 12:42:10 -0700 (PDT) Received: from boleskine.patpro.net (boleskine.patpro.net [62.4.20.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id E648343FA3 for ; Wed, 6 Aug 2003 12:42:07 -0700 (PDT) (envelope-from patpro@patpro.net) Received: from patpro.net (cassandre [192.168.0.1]) by boleskine.patpro.net (Postfix) with ESMTP id 782E836 for ; Wed, 6 Aug 2003 21:42:07 +0200 (CEST) Date: Wed, 6 Aug 2003 21:15:14 +0200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Resent-Date: Wed, 6 Aug 2003 21:42:05 +0200 Content-Transfer-Encoding: quoted-printable Resent-Message-Id: <4EC6EF23-C842-11D7-A73A-0030654D97EC@patpro.net> Resent-To: freebsd-hardware@freebsd.org Mime-Version: 1.0 (Apple Message framework v552) From: Patrick Proniewski To: hellmuth.michaelis@t-online.de Message-Id: <0F1A5870-C846-11D7-A73A-0030654D97EC@patpro.net> Resent-From: Patrick Proniewski X-Mailer: Apple Mail (2.552) Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 19:42:11 -0000 On mercredi, ao=FB 6, 2003, at 15:23 Europe/Paris, Hellmuth Michaelis=20 wrote: > I am using DS9097U-009 devices together with several DS1820 (in a bus > topology) at several places to monitor temperature of rooms and=20 > machines. > > All you need is a DS9097U-009, one or more DS1820, twisted pair wiring > and the mlan or better the mlan3 port on a FreeBSD machine. > > See also > http://www.kts.org/temp.html > http://www.kts.org/hm/download/mtempd.tar.gz and > http://www.kts.org/hm/hm-links-1wire.html really good links ! thank you very much for the valuable info. Too bad I'm going away for 3=20= weeks, I wish I could put together my own temp recording device now. patpro --=20 "Rien ne se perd, rien ne se cr=E9e, tout s'empile" - Mon bureau - From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 6 12:42:35 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62A0A37B401 for ; Wed, 6 Aug 2003 12:42:35 -0700 (PDT) Received: from boleskine.patpro.net (boleskine.patpro.net [62.4.20.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7937443F75 for ; Wed, 6 Aug 2003 12:42:34 -0700 (PDT) (envelope-from patpro@patpro.net) Received: from patpro.net (cassandre [192.168.0.1]) by boleskine.patpro.net (Postfix) with ESMTP id 7A15F36 for ; Wed, 6 Aug 2003 21:42:34 +0200 (CEST) Date: Wed, 6 Aug 2003 21:14:59 +0200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Resent-Date: Wed, 6 Aug 2003 21:42:32 +0200 Content-Transfer-Encoding: quoted-printable Resent-Message-Id: <4595BAC2-C842-11D7-A73A-0030654D97EC@patpro.net> Resent-To: freebsd-hardware@freebsd.org Mime-Version: 1.0 (Apple Message framework v552) From: Patrick Proniewski To: Jim King Message-Id: <1F406FA2-C846-11D7-A73A-0030654D97EC@patpro.net> Resent-From: Patrick Proniewski X-Mailer: Apple Mail (2.552) Subject: Re: temperature acquisition on FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 19:42:35 -0000 On mercredi, ao=FB 6, 2003, at 15:15 Europe/Paris, Jim King wrote: > That's the one (DS9097U). ok > Thermochron would be more expensive. They're $25 each; a plain=20 > temperature iButton is $7, and bare DS1920s are probably a lot less=20 > than that. Also, DalSemi has had major problems producing=20 > Thermochrons and quantities have been pretty limited for the last=20 > couple years. (A Thermochron is a nifty toy to have though - I've had=20= > fun with mine.) I definitely want one :) > Clarification: The bare temperature device is the DS18S20. In small=20= > quantities they're $2.57 from DalSemi. In really small quantities=20 > they'll probably send you free samples. ok > The DalSemi 1-Wire bus is really a bus - if you want more devices you=20= > just wire them onto the bus (i.e. connect them in parallel with the=20 > other devices). > > fyi, I played with mlan3 a little bit. I connected one of the DS1920=20= > probes from my Spiderplant HLT into a DS9097U, and the 'temp' program=20= > from mlan3 worked fine and was able to display temperature readings=20 > from the probe. great, thanx a lot, I'm going to order the hardware after my vacation,=20= so that I'll have a funny september. And with some luck I'll be able to=20= plot the temperature of Steve Jobs Keynote at Apple Expo (Paris) ;)) patpro --=20 "Rien ne se perd, rien ne se cr=E9e, tout s'empile" - Mon bureau - From owner-freebsd-hardware@FreeBSD.ORG Thu Aug 7 11:56:32 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70ED737B42C for ; Thu, 7 Aug 2003 11:56:32 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 64DD743FBF for ; Thu, 7 Aug 2003 11:56:31 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 76414 invoked by uid 1000); 7 Aug 2003 18:56:32 -0000 Date: Thu, 7 Aug 2003 11:56:32 -0700 (PDT) From: Nate Lawson To: Martin Blapp In-Reply-To: <20030803155912.N25188@cvs.imp.ch> Message-ID: <20030807115547.A76412@root.org> References: <20030803155912.N25188@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: jmg@freebsd.org cc: freebsd-hardware@freebsd.org Subject: Re: Corrupted data with a SiS 5571 USB controller and umass X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 18:56:32 -0000 On Sun, 3 Aug 2003, Martin Blapp wrote: > I cannot use most USB devices on my laptop for an unknown reason. > On a different box, I am able to read both card reader devices > without any problems. > > The kernel has been compiled with option USB_DEBUG. > > The following sysctls has been set: > > hw.usb.umass.debug=1 > hw.usb.debug=1 > > USB dmesg with the broken SiS controller (boot -v): > > Aug 3 15:09:41 lapi kernel: ohci0: mem 0xec001000-0xec001fff irq 11 at device 3.0 on pci0 > Aug 3 15:09:41 lapi kernel: usb0: OHCI version 1.0, legacy support > Aug 3 15:09:41 lapi kernel: usb0: on ohci0 > Aug 3 15:09:41 lapi kernel: usb0: USB revision 1.0 > Aug 3 15:09:41 lapi kernel: uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > Aug 3 15:09:41 lapi kernel: uhub0: 2 ports with 2 removable, self powered > Aug 3 15:09:41 lapi kernel: ohci1: mem 0xec002000-0xec002fff irq 11 at device 3.1 on pci0 > Aug 3 15:09:41 lapi kernel: usb1: OHCI version 1.0, legacy support > Aug 3 15:09:41 lapi kernel: usb1: on ohci1 > Aug 3 15:09:41 lapi kernel: usb1: USB revision 1.0 > Aug 3 15:09:41 lapi kernel: uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > Aug 3 15:09:41 lapi kernel: uhub1: 2 ports with 2 removable, self powered > Aug 3 15:09:41 lapi kernel: ohci2: mem 0xec003000-0xec003fff irq 11 at device 3.2 on pci0 > Aug 3 15:09:41 lapi kernel: usb2: OHCI version 1.0, legacy support > Aug 3 15:09:41 lapi kernel: usb2: on ohci2 > Aug 3 15:09:41 lapi kernel: usb2: USB revision 1.0 > Aug 3 15:09:41 lapi kernel: uhub2: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > Aug 3 15:09:41 lapi kernel: uhub2: 2 ports with 2 removable, self powered Sorry, I don't know anything about OHCI controllers. -Nate From owner-freebsd-hardware@FreeBSD.ORG Thu Aug 7 11:56:47 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id C170937B40C; Thu, 7 Aug 2003 11:56:47 -0700 (PDT) In-Reply-To: <3110704552.20030806122139@dazdaz.org> from Darren at "Aug 6, 2003 12:21:39 pm" To: darren@dazdaz.org (Darren) Date: Thu, 7 Aug 2003 11:56:47 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20030807185647.C170937B40C@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) cc: freebsd-hardware@FreeBSD.ORG Subject: Re: 3c900 NIC statistics X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 18:56:48 -0000 > > Hi, I would like to dump all possible statistics for my 3Com NIC. > > $ sudo /usr/X11R6/bin/scanpci | grep -1 3Com > pci bus 0x0000 cardnum 0x0d function 0x00: vendor 0x10b7 device 0x9001 > 3Com Corporation 3c900 Combo [Boomerang] > > $ sudo pciconf -l | grep xl0 > xl0@pci0:13:0: class=0x020000 card=0x00000000 chip=0x900110b7 rev=0x00 hdr=0x00 > > Ideally i'd like to be able to find out firmware version, which interface port is > active and all the rest of the settings as i've yet to find a FreeBSD program that > will tell me these details. ifconfig(8) is supposed to tell you. If you really want to create a 3Com diag utility, more power to you. You can obtain copies of the programming manuals for the 3c90x/3c90xB and 3c90xC chips here: http://support.3com.com/partners/developer/license.html > This the driver code. > > /usr/src/sys/pci/if_xl.c > /usr/src/sys/pci/if_xlreg.h > > I would presume it's a case of reading the structure, finding the > offset and feeding it into pcitweak. This is the bit where I get > lost, is my approach correct or am I off? If so why and can anyone > help me to decode this some more, it's proving to be an interesting > learning exercise. There are two ways to do what you want to do: modify the existing xl(4) driver to allow a user utility to read/write directly to the NIC's registers, or write a user utility that touches the hardware directly. Touching the hardware directly from user space is tricky. First you have to parse the PCI config registers to find the I/O base address of the device. Then you have to access the I/O registers. You can execute inb/outb instructions from a user program, but you have to open /dev/io first in order to obtain the necesessary privileges. Most PCI devices allow both I/O space and memory mapped register access, however some allow memory mapped access only. For these, you may be forced to grovel around in /dev/mem. I would recommend using the existing driver instead. You could add a simple 'read register/write register' interface to the xl_ioctl() using the SIOCGENERIC ioctl. The manuals for the chips should give you an idea what registers you need to read. You may end up having to reprogram the EEPROM to make your changes stick across reboots though, and for that you have to be very careful since you need to checksum the EEPROM. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= "If stupidity were a handicap, you'd have the best parking spot." ============================================================================= From owner-freebsd-hardware@FreeBSD.ORG Thu Aug 7 15:01:42 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC59337B401; Thu, 7 Aug 2003 15:01:42 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EB4F43F75; Thu, 7 Aug 2003 15:01:41 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.6p2/8.12.3) with ESMTP id h77M1bYc032962; Fri, 8 Aug 2003 00:01:38 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by nbs.imp.ch (8.12.8/8.12.3) with ESMTP id h77M1blH8686401; Fri, 8 Aug 2003 00:01:37 +0200 (MES) Date: Fri, 8 Aug 2003 00:01:37 +0200 (CEST) From: Martin Blapp To: Nate Lawson In-Reply-To: <20030807115547.A76412@root.org> Message-ID: <20030808000100.T58987@cvs.imp.ch> References: <20030803155912.N25188@cvs.imp.ch> <20030807115547.A76412@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: jmg@freebsd.org cc: freebsd-hardware@freebsd.org Subject: Re: Corrupted data with a SiS 5571 USB controller and umass X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 22:01:43 -0000 Hi, > > Aug 3 15:09:41 lapi kernel: uhub2: 2 ports with 2 removable, self powered > > Sorry, I don't know anything about OHCI controllers. > Who could help me with this one ? A NetBSD developer ? Martin