From owner-freebsd-mobile@FreeBSD.ORG Sun Apr 13 10:30:30 2008 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 6F3DC1065672 for ; Sun, 13 Apr 2008 10:30:30 +0000 (UTC) (envelope-from greenant@fastmail.fm) Received: from joe.mail.tiscali.it (joe.mail.tiscali.it [213.205.33.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2A8D08FC16 for ; Sun, 13 Apr 2008 10:30:30 +0000 (UTC) (envelope-from greenant@fastmail.fm) Received: from [192.168.8.5] (84.222.50.231) by joe.mail.tiscali.it (7.3.135) id 47FC5647002E9020; Sun, 13 Apr 2008 12:30:16 +0200 Message-ID: <4801E0B8.5070004@fastmail.fm> Date: Sun, 13 Apr 2008 12:30:16 +0200 From: Alberto Rizzi User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Dan Langille References: <47EFF8B4.8050709@fastmail.fm> <47F03BB8.7070803@langille.org> In-Reply-To: <47F03BB8.7070803@langille.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ThinkPad X61s functions keys 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, 13 Apr 2008 10:30:30 -0000 Dan Langille ha scritto: > > The paste was taken BEFORE I manually set events = 1. > > FWIW, the problem is solved. I will reply with details soon. Any news? From owner-freebsd-mobile@FreeBSD.ORG Sun Apr 13 15:45:20 2008 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 DC4A91065670 for ; Sun, 13 Apr 2008 15:45:19 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 71CD08FC17 for ; Sun, 13 Apr 2008 15:45:19 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id BE05F5098D; Sun, 13 Apr 2008 16:45:14 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NN+Q7t7RA8ga; Sun, 13 Apr 2008 16:45:12 +0100 (BST) Received: from laptop.unixathome.org (bast.unixathome.org [72.94.192.69]) by nyi.unixathome.org (Postfix) with ESMTPSA id 4DCE2508CD; Sun, 13 Apr 2008 16:45:08 +0100 (BST) Message-ID: <48022A8F.3010703@langille.org> Date: Sun, 13 Apr 2008 11:45:19 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.12 (X11/20080321) MIME-Version: 1.0 To: Alberto Rizzi , freebsd-mobile@freebsd.org References: <47ED5BF7.2000109@fastmail.fm> In-Reply-To: <47ED5BF7.2000109@fastmail.fm> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: ThinkPad X61s functions keys 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, 13 Apr 2008 15:45:20 -0000 Elsewhere in this thread I had stated I'd solved the problem. I'm posting the details here. Alberto Rizzi wrote: > Dan Langille ha scritto: >> Hi, >> >> Running FreeBSD 7.0-RELEASE on a ThinkPad X61s. >> >> Some keys do not work: >> >> - volume adjustment >> - screen brightness (FN HOME, FN END) >> >> The keyboard light does work (FN-PgUp) as does >> Numeric Lock (FN ScrLk). >> >> What can I do to help diagnose the issue so we can get these >> functions working? >> > Have the same problem with a Thinkpad T61 > If you read man acpi_ibm there is a partial solution > > You have to load acpi_ibm at boot. Add > acpi_ibm_load="YES" > to /boot/loader.conf This is loaded: $ kldstat Id Refs Address Size Name 1 15 0xffffffff80100000 ac6c08 kernel 2 1 0xffffffff80bc7000 39138 linux.ko 3 1 0xffffffff80c01000 7108 if_tap.ko 4 1 0xffffffff80c09000 1a670 snd_hda.ko 5 2 0xffffffff80c24000 673b8 sound.ko 6 1 0xffffffff80c8c000 53d0 acpi_ibm.ko 7 1 0xffffffffb16e4000 4b61 i915.ko 8 1 0xffffffffb16e9000 d5d8 drm.ko > > Then activate event passing to devd. Add > dev.acpi_ibm.0.events=1 > to /etc/sysctl.conf I cannot get this set to 1 after boot: $ grep ibm /etc/sysctl.conf dev.acpi_ibm.0.events=1 $ sysctl dev.acpi_ibm.0.events dev.acpi_ibm.0.events: 0 Under these circumstances, the keys will not work. If I manually set the events flag: $ sudo sysctl dev.acpi_ibm.0.events=1 Password: dev.acpi_ibm.0.events: 0 -> 1 $ sysctl dev.acpi_ibm.0.events dev.acpi_ibm.0.events: 1 Then the brightness keys start working > > Then tell devd that you want to get events. Add > notify 10 { > match "system" "ACPI"; > match "subsystem" "IBM"; > action "/usr/local/sbin/acpi_oem_exec.sh $notify ibm"; > } This was the missing key. The last line needs a trailing ; Once I added that in, things started working. > > to /etc/devd.conf > > Now you have to create that script > ---------- > #!/bin/sh > NOTIFY=`echo $1` > ECHO="echo" > CALC="bc" > > case ${NOTIFY} in > 0x10) > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > PERCENT=`${ECHO} "${LEVEL} + 1" | ${CALC}` > MESSAGE="brightness level ${PERCENT}" > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > ;; > 0x11) > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > PERCENT=`${ECHO} "${LEVEL} - 1" | ${CALC}` > MESSAGE="brightness level ${PERCENT}" > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > ;; > *) > ;; > esac > echo `date` >> /tmp/prova > ${ECHO} ${LEVEL} ${NOTIFY} ${MESSAGE} >> /tmp/prova > exit 0 > > ------- > If you leave the last two debug line, with a tail -f /tmp/prova you can > check the events sent to devd. > > With this script you can change the brightness both under console and > under xorg but you are bound to 8 levels (0 - 7) > If you want 100 levels you can use xbacklight under xorg only and modify > the script to use xbacklight instead of sysctl > > Mute and volume keys don't send events to devd: I don't know why but if > I press mute it works and dev.acpi_ibm.0.mute becomes 1 > If I press volume up or down, dev.acpi_ibm.0.mute becomes 0 Using the Fn key and pressing the F1-F12 keys, I get the following log entrys in /tmp/prova: Sun Apr 13 11:39:48 EDT 2008 0x01 Sun Apr 13 11:39:48 EDT 2008 0x02 Sun Apr 13 11:39:49 EDT 2008 0x03 Sun Apr 13 11:39:50 EDT 2008 0x05 Sun Apr 13 11:39:50 EDT 2008 0x06 Sun Apr 13 11:39:50 EDT 2008 0x07 Sun Apr 13 11:39:54 EDT 2008 0x08 Sun Apr 13 11:39:54 EDT 2008 0x09 Sun Apr 13 11:39:55 EDT 2008 0x0b Sun Apr 13 11:39:55 EDT 2008 0x0c Note the following exceptions which can be observed from the above log entries: Fn-F4 - sleep: does not give any log entry Fn-F10 - unlabelled on the keyboard, gives no log entry Other Fn key results: SysReq - no log entry, no effect seen NumLk - no log entry but system goes into NumLock mode Pause - no log entry, no effect seen ThinkLight - works, and creates a log entry 0x12 Spacebar - create log entry 0x14 From owner-freebsd-mobile@FreeBSD.ORG Sun Apr 13 17:19:33 2008 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 E1DFB106566C for ; Sun, 13 Apr 2008 17:19:33 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id B0A958FC1D for ; Sun, 13 Apr 2008 17:19:33 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id B315D508A9 for ; Sun, 13 Apr 2008 18:19:28 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B1O5Bd+W+q7Z for ; Sun, 13 Apr 2008 18:19:27 +0100 (BST) Received: from laptop.unixathome.org (bast.unixathome.org [72.94.192.69]) by nyi.unixathome.org (Postfix) with ESMTPSA id A8A0A50841 for ; Sun, 13 Apr 2008 18:19:27 +0100 (BST) Message-ID: <480240AB.9080003@langille.org> Date: Sun, 13 Apr 2008 13:19:39 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.12 (X11/20080321) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: setting dev.acpi_ibm.0.events at boot time 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, 13 Apr 2008 17:19:34 -0000 I'm trying to set dev.acpi_ibm.0.events to 1. I'm failing. I can set it from the command line: $ sudo sysctl dev.acpi_ibm.0.events=1 Password: dev.acpi_ibm.0.events: 0 -> 1 $ sysctl dev.acpi_ibm.0.events dev.acpi_ibm.0.events: 1 This allows the special keys (screen brightness etc) to work on my ThinkPad X61s (see http://lists.freebsd.org/pipermail/freebsd-mobile/2008-March/010567.html). I have tried /etc/sysctl.conf: $ grep ibm /etc/sysctl.conf dev.acpi_ibm.0.events=1 and /boot/loader.conf: $ grep ibm /boot/loader.conf acpi_ibm_load="YES" dev.acpi_ibm.0.events="1" Neither of which result in the desired results. Clues? From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 14 04:21:58 2008 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 9EC73106564A for ; Mon, 14 Apr 2008 04:21:58 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id BF3128FC12 for ; Mon, 14 Apr 2008 04:21:43 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id OAA26538; Mon, 14 Apr 2008 14:20:27 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 14 Apr 2008 14:20:26 +1000 (EST) From: Ian Smith To: Dan Langille In-Reply-To: <48022A8F.3010703@langille.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Alberto Rizzi , freebsd-mobile@freebsd.org Subject: Re: ThinkPad X61s functions keys 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, 14 Apr 2008 04:21:58 -0000 On Sun, 13 Apr 2008, Dan Langille wrote: > Elsewhere in this thread I had stated I'd solved the problem. I'm > posting the details here. We've been waiting with bated breath :) > Alberto Rizzi wrote: > > Dan Langille ha scritto: > >> Hi, > >> > >> Running FreeBSD 7.0-RELEASE on a ThinkPad X61s. > >> > >> Some keys do not work: > >> > >> - volume adjustment > >> - screen brightness (FN HOME, FN END) > >> > >> The keyboard light does work (FN-PgUp) as does > >> Numeric Lock (FN ScrLk). > >> > >> What can I do to help diagnose the issue so we can get these > >> functions working? > >> > > Have the same problem with a Thinkpad T61 > > If you read man acpi_ibm there is a partial solution > > > > You have to load acpi_ibm at boot. Add > > acpi_ibm_load="YES" > > to /boot/loader.conf > > This is loaded: > > $ kldstat > Id Refs Address Size Name > 1 15 0xffffffff80100000 ac6c08 kernel > 2 1 0xffffffff80bc7000 39138 linux.ko > 3 1 0xffffffff80c01000 7108 if_tap.ko > 4 1 0xffffffff80c09000 1a670 snd_hda.ko > 5 2 0xffffffff80c24000 673b8 sound.ko > 6 1 0xffffffff80c8c000 53d0 acpi_ibm.ko > 7 1 0xffffffffb16e4000 4b61 i915.ko > 8 1 0xffffffffb16e9000 d5d8 drm.ko > > > > > > Then activate event passing to devd. Add > > dev.acpi_ibm.0.events=1 > > to /etc/sysctl.conf > > I cannot get this set to 1 after boot: > > $ grep ibm /etc/sysctl.conf > dev.acpi_ibm.0.events=1 Strange if that doesn't work. Can you check your /var/log/console.log (assuming you've got 'console.info /var/log/console.log' in syslog.conf) which should show the transition, or at least the attempt, eg: Apr 1 02:51:32 paqi kernel: vfs.usermount: Apr 1 02:51:32 paqi kernel: 0 Apr 1 02:51:32 paqi kernel: -> Apr 1 02:51:32 paqi kernel: 1 Apr 1 02:51:32 paqi kernel: Apr 1 02:51:32 paqi kernel: hw.snd.verbose: Apr 1 02:51:32 paqi kernel: 1 Apr 1 02:51:32 paqi kernel: -> Apr 1 02:51:32 paqi kernel: 2 > $ sysctl dev.acpi_ibm.0.events > dev.acpi_ibm.0.events: 0 > > Under these circumstances, the keys will not work. If I manually set > the events flag: > > $ sudo sysctl dev.acpi_ibm.0.events=1 > Password: > dev.acpi_ibm.0.events: 0 -> 1 > $ sysctl dev.acpi_ibm.0.events > dev.acpi_ibm.0.events: 1 > > > Then the brightness keys start working You could, if maybe sysctl.conf is being run too early (?), try adding 'sysctl dev.acpi_ibm.0.events=1' to /etc/rc.local, which, as I recall, also reports into console.log > > Then tell devd that you want to get events. Add > > notify 10 { > > match "system" "ACPI"; > > match "subsystem" "IBM"; > > action "/usr/local/sbin/acpi_oem_exec.sh $notify ibm"; > > } > > This was the missing key. The last line needs a trailing ; > > Once I added that in, things started working. Fussy, ain't it. > > to /etc/devd.conf > > > > Now you have to create that script > > ---------- > > #!/bin/sh > > NOTIFY=`echo $1` > > ECHO="echo" > > CALC="bc" > > > > case ${NOTIFY} in > > 0x10) > > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > > PERCENT=`${ECHO} "${LEVEL} + 1" | ${CALC}` > > MESSAGE="brightness level ${PERCENT}" > > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > > ;; > > 0x11) > > LEVEL=`sysctl -n dev.acpi_ibm.0.lcd_brightness` > > PERCENT=`${ECHO} "${LEVEL} - 1" | ${CALC}` > > MESSAGE="brightness level ${PERCENT}" > > sysctl dev.acpi_ibm.0.lcd_brightness=${PERCENT} > > ;; > > *) > > ;; > > esac > > echo `date` >> /tmp/prova > > ${ECHO} ${LEVEL} ${NOTIFY} ${MESSAGE} >> /tmp/prova > > exit 0 > > > > ------- > > If you leave the last two debug line, with a tail -f /tmp/prova you can > > check the events sent to devd. > > > > With this script you can change the brightness both under console and > > under xorg but you are bound to 8 levels (0 - 7) > > If you want 100 levels you can use xbacklight under xorg only and modify > > the script to use xbacklight instead of sysctl > > > > Mute and volume keys don't send events to devd: I don't know why but if > > I press mute it works and dev.acpi_ibm.0.mute becomes 1 > > If I press volume up or down, dev.acpi_ibm.0.mute becomes 0 Are the bits for these keys set in .availmask, or posted to .eventmask? > Using the Fn key and pressing the F1-F12 keys, I get the following log > entrys in /tmp/prova: > Sun Apr 13 11:39:48 EDT 2008 > 0x01 > Sun Apr 13 11:39:48 EDT 2008 > 0x02 > Sun Apr 13 11:39:49 EDT 2008 > 0x03 > Sun Apr 13 11:39:50 EDT 2008 > 0x05 > Sun Apr 13 11:39:50 EDT 2008 > 0x06 > Sun Apr 13 11:39:50 EDT 2008 > 0x07 > Sun Apr 13 11:39:54 EDT 2008 > 0x08 > Sun Apr 13 11:39:54 EDT 2008 > 0x09 > Sun Apr 13 11:39:55 EDT 2008 > 0x0b > Sun Apr 13 11:39:55 EDT 2008 > 0x0c > > > Note the following exceptions which can be observed from the above log > entries: > > Fn-F4 - sleep: does not give any log entry > Fn-F10 - unlabelled on the keyboard, gives no log entry Does Fn-F4 (still?) act as sleep (suspend-to-RAM)? ie does/did STR work on your X61s, and does dev.acpi_ibm.0.events=1 affect that at all? You might like to compare your results with Beto's Z60m at: http://lists.freebsd.org/mailman/htdig/freebsd-mobile/2006-August/008959.html and also his earlier reference: http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008948.html where a) he gets to use Fn-F4 for a custom sleep script, b) also found that Fn-F10 does nothing, but c) gets events from volume and mute keys. > Other Fn key results: > > SysReq - no log entry, no effect seen > NumLk - no log entry but system goes into NumLock mode > Pause - no log entry, no effect seen On my T23, Pause does nothing in X, but (same as NumLk/ScrollLock key pressed without Fn) works as the scroll lock in a vty. Also on mine, Fn-F7 switches between LCD/Monitor/both. > ThinkLight - works, and creates a log entry 0x12 > Spacebar - create log entry 0x14 Weird about the sysctl not getting set from sysctl.conf though .. cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 14 08:18:04 2008 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 390071065673 for ; Mon, 14 Apr 2008 08:18:04 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: from slimak.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.freebsd.org (Postfix) with SMTP id 9F6E78FC15 for ; Mon, 14 Apr 2008 08:18:03 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: (qmail 44929 invoked by uid 0); 14 Apr 2008 08:18:01 -0000 Received: from r5j117.net.upc.cz (HELO ?192.168.11.3?) (86.49.9.117) by smtp.dkm.cz with SMTP; 14 Apr 2008 08:18:00 -0000 Message-ID: <48031338.5050801@users.sf.net> Date: Mon, 14 Apr 2008 10:18:00 +0200 From: mato User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.13) Gecko/20080402 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Ian Smith References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Lars Engels , freebsd-mobile@freebsd.org Subject: Re: battery monitor with KDE 64 bit 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, 14 Apr 2008 08:18:04 -0000 Ian Smith wrote: > On Mon, 7 Apr 2008, martinko wrote: > > Lars Engels wrote: > > > Quoting martinko : > > >> Hi Lars, > > >> > > >> sysutils/nbosd looks very nice and rather useful, thanks! :-) > > >> > > >> However, I can think of the following: > > >> > > >> There are 2 important/interesting information missing: > > >> - remaining run-time in hours:minutes when running on battery > > >> - CPU temperature (especially on laptops) > > > > > > Good idea, it should be no problem to use sysctl to get those values. > > > > > >> Also, it might be quite useful to render battery related info in red > > >> colour once battery charge drops below some (configurable) limit when > > >> not running on AC power. > > >> > > >> The last but not least important is this -- nbosd shows you info on > > >> demand only. I find that most often I forget about my battery running > > >> flat and thus nbosd wouldn't help. Any idea how to deal with it ? > > > > > > nbosd was designed to show the value on demand. I have a keyboard > > > shortcut which shows me the OSD whenever I need it. > > > But the shortcut doesn't work in every case e.g. when playing > > > fullscreen games. So I taught nbosd to work together with devd and now > > > nbosd has an option to run as a daemon and only shows up when the > > > battery percentage falls below a user-defined value. > > > It still has some rough corners and the code needs to be cleaned up > > > that's why I haven't committed the new version. > > > I hope that my (very limited atm :-( ) time allows me get it finished, > > > soon. > > > > > > > Hi Lars, > > > > Remaining run-time (hours:minutes) could be next to the percentage value. > > I'm not sure about the temperature, though. > > > > I've set up a keyboard shotcut too (in WMaker) and it works great. > > However, sometimes I forget I'm running on battery and only find out > > when my laptop dies abruptly. That's why I'm trying to figure out how > > best to prevent such situations. > > > > And what do you say about my suggestion to render battery life text and > > graphics in red when running on DC and too low ? Would it be possible ? > > You may also like to have a look at sysutils/asapm which I've been using > for years to good effect in KDE. Despite the name, and the initial > blurb in pkg_descr, it works fine (better, actually) with ACPI, as > detailed in the manual. It's also fully configurable regarding display > colours etc, and if the remaining runtime isn't directly available, it > can monitor state of charge over time to provide pretty good estimates, > along with configurable setpoints for 'warning' and 'alarm' colours. I > can't say whether it works on amd64 though .. > > On later (i386) machines I tend to use gkrellm which includes CPU temp, > speed and much more, but again I don't know if it works with amd64. > > hth, Ian > > Ian, thanks! :-) I've been using wmbsdbatt but it isn't configurable at all and often I just didn't notice my battery gone flat. Now I've switched to asapm which provides better visual attention (battery turning red) and more importantly I could configure it to produce notifications via notify-send and xmessage, so it's unlikely I'll miss my battery running flat. :-)) Cheers, Martin From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 14 19:25:55 2008 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 1CA81106568C for ; Mon, 14 Apr 2008 19:25:55 +0000 (UTC) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 617468FC13 for ; Mon, 14 Apr 2008 19:25:53 +0000 (UTC) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 14 Apr 2008 18:59:12 -0000 Received: from ppp-88-217-30-238.dynamic.mnet-online.de (EHLO dose.local.invalid) [88.217.30.238] by mail.gmx.net (mp032) with SMTP; 14 Apr 2008 20:59:12 +0200 X-Authenticated: #147403 X-Provags-ID: V01U2FsdGVkX1+UTUEDX/+UBcuJ1sX/phuB3pBW/9QSKvao0RgTn+ ywnXI05SC1hGtY Received: by dose.local.invalid (Postfix, from userid 1000) id 3C351C1DD; Mon, 14 Apr 2008 20:07:40 +0200 (CEST) Date: Mon, 14 Apr 2008 20:07:40 +0200 From: Simon Barner To: ports@freebsd.org Message-ID: <20080414180740.GA1050@dose.local.invalid> Mail-Followup-To: ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Y-GMX-Trusted: 0 Cc: mobile@freebsd.org Subject: fprint (finger print sensor framework) port ready for testing 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, 14 Apr 2008 19:25:55 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I did a port [2] of the fprint finger print sensor framework [1] and would like to receive some feedback before I commit it. It comes with a PAM module for finger print based authentication, a graphical (fprint_demo) and a console (pam_fprint_enroll) application for finger print enrollment. I did my tests with the UPEK sensor found in Lenovo's T61. Simon (M'fup2 ports@) [1] http://www.reactivated.net/fprint/wiki/Main_Page [2] http://home.leo.org/~barner/freebsd/fprint.tar.gz --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFIA51rCkn+/eutqCoRAvGCAKDvy2tKIIIUfXIWz6EbxXnOnuod3gCgg9t6 2/PceciaC61tAJ4lNdf2a/w= =th+i -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 14 21:20:38 2008 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 7D6FA106566C; Mon, 14 Apr 2008 21:20:38 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.freebsd.org (Postfix) with ESMTP id 38FB88FC18; Mon, 14 Apr 2008 21:20:38 +0000 (UTC) (envelope-from amistry@am-productions.biz) Received: from [192.168.1.197] ([192.168.1.197]) (authenticated bits=0) by mail.united-ware.com (8.14.2/8.14.2) with ESMTP id m3EL11h3052623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Apr 2008 17:01:01 -0400 (EDT) (envelope-from amistry@am-productions.biz) From: Anish Mistry To: Simon Barner Date: Mon, 14 Apr 2008 16:45:52 -0400 User-Agent: KMail/1.9.7 References: <20080414180740.GA1050@dose.local.invalid> In-Reply-To: <20080414180740.GA1050@dose.local.invalid> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3651812.yG6oPBmKAB"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200804141645.59915.amistry@am-productions.biz> X-Virus-Scanned: ClamAV 0.91.2/6768/Mon Apr 14 14:39:20 2008 on mail.united-ware.com X-Virus-Status: Clean Cc: mobile@freebsd.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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, 14 Apr 2008 21:20:38 -0000 --nextPart3651812.yG6oPBmKAB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 14 April 2008, Simon Barner wrote: > Hi, > > I did a port [2] of the fprint finger print sensor framework [1] > and would like to receive some feedback before I commit it. > > It comes with a PAM module for finger print based authentication, a > graphical (fprint_demo) and a console (pam_fprint_enroll) application > for finger print enrollment. > > I did my tests with the UPEK sensor found in Lenovo's T61. > > Simon > > (M'fup2 ports@) > > [1] http://www.reactivated.net/fprint/wiki/Main_Page > [2] http://home.leo.org/~barner/freebsd/fprint.tar.gz Just tested fprint_demo on my Fujitsu P8010 and it works! Thanks for porting it. =2D-=20 Anish Mistry --nextPart3651812.yG6oPBmKAB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEABECAAYFAkgDwocACgkQxqA5ziudZT2VRgCfZN7rFKS2CQO4pVGAIsUMZp0X c5gAn2k14Kbw7Pvqmcq6yXrVurgjJ8AB =JYTE -----END PGP SIGNATURE----- --nextPart3651812.yG6oPBmKAB-- From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 14 22:06:43 2008 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 D0D8D106566B for ; Mon, 14 Apr 2008 22:06:43 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.ipv6.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 673B08FC23 for ; Mon, 14 Apr 2008 22:06:43 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id C33BA3A623; Tue, 15 Apr 2008 00:06:41 +0200 (CEST) Date: Tue, 15 Apr 2008 00:06:41 +0200 From: Lars Engels To: martinko Message-ID: <20080414220641.GK50049@e.0x20.net> References: <0319208F-8098-4EAA-B3DA-22C6FE1C02DD@langille.org> <20080326155507.wiubhspc04ok440g@0x20.net> <47F8AD88.2010406@users.sf.net> <20080407133354.djlrjmnm04ks0www@0x20.net> <47FA7351.4030601@users.sf.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MfFXiAuoTsnnDAfZ" Content-Disposition: inline In-Reply-To: <47FA7351.4030601@users.sf.net> X-Editor: VIM - Vi IMproved 7.1 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: Lars Engels , freebsd-mobile@freebsd.org Subject: Re: battery monitor with KDE 64 bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lars Engels List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 22:06:43 -0000 --MfFXiAuoTsnnDAfZ Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 07, 2008 at 09:17:37PM +0200, martinko wrote: > Lars Engels wrote: > >Quoting martinko : > >>Hi Lars, > >> > >>sysutils/nbosd looks very nice and rather useful, thanks! :-) > >> > >>However, I can think of the following: > >> > >>There are 2 important/interesting information missing: > >>- remaining run-time in hours:minutes when running on battery > >>- CPU temperature (especially on laptops) > > > >Good idea, it should be no problem to use sysctl to get those values. > > > >>Also, it might be quite useful to render battery related info in red > >>colour once battery charge drops below some (configurable) limit when > >>not running on AC power. > >> > >>The last but not least important is this -- nbosd shows you info on > >>demand only. I find that most often I forget about my battery running > >>flat and thus nbosd wouldn't help. Any idea how to deal with it ? > > > >nbosd was designed to show the value on demand. I have a keyboard shortc= ut which shows me the=20 > >OSD whenever I need it. > >But the shortcut doesn't work in every case e.g. when playing fullscreen= games. So I taught=20 > >nbosd to work together with devd and now nbosd has an option to run as a= daemon and only shows=20 > >up when the battery percentage falls below a user-defined value. > >It still has some rough corners and the code needs to be cleaned up that= 's why I haven't=20 > >committed the new version. > >I hope that my (very limited atm :-( ) time allows me get it finished, s= oon. > > >=20 > Hi Lars, >=20 > Remaining run-time (hours:minutes) could be next to the percentage value. > I'm not sure about the temperature, though. >=20 > I've set up a keyboard shotcut too (in WMaker) and it works great. > However, sometimes I forget I'm running on battery and only find out when= my laptop dies=20 > abruptly. That's why I'm trying to figure out how best to prevent such s= ituations. >=20 > And what do you say about my suggestion to render battery life text and g= raphics in red when=20 > running on DC and too low ? Would it be possible ? Hi Martin, somehow I didn't see you mail until now... I just worked a bit on nbosd and it should fulfill your needs now: A -d switch was added to run it as a daemon. You can give it an alarm threshold with -a and the osd will pop up (in red ;-) ) when the current battery level is below that threshold. Additionally the remaining battery time is displayed. I haven't committed the new version yet. I'd like to have one or two testers before: http://bsd-geek.de/FreeBSD/distfiles/nbosd-0.5.0.tar.gz So if you would like to try it, please give a feedback on it. Lars --MfFXiAuoTsnnDAfZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFIA9VxKc512sD3afgRAot5AJ422YwbsA9EkLTmTn1rW1O9oB6GhgCeLvEC JRvxGlYyWFfmIpn9Ynuwhlc= =BnMN -----END PGP SIGNATURE----- --MfFXiAuoTsnnDAfZ-- From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 07:05:38 2008 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 91D24106566B for ; Tue, 15 Apr 2008 07:05:38 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 41AE38FC22 for ; Tue, 15 Apr 2008 07:05:37 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 10257 invoked from network); 15 Apr 2008 01:38:56 -0500 Received: from 124-170-157-70.dyn.iinet.net.au (HELO localhost) (124.170.157.70) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 15 Apr 2008 01:38:55 -0500 Date: Tue, 15 Apr 2008 16:38:43 +1000 From: Norberto Meijome To: Dan Langille Message-ID: <20080415163843.1f899be5@meijome.net> In-Reply-To: <480240AB.9080003@langille.org> References: <480240AB.9080003@langille.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Tue, 15 Apr 2008 07:05:38 -0000 On Sun, 13 Apr 2008 13:19:39 -0400 Dan Langille wrote: > I'm trying to set dev.acpi_ibm.0.events to 1. I'm failing. I can set > it from the command line: [...] > I have tried /etc/sysctl.conf: > > $ grep ibm /etc/sysctl.conf > dev.acpi_ibm.0.events=1 > > and /boot/loader.conf: > > $ grep ibm /boot/loader.conf > acpi_ibm_load="YES" > dev.acpi_ibm.0.events="1" > > Neither of which result in the desired results. hi Dan, sysctl.conf works ok for me: # Needed for custom ACPI control # This will pass ACPI events to devd after acpi_ibm. # Custom devd config can be found in /usr/local/etc/devd dev.acpi_ibm.0.events=1 BUT i clearly remember that a few times, after rebuilding kernel (or world?) events wouldn't be set, as it is the case with you. It hasn't happened for a while..and I don't remember if it was on 6 or 7... it just got fixed by building kernel again, i think... _________________________ {Beto|Norberto|Numard} Meijome "All that is necessary for the triumph of evil is that good men do nothing." Edmund Burke I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 09:20:59 2008 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 8EA9B1065676 for ; Tue, 15 Apr 2008 09:20:59 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 147728FC22 for ; Tue, 15 Apr 2008 09:20:58 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by fg-out-1718.google.com with SMTP id 16so2156386fgg.35 for ; Tue, 15 Apr 2008 02:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=AKr7bi5VpY6DPxw3oIaHghCYlctKuLZvD2BN3EljXs0=; b=RkOrw1jFea4cHNJs/3AJslwnE14WgiCCquSuSIH5p+/kTt09Q01xFxRoMyGwl7G93OwXGmH4umzZaNiUeTz2eK6y6iCc9ajWO9WyqZvjjMEQWD2+57kQvFY4wvGbZXUGIJ+zZTceKH2jVRZcZI6rPa54noChSCqty5hNnIGBQpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=OrholeHUryisf4qH4gErWD/hv6+83IWn7SEA183G2Y5DwjwWgz8lr9jDMI50RNZqfbnspgk13kV0BtUEc6OwD55kWolvyeIhVg5NlD0boBEwYYA7B1bnSIkr9yt8WTGQ3eXeWWXauzuo5WBonCCWRDhxNvNz7AvZrmg1ls4HCiA= Received: by 10.86.72.15 with SMTP id u15mr2811064fga.11.1208249817438; Tue, 15 Apr 2008 01:56:57 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.80]) by mx.google.com with ESMTPS id j8sm7845020gvb.10.2008.04.15.01.56.55 (version=SSLv3 cipher=RC4-MD5); Tue, 15 Apr 2008 01:56:56 -0700 (PDT) From: Tom Evans To: Simon Barner In-Reply-To: <20080414180740.GA1050@dose.local.invalid> References: <20080414180740.GA1050@dose.local.invalid> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-py+4iICTJ3+Ui7e1aQ1i" Date: Tue, 15 Apr 2008 09:56:53 +0100 Message-Id: <1208249813.8904.34.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Cc: ports@freebsd.org, mobile@freebsd.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Tue, 15 Apr 2008 09:20:59 -0000 --=-py+4iICTJ3+Ui7e1aQ1i Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2008-04-14 at 20:07 +0200, Simon Barner wrote: > Hi, >=20 > I did a port [2] of the fprint finger print sensor framework [1] > and would like to receive some feedback before I commit it. >=20 > It comes with a PAM module for finger print based authentication, a > graphical (fprint_demo) and a console (pam_fprint_enroll) application > for finger print enrollment. >=20 > I did my tests with the UPEK sensor found in Lenovo's T61. >=20 > Simon >=20 > (M'fup2 ports@) >=20 > [1] http://www.reactivated.net/fprint/wiki/Main_Page > [2] http://home.leo.org/~barner/freebsd/fprint.tar.gz >=20 This is fantastic! People have always been asking me 'so does the fingerprint sensor work?' when they find out I run FreeBSD on my laptop - and now I can tell them it does! Just tested with fprint_demo, but successfully enrolled and verified my fingerprints no problem, using an HP nc6320 and the aes2501 sensor. Cheers Tom --=-py+4iICTJ3+Ui7e1aQ1i Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBIBG3RlcRvFfyds/cRAtVwAKCqECResy9b/2rMP2Fbe18uY9/LTQCfTd/o 0j4L3yjuTkHnxsqMwJUzGE4= =SBiV -----END PGP SIGNATURE----- --=-py+4iICTJ3+Ui7e1aQ1i-- From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 10:00:33 2008 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 B9B8A106566C; Tue, 15 Apr 2008 10:00:33 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from skutsje.san.webweaving.org (skutsje.san.webweaving.org [209.132.96.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7CB408FC13; Tue, 15 Apr 2008 10:00:33 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from [10.11.0.121] (5356CA0A.cable.casema.nl [83.86.202.10]) (authenticated bits=0) by skutsje.san.webweaving.org (8.12.9/8.12.9) with ESMTP id m3F9eC2Q069604 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 15 Apr 2008 02:40:15 -0700 (PDT) (envelope-from dirkx@webweaving.org) Message-Id: <4714B277-3EEF-4AE6-A54A-CF8DCAD2C5C7@webweaving.org> From: Dirk-Willem van Gulik To: Simon Barner In-Reply-To: <20080414180740.GA1050@dose.local.invalid> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 15 Apr 2008 11:40:11 +0200 References: <20080414180740.GA1050@dose.local.invalid> X-Mailer: Apple Mail (2.919.2) Cc: ports@freebsd.org, mobile@freebsd.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Tue, 15 Apr 2008 10:00:33 -0000 On Apr 14, 2008, at 8:07 PM, Simon Barner wrote: > I did a port [2] of the fprint finger print sensor framework [1] > and would like to receive some feedback before I commit it. > > It comes with a PAM module for finger print based authentication, a > graphical (fprint_demo) and a console (pam_fprint_enroll) application > for finger print enrollment. > > I did my tests with the UPEK sensor found in Lenovo's T61. Well done ! Works with the VAIO fps just fine. Dw From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 11:21:21 2008 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 64531106571E; Tue, 15 Apr 2008 11:21:21 +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 D8A7F8FC15; Tue, 15 Apr 2008 11:21:20 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id m3FAkOp7026403 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Apr 2008 14:46:25 +0400 (MSD) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JligC-00079w-7X; Tue, 15 Apr 2008 14:46:24 +0400 From: Vladimir Grebenschikov To: Simon Barner In-Reply-To: <20080414180740.GA1050@dose.local.invalid> References: <20080414180740.GA1050@dose.local.invalid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Tue, 15 Apr 2008 14:46:23 +0400 Message-Id: <1208256383.1513.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: ports@FreeBSD.org, mobile@FreeBSD.org Subject: Re: fprint (finger print sensor framework) port ready for testing X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 11:21:21 -0000 On Mon, 2008-04-14 at 20:07 +0200, Simon Barner wrote: > Hi, >=20 > I did a port [2] of the fprint finger print sensor framework [1] > and would like to receive some feedback before I commit it. >=20 > It comes with a PAM module for finger print based authentication, a > graphical (fprint_demo) and a console (pam_fprint_enroll) application > for finger print enrollment. >=20 > I did my tests with the UPEK sensor found in Lenovo's T61. Cool, it works for me, even pam module. As I understand, pam module requires user name first. So there no way to make gdm/kdm/*dm just scan image, find apropriate user and login him ? =EF=BB=BFHave you seen/reviewed security/bioapi and security/bsp_upektfmess (later works only on RELENG_6 now) ? Looks like fprint ports are introduce one new bioapi ? > Simon >=20 > (M'fup2 ports@) >=20 > [1] http://www.reactivated.net/fprint/wiki/Main_Page > [2] http://home.leo.org/~barner/freebsd/fprint.tar.gz >=20 --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 13:02:52 2008 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 AAE7F1065670 for ; Tue, 15 Apr 2008 13:02:52 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 582848FC26 for ; Tue, 15 Apr 2008 13:02:52 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 544BC509A4; Tue, 15 Apr 2008 14:02:47 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fn9sjYWjYRSa; Tue, 15 Apr 2008 14:02:41 +0100 (BST) Received: from [192.168.80.128] (ismtp.afilias.com [216.217.55.254]) by nyi.unixathome.org (Postfix) with ESMTPSA id 5B4B950841; Tue, 15 Apr 2008 14:02:40 +0100 (BST) Message-ID: <4804A739.2090403@langille.org> Date: Tue, 15 Apr 2008 09:01:45 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.12 (X11/20080326) MIME-Version: 1.0 To: Norberto Meijome References: <480240AB.9080003@langille.org> <20080415163843.1f899be5@meijome.net> In-Reply-To: <20080415163843.1f899be5@meijome.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Tue, 15 Apr 2008 13:02:52 -0000 Norberto Meijome wrote: > On Sun, 13 Apr 2008 13:19:39 -0400 > Dan Langille wrote: > >> I'm trying to set dev.acpi_ibm.0.events to 1. I'm failing. I can set >> it from the command line: > [...] >> I have tried /etc/sysctl.conf: >> >> $ grep ibm /etc/sysctl.conf >> dev.acpi_ibm.0.events=1 >> >> and /boot/loader.conf: >> >> $ grep ibm /boot/loader.conf >> acpi_ibm_load="YES" >> dev.acpi_ibm.0.events="1" >> >> Neither of which result in the desired results. > > hi Dan, > > sysctl.conf works ok for me: > > # Needed for custom ACPI control > # This will pass ACPI events to devd after acpi_ibm. > # Custom devd config can be found in /usr/local/etc/devd > dev.acpi_ibm.0.events=1 > > BUT i clearly remember that a few times, after rebuilding kernel (or world?) > events wouldn't be set, as it is the case with you. It hasn't happened for a > while..and I don't remember if it was on 6 or 7... > > it just got fixed by building kernel again, i think... No new kernel here. But it works no. Not sure how or why, but it's working now. -- Dan Langille BSDCan - The Technical BSD Conference : http://www.bsdcan.org/ PGCon - The PostgreSQL Conference: http://www.pgcon.org/ From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 13:29:32 2008 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 A57AD1065670 for ; Tue, 15 Apr 2008 13:29:32 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 5475A8FC23 for ; Tue, 15 Apr 2008 13:29:32 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 22214 invoked from network); 15 Apr 2008 08:29:32 -0500 Received: from 124-170-157-70.dyn.iinet.net.au (HELO localhost) (124.170.157.70) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 15 Apr 2008 08:29:31 -0500 Date: Tue, 15 Apr 2008 23:29:22 +1000 From: Norberto Meijome To: freebsd-mobile@freebsd.org Message-ID: <20080415232922.2421ddfb@meijome.net> In-Reply-To: <4804A739.2090403@langille.org> References: <480240AB.9080003@langille.org> <20080415163843.1f899be5@meijome.net> <4804A739.2090403@langille.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Tue, 15 Apr 2008 13:29:32 -0000 On Tue, 15 Apr 2008 09:01:45 -0400 Dan Langille wrote: > No new kernel here. But it works no. Not sure how or why, but it's > working now. yeah, the same weird thing that happened to me... i seem to remember now that i thought it was related to new kernel, i reverted and still had the same problem..then it was gone.... gremlins. :P _________________________ {Beto|Norberto|Numard} Meijome Real Programmers don't comment their code. If it was hard to write, it should be hard to understand and even harder to modify. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 13:57:49 2008 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 9F2E0106567F for ; Tue, 15 Apr 2008 13:57:49 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id E48CE8FC3E for ; Tue, 15 Apr 2008 13:57:45 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 26304 invoked from network); 15 Apr 2008 08:57:43 -0500 Received: from 124-170-157-70.dyn.iinet.net.au (HELO ayiin.octantis.com.au) (124.170.157.70) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 15 Apr 2008 08:57:43 -0500 Date: Tue, 15 Apr 2008 23:57:32 +1000 From: Norberto Meijome To: freebsd-mobile@freebsd.org Message-ID: <20080415235732.70f0d395@ayiin.octantis.com.au> In-Reply-To: <20080414180740.GA1050@dose.local.invalid> References: <20080414180740.GA1050@dose.local.invalid> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Tue, 15 Apr 2008 13:57:49 -0000 On Mon, 14 Apr 2008 20:07:40 +0200 Simon Barner wrote: > Hi, > > I did a port [2] of the fprint finger print sensor framework [1] > and would like to receive some feedback before I commit it. > > It comes with a PAM module for finger print based authentication, a > graphical (fprint_demo) and a console (pam_fprint_enroll) application > for finger print enrollment. > > I did my tests with the UPEK sensor found in Lenovo's T61. > > Simon > > (M'fup2 ports@) > > [1] http://www.reactivated.net/fprint/wiki/Main_Page > [2] http://home.leo.org/~barner/freebsd/fprint.tar.gz > Hi Simon, I installed both packages. Used wheel instead of operators for devfs (I am member of wheel). running as root made it work great :) I have a Lenovo Thinkpad z60m, upekts driver. The details : FreeBSD ayiin.octantis.com.au 7.0-STABLE FreeBSD 7.0-STABLE #43: Mon Apr 14 11:50:52 EST 2008 root@ayiin.octantis.com.au:/usr/obj/usr/src/sys/AYIIN i386 $ sudo usbdevs -v -d [...] Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub2 port 1 powered port 2 addr 2: full speed, power 100 mA, config 1, Biometric Coprocessor(0x2016), STMicroelectronics(0x0483), rev 0.01 ugen0 [...] dmesg shows : Apr 14 22:17:08 ayiin kernel: ugen0: on uhub2 Best regards, B _________________________ {Beto|Norberto|Numard} Meijome "A dream you dream together is reality." John Lennon I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 15:23:07 2008 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 F0C8E106564A for ; Tue, 15 Apr 2008 15:23:07 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by mx1.freebsd.org (Postfix) with ESMTP id 868A18FC23 for ; Tue, 15 Apr 2008 15:23:07 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by ti-out-0910.google.com with SMTP id j2so585310tid.3 for ; Tue, 15 Apr 2008 08:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=4X6Il0czcsIuHVwCDNnUUWKyVnDwQ98ooIIWuCyjvt4=; b=vjJl0IEjqX33nBBaH4dnD5ttNiWxtE6OSTuETG0YVj4RtydPivt3pPqVOiGkLnHxyzbD1rNXxBGcjHJPzIOpuOli+EKM2GhPVhrH+SUHdkRrnBcngLIrf+8834BiStWbJB++xPaO5GMqrQ8H1YQN3FExwPNtPLw40Y11876Alns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RnLLMT0BaKL+BCOPMl+kxWsFLntpiqokp6pEiyN0eRbyfFmb5M81W6ZGIDBPPdcaI/XWzVKJkjKxGPEXqseIh0pirlBM6ZAx74/U3xL0wAfOBOgD8ws9Tf4A6noNMXHfmvBaURfiET2XWK9t+UpxS6p41m5tD4hCMUT3hGSldcw= Received: by 10.110.20.17 with SMTP id 17mr618422tit.48.1208271073927; Tue, 15 Apr 2008 07:51:13 -0700 (PDT) Received: by 10.110.60.18 with HTTP; Tue, 15 Apr 2008 07:51:13 -0700 (PDT) Message-ID: <5635aa0d0804150751n3f89e885mdac8fb3077cdc331@mail.gmail.com> Date: Tue, 15 Apr 2008 21:51:13 +0700 From: "Outback Dingo" To: vova@fbsd.ru In-Reply-To: <1208256383.1513.6.camel@localhost> MIME-Version: 1.0 References: <20080414180740.GA1050@dose.local.invalid> <1208256383.1513.6.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org, Simon Barner , mobile@freebsd.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Tue, 15 Apr 2008 15:23:08 -0000 pam_fprint works (see below) but when i try to run the fprint demo i get STATUS: No Devices Found pam_fprint_enroll -f 7 This program will enroll your finger, unconditionally overwriting any selected print that was enrolled previously. If you want to continue, press enter, otherwise hit Ctrl+C Found device claimed by UPEK TouchStrip driver Opened device. It's now time to enroll your finger. You will need to successfully scan your Right Index Finger 3 times to complete the process. Scan your finger now. upekts:error [read_msg] non-zero bytes in cmd response upekts:error [read_msg28] expected response, got -1 seq=40 Enroll stage passed. Yay! Scan your finger now. Enroll stage passed. Yay! Scan your finger now. Enroll complete! Enrollment completed! From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 19:38:38 2008 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 9F072106566C for ; Tue, 15 Apr 2008 19:38:38 +0000 (UTC) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 09F248FC1A for ; Tue, 15 Apr 2008 19:38:37 +0000 (UTC) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 15 Apr 2008 19:38:36 -0000 Received: from ppp-88-217-20-17.dynamic.mnet-online.de (EHLO dose.local.invalid) [88.217.20.17] by mail.gmx.net (mp003) with SMTP; 15 Apr 2008 21:38:36 +0200 X-Authenticated: #147403 X-Provags-ID: V01U2FsdGVkX1/4ulE9Szb4UkcvICm7paG/YZvibUXyH68BheX7cK w6YKbNIPTFcSC1 Received: by dose.local.invalid (Postfix, from userid 1000) id 7727AC1DD; Tue, 15 Apr 2008 21:38:36 +0200 (CEST) Date: Tue, 15 Apr 2008 21:38:36 +0200 From: Simon Barner To: Vladimir Grebenschikov Message-ID: <20080415193836.GA1956@dose.local.invalid> References: <20080414180740.GA1050@dose.local.invalid> <1208256383.1513.6.camel@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <1208256383.1513.6.camel@localhost> User-Agent: Mutt/1.5.16 (2007-06-09) X-Y-GMX-Trusted: 0 Cc: ports@FreeBSD.org, Simon Barner , mobile@FreeBSD.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Tue, 15 Apr 2008 19:38:38 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Vladimir Grebenschikov wrote: > As I understand, pam module requires user name first. > So there no way to make gdm/kdm/*dm just scan image, find apropriate > user and login him ? As far as I can tell, it currently is not supported, but somebody seems to work on it: http://www.mail-archive.com/fprint@reactivated.net/msg00471.html >=20 > ???Have you seen/reviewed security/bioapi and security/bsp_upektfmess > (later works only on RELENG_6 now) ? Yes. In the mean time, there even is a binary of the UPEK driver for FreeBSD 7 i386, but the pam module did not work for me. >=20 > Looks like fprint ports are introduce one new bioapi ? Yes, but at it seems, the developers deliberated well about it: http://www.reactivated.net/fprint/wiki/FAQ#Why_no_BioAPI.3F --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFIBQQ8Ckn+/eutqCoRAunAAJ9uPQeQz+jBdRN4RlECGDd5rdIghACcD0Kk NzXQmAdHBQ30mjakYwKUSuw= =bffc -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 19:43:49 2008 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 931B1106564A for ; Tue, 15 Apr 2008 19:43:49 +0000 (UTC) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id F18EE8FC19 for ; Tue, 15 Apr 2008 19:43:48 +0000 (UTC) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 15 Apr 2008 19:43:46 -0000 Received: from ppp-88-217-20-17.dynamic.mnet-online.de (EHLO dose.local.invalid) [88.217.20.17] by mail.gmx.net (mp006) with SMTP; 15 Apr 2008 21:43:46 +0200 X-Authenticated: #147403 X-Provags-ID: V01U2FsdGVkX186V4Ufebk6650lzjO6rlVmVff/6NXwvRCeC1BS/U X7RO+N2U8Zr2vM Received: by dose.local.invalid (Postfix, from userid 1000) id A4287C1DD; Tue, 15 Apr 2008 21:43:47 +0200 (CEST) Date: Tue, 15 Apr 2008 21:43:47 +0200 From: Simon Barner To: Outback Dingo Message-ID: <20080415194347.GB1956@dose.local.invalid> References: <20080414180740.GA1050@dose.local.invalid> <1208256383.1513.6.camel@localhost> <5635aa0d0804150751n3f89e885mdac8fb3077cdc331@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: <5635aa0d0804150751n3f89e885mdac8fb3077cdc331@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Y-GMX-Trusted: 0 Cc: vova@fbsd.ru, ports@freebsd.org, Simon Barner , mobile@freebsd.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Tue, 15 Apr 2008 19:43:49 -0000 --V0207lvV8h4k8FAm Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Outback Dingo wrote: > pam_fprint works (see below) but when i try to run the fprint demo i get >=20 > STATUS: No Devices Found Are you sure you have r/w access to the sensor's USB device? >=20 > pam_fprint_enroll -f 7 > This program will enroll your finger, unconditionally overwriting any sel= ected > print that was enrolled previously. If you want to continue, press enter, > otherwise hit Ctrl+C >=20 > Found device claimed by UPEK TouchStrip driver > Opened device. It's now time to enroll your finger. >=20 > You will need to successfully scan your Right Index Finger 3 times to com= plete > the process. >=20 > Scan your finger now. > upekts:error [read_msg] non-zero bytes in cmd response > upekts:error [read_msg28] expected response, got -1 seq=3D40 Something seems to go wrong. I have never seenn this error message. Which sensor are you using? Can you send me the output of `usbdevs -vd' in a private mail please? --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --V0207lvV8h4k8FAm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFIBQVzCkn+/eutqCoRAnpVAJ0aYRYVaB0OVR2/4IJayr6unf/jgACePalL /0EuOKeMNZV+aASGySlA53E= =AE7N -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm-- From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 15 20:14:07 2008 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 9B0C5106564A; Tue, 15 Apr 2008 20:14:07 +0000 (UTC) (envelope-from fli@shapeshifter.se) Received: from mx1.h3q.net (mx1.h3q.net [212.37.5.30]) by mx1.freebsd.org (Postfix) with ESMTP id 548E88FC1D; Tue, 15 Apr 2008 20:14:07 +0000 (UTC) (envelope-from fli@shapeshifter.se) Received: from [192.168.1.61] (78-69-107-234-no83.tbcn.telia.com [78.69.107.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: fli@shapeshifter.se) by mx1.h3q.net (Postfix) with ESMTP id 9A26D78C20; Tue, 15 Apr 2008 21:57:56 +0200 (CEST) Message-ID: <480508C3.8070609@shapeshifter.se> Date: Tue, 15 Apr 2008 21:57:55 +0200 From: Fredrik Lindberg User-Agent: Thunderbird 2.0.0.12 (X11/20080305) MIME-Version: 1.0 To: Simon Barner References: <20080414180740.GA1050@dose.local.invalid> <1208256383.1513.6.camel@localhost> <20080415193836.GA1956@dose.local.invalid> In-Reply-To: <20080415193836.GA1956@dose.local.invalid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Vladimir Grebenschikov , ports@FreeBSD.org, mobile@FreeBSD.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Tue, 15 Apr 2008 20:14:07 -0000 Simon Barner wrote: > Vladimir Grebenschikov wrote: >> ???Have you seen/reviewed security/bioapi and security/bsp_upektfmess >> (later works only on RELENG_6 now) ? > > Yes. In the mean time, there even is a binary of the UPEK driver for > FreeBSD 7 i386, but the pam module did not work for me. A new binary has been re-rolled which takes care of the Undefined symbol errors in the first one. It works with PAM as well. The updated port can be found in ports/122768 However, if fprint suites your needs I would recommend using it instead. Another possibility would be to create BioAPI modules based on the reversed engineered code from fprint. Fredrik Lindberg From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 03:47:10 2008 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 3B18C106566B for ; Wed, 16 Apr 2008 03:47:10 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.freebsd.org (Postfix) with ESMTP id 04F408FC19 for ; Wed, 16 Apr 2008 03:47:09 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id 369678AB825 for ; Wed, 16 Apr 2008 12:47:09 +0900 (JST) Received: from koetoi.cc.sophia.ac.jp (koetoi.cc.sophia.ac.jp [133.12.138.216]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 2F40AB34048 for ; Wed, 16 Apr 2008 12:47:09 +0900 (JST) X-AuditID: 850c8ad9-afcc9bb0000008b8-e9-480576bc7c9d Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by koetoi.cc.sophia.ac.jp (Symantec Mail Security) with ESMTP id EB6454DC002 for ; Wed, 16 Apr 2008 12:47:08 +0900 (JST) Received: from [127.0.0.1] (ph65010.ph.sophia.ac.jp [133.12.65.10]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id C73B7B34048 for ; Wed, 16 Apr 2008 12:47:08 +0900 (JST) Message-ID: <480576F3.3090709@sophia.ac.jp> Date: Wed, 16 Apr 2008 12:48:03 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041217 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <480240AB.9080003@langille.org> In-Reply-To: <480240AB.9080003@langille.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Wed, 16 Apr 2008 03:47:10 -0000 Hi friends, I have a similar probrem with 7.0R on X61s. "dev.acpi_ibm.0.lcd_brightness=4" in sysctl.conf does NOT work with xorg(gdm). I think changing VT reset it. > I'm trying to set dev.acpi_ibm.0.events to 1. I'm failing. I can set > it from the command line: > > $ sudo sysctl dev.acpi_ibm.0.events=1 > Password: > dev.acpi_ibm.0.events: 0 -> 1 > > $ sysctl dev.acpi_ibm.0.events > dev.acpi_ibm.0.events: 1 > > > This allows the special keys (screen brightness etc) to work on my > ThinkPad X61s (see > http://lists.freebsd.org/pipermail/freebsd-mobile/2008-March/010567.html). > > I have tried /etc/sysctl.conf: > > $ grep ibm /etc/sysctl.conf > dev.acpi_ibm.0.events=1 > > and /boot/loader.conf: > > $ grep ibm /boot/loader.conf > acpi_ibm_load="YES" > dev.acpi_ibm.0.events="1" > > Neither of which result in the desired results. > > Clues? > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" -- Takashi Inoue From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 05:21:53 2008 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 29DA7106566C for ; Wed, 16 Apr 2008 05:21:53 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 002508FC27 for ; Wed, 16 Apr 2008 05:21:33 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id PAA16831; Wed, 16 Apr 2008 15:19:41 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 16 Apr 2008 15:19:40 +1000 (EST) From: Ian Smith To: mato In-Reply-To: <48031338.5050801@users.sf.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org Subject: Re: battery monitor with KDE 64 bit 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: Wed, 16 Apr 2008 05:21:53 -0000 On Mon, 14 Apr 2008, mato wrote: > Ian Smith wrote: [..] > > You may also like to have a look at sysutils/asapm which I've been using > > for years to good effect in KDE. Despite the name, and the initial > > blurb in pkg_descr, it works fine (better, actually) with ACPI, as > > detailed in the manual. It's also fully configurable regarding display > > colours etc, and if the remaining runtime isn't directly available, it > > can monitor state of charge over time to provide pretty good estimates, > > along with configurable setpoints for 'warning' and 'alarm' colours. I > > can't say whether it works on amd64 though .. > > > > On later (i386) machines I tend to use gkrellm which includes CPU temp, > > speed and much more, but again I don't know if it works with amd64. > Ian, thanks! :-) My pleasure Martin .. I've not heard of anyone else running it before :) > I've been using wmbsdbatt but it isn't configurable at all and often I > just didn't notice my battery gone flat. Now I've switched to asapm > which provides better visual attention (battery turning red) and more > importantly I could configure it to produce notifications via > notify-send and xmessage, so it's unlikely I'll miss my battery running > flat. :-)) Yeah, good old-fashioned X configuration. I use apmd notifications on this old 300MHz 800x600 beast for also good old-fashioned /dev/speaker tunes for battery warnings, but haven't yet explored xmessage - thanks. FWIW, I've also long used sysutils/ascpu as a 60sec visual load monitor, matching asapm's 'look', res. size and low cpu usage. At ~7days uptime: 3680 smithi 8 0 2344K 448K nanslp 44:06 0.00% 0.00% asapm 3681 smithi 8 0 2564K 448K nanslp 41:53 0.00% 0.00% ascpu 3514 root 96 0 1280K 264K select 36:32 0.00% 0.00% moused cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 05:36:51 2008 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 8D092106566C for ; Wed, 16 Apr 2008 05:36:51 +0000 (UTC) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id EDBC08FC15 for ; Wed, 16 Apr 2008 05:36:50 +0000 (UTC) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 16 Apr 2008 05:36:48 -0000 Received: from ppp-88-217-20-17.dynamic.mnet-online.de (EHLO dose.local.invalid) [88.217.20.17] by mail.gmx.net (mp006) with SMTP; 16 Apr 2008 07:36:48 +0200 X-Authenticated: #147403 X-Provags-ID: V01U2FsdGVkX1+1nwcwD4e1L0dPvo3zTBb53HFv7wK8ldm8LvL8wo Tmv1tvO4VGVrtb Received: by dose.local.invalid (Postfix, from userid 1000) id 868C2C716; Wed, 16 Apr 2008 07:36:49 +0200 (CEST) Date: Wed, 16 Apr 2008 07:36:49 +0200 From: Simon Barner To: Fredrik Lindberg Message-ID: <20080416053649.GA1339@dose.local.invalid> References: <20080414180740.GA1050@dose.local.invalid> <1208256383.1513.6.camel@localhost> <20080415193836.GA1956@dose.local.invalid> <480508C3.8070609@shapeshifter.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <480508C3.8070609@shapeshifter.se> User-Agent: Mutt/1.5.16 (2007-06-09) X-Y-GMX-Trusted: 0 Cc: Vladimir Grebenschikov , ports@FreeBSD.org, mobile@FreeBSD.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Wed, 16 Apr 2008 05:36:51 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Fredrik Lindberg wrote: > Simon Barner wrote: >> Vladimir Grebenschikov wrote: >>> ???Have you seen/reviewed security/bioapi and security/bsp_upektfmess >>> (later works only on RELENG_6 now) ? >> Yes. In the mean time, there even is a binary of the UPEK driver for >> FreeBSD 7 i386, but the pam module did not work for me. >=20 > A new binary has been re-rolled which takes care of the Undefined > symbol errors in the first one. It works with PAM as well. > The updated port can be found in ports/122768 Ok, good to know, I'll take care of your PR. >=20 > However, if fprint suites your needs I would recommend using it instead. > Another possibility would be to create BioAPI modules based on the > reversed engineered code from fprint. The latter option might be interesting. However, the fprint developers plan more advanced authentication (and also identification) in the future (see link in my mail to Vladimir Grebenschikov earlier in this thread). --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFIBZBxCkn+/eutqCoRAv6zAJ9qobY07h/EnUQsh4em4KaU+FGzxwCgvO5D D4bKtf5uQkRnf3pYnFfRwrM= =837w -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 06:06:44 2008 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 CF091106564A for ; Wed, 16 Apr 2008 06:06:44 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2EE5C8FC14 for ; Wed, 16 Apr 2008 06:06:43 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by ti-out-0910.google.com with SMTP id j2so667120tid.3 for ; Tue, 15 Apr 2008 23:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=H/Dx6krL3edWrWayiXwdE4Q4kSoDFAr9w3UuQgEDHdc=; b=OwRv/1w/UtRFdKvAtjM2MAfTgZfddp02Nx/oxNuctwNn1eDJu5v9W3l3o0bKeZS1M5p7LwM7WhVFoBRezsZiquSBUCqvACNOxuahlB2BcjW6I334CMsQC8bONKpEaKDsDlHd/2mPpG51jWlRqiRuPRtBBsw12pVX1cBxH02EDh4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=q60K2xo6BKEyZQxQcTJBTxLf/WsLQ5eTODkhw19FmAbPt1tgfqz9pt/MOVrdj55VestShXUhV1/4N0ZM6jiRofLdJdzOwWNQ0HDnQpNUOoMo3/NkUNaxEaiV8tve3z8ypuE26kH8hjiayvhKjLjjPL7ltrgy8OI5afUXI0zz1oE= Received: by 10.110.105.10 with SMTP id d10mr701100tic.52.1208326002560; Tue, 15 Apr 2008 23:06:42 -0700 (PDT) Received: by 10.110.60.18 with HTTP; Tue, 15 Apr 2008 23:06:42 -0700 (PDT) Message-ID: <5635aa0d0804152306s170586c3ia4410cb766a2f196@mail.gmail.com> Date: Wed, 16 Apr 2008 13:06:42 +0700 From: "Outback Dingo" To: "Simon Barner" In-Reply-To: <20080415194347.GB1956@dose.local.invalid> MIME-Version: 1.0 References: <20080414180740.GA1050@dose.local.invalid> <1208256383.1513.6.camel@localhost> <5635aa0d0804150751n3f89e885mdac8fb3077cdc331@mail.gmail.com> <20080415194347.GB1956@dose.local.invalid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: vova@fbsd.ru, ports@freebsd.org, mobile@freebsd.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Wed, 16 Apr 2008 06:06:44 -0000 Yupp I even set the permissions 777 and added the user i tested to group operator.... still no joy ive used the upek port no problems even with GDM. the "root" user works great, but regular users cant even register ls -al /dev/ugen* crw-rw-rw- 1 root operator 0, 84 Apr 15 14:14 /dev/ugen0 crw-rw-rw- 1 root operator 0, 85 Apr 15 14:14 /dev/ugen0.1 crw-rw-rw- 1 root operator 0, 86 Apr 15 14:14 /dev/ugen0.2 crw-rw-rw- 1 root operator 0, 87 Apr 15 14:14 /dev/ugen0.3 crw-rw-rw- 1 root operator 0, 88 Apr 15 14:14 /dev/ugen0.4 crwxrwxrwx 1 root operator 0, 89 Apr 15 14:14 /dev/ugen1 crwxrwxrwx 1 root operator 0, 90 Apr 15 14:14 /dev/ugen1.1 crwxrwxrwx 1 root operator 0, 91 Apr 16 01:34 /dev/ugen1.2 crwxrwxrwx 1 root operator 0, 92 Apr 15 14:14 /dev/ugen1.3 usbdevs -vd Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub0 port 1 powered port 2 addr 2: low speed, power 98 mA, config 1, USB Receiver(0xc521), Logitech(0x046d), rev 57.00 ums0 uhid0 Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub1 port 1 powered port 2 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub2 port 1 addr 2: full speed, self powered, config 1, BCM2045B(0x2110), Broadcom Corp(0x0a5c), rev 1.00 ugen0 port 2 addr 3: full speed, power 100 mA, config 1, Biometric Coprocessor(0x2016), STMicroelectronics(0x0483), rev 0.01 ugen1 Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub3 port 1 powered port 2 powered Controller /dev/usb4: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub4 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered On Wed, Apr 16, 2008 at 2:43 AM, Simon Barner wrote: > Outback Dingo wrote: > > pam_fprint works (see below) but when i try to run the fprint demo i ge= t > > > > STATUS: No Devices Found > > Are you sure you have r/w access to the sensor's USB device? > > > > pam_fprint_enroll -f 7 > > This program will enroll your finger, unconditionally overwriting any > selected > > print that was enrolled previously. If you want to continue, press > enter, > > otherwise hit Ctrl+C > > > > Found device claimed by UPEK TouchStrip driver > > Opened device. It's now time to enroll your finger. > > > > You will need to successfully scan your Right Index Finger 3 times to > complete > > the process. > > > > Scan your finger now. > > upekts:error [read_msg] non-zero bytes in cmd response > > upekts:error [read_msg28] expected response, got -1 seq=3D40 > > Something seems to go wrong. I have never seenn this error message. > > Which sensor are you using? Can you send me the output of `usbdevs -vd' > in a private mail please? > > -- > Best regards / Viele Gr=FC=DFe, barner@FreeBS= D.org > Simon Barner barner@gmx.d= e > From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 07:02:16 2008 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 E3F6B106566B for ; Wed, 16 Apr 2008 07:02:16 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id 37FE78FC1F for ; Wed, 16 Apr 2008 07:02:15 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so3044000fka.11 for ; Wed, 16 Apr 2008 00:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; bh=0+zuWip988TFCWl1Ru5mHX4pfPKMNhqEtc4MRxtBvbw=; b=VYl8NFvc/LNAPgJZYU9F/EpyjbyUv+IKOz4QdQt8fDMReduKZp7BMAOG7Pm8GFHQr75A/bcomkMRxGcHyPNrnS6yIJyi0tIO5Kye8PXfbNn8tYS/bIV2lI2D3gaRB8CgHhJHMgQi/XSZEXrq+N1kM/yAZNDFgDzqvyue0CLXhAw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=skpmOHBvjzPhZ3GhMESs8b2kcsKPs6i8wTyhkVo1Cz74wtknVTpGbCDjyh5xPSYSrlRU0PEUFWtQE4MfBpOhcg80Hyn6I7wO9V2oHcTkm65aTDAd/YObVp70BabtE9XKcUM6X+j5hXClUjrfWjhdtVYAVE+Pp3kpqlDFgwF1twU= Received: by 10.82.154.5 with SMTP id b5mr13073476bue.10.1208329334206; Wed, 16 Apr 2008 00:02:14 -0700 (PDT) Received: from beastie.lan ( [194.9.14.78]) by mx.google.com with ESMTPS id y6sm29856506mug.1.2008.04.16.00.02.11 (version=SSLv3 cipher=RC4-MD5); Wed, 16 Apr 2008 00:02:12 -0700 (PDT) Message-ID: <4805A461.6040704@gmail.com> Date: Wed, 16 Apr 2008 10:01:53 +0300 User-Agent: Thunderbird 2.0.0.12 (X11/20080302) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <20080414180740.GA1050@dose.local.invalid> In-Reply-To: <20080414180740.GA1050@dose.local.invalid> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit From: Andrey Cc: Simon Barner Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Wed, 16 Apr 2008 07:02:17 -0000 Hi, It looks like it works on my HP machine. (HP 6710b, AuthenTec Fingerprint device) # dmesg | egrep 'ugen' ugen0: # usbdevs -dv ... Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 uhub3 port 1 powered port 2 addr 2: full speed, power 100 mA, config 1, Fingerprint Sensor(0x2580), vendor 0x08ff(0x08ff), rev 6.23 ugen0 ... Great work! Thanks. Simon Barner wrote: > Hi, > > I did a port [2] of the fprint finger print sensor framework [1] > and would like to receive some feedback before I commit it. > > It comes with a PAM module for finger print based authentication, a > graphical (fprint_demo) and a console (pam_fprint_enroll) application > for finger print enrollment. > > I did my tests with the UPEK sensor found in Lenovo's T61. > > Simon > > (M'fup2 ports@) > > [1] http://www.reactivated.net/fprint/wiki/Main_Page > [2] http://home.leo.org/~barner/freebsd/fprint.tar.gz > -- Sincerely, Andrey Kosachenko From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 08:05:43 2008 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 1699B1065672 for ; Wed, 16 Apr 2008 08:05:43 +0000 (UTC) (envelope-from greenant@fastmail.fm) Received: from averell.mail.tiscali.it (averell.mail.tiscali.it [213.205.33.55]) by mx1.freebsd.org (Postfix) with ESMTP id 99B188FC1C for ; Wed, 16 Apr 2008 08:05:42 +0000 (UTC) (envelope-from greenant@fastmail.fm) Received: from [192.168.8.3] (84.223.95.151) by averell.mail.tiscali.it (8.0.016) id 47FC8295005CE0EF for freebsd-mobile@freebsd.org; Wed, 16 Apr 2008 10:05:41 +0200 Message-ID: <4805B357.7020901@fastmail.fm> Date: Wed, 16 Apr 2008 10:05:43 +0200 From: Alberto Rizzi User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <480240AB.9080003@langille.org> <480576F3.3090709@sophia.ac.jp> In-Reply-To: <480576F3.3090709@sophia.ac.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Wed, 16 Apr 2008 08:05:43 -0000 Takashi Inoue ha scritto: > Hi friends, > > I have a similar probrem with 7.0R on X61s. > > "dev.acpi_ibm.0.lcd_brightness=4" in sysctl.conf > does NOT work with xorg(gdm). > > I think changing VT reset it. > I read somewhere that Xorg bypass these values, and so you can't change the brightness with that sysctl. Under xorg, for my T61, I use x11/xbacklight From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 09:26:36 2008 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 115C1106566B for ; Wed, 16 Apr 2008 09:26:36 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.freebsd.org (Postfix) with ESMTP id CE4748FC14 for ; Wed, 16 Apr 2008 09:26:35 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id E566D8AB89B for ; Wed, 16 Apr 2008 18:26:34 +0900 (JST) Received: from koetoi.cc.sophia.ac.jp (koetoi.cc.sophia.ac.jp [133.12.138.216]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id DE1E5B34048 for ; Wed, 16 Apr 2008 18:26:34 +0900 (JST) X-AuditID: 850c8ad9-adcc5bb0000008b8-0c-4805c64a8482 Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by koetoi.cc.sophia.ac.jp (Symantec Mail Security) with ESMTP id B45294DC003 for ; Wed, 16 Apr 2008 18:26:34 +0900 (JST) Received: from [127.0.0.1] (ph65010.ph.sophia.ac.jp [133.12.65.10]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 97DFDB34048 for ; Wed, 16 Apr 2008 18:26:34 +0900 (JST) Message-ID: <4805C682.3060004@sophia.ac.jp> Date: Wed, 16 Apr 2008 18:27:30 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041217 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <480240AB.9080003@langille.org> <480576F3.3090709@sophia.ac.jp> <4805B357.7020901@fastmail.fm> In-Reply-To: <4805B357.7020901@fastmail.fm> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Wed, 16 Apr 2008 09:26:36 -0000 Alberto Rizzi wrote: > I read somewhere that Xorg bypass these values, and so you can't change > the brightness with that sysctl. > Under xorg, for my T61, I use x11/xbacklight Thanks for the information. I'll try it from now. I can change the brightness using sysctl by hand in x-term after login. However, /etc/sysctl.conf has no effect on ttyv8. Moreover, I see sometimes inconsistency between the value and actual brightness, after several change of ttyv#. T Inoue From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 11:39:23 2008 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 8057B106564A for ; Wed, 16 Apr 2008 11:39:23 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.freebsd.org (Postfix) with ESMTP id 4EDF38FC19 for ; Wed, 16 Apr 2008 11:39:23 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id 7E0A08AB8FE for ; Wed, 16 Apr 2008 20:39:22 +0900 (JST) Received: from koetoi.cc.sophia.ac.jp (koetoi.cc.sophia.ac.jp [133.12.138.216]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 76BBCB34048 for ; Wed, 16 Apr 2008 20:39:22 +0900 (JST) X-AuditID: 850c8ad9-adcc5bb0000008b8-ac-4805e56a7e27 Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by koetoi.cc.sophia.ac.jp (Symantec Mail Security) with ESMTP id 506204DC003 for ; Wed, 16 Apr 2008 20:39:22 +0900 (JST) Received: from [127.0.0.1] (ph65010.ph.sophia.ac.jp [133.12.65.10]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 341E8B34048 for ; Wed, 16 Apr 2008 20:39:22 +0900 (JST) Message-ID: <4805E5A2.1070705@sophia.ac.jp> Date: Wed, 16 Apr 2008 20:40:18 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041217 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Subject: pciconf -w 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: Wed, 16 Apr 2008 11:39:23 -0000 Hi friends, Does anyone know how to trun off a pci device using pciconf -w ? Becase my MiniPCI Express wireless card is realy hot, I want to turn off when I don't need it. ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212 Atheros AR5212 802.11abg wireless' class = network subclass = ethernet cap 01[40] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message cap 10[60] = PCI-Express 1 legacy endpoint cap 11[90] = MSI-X supports 1 message in map 0x10 -- T. Inoue From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 11:48:54 2008 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 58D201065677 for ; Wed, 16 Apr 2008 11:48:54 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.freebsd.org (Postfix) with ESMTP id 240078FC1D for ; Wed, 16 Apr 2008 11:48:53 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id 789048AB8D5 for ; Wed, 16 Apr 2008 20:48:53 +0900 (JST) Received: from koetoi.cc.sophia.ac.jp (koetoi.cc.sophia.ac.jp [133.12.138.216]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 7174EB3404B for ; Wed, 16 Apr 2008 20:48:53 +0900 (JST) X-AuditID: 850c8ad9-aecc7bb0000008b8-df-4805e7a58b7c Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by koetoi.cc.sophia.ac.jp (Symantec Mail Security) with ESMTP id 4A3B44DC002 for ; Wed, 16 Apr 2008 20:48:53 +0900 (JST) Received: from [127.0.0.1] (ph65010.ph.sophia.ac.jp [133.12.65.10]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 2DF1BB3404B for ; Wed, 16 Apr 2008 20:48:53 +0900 (JST) Message-ID: <4805E7DD.3060505@sophia.ac.jp> Date: Wed, 16 Apr 2008 20:49:49 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041217 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <480240AB.9080003@langille.org> <480576F3.3090709@sophia.ac.jp> <4805B357.7020901@fastmail.fm> <4805C682.3060004@sophia.ac.jp> In-Reply-To: <4805C682.3060004@sophia.ac.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Wed, 16 Apr 2008 11:48:54 -0000 > Thanks for the information. I'll try it from now. > > I can change the brightness using sysctl by hand in x-term after login. > However, /etc/sysctl.conf has no effect on ttyv8. > Moreover, I see sometimes inconsistency between the value and actual > brightness, after several change of ttyv#. I've tried xbacklight. It works perfectly. No need to be root. It's great! I'll not use lcd_brightness more. T. Inoue From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 14:23:31 2008 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 64B711065670 for ; Wed, 16 Apr 2008 14:23:31 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 1B85A8FC1F for ; Wed, 16 Apr 2008 14:23:30 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 13889 invoked from network); 16 Apr 2008 09:23:30 -0500 Received: from 124-170-157-70.dyn.iinet.net.au (HELO ayiin) (124.170.157.70) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 16 Apr 2008 09:23:29 -0500 Date: Thu, 17 Apr 2008 00:23:15 +1000 From: Norberto Meijome To: Takashi Inoue Message-ID: <20080417002315.2089a8bd@ayiin> In-Reply-To: <480576F3.3090709@sophia.ac.jp> References: <480240AB.9080003@langille.org> <480576F3.3090709@sophia.ac.jp> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Wed, 16 Apr 2008 14:23:31 -0000 On Wed, 16 Apr 2008 12:48:03 +0900 Takashi Inoue wrote: > I have a similar probrem with 7.0R on X61s. > > "dev.acpi_ibm.0.lcd_brightness=4" in sysctl.conf > does NOT work with xorg(gdm). > > I think changing VT reset it. lcd_brightness has never worked for me and others. The event is detected and handled by devd, but the sysctl seems DOA. B _________________________ {Beto|Norberto|Numard} Meijome Which is worse: ignorance or apathy? Don't know. Don't care. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 15:05:52 2008 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 A8CF61065675 for ; Wed, 16 Apr 2008 15:05:52 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5EC8FC2E for ; Wed, 16 Apr 2008 15:05:52 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (unknown [208.65.88.170]) by elvis.mu.org (Postfix) with ESMTP id E04B41A4D91; Wed, 16 Apr 2008 07:47:18 -0700 (PDT) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Wed, 16 Apr 2008 10:37:26 -0400 User-Agent: KMail/1.9.7 References: <4805E5A2.1070705@sophia.ac.jp> In-Reply-To: <4805E5A2.1070705@sophia.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804161037.26572.jhb@freebsd.org> Cc: Takashi Inoue Subject: Re: pciconf -w 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: Wed, 16 Apr 2008 15:05:52 -0000 On Wednesday 16 April 2008 07:40:18 am Takashi Inoue wrote: > Hi friends, > > Does anyone know how to trun off a pci device using pciconf -w ? > > Becase my MiniPCI Express wireless card is realy hot, > I want to turn off when I don't need it. > > > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c > rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR5212 Atheros AR5212 802.11abg wireless' > class = network > subclass = ethernet > cap 01[40] = powerspec 2 supports D0 D3 current D0 > cap 05[50] = MSI supports 1 message > cap 10[60] = PCI-Express 1 legacy endpoint > cap 11[90] = MSI-X supports 1 message in map 0x10 Bug warner (imp@FreeBSD.org) for his devctl patch and use that to turn it off. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 15:42:28 2008 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 5AFB81065676 for ; Wed, 16 Apr 2008 15:42:28 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 12CC38FC28 for ; Wed, 16 Apr 2008 15:42:27 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so1393385ywt.13 for ; Wed, 16 Apr 2008 08:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=hIyLhUsub62XyQcv6O4UoWCl8w3lO/qqQJUeGbE4Q5Q=; b=VTvzEibXwHyLmB4SQ8ppxAp33mYfOmynOs5kCYEr32/3PM6ZNeeKwC6igbpaXvnd9ZXAfe8uYTfgxMBqwdI1CrBXrMrMG0I8MP/0rRFcvxpA09ceuXNoA4fsDyW613daH+0Zrk7IAnVSxcmJ+C5AmUbeQNLtHotS06G+J8jBKXE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=Miry5WhmmMjxx1UgtWyVuBVf0IkBzbf0DJOkFhCaVHR0lZpu2anLRRLOlIAArOhsX4V5eAokzDwR6mHDS4Y9njdeXjLOe/Vfq7wreY3o1xvaEA8Gzg1mh2qf0w+6iqv3GskA9g4pMiNlDZr4KmuOeprNKc8a3PKR7jFv6SVcJ3k= Received: by 10.151.156.6 with SMTP id i6mr272118ybo.51.1208358944751; Wed, 16 Apr 2008 08:15:44 -0700 (PDT) Received: from ?10.0.3.231? ( [70.111.0.195]) by mx.google.com with ESMTPS id 8sm18486758wra.40.2008.04.16.08.15.43 (version=SSLv3 cipher=RC4-MD5); Wed, 16 Apr 2008 08:15:44 -0700 (PDT) From: "Alexandre \"Sunny\" Kovalenko" To: John Baldwin In-Reply-To: <200804161037.26572.jhb@freebsd.org> References: <4805E5A2.1070705@sophia.ac.jp> <200804161037.26572.jhb@freebsd.org> Content-Type: text/plain; charset=utf-8 Date: Wed, 16 Apr 2008 11:15:09 -0400 Message-Id: <1208358909.10448.1.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: Takashi Inoue , freebsd-mobile@freebsd.org Subject: Re: pciconf -w 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: Wed, 16 Apr 2008 15:42:28 -0000 On Wed, 2008-04-16 at 10:37 -0400, John Baldwin wrote: > On Wednesday 16 April 2008 07:40:18 am Takashi Inoue wrote: > > Hi friends, > > > > Does anyone know how to trun off a pci device using pciconf -w ? > > > > Becase my MiniPCI Express wireless card is realy hot, > > I want to turn off when I don't need it. > > > > > > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c > > rev=0x01 hdr=0x00 > > vendor = 'Atheros Communications Inc.' > > device = 'AR5212 Atheros AR5212 802.11abg wireless' > > class = network > > subclass = ethernet > > cap 01[40] = powerspec 2 supports D0 D3 current D0 > > cap 05[50] = MSI supports 1 message > > cap 10[60] = PCI-Express 1 legacy endpoint > > cap 11[90] = MSI-X supports 1 message in map 0x10 > > Bug warner (imp@FreeBSD.org) for his devctl patch and use that to turn it off. > Just out of curiosity... would setting hw.pci.do_power_nodriver="3" and unloading if_ath.ko do the trick? -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 16:03:45 2008 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 57DAD1065671 for ; Wed, 16 Apr 2008 16:03:45 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 3803F8FC17 for ; Wed, 16 Apr 2008 16:03:45 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m3GG3iuM036172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Apr 2008 09:03:45 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <48062360.8000106@freebsd.org> Date: Wed, 16 Apr 2008 09:03:44 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Takashi Inoue References: <4805E5A2.1070705@sophia.ac.jp> In-Reply-To: <4805E5A2.1070705@sophia.ac.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: pciconf -w 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: Wed, 16 Apr 2008 16:03:45 -0000 Takashi Inoue wrote: > Hi friends, > > Does anyone know how to trun off a pci device using pciconf -w ? > > Becase my MiniPCI Express wireless card is realy hot, > I want to turn off when I don't need it. > > > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c > rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR5212 Atheros AR5212 802.11abg wireless' > class = network > subclass = ethernet > cap 01[40] = powerspec 2 supports D0 D3 current D0 > cap 05[50] = MSI supports 1 message > cap 10[60] = PCI-Express 1 legacy endpoint > cap 11[90] = MSI-X supports 1 message in map 0x10 > > Did you mark the interface down? When you do that it should power off the radio and the stop the mac's clock. Device id 0x1014 is not pcie as far as I know and I've never seen an Atheros card that supports MSI so something doesn't make sense here (perhaps I'm just unaware of MSI support coming in). Sam From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 00:35:14 2008 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 B16ED106564A; Thu, 17 Apr 2008 00:35:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7061E8FC24; Thu, 17 Apr 2008 00:35:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m3H0Yt9W027303; Wed, 16 Apr 2008 18:34:55 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 16 Apr 2008 18:35:54 -0600 (MDT) Message-Id: <20080416.183554.-1751000258.imp@bsdimp.com> To: jhb@freebsd.org From: "M. Warner Losh" In-Reply-To: <200804161037.26572.jhb@freebsd.org> References: <4805E5A2.1070705@sophia.ac.jp> <200804161037.26572.jhb@freebsd.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: takash-i@sophia.ac.jp, freebsd-mobile@freebsd.org Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 00:35:14 -0000 In message: <200804161037.26572.jhb@freebsd.org> John Baldwin writes: : On Wednesday 16 April 2008 07:40:18 am Takashi Inoue wrote: : > Hi friends, : > : > Does anyone know how to trun off a pci device using pciconf -w ? : > : > Becase my MiniPCI Express wireless card is realy hot, : > I want to turn off when I don't need it. : > : > : > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c : > rev=0x01 hdr=0x00 : > vendor = 'Atheros Communications Inc.' : > device = 'AR5212 Atheros AR5212 802.11abg wireless' : > class = network : > subclass = ethernet : > cap 01[40] = powerspec 2 supports D0 D3 current D0 : > cap 05[50] = MSI supports 1 message : > cap 10[60] = PCI-Express 1 legacy endpoint : > cap 11[90] = MSI-X supports 1 message in map 0x10 : : Bug warner (imp@FreeBSD.org) for his devctl patch and use that to turn it off. You could unload the ath driver :-) Of course, one could argue that the ath driver should set the device into D3 state when it has been ifconfig'd down. Warner From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 00:38:46 2008 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 A931D106564A; Thu, 17 Apr 2008 00:38:46 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 6624B8FC17; Thu, 17 Apr 2008 00:38:46 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m3H0Z7km027311; Wed, 16 Apr 2008 18:35:07 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 16 Apr 2008 18:36:06 -0600 (MDT) Message-Id: <20080416.183606.-772296126.imp@bsdimp.com> To: gaijin.k@gmail.com From: "M. Warner Losh" In-Reply-To: <1208358909.10448.1.camel@RabbitsDen> References: <4805E5A2.1070705@sophia.ac.jp> <200804161037.26572.jhb@freebsd.org> <1208358909.10448.1.camel@RabbitsDen> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: takash-i@sophia.ac.jp, jhb@FreeBSD.org, freebsd-mobile@FreeBSD.org Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 00:38:46 -0000 In message: <1208358909.10448.1.camel@RabbitsDen> "Alexandre \"Sunny\" Kovalenko" writes: : On Wed, 2008-04-16 at 10:37 -0400, John Baldwin wrote: : > On Wednesday 16 April 2008 07:40:18 am Takashi Inoue wrote: : > > Hi friends, : > > : > > Does anyone know how to trun off a pci device using pciconf -w ? : > > : > > Becase my MiniPCI Express wireless card is realy hot, : > > I want to turn off when I don't need it. : > > : > > : > > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c : > > rev=0x01 hdr=0x00 : > > vendor = 'Atheros Communications Inc.' : > > device = 'AR5212 Atheros AR5212 802.11abg wireless' : > > class = network : > > subclass = ethernet : > > cap 01[40] = powerspec 2 supports D0 D3 current D0 : > > cap 05[50] = MSI supports 1 message : > > cap 10[60] = PCI-Express 1 legacy endpoint : > > cap 11[90] = MSI-X supports 1 message in map 0x10 : > : > Bug warner (imp@FreeBSD.org) for his devctl patch and use that to turn it off. : > : Just out of curiosity... would setting hw.pci.do_power_nodriver="3" and : unloading if_ath.ko do the trick? Yes. Warner From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 05:30:21 2008 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 D348B1065671 for ; Thu, 17 Apr 2008 05:30:21 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 748F28FC27 for ; Thu, 17 Apr 2008 05:30:20 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id PAA27190; Thu, 17 Apr 2008 15:30:07 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 17 Apr 2008 15:30:06 +1000 (EST) From: Ian Smith To: Norberto Meijome In-Reply-To: <20080417002315.2089a8bd@ayiin> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Takashi Inoue , freebsd-mobile@freebsd.org Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Thu, 17 Apr 2008 05:30:21 -0000 On Thu, 17 Apr 2008, Norberto Meijome wrote: > On Wed, 16 Apr 2008 12:48:03 +0900 > Takashi Inoue wrote: > > > I have a similar probrem with 7.0R on X61s. > > > > "dev.acpi_ibm.0.lcd_brightness=4" in sysctl.conf > > does NOT work with xorg(gdm). > > > > I think changing VT reset it. > > lcd_brightness has never worked for me and others. The event is > detected and handled by devd, but the sysctl seems DOA. Just wondering; did it work before setting dev.acpi_ibm.0.events=1 ? It works on my T23 out of the box. I'm yet to use the devd events, yet notice that Fn-F4 quits working as STR when .events=1 (though +/-brightness work properly either way) on my old 6.1-R / xorg6.9 If so, maybe excluding those keys from the .eventmask (theoretically using default handling for those keys) might work? If not, ah well .. cheers, Ian From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 07:12:02 2008 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 39713106566C for ; Thu, 17 Apr 2008 07:12:02 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.freebsd.org (Postfix) with ESMTP id 00D8F8FC1D for ; Thu, 17 Apr 2008 07:12:01 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id 11DDA8AB81A for ; Thu, 17 Apr 2008 16:12:01 +0900 (JST) Received: from koetoi.cc.sophia.ac.jp (koetoi.cc.sophia.ac.jp [133.12.138.216]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 0AFB6B34069 for ; Thu, 17 Apr 2008 16:12:01 +0900 (JST) X-AuditID: 850c8ad9-afcc9bb0000008b8-61-4806f840afe3 Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by koetoi.cc.sophia.ac.jp (Symantec Mail Security) with ESMTP id C76604DC002 for ; Thu, 17 Apr 2008 16:12:00 +0900 (JST) Received: from [127.0.0.1] (ph65011.ph.sophia.ac.jp [133.12.65.11]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id B166EB34069 for ; Thu, 17 Apr 2008 16:12:00 +0900 (JST) Message-ID: <4806F879.2000400@sophia.ac.jp> Date: Thu, 17 Apr 2008 16:12:57 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041217 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <4805E5A2.1070705@sophia.ac.jp> <200804161037.26572.jhb@freebsd.org> In-Reply-To: <200804161037.26572.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 07:12:02 -0000 John Baldwin wrote: > On Wednesday 16 April 2008 07:40:18 am Takashi Inoue wrote: > >>Hi friends, >> >>Does anyone know how to trun off a pci device using pciconf -w ? >> >>Becase my MiniPCI Express wireless card is realy hot, >>I want to turn off when I don't need it. >> >> >>ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c >>rev=0x01 hdr=0x00 >> vendor = 'Atheros Communications Inc.' >> device = 'AR5212 Atheros AR5212 802.11abg wireless' >> class = network >> subclass = ethernet >> cap 01[40] = powerspec 2 supports D0 D3 current D0 >> cap 05[50] = MSI supports 1 message >> cap 10[60] = PCI-Express 1 legacy endpoint >> cap 11[90] = MSI-X supports 1 message in map 0x10 > > > Bug warner (imp@FreeBSD.org) for his devctl patch and use that to turn it off. > I'm using 7.0R. Can I use it? And where can I find it? Thanks, T. Inoue From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 07:31:49 2008 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 11D53106566B for ; Thu, 17 Apr 2008 07:31:49 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.freebsd.org (Postfix) with ESMTP id CBC538FC18 for ; Thu, 17 Apr 2008 07:31:48 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id 3A1798AB900 for ; Thu, 17 Apr 2008 16:31:48 +0900 (JST) Received: from koetoi.cc.sophia.ac.jp (koetoi.cc.sophia.ac.jp [133.12.138.216]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 32DB1B3406A for ; Thu, 17 Apr 2008 16:31:48 +0900 (JST) X-AuditID: 850c8ad9-ae4c6bb0000008b8-7d-4806fce3323c Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by koetoi.cc.sophia.ac.jp (Symantec Mail Security) with ESMTP id EA3F84DC002 for ; Thu, 17 Apr 2008 16:31:47 +0900 (JST) Received: from [127.0.0.1] (ph65011.ph.sophia.ac.jp [133.12.65.11]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id D6D31B3406A for ; Thu, 17 Apr 2008 16:31:47 +0900 (JST) Message-ID: <4806FD1D.9030706@sophia.ac.jp> Date: Thu, 17 Apr 2008 16:32:45 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041217 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-mobile@FreeBSD.org References: <4805E5A2.1070705@sophia.ac.jp> <200804161037.26572.jhb@freebsd.org> <1208358909.10448.1.camel@RabbitsDen> <20080416.183606.-772296126.imp@bsdimp.com> In-Reply-To: <20080416.183606.-772296126.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Cc: Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 07:31:49 -0000 M. Warner Losh wrote: > In message: <1208358909.10448.1.camel@RabbitsDen> > "Alexandre \"Sunny\" Kovalenko" writes: > : On Wed, 2008-04-16 at 10:37 -0400, John Baldwin wrote: > : > On Wednesday 16 April 2008 07:40:18 am Takashi Inoue wrote: > : > > Hi friends, > : > > > : > > Does anyone know how to trun off a pci device using pciconf -w ? > : > > > : > > Becase my MiniPCI Express wireless card is realy hot, > : > > I want to turn off when I don't need it. > : > > > : > > > : > > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c > : > > rev=0x01 hdr=0x00 > : > > vendor = 'Atheros Communications Inc.' > : > > device = 'AR5212 Atheros AR5212 802.11abg wireless' > : > > class = network > : > > subclass = ethernet > : > > cap 01[40] = powerspec 2 supports D0 D3 current D0 > : > > cap 05[50] = MSI supports 1 message > : > > cap 10[60] = PCI-Express 1 legacy endpoint > : > > cap 11[90] = MSI-X supports 1 message in map 0x10 > : > > : > Bug warner (imp@FreeBSD.org) for his devctl patch and use that to turn it off. > : > > : Just out of curiosity... would setting hw.pci.do_power_nodriver="3" and > : unloading if_ath.ko do the trick? > > Yes. No. none1@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212 Atheros AR5212 802.11abg wireless' class = network subclass = ethernet cap 01[40] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message cap 10[60] = PCI-Express 1 legacy endpoint cap 11[90] = MSI-X supports 1 message in map 0x10 As you see, even in case without driver, it's power status is D0 and the device is hot. Setting hw.....nodriver=3 has no effect. I think I need to write D3 by hand. T. Inoue From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 07:43:55 2008 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 DE27B106566B for ; Thu, 17 Apr 2008 07:43:55 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.freebsd.org (Postfix) with ESMTP id A678E8FC12 for ; Thu, 17 Apr 2008 07:43:55 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id 12B128AB910; Thu, 17 Apr 2008 16:43:54 +0900 (JST) Received: from koetoi.cc.sophia.ac.jp (koetoi.cc.sophia.ac.jp [133.12.138.216]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 0BA53B34917; Thu, 17 Apr 2008 16:43:54 +0900 (JST) X-AuditID: 850c8ad9-adcc5bb0000008b8-8b-4806ffb9471f Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by koetoi.cc.sophia.ac.jp (Symantec Mail Security) with ESMTP id C37754DC002; Thu, 17 Apr 2008 16:43:53 +0900 (JST) Received: from [127.0.0.1] (ph65011.ph.sophia.ac.jp [133.12.65.11]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id A62FFB34917; Thu, 17 Apr 2008 16:43:53 +0900 (JST) Message-ID: <4806FFB9.9030804@sophia.ac.jp> Date: Thu, 17 Apr 2008 16:43:53 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041217 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: Norberto Meijome References: <480240AB.9080003@langille.org> <480576F3.3090709@sophia.ac.jp> <20080417002315.2089a8bd@ayiin> In-Reply-To: <20080417002315.2089a8bd@ayiin> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Cc: freebsd-mobile@freebsd.org Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Thu, 17 Apr 2008 07:43:55 -0000 Norberto Meijome wrote: > On Wed, 16 Apr 2008 12:48:03 +0900 > Takashi Inoue wrote: > > >>I have a similar probrem with 7.0R on X61s. >> >>"dev.acpi_ibm.0.lcd_brightness=4" in sysctl.conf >>does NOT work with xorg(gdm). >> >>I think changing VT reset it. > > > lcd_brightness has never worked for me and others. The event is detected and handled by devd, but the sysctl seems DOA. > I find also the value dev.cpu.#.cx_lowest are not kept. These values are reseted to C1 after change ttyv once. Very stupid. T. Inoue From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 08:10:47 2008 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 44FD01065672 for ; Thu, 17 Apr 2008 08:10:47 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id E8F378FC3D for ; Thu, 17 Apr 2008 08:10:46 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 16075 invoked from network); 17 Apr 2008 03:10:46 -0500 Received: from 124-170-157-70.dyn.iinet.net.au (HELO ayiin) (124.170.157.70) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 17 Apr 2008 03:10:46 -0500 Date: Thu, 17 Apr 2008 18:10:33 +1000 From: Norberto Meijome To: freebsd-mobile@freebsd.org Message-ID: <20080417181033.4cf8ee04@ayiin> In-Reply-To: <20080417002315.2089a8bd@ayiin> References: <480240AB.9080003@langille.org> <480576F3.3090709@sophia.ac.jp> <20080417002315.2089a8bd@ayiin> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: setting dev.acpi_ibm.0.events at boot time 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: Thu, 17 Apr 2008 08:10:47 -0000 On Thu, 17 Apr 2008 00:23:15 +1000 Norberto Meijome wrote: > From: Norberto Meijome > To: Takashi Inoue > Cc: freebsd-mobile@freebsd.org > Subject: Re: setting dev.acpi_ibm.0.events at boot time > Date: Thu, 17 Apr 2008 00:23:15 +1000 > Sender: owner-freebsd-mobile@freebsd.org > X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) > > On Wed, 16 Apr 2008 12:48:03 +0900 > Takashi Inoue wrote: > > > I have a similar probrem with 7.0R on X61s. > > > > "dev.acpi_ibm.0.lcd_brightness=4" in sysctl.conf > > does NOT work with xorg(gdm). > > > > I think changing VT reset it. > > lcd_brightness has never worked for me and others. The event is detected and handled by devd, but the sysctl seems DOA. hmm let me qualify this. "on my thinkpad z60m", the sysctl itself doesn't seem to be doing anything. But fn-Home and fn-End actually change the dimming of the lcd. It of course wont work with other software that try to affect the brightness of the LCD, i will give backlight a spin. cheers, B _________________________ {Beto|Norberto|Numard} Meijome Law of Conservation of Perversity: we can't make something simpler without making something else more complex I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 08:24:27 2008 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 C02FB1065672 for ; Thu, 17 Apr 2008 08:24:27 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.freebsd.org (Postfix) with ESMTP id 86F3E8FC29 for ; Thu, 17 Apr 2008 08:24:27 +0000 (UTC) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id 906388AB8A1 for ; Thu, 17 Apr 2008 17:24:26 +0900 (JST) Received: from koetoi.cc.sophia.ac.jp (koetoi.cc.sophia.ac.jp [133.12.138.216]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 8992DB3526E for ; Thu, 17 Apr 2008 17:24:26 +0900 (JST) X-AuditID: 850c8ad9-ad4c4bb0000008b8-63-4807093a0b50 Received: from heuvers.cc.sophia.ac.jp (heuvers.cc.sophia.ac.jp [133.12.138.37]) by koetoi.cc.sophia.ac.jp (Symantec Mail Security) with ESMTP id 4C33A4DC002 for ; Thu, 17 Apr 2008 17:24:26 +0900 (JST) Received: from [127.0.0.1] (ph65011.ph.sophia.ac.jp [133.12.65.11]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id 38D17B3526E for ; Thu, 17 Apr 2008 17:24:26 +0900 (JST) Message-ID: <48070939.6010701@sophia.ac.jp> Date: Thu, 17 Apr 2008 17:24:25 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041217 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <4805E5A2.1070705@sophia.ac.jp> <48062360.8000106@freebsd.org> In-Reply-To: <48062360.8000106@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 08:24:27 -0000 Sam Leffler wrote: > Takashi Inoue wrote: > >> Hi friends, >> >> Does anyone know how to trun off a pci device using pciconf -w ? >> >> Becase my MiniPCI Express wireless card is realy hot, >> I want to turn off when I don't need it. >> >> >> ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c >> rev=0x01 hdr=0x00 >> vendor = 'Atheros Communications Inc.' >> device = 'AR5212 Atheros AR5212 802.11abg wireless' >> class = network >> subclass = ethernet >> cap 01[40] = powerspec 2 supports D0 D3 current D0 >> cap 05[50] = MSI supports 1 message >> cap 10[60] = PCI-Express 1 legacy endpoint >> cap 11[90] = MSI-X supports 1 message in map 0x10 >> >> > > > Did you mark the interface down? When you do that it should power off > the radio and the stop the mac's clock. Really? I don't think so. At here, ath0 is ON(D0) regardress ath0 is up or down or driver is loaded or unloded. > Device id 0x1014 is not pcie as far as I know and I've never seen an > Atheros card that supports MSI so something doesn't make sense here > (perhaps I'm just unaware of MSI support coming in). That is Lebovo option MiniPCI Express card in below(in Japanese). http://www-06.ibm.com/jp/pc/option/obi/nob11/40y7028/40y7028a.shtml T. Inoue From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 10:05:51 2008 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 2ACF2106566C; Thu, 17 Apr 2008 10:05:51 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from skutsje.san.webweaving.org (skutsje.san.webweaving.org [209.132.96.45]) by mx1.freebsd.org (Postfix) with ESMTP id CF6998FC1A; Thu, 17 Apr 2008 10:05:50 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from [10.11.0.121] (5356CA0A.cable.casema.nl [83.86.202.10]) (authenticated bits=0) by skutsje.san.webweaving.org (8.12.9/8.12.9) with ESMTP id m3H9df2Q036375 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 17 Apr 2008 02:39:43 -0700 (PDT) (envelope-from dirkx@webweaving.org) Message-Id: <328A981E-AAC9-42D5-BCA7-8F83B8E3BB63@webweaving.org> From: Dirk-Willem van Gulik To: "M. Warner Losh" In-Reply-To: <20080416.183606.-772296126.imp@bsdimp.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 17 Apr 2008 11:39:41 +0200 References: <4805E5A2.1070705@sophia.ac.jp> <200804161037.26572.jhb@freebsd.org> <1208358909.10448.1.camel@RabbitsDen> <20080416.183606.-772296126.imp@bsdimp.com> X-Mailer: Apple Mail (2.919.2) Cc: takash-i@sophia.ac.jp, gaijin.k@gmail.com, freebsd-mobile@freebsd.org Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 10:05:51 -0000 On Apr 17, 2008, at 2:36 AM, M. Warner Losh wrote: > : > > Does anyone know how to trun off a pci device using pciconf -w ? > ..... > : > > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 > chip=0x1014168c .... > : > > cap 01[40] = powerspec 2 supports D0 D3 current D0 > : > > cap 05[50] = MSI supports 1 message > : > > cap 10[60] = PCI-Express 1 legacy endpoint > : > > cap 11[90] = MSI-X supports 1 message in map 0x10 > : > > : > Bug warner (imp@FreeBSD.org) for his devctl patch and use that > to turn it off. > : > > : Just out of curiosity... would setting > hw.pci.do_power_nodriver="3" and > : unloading if_ath.ko do the trick? > > Yes. Hmm - this does not work for me on a Soekris and in a Sony VAIO -- even after down, sysctl and unloading the driver it reports sitting in D0. Does this require certain support in the PCI controller ? Dw From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 13:14:21 2008 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 3ED961065670 for ; Thu, 17 Apr 2008 13:14:21 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id D6E0D8FC13 for ; Thu, 17 Apr 2008 13:14:20 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id ACD585083F; Thu, 17 Apr 2008 14:14:15 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nh0xHK3DosTE; Thu, 17 Apr 2008 14:14:13 +0100 (BST) Received: from laptop.unixathome.org (ismtp.afilias.com [216.217.55.254]) by nyi.unixathome.org (Postfix) with ESMTPSA id B58D95083E; Thu, 17 Apr 2008 14:14:12 +0100 (BST) Message-ID: <48074D2F.4050602@langille.org> Date: Thu, 17 Apr 2008 09:14:23 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.12 (X11/20080321) MIME-Version: 1.0 To: Takashi Inoue References: <4805E5A2.1070705@sophia.ac.jp> <200804161037.26572.jhb@freebsd.org> <1208358909.10448.1.camel@RabbitsDen> <20080416.183606.-772296126.imp@bsdimp.com> <4806FD1D.9030706@sophia.ac.jp> In-Reply-To: <4806FD1D.9030706@sophia.ac.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@FreeBSD.org Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 13:14:21 -0000 Takashi Inoue wrote: > M. Warner Losh wrote: > >> In message: <1208358909.10448.1.camel@RabbitsDen> >> "Alexandre \"Sunny\" Kovalenko" writes: >> : On Wed, 2008-04-16 at 10:37 -0400, John Baldwin wrote: >> : > On Wednesday 16 April 2008 07:40:18 am Takashi Inoue wrote: >> : > > Hi friends, >> : > > >> : > > Does anyone know how to trun off a pci device using pciconf -w ? >> : > > >> : > > Becase my MiniPCI Express wireless card is realy hot, >> : > > I want to turn off when I don't need it. >> : > > >> : > > >> : > > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 >> chip=0x1014168c >> : > > rev=0x01 hdr=0x00 >> : > > vendor = 'Atheros Communications Inc.' >> : > > device = 'AR5212 Atheros AR5212 802.11abg wireless' >> : > > class = network >> : > > subclass = ethernet >> : > > cap 01[40] = powerspec 2 supports D0 D3 current D0 >> : > > cap 05[50] = MSI supports 1 message >> : > > cap 10[60] = PCI-Express 1 legacy endpoint >> : > > cap 11[90] = MSI-X supports 1 message in map 0x10 >> : > : > Bug warner (imp@FreeBSD.org) for his devctl patch and use that >> to turn it off. >> : > : Just out of curiosity... would setting >> hw.pci.do_power_nodriver="3" and >> : unloading if_ath.ko do the trick? >> >> Yes. > > No. > > none1@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c > rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR5212 Atheros AR5212 802.11abg wireless' > class = network > subclass = ethernet > cap 01[40] = powerspec 2 supports D0 D3 current D0 > cap 05[50] = MSI supports 1 message > cap 10[60] = PCI-Express 1 legacy endpoint > cap 11[90] = MSI-X supports 1 message in map 0x10 > > As you see, even in case without driver, > it's power status is D0 and the device is hot. > Setting hw.....nodriver=3 has no effect. > I think I need to write D3 by hand. I have a ThinkPad X61s. Here is what I see when ath0 is up: ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212 Atheros AR5212 802.11abg wireless' class = network subclass = ethernet cap 01[40] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message cap 10[60] = PCI-Express 1 legacy endpoint cap 11[90] = MSI-X supports 1 message in map 0x10 After an ifconfig ath0 down: ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212 Atheros AR5212 802.11abg wireless' class = network subclass = ethernet cap 01[40] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message cap 10[60] = PCI-Express 1 legacy endpoint cap 11[90] = MSI-X supports 1 message in map 0x10 after hw.pci.do_power_nodriver="3" ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212 Atheros AR5212 802.11abg wireless' class = network subclass = ethernet cap 01[40] = powerspec 2 supports D0 D3 current D0 cap 05[50] = MSI supports 1 message cap 10[60] = PCI-Express 1 legacy endpoint cap 11[90] = MSI-X supports 1 message in map 0x10 As for loaded modules: [root@laptop ~]# kldstat | grep ath [root@laptop ~]# HTH From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 14:31:38 2008 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 60CA1106567C for ; Thu, 17 Apr 2008 14:31:38 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id D7E7F8FC35 for ; Thu, 17 Apr 2008 14:31:37 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by ti-out-0910.google.com with SMTP id j2so22803tid.3 for ; Thu, 17 Apr 2008 07:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=NLh7BTjhmC18p03Qp88BHjUEMfmVbLPVumTfU8nTCEM=; b=wnKj3HAuLo+L6F3uMNlXNt8aTKe3xEVzSRgSoLAaocAGG4YDUjaktGzeyMpgw5aGwd1jN0AR7ROUIMUIkjKTLZJnJD7Ub+4pNgJ1zZQ/0rATJCWJOlQ1qsdyF4fwQF9afc7NX6Jkw8Qn+PBFoSLyCMj5KtzD/yAoLu5Z2R33ng0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=mG1rifrLrtaDB3w2NhzWM7hGGrWPdMI04N817bdKiqyDrwvfVVy/8O/zYGBvc7pJjo2sHPtVmci4QOPBtV7p7WWPDhWtZUAP0yO/TZao+9T2Euz1VnNK8ItZGUFVsis9DSOKtC3BuatdnylOrMyTOXKUkSCIdRemB/bmymPTujU= Received: by 10.110.73.3 with SMTP id v3mr144408tia.21.1208442696452; Thu, 17 Apr 2008 07:31:36 -0700 (PDT) Received: by 10.110.93.4 with HTTP; Thu, 17 Apr 2008 07:31:36 -0700 (PDT) Message-ID: <5635aa0d0804170731t14898e8evf6d6c45e2ef986ae@mail.gmail.com> Date: Thu, 17 Apr 2008 21:31:36 +0700 From: "Outback Dingo" To: "Simon Barner" In-Reply-To: <20080415194347.GB1956@dose.local.invalid> MIME-Version: 1.0 References: <20080414180740.GA1050@dose.local.invalid> <1208256383.1513.6.camel@localhost> <5635aa0d0804150751n3f89e885mdac8fb3077cdc331@mail.gmail.com> <20080415194347.GB1956@dose.local.invalid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org, mobile@freebsd.org Subject: Re: fprint (finger print sensor framework) port ready for testing 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: Thu, 17 Apr 2008 14:31:38 -0000 any luck on this.... ? On Wed, Apr 16, 2008 at 2:43 AM, Simon Barner wrote: > Outback Dingo wrote: > > pam_fprint works (see below) but when i try to run the fprint demo i ge= t > > > > STATUS: No Devices Found > > Are you sure you have r/w access to the sensor's USB device? > > > > pam_fprint_enroll -f 7 > > This program will enroll your finger, unconditionally overwriting any > selected > > print that was enrolled previously. If you want to continue, press > enter, > > otherwise hit Ctrl+C > > > > Found device claimed by UPEK TouchStrip driver > > Opened device. It's now time to enroll your finger. > > > > You will need to successfully scan your Right Index Finger 3 times to > complete > > the process. > > > > Scan your finger now. > > upekts:error [read_msg] non-zero bytes in cmd response > > upekts:error [read_msg28] expected response, got -1 seq=3D40 > > Something seems to go wrong. I have never seenn this error message. > > Which sensor are you using? Can you send me the output of `usbdevs -vd' > in a private mail please? > > -- > Best regards / Viele Gr=FC=DFe, barner@FreeBS= D.org > Simon Barner barner@gmx.d= e > From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 15:47:58 2008 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 48C66106564A for ; Thu, 17 Apr 2008 15:47:58 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 245FD8FC22 for ; Thu, 17 Apr 2008 15:47:58 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m3HFlvXQ045099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Apr 2008 08:47:57 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4807712D.20502@freebsd.org> Date: Thu, 17 Apr 2008 08:47:57 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Takashi Inoue References: <4805E5A2.1070705@sophia.ac.jp> <48062360.8000106@freebsd.org> <48070939.6010701@sophia.ac.jp> In-Reply-To: <48070939.6010701@sophia.ac.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 15:47:58 -0000 Takashi Inoue wrote: > Sam Leffler wrote: > >> Takashi Inoue wrote: >> >>> Hi friends, >>> >>> Does anyone know how to trun off a pci device using pciconf -w ? >>> >>> Becase my MiniPCI Express wireless card is realy hot, >>> I want to turn off when I don't need it. >>> >>> >>> ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c >>> rev=0x01 hdr=0x00 >>> vendor = 'Atheros Communications Inc.' >>> device = 'AR5212 Atheros AR5212 802.11abg wireless' >>> class = network >>> subclass = ethernet >>> cap 01[40] = powerspec 2 supports D0 D3 current D0 >>> cap 05[50] = MSI supports 1 message >>> cap 10[60] = PCI-Express 1 legacy endpoint >>> cap 11[90] = MSI-X supports 1 message in map 0x10 >>> >>> >> >> >> Did you mark the interface down? When you do that it should power >> off the radio and the stop the mac's clock. > > Really? > I don't think so. > At here, ath0 is ON(D0) regardress ath0 is up or down > or driver is loaded or unloded. I didn't say marking the interface down powered down the socket; I said it powered off the radio and stopped the MAC. This means the chip should be doing nothing to draw power so if it is then either something is not being stopped or there's an issue elsewhere. I'm aware of several PCIE power-related errata and can investigate but must have the mac+phy revs from the chip which you haven't provided. > > >> Device id 0x1014 is not pcie as far as I know and I've never seen an >> Atheros card that supports MSI so something doesn't make sense here >> (perhaps I'm just unaware of MSI support coming in). > > That is Lebovo option MiniPCI Express card in below(in Japanese). > > http://www-06.ibm.com/jp/pc/option/obi/nob11/40y7028/40y7028a.shtml > Sorry, all I can get out of that is a picture :) Provide the mac+phy revs from dmesg | grep ath0 and tell me the hal version. Sam From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 15:48:26 2008 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 08EC9106567D; Thu, 17 Apr 2008 15:48:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id C49038FC3C; Thu, 17 Apr 2008 15:48:25 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m3HFkZGw042574; Thu, 17 Apr 2008 09:46:36 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 17 Apr 2008 09:47:32 -0600 (MDT) Message-Id: <20080417.094732.-399283795.imp@bsdimp.com> To: dirkx@webweaving.org From: "M. Warner Losh" In-Reply-To: <328A981E-AAC9-42D5-BCA7-8F83B8E3BB63@webweaving.org> References: <1208358909.10448.1.camel@RabbitsDen> <20080416.183606.-772296126.imp@bsdimp.com> <328A981E-AAC9-42D5-BCA7-8F83B8E3BB63@webweaving.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: takash-i@sophia.ac.jp, gaijin.k@gmail.com, jhb@FreeBSD.org, freebsd-mobile@FreeBSD.org Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 15:48:26 -0000 In message: <328A981E-AAC9-42D5-BCA7-8F83B8E3BB63@webweaving.org> Dirk-Willem van Gulik writes: : : On Apr 17, 2008, at 2:36 AM, M. Warner Losh wrote: : : > : > > Does anyone know how to trun off a pci device using pciconf -w ? : > ..... : > : > > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 : > chip=0x1014168c : .... : > : > > cap 01[40] = powerspec 2 supports D0 D3 current D0 : > : > > cap 05[50] = MSI supports 1 message : > : > > cap 10[60] = PCI-Express 1 legacy endpoint : > : > > cap 11[90] = MSI-X supports 1 message in map 0x10 : > : > : > : > Bug warner (imp@FreeBSD.org) for his devctl patch and use that : > to turn it off. : > : > : > : Just out of curiosity... would setting : > hw.pci.do_power_nodriver="3" and : > : unloading if_ath.ko do the trick? : > : > Yes. : : Hmm - this does not work for me on a Soekris and in a Sony VAIO -- : even after down, sysctl and : unloading the driver it reports sitting in D0. Does this require : certain support in the PCI controller ? No. It is chip-level support. It worked for me when I put it in /boot/loader.conf and it worked for me. Did you reboot or no? I didn't try it w/o rebooting. Warner From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 15:57:04 2008 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 57E801065673; Thu, 17 Apr 2008 15:57:04 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from skutsje.san.webweaving.org (skutsje.san.webweaving.org [209.132.96.45]) by mx1.freebsd.org (Postfix) with ESMTP id 411B58FC1D; Thu, 17 Apr 2008 15:57:04 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from [10.11.0.121] (a80-100-115-193.adsl.xs4all.nl [80.100.115.193]) (authenticated bits=0) by skutsje.san.webweaving.org (8.12.9/8.12.9) with ESMTP id m3HFux2Q009390 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 17 Apr 2008 08:57:01 -0700 (PDT) (envelope-from dirkx@webweaving.org) Message-Id: <88FC551D-4638-4959-83AD-6F3EFCA452D8@webweaving.org> From: Dirk-Willem van Gulik To: "M. Warner Losh" In-Reply-To: <20080417.094732.-399283795.imp@bsdimp.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 17 Apr 2008 17:56:56 +0200 References: <1208358909.10448.1.camel@RabbitsDen> <20080416.183606.-772296126.imp@bsdimp.com> <328A981E-AAC9-42D5-BCA7-8F83B8E3BB63@webweaving.org> <20080417.094732.-399283795.imp@bsdimp.com> X-Mailer: Apple Mail (2.919.2) Cc: takash-i@sophia.ac.jp, gaijin.k@gmail.com, jhb@FreeBSD.org, freebsd-mobile@FreeBSD.org Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 15:57:04 -0000 On Apr 17, 2008, at 5:47 PM, M. Warner Losh wrote: > : Hmm - this does not work for me on a Soekris and in a Sony VAIO -- > : even after down, sysctl and > : unloading the driver it reports sitting in D0. Does this require > : certain support in the PCI controller ? > > No. It is chip-level support. > > It worked for me when I put it in /boot/loader.conf and it worked for > me. Did you reboot or no? I didn't try it w/o rebooting. Yes - across a proper reboot is fine. Dw From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 16:08:40 2008 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 F34C51065670; Thu, 17 Apr 2008 16:08:39 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id BB9E58FC14; Thu, 17 Apr 2008 16:08:39 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m3HG6GtP042909; Thu, 17 Apr 2008 10:06:16 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 17 Apr 2008 10:07:14 -0600 (MDT) Message-Id: <20080417.100714.635731945.imp@bsdimp.com> To: dirkx@webweaving.org From: "M. Warner Losh" In-Reply-To: <88FC551D-4638-4959-83AD-6F3EFCA452D8@webweaving.org> References: <328A981E-AAC9-42D5-BCA7-8F83B8E3BB63@webweaving.org> <20080417.094732.-399283795.imp@bsdimp.com> <88FC551D-4638-4959-83AD-6F3EFCA452D8@webweaving.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: takash-i@sophia.ac.jp, gaijin.k@gmail.com, freebsd-mobile@freebsd.org Subject: Re: pciconf -w 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: Thu, 17 Apr 2008 16:08:40 -0000 In message: <88FC551D-4638-4959-83AD-6F3EFCA452D8@webweaving.org> Dirk-Willem van Gulik writes: : : On Apr 17, 2008, at 5:47 PM, M. Warner Losh wrote: : : > : Hmm - this does not work for me on a Soekris and in a Sony VAIO -- : > : even after down, sysctl and : > : unloading the driver it reports sitting in D0. Does this require : > : certain support in the PCI controller ? : > : > No. It is chip-level support. : > : > It worked for me when I put it in /boot/loader.conf and it worked for : > me. Did you reboot or no? I didn't try it w/o rebooting. : : Yes - across a proper reboot is fine. OK. That sounds like a simple bug in the dynamic support. I'll look into it. Warner