From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 30 10:08: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 BCEC01065671 for ; Sun, 30 Mar 2008 10:08:16 +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 1B14E8FC23 for ; Sun, 30 Mar 2008 10:08:15 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: (qmail 85736 invoked by uid 0); 30 Mar 2008 10:08:13 -0000 Received: from r5h118.net.upc.cz (HELO ?192.168.111.3?) (86.49.7.118) by smtp.dkm.cz with SMTP; 30 Mar 2008 10:08:13 -0000 Message-ID: <47EF668D.1080003@users.sf.net> Date: Sun, 30 Mar 2008 12:08:13 +0200 From: mato User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.12) Gecko/20080305 SeaMonkey/1.1.8 MIME-Version: 1.0 To: Maksim Yevmenkin References: <47ED9AC5.4050505@users.sf.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? 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, 30 Mar 2008 10:08:16 -0000 Maksim Yevmenkin wrote: > Martin, > > >> I'm considering buying Logitech V470 Bluetooth Mouse. >> Does anyone have any experience with using this mouse on FreeBSD please ? >> > > chances are it will work. i personally never tried this particular > model, but bluetooth mice from different manufacturers (for example > apple and microsoft) are known to work. > > thanks, > max > Hi Max, I've just bought the mouse and it works, partially. Well, I couldn't find anything in the handbook but google helped. However, the mouse has 4-way wheel but horizontal scrolling doesn't work. I've got the following in my xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Any ideas pls ? Apart from that I noticed double clicks don't work in console. With regards, Martin From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 30 11:39: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 946151065670 for ; Sun, 30 Mar 2008 11:39:14 +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 8208D8FC13 for ; Sun, 30 Mar 2008 11:39:12 +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 VAA21786; Sun, 30 Mar 2008 21:38:55 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 30 Mar 2008 21:38:54 +1000 (EST) From: Ian Smith To: Dan Langille In-Reply-To: <47EE60B6.8070703@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: Sun, 30 Mar 2008 11:39:14 -0000 On Sat, 29 Mar 2008, Dan Langille wrote: > Ian Smith wrote: > > On Sat, 29 Mar 2008, Dan Langille wrote: > > > 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 > > > > > > $ kldstat > > > Id Refs Address Size Name > > > 1 10 0xffffffff80100000 ac6c08 kernel > > > 2 1 0xffffffff80bc7000 1a670 snd_hda.ko > > > 3 2 0xffffffff80be2000 673b8 sound.ko > > > 4 1 0xffffffff80c4a000 53d0 acpi_ibm.ko > > > 5 1 0xffffffffb1694000 4b61 i915.ko > > > 6 1 0xffffffffb1699000 d5d8 drm.ko > > > > > > > > > > Then activate event passing to devd. Add > > > > dev.acpi_ibm.0.events=1 > > > > to /etc/sysctl.conf > > > > > > $ sysctl dev.acpi_ibm.0.events > > > dev.acpi_ibm.0.events: 1 > > > > Does needs to be 1, but your loop script below shows it set (reverted?) > > to 0, so devd events would not be invoked. > > > > > > 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"; > > > > > > It seems that this script is never invoked. > > > > Not without having dev.acpi_ibm.0.events=1 anyway. > > Good catch. Thank you. It is 1. The copy/paste was done outside my > testing. Despite the /etc/sysctl.conf entry, I must set this value > manually as it is always zero after boot. Seems odd if setting dev.acpi_ibm.0.events=1 in /etc/sysctl.conf doesn't show up after boot? Could something(?) be resetting it to 0 afterwards? > > Suggest also checking Beto's examples which might help you debug it: > > > > http://lists.freebsd.org/mailman/htdig/freebsd-mobile/2006-August/008959.html > > > > http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008948.html > > I'll have a look there. Thank you. > > > and which I notice executes scripts like: > > action "/bin/sh -c /home/betom/bin/do_acpi_suspend.sh"; > > > > which might help if your script wasn't set executable? and uses > > /usr/local/etc/devd for devd conf files, as an alternative. > > It is chmod +x: > > $ ls -l /usr/local/sbin/acpi_oem_exec.sh > -rwxr-xr-x 1 root wheel 640 Mar 28 22:44 /usr/local/sbin/acpi_oem_exec.sh I'm really clutching at straws then, but a) do you need to restart devd after (ever) updating devd.conf? and b) could you start off the invoked script with say '/bin/echo "$PATH $*" >> /tmp/something' to be sure it's not a script or path problem, like you might see with a cron script? Do you use the script shown below, or one handling all ACPI/IBM events? And did you try (presumably after an '/etc/rc.d/devd stop') running 'devd -dD' in foreground, to see what notifies various keys generate, which may be somewhat different from earlier model thinkpads? Cheers, Ian > > > > HTH, Ian > > > > > > > > } > > > > > > > > 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. > > > > > > Nothing hits /tmp/prova > > > > > > I ran this loop while pressing keys: > > > > > > while true; do clear; sysctl dev.acpi_ibm.0; date; sleep 1; done > > > > > > dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras > > > dev.acpi_ibm.0.%driver: acpi_ibm > > > dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY > > > dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0 > > > dev.acpi_ibm.0.%parent: acpi0 > > > dev.acpi_ibm.0.initialmask: 2060 > > > dev.acpi_ibm.0.availmask: 16777215 > > > dev.acpi_ibm.0.events: 0 > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > An unfortunate paste. I assure you, it is 1. > > > > dev.acpi_ibm.0.eventmask: 2060 > > > dev.acpi_ibm.0.hotkey: 3491 > > > dev.acpi_ibm.0.lcd_brightness: 0 > > > dev.acpi_ibm.0.volume: 7 > > > dev.acpi_ibm.0.mute: 0 > > > dev.acpi_ibm.0.thinklight: 0 > > > dev.acpi_ibm.0.bluetooth: 0 > > > dev.acpi_ibm.0.wlan: 1 > > > dev.acpi_ibm.0.fan_speed: 3815 > > > dev.acpi_ibm.0.fan_level: 0 > > > dev.acpi_ibm.0.fan: 1 > > > dev.acpi_ibm.0.thermal: 41 47 47 38 33 -1 30 -1 > > > Sat Mar 29 09:30:09 EDT 2008 > > > > > > > > > I can get dev.acpi_ibm.0.thinklight to change when turning off/on the think > > > light. > > > > > > I can get dev.acpi_ibm.0.hotkey to change between two values: 2467 and 3491 > > > > > > That's it. Nothing else. > > > > > > > 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 From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 30 20:43:05 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 5326A106566B for ; Sun, 30 Mar 2008 20:43:05 +0000 (UTC) (envelope-from greenant@fastmail.fm) Received: from jack.mail.tiscali.it (jack.mail.tiscali.it [213.205.33.53]) by mx1.freebsd.org (Postfix) with ESMTP id 032E78FC18 for ; Sun, 30 Mar 2008 20:43:04 +0000 (UTC) (envelope-from greenant@fastmail.fm) Received: from [192.168.8.3] (84.223.97.58) by jack.mail.tiscali.it (7.3.135) id 47DE997C009419E6 for freebsd-mobile@freebsd.org; Sun, 30 Mar 2008 22:31:39 +0200 Message-ID: <47EFF8B4.8050709@fastmail.fm> Date: Sun, 30 Mar 2008 22:31:48 +0200 From: Alberto Rizzi User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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, 30 Mar 2008 20:43:05 -0000 Ian Smith ha scritto: > On Sat, 29 Mar 2008, Dan Langille wrote: >> >> Good catch. Thank you. It is 1. The copy/paste was done outside my >> testing. Despite the /etc/sysctl.conf entry, I must set this value >> manually as it is always zero after boot. > > Seems odd if setting dev.acpi_ibm.0.events=1 in /etc/sysctl.conf doesn't > show up after boot? Could something(?) be resetting it to 0 afterwards? > /etc/sysctl.conf gets invoked when you enter in multiuser mode. Are you booting multiuser or single user? Maybe you misspelled something in /etc/sysctl.conf? Please cat /etc/sysctl.conf >> dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras >> dev.acpi_ibm.0.%driver: acpi_ibm >> dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY >> dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0 >> dev.acpi_ibm.0.%parent: acpi0 >> dev.acpi_ibm.0.initialmask: 2060 >> dev.acpi_ibm.0.availmask: 16777215 >> dev.acpi_ibm.0.events: 0 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > An unfortunate paste. I assure you, it is 1. > >> dev.acpi_ibm.0.eventmask: 2060 >> dev.acpi_ibm.0.hotkey: 3491 >> dev.acpi_ibm.0.lcd_brightness: 0 >> dev.acpi_ibm.0.volume: 7 >> dev.acpi_ibm.0.mute: 0 >> dev.acpi_ibm.0.thinklight: 0 >> dev.acpi_ibm.0.bluetooth: 0 >> dev.acpi_ibm.0.wlan: 1 >> dev.acpi_ibm.0.fan_speed: 3815 >> dev.acpi_ibm.0.fan_level: 0 >> dev.acpi_ibm.0.fan: 1 >> dev.acpi_ibm.0.thermal: 41 47 47 38 33 -1 30 -1 When you put .events=1, .eventmask is updated with the value in .availmask In your example, eventmask != availmask, so the paste is correct and you didn't activate .events Try logging in in multi user mode and sysctl dev.acpi_ibm.0 Then set .events=1 and redump dev.acpi_ibm.0 From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 01:17:50 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 0A4261065671 for ; Mon, 31 Mar 2008 01:17:50 +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 A60558FC1D for ; Mon, 31 Mar 2008 01:17:49 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 27B2C50872; Mon, 31 Mar 2008 02:17:45 +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 t6KXOVAdLRDg; Mon, 31 Mar 2008 02:17:43 +0100 (BST) Received: from laptop.unixathome.org (bast.unixathome.org [72.94.192.69]) by nyi.unixathome.org (Postfix) with ESMTPSA id BB57F50858; Mon, 31 Mar 2008 02:17:42 +0100 (BST) Message-ID: <47F03BB8.7070803@langille.org> Date: Sun, 30 Mar 2008 21:17:44 -0400 From: Dan Langille Organization: The FreeBSD Diary User-Agent: Thunderbird 2.0.0.12 (X11/20080321) MIME-Version: 1.0 To: Alberto Rizzi References: <47EFF8B4.8050709@fastmail.fm> In-Reply-To: <47EFF8B4.8050709@fastmail.fm> 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: Mon, 31 Mar 2008 01:17:50 -0000 Alberto Rizzi wrote: > Ian Smith ha scritto: >> On Sat, 29 Mar 2008, Dan Langille wrote: >>> >>> Good catch. Thank you. It is 1. The copy/paste was done outside my >>> testing. Despite the /etc/sysctl.conf entry, I must set this value >>> manually as it is always zero after boot. >> >> Seems odd if setting dev.acpi_ibm.0.events=1 in /etc/sysctl.conf doesn't >> show up after boot? Could something(?) be resetting it to 0 afterwards? >> > /etc/sysctl.conf gets invoked when you enter in multiuser mode. Are you > booting multiuser or single user? Maybe you misspelled something in > /etc/sysctl.conf? Please cat /etc/sysctl.conf > >>> dev.acpi_ibm.0.%desc: IBM ThinkPad ACPI Extras >>> dev.acpi_ibm.0.%driver: acpi_ibm >>> dev.acpi_ibm.0.%location: handle=\_SB_.PCI0.LPC_.EC__.HKEY >>> dev.acpi_ibm.0.%pnpinfo: _HID=IBM0068 _UID=0 >>> dev.acpi_ibm.0.%parent: acpi0 >>> dev.acpi_ibm.0.initialmask: 2060 >>> dev.acpi_ibm.0.availmask: 16777215 >>> dev.acpi_ibm.0.events: 0 >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> An unfortunate paste. I assure you, it is 1. >> >>> dev.acpi_ibm.0.eventmask: 2060 >>> dev.acpi_ibm.0.hotkey: 3491 >>> dev.acpi_ibm.0.lcd_brightness: 0 >>> dev.acpi_ibm.0.volume: 7 >>> dev.acpi_ibm.0.mute: 0 >>> dev.acpi_ibm.0.thinklight: 0 >>> dev.acpi_ibm.0.bluetooth: 0 >>> dev.acpi_ibm.0.wlan: 1 >>> dev.acpi_ibm.0.fan_speed: 3815 >>> dev.acpi_ibm.0.fan_level: 0 >>> dev.acpi_ibm.0.fan: 1 >>> dev.acpi_ibm.0.thermal: 41 47 47 38 33 -1 30 -1 > > When you put .events=1, .eventmask is updated with the value in .availmask > In your example, eventmask != availmask, so the paste is correct and you > didn't activate .events > > Try logging in in multi user mode and sysctl dev.acpi_ibm.0 > Then set .events=1 and redump dev.acpi_ibm.0 The paste was taken BEFORE I manually set events = 1. FWIW, the problem is solved. I will reply with details soon. From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 08:49:12 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 D76AA1065674 for ; Mon, 31 Mar 2008 08:49:12 +0000 (UTC) (envelope-from knowtree@aloha.com) Received: from relay.pixi.com (relay.pixi.com [206.127.224.101]) by mx1.freebsd.org (Postfix) with ESMTP id C2B228FC1F for ; Mon, 31 Mar 2008 08:49:12 +0000 (UTC) (envelope-from knowtree@aloha.com) Received: from yoda.pixi.com (yoda.pixi.com [206.127.224.41]) by relay.pixi.com (8.13.6+Sun/8.13.6) with ESMTP id m2V8nAMK019425 for ; Sun, 30 Mar 2008 22:49:10 -1000 (HST) Received: from webmail.pixi.com (webmail.pixi.com [206.127.224.120]) by yoda.pixi.com (8.13.1/8.13.1) with SMTP id m2V8nCTc013428 for ; Sun, 30 Mar 2008 22:49:12 -1000 Message-Id: <200803310849.m2V8nCTc013428@yoda.pixi.com> To: freebsd-mobile@freebsd.org From: knowtree@aloha.com Date: Sun, 30 Mar 2008 22:49:12 HST X-Posting-IP: 206.127.251.63 X-Mailer: Endymion MailMan Standard Edition v3.2.19 Subject: VIA video drivers 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, 31 Mar 2008 08:49:13 -0000 This is one of those posts that might not belong in mobile, but since I am developing a mobile solution I'll start here. I have been poking around a VIA support site (www.viaarena.com) and posted a question in the forums about running FreeBSD 7 on the VIA Pico-ITX. Looking through the Linux forum I see a lot of grief about drivers. Especially video drivers. Is anybody here using Xorg on VIA hardware and willing to share their experiences? A more general question: Do Linux video drivers for Xorg automatically work under FreeBSD, or is some black magic involved? Even more general: Can I assume that even without a specially tailored driver, Xorg should achieve fairly high resolution? Well beyond 640x480? Seems like the grief with VIAs drivers is about speed and 3D rendering, especially in the realm of movie playback and game play. Neither is a high priority for me. Battery life is priority one. Any insight will be greatly appreciated! Gary Dunn Open Slate Project From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 10:17:17 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 7C32E106566B for ; Mon, 31 Mar 2008 10:17:17 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 16AD08FC1E for ; Mon, 31 Mar 2008 10:17:16 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Mon, 31 Mar 2008 12:15:33 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m2VACo0i003277; Mon, 31 Mar 2008 12:12:50 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Mon, 31 Mar 2008 12:12:50 +0200 From: Matthias Apitz To: Kris Kennaway Message-ID: <20080331101250.GA3094@rebelion.Sisis.de> References: <20080326124324.GA1756@rebelion.Sisis.de> <47EAB19E.8010804@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47EAB19E.8010804@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 31 Mar 2008 10:15:33.0512 (UTC) FILETIME=[27BAF080:01C89318] Cc: Sam Leffler , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 10:17:17 -0000 El día Wednesday, March 26, 2008 a las 09:27:10PM +0100, Kris Kennaway escribió: > Matthias Apitz wrote: > >Hello, > > > >Over the longs last weekend I've installed FreeBSD 7.0-REL on my laptop > >and around 200 ports; I point this out to say that the laptop run > >without any reboot from Friday morning to Monday evening at home in my > >WEP based Wifi-zone; > > > >on Thursday and today I'm working in my office from around 9 o'clock and > >each day after 4 hours the system panic'ed: > > > >Mar 25 09:02:43 rebelion syslogd: kernel boot file is /boot/kernel/kernel > >Mar 25 13:00:03 rebelion savecore: reboot after panic: clist reservation > >botch > > > >Mar 26 09:11:04 rebelion syslogd: kernel boot file is /boot/kernel/kernel > >Mar 26 13:22:29 rebelion savecore: reboot after panic: page fault > > > >the main difference between home and work is: WEP at home and WPA2 at > >work; > > > >as well I see in messages a lot of: > > > >Mar 26 08:24:51 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 08:25:01 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 08:25:11 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 08:25:20 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 08:25:31 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 08:25:40 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 08:42:05 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 09:48:58 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 10:54:08 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 12:04:13 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 12:21:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 12:37:43 rebelion kernel: iwi0: firmware stuck in state 4, resetting > >Mar 26 12:54:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting > > > >Before I was for more than a year on 6.2-REL and without any panic which > >was not caused by pulling out the PCMCIA UMTS card; so I think it is not > >a hardware issue; > > > >Any comments? > > Please see > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html > and file a PR. I did it and filed: http://www.freebsd.org/cgi/query-pr.cgi?pr=122286 Today I have had two panics, always after some minutes which makes Wifi (with WPA in my office) for me unusable; connected the laptop to Ethernet :-(( matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail? From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 10:39:09 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 B97B81065670; Mon, 31 Mar 2008 10:39:09 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DEB5B8FC1B; Mon, 31 Mar 2008 10:39:08 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47F0BF52.1010109@FreeBSD.org> Date: Mon, 31 Mar 2008 12:39:14 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Matthias Apitz References: <20080326124324.GA1756@rebelion.Sisis.de> <47EAB19E.8010804@FreeBSD.org> <20080331101250.GA3094@rebelion.Sisis.de> In-Reply-To: <20080331101250.GA3094@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sam Leffler , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours 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, 31 Mar 2008 10:39:09 -0000 Matthias Apitz wrote: > I did it and filed: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=122286 > > Today I have had two panics, always after some minutes which makes Wifi > (with WPA in my office) for me unusable; connected the laptop to Ethernet :-(( This information is confusing. You might be having wifi problems, but the panic is in the soft updates code and has no obvious relation to wifi. It is possible you had an initial panic (maybe in wifi) that caused filesystem corruption that was not repaired by background fsck. You should unmount (or boot to single-user mode) and run a full fsck (fsck -fy). Kris From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 13:04:07 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 8FDA31065672; Mon, 31 Mar 2008 13:04:07 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 214078FC30; Mon, 31 Mar 2008 13:04:06 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Mon, 31 Mar 2008 15:06:46 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m2VD4477001862; Mon, 31 Mar 2008 15:04:04 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Mon, 31 Mar 2008 15:04:04 +0200 From: Matthias Apitz To: Kris Kennaway Message-ID: <20080331130404.GB1615@rebelion.Sisis.de> References: <20080326124324.GA1756@rebelion.Sisis.de> <47EAB19E.8010804@FreeBSD.org> <20080331101250.GA3094@rebelion.Sisis.de> <47F0BF52.1010109@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47F0BF52.1010109@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 31 Mar 2008 13:06:46.0918 (UTC) FILETIME=[13284A60:01C89330] Cc: Sam Leffler , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 13:04:07 -0000 El día Monday, March 31, 2008 a las 12:39:14PM +0200, Kris Kennaway escribió: > Matthias Apitz wrote: > > >I did it and filed: > > > >http://www.freebsd.org/cgi/query-pr.cgi?pr=122286 > > > >Today I have had two panics, always after some minutes which makes Wifi > >(with WPA in my office) for me unusable; connected the laptop to Ethernet > >:-(( > > This information is confusing. You might be having wifi problems, but > the panic is in the soft updates code and has no obvious relation to wifi. > > It is possible you had an initial panic (maybe in wifi) that caused > filesystem corruption that was not repaired by background fsck. > > You should unmount (or boot to single-user mode) and run a full fsck > (fsck -fy). Thanks for your hint and I've done what you have advised and I'm connected through Wifi again now (until next panic :-)) The fsck has indeed correct something where the block count should have been zero but was some decimal number of 20 digits, I think (don't remember that large number); I'll copy this e-mail into the TT; thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail? From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 15:04: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 DEE27106564A for ; Mon, 31 Mar 2008 15:04:23 +0000 (UTC) (envelope-from yousif@alumni.jmu.edu) Received: from coruscant.far-far-away.com (coruscant.far-far-away.us [70.91.196.65]) by mx1.freebsd.org (Postfix) with SMTP id 6F3998FC13 for ; Mon, 31 Mar 2008 15:04:23 +0000 (UTC) (envelope-from yousif@alumni.jmu.edu) Received: (qmail 30922 invoked from network); 31 Mar 2008 11:06:08 -0400 Received: from unknown (HELO alderaan) (68.162.198.134) by coruscant.far-far-away.us with SMTP; 31 Mar 2008 11:06:08 -0400 Message-ID: <7EF0BFD7B7B548278898917CCD636B26@alderaan> From: "Yousif Hassan" To: "mato" , "Maksim Yevmenkin" References: <47ED9AC5.4050505@users.sf.net> <47EF668D.1080003@users.sf.net> In-Reply-To: <47EF668D.1080003@users.sf.net> Date: Mon, 31 Mar 2008 11:04:27 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 Cc: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? 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, 31 Mar 2008 15:04:24 -0000 > However, the mouse has 4-way wheel but horizontal scrolling doesn't work. > I've got the following in my xorg.conf: > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > > Any ideas pls ? > > Apart from that I noticed double clicks don't work in console. If memory serves, the latter issue is a limitation in the FreeBSD bluetooth stack, so it's not related to your mouse. I believe the fomer issue as well, but I am not as certain as for the double-click problem. --Y From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 16:52: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 1D0C61065672 for ; Mon, 31 Mar 2008 16:52:02 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id A28258FC15 for ; Mon, 31 Mar 2008 16:52:01 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1773084fgg.35 for ; Mon, 31 Mar 2008 09:52:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=YMUgJRFHPEMG39J7g3Y7eR+61zYb5596ECW+GXrepeQ=; b=ApcrxAeXkxoKy65X9dlld0DZOE/NpPkbeyel0kIw314vkNhfQY6MsIMgY1PmL4p2LMovQkfai1Ody5yjM9pKeTm3KhXo4vfCqcatkKWTGwUELX3nOEUA9TahyMxs+MBcOzdJoWrl8gthVlWEp3CYWjO01AYzRKE2Q6WqPeg/Zag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XxSoNOpz910FOGt4ESavkUTSZgrK4hfXGM60ss8We2+cVQ9nLBI5R1dkHAJqTotclL3csCaXZ8X8WOJDV255c37S/y9Si23mpfZ5C+zmfKC4eMsyLZsR5OaT+PfujmDZGYFQjpDgJhWkGPJgMwK1LDqPiVa/Xy/5RkeWxkvwMWs= Received: by 10.86.59.2 with SMTP id h2mr4614542fga.78.1206982320221; Mon, 31 Mar 2008 09:52:00 -0700 (PDT) Received: by 10.86.71.15 with HTTP; Mon, 31 Mar 2008 09:52:00 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 08:52:00 -0800 From: "Maksim Yevmenkin" To: mato In-Reply-To: <47EF668D.1080003@users.sf.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47ED9AC5.4050505@users.sf.net> <47EF668D.1080003@users.sf.net> Cc: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? 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, 31 Mar 2008 16:52:02 -0000 Martin, > I've just bought the mouse and it works, partially. > Well, I couldn't find anything in the handbook but google helped. > > However, the mouse has 4-way wheel but horizontal scrolling doesn't work. > I've got the following in my xorg.conf: > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/sysmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > > Any ideas pls ? as Iain already pointed out, you might try adding 'Option "Buttons" "7"'. also it would be nice if you post hid descriptor for the mouse from your /etc/bluetooth/bthidd.conf > Apart from that I noticed double clicks don't work in console. yes, from bthidd(8) man page KNOWN LIMITATIONS The bthidd daemon currently does not handle key auto repeat and double click mouse events. Those events work under X(7) just fine, but not in text console. thanks, max From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 19:29: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 381B1106567E for ; Mon, 31 Mar 2008 19:29:55 +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 9AA068FC2E for ; Mon, 31 Mar 2008 19:29:54 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: (qmail 57718 invoked by uid 0); 31 Mar 2008 19:29:49 -0000 Received: from r5j117.net.upc.cz (HELO ?86.49.9.117?) (86.49.9.117) by smtp.dkm.cz with SMTP; 31 Mar 2008 19:29:49 -0000 Message-ID: <47F13BAD.9060808@users.sf.net> Date: Mon, 31 Mar 2008 21:29:49 +0200 From: mato User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.12) Gecko/20080305 SeaMonkey/1.1.8 MIME-Version: 1.0 To: Iain Hibbert References: <47ED9AC5.4050505@users.sf.net> <47EF668D.1080003@users.sf.net> <1206904241.480342.891.nullmailer@galant.ukfsn.org> In-Reply-To: <1206904241.480342.891.nullmailer@galant.ukfsn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org, Maksim Yevmenkin Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? 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, 31 Mar 2008 19:29:55 -0000 Iain Hibbert wrote: > On Sun, 30 Mar 2008, mato wrote: > > >> Section "InputDevice" >> Identifier "Mouse0" >> Driver "mouse" >> Option "Protocol" "auto" >> Option "Device" "/dev/sysmouse" >> Option "ZAxisMapping" "4 5 6 7" >> EndSection >> > > FWIW this at least is probably correct, but I found that last year when I > bought an "Apple Mighty Mouse" I still had some trouble because the > bsd_mouse driver for X was not handling the Z direction. Of course, this > was on NetBSD/wsmouse so it is different but the bsd_mouse.c file s the > same handler. > > Also you may need > Option "Buttons" "7" > > I hadn't found this option in xorg.conf manual. Thanks. Unfortunately it did not help in this case. >> Any ideas pls ? >> > > also, I think bthidd does not handle the Z direction**. Note that > sometimes a mouse will present the horizontal component of the scroll ball > as "Consumer/PAN" instead of "Generic Desktop/Z" > > hth, > iain > > ** confusingly, HUG_WHEEL is the vertical scroll and HUG_Z is horizontal > but the vertical scroll is internally called Z and sometimes HUG_Z is the > vertical direction when there is no HUG_WHEEL. > Well, this mouse of mine presents itself exactly as you said ... Input id=2 size=12 count=1 page=Generic_Desktop usage=X Variable Relative, log ical range -2047..2047 Input id=2 size=12 count=1 page=Generic_Desktop usage=Y Variable Relative, log ical range -2047..2047 Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable Relative, logical range -127..127 Input id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable Relative, logica l range -127..127 What can be done about it ?? Cheers, Martin From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 19:33:11 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 A22C41065671 for ; Mon, 31 Mar 2008 19:33:11 +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 1F3038FC1D for ; Mon, 31 Mar 2008 19:33:10 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: (qmail 45238 invoked by uid 0); 31 Mar 2008 19:32:17 -0000 Received: from r5j117.net.upc.cz (HELO ?86.49.9.117?) (86.49.9.117) by smtp.dkm.cz with SMTP; 31 Mar 2008 19:32:17 -0000 Message-ID: <47F13C41.2030506@users.sf.net> Date: Mon, 31 Mar 2008 21:32:17 +0200 From: mato User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.12) Gecko/20080305 SeaMonkey/1.1.8 MIME-Version: 1.0 To: Maksim Yevmenkin References: <47ED9AC5.4050505@users.sf.net> <47EF668D.1080003@users.sf.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? 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, 31 Mar 2008 19:33:11 -0000 Maksim Yevmenkin wrote: > Martin, > > >> I've just bought the mouse and it works, partially. >> Well, I couldn't find anything in the handbook but google helped. >> >> However, the mouse has 4-way wheel but horizontal scrolling doesn't work. >> I've got the following in my xorg.conf: >> >> Section "InputDevice" >> Identifier "Mouse0" >> Driver "mouse" >> Option "Protocol" "auto" >> Option "Device" "/dev/sysmouse" >> Option "ZAxisMapping" "4 5 6 7" >> EndSection >> >> Any ideas pls ? >> > > as Iain already pointed out, you might try adding 'Option "Buttons" > "7"'. also it would be nice if you post hid descriptor for the mouse > from your /etc/bluetooth/bthidd.conf > > >> Apart from that I noticed double clicks don't work in console. >> > > yes, from bthidd(8) man page > > KNOWN LIMITATIONS > The bthidd daemon currently does not handle key auto repeat and double > click mouse events. Those events work under X(7) just fine, but not in > text console. > > thanks, > max > Hi Max, Option Buttons did not help me. :-( $ bthidcontrol -a mato-mouse query device { bdaddr 00:07:61:a7:64:15; control_psm 0x11; interrupt_psm 0x13; reconnect_initiate true; battery_power true; normally_connectable false; hid_descriptor { 0x05 0x01 0x09 0x02 0xa1 0x01 0x85 0x02 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x08 0x15 0x00 0x25 0x01 0x75 0x01 0x95 0x08 0x81 0x02 0x05 0x01 0x09 0x30 0x09 0x31 0x16 0x01 0xf8 0x26 0xff 0x07 0x75 0x0c 0x95 0x02 0x81 0x06 0x09 0x38 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x75 0x08 0x95 0x01 0x81 0x06 0xc0 0xc0 0x06 0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 }; } $ bthidcontrol -a mato-mouse dump Collection page=Generic_Desktop usage=Mouse Collection page=Generic_Desktop usage=Pointer Input id=2 size=1 count=1 page=Button usage=Button_1 Variable, logical range 0 ..1 Input id=2 size=1 count=1 page=Button usage=Button_2 Variable, logical range 0 ..1 Input id=2 size=1 count=1 page=Button usage=Button_3 Variable, logical range 0 ..1 Input id=2 size=1 count=1 page=Button usage=Button_4 Variable, logical range 0 ..1 Input id=2 size=1 count=1 page=Button usage=Button_5 Variable, logical range 0 ..1 Input id=2 size=1 count=1 page=Button usage=Button_6 Variable, logical range 0 ..1 Input id=2 size=1 count=1 page=Button usage=Button_7 Variable, logical range 0 ..1 Input id=2 size=1 count=1 page=Button usage=Button_8 Variable, logical range 0 ..1 Input id=2 size=12 count=1 page=Generic_Desktop usage=X Variable Relative, log ical range -2047..2047 Input id=2 size=12 count=1 page=Generic_Desktop usage=Y Variable Relative, log ical range -2047..2047 Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable Relative, logical range -127..127 Input id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable Relative, logica l range -127..127 End collection End collection Input id=16 size=8 count=6 page=Microsoft usage=0x0001, logical range 0..255 Output id=16 size=8 count=6 page=Microsoft usage=0x0001, logical range 0..255 Collection page=Microsoft usage=0x0001 From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 31 21:45: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 7B43A1065674 for ; Mon, 31 Mar 2008 21:45:04 +0000 (UTC) (envelope-from nikolay.vernyayev@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 52BF18FC26 for ; Mon, 31 Mar 2008 21:45:04 +0000 (UTC) (envelope-from nikolay.vernyayev@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so1864808wfa.7 for ; Mon, 31 Mar 2008 14:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type; bh=2Uk0MroAoUQdr6Q1prwvRZy/Y+pdOhZVXBK4V7ibhYc=; b=Dqrhv/s91qvVEhwHLuftxoWAG3p4o9PFp4k8gs/3RcveldqmzOd5clnKplsx39ClyQ+WmUCH2aLOgct+3ZCDvmHxHN1dvrRp/x3TFfqt0OZi1Y36rMBnPgapmW6qv3TcitFIvvnl6VTXw5SUymHPLTp3xTLFtQOTmZJoChltc5Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:mime-version:content-type; b=VwctNsQ+VATVTUjrjQJhj/yfOlqcxPmQHG9TGFwo9hR8+pkwHQoxSKj2+FPaXpkUY6p2P6SkpVGh8WkKtJeWXMN3RZ/y3dXqzYeJ34kqSZ/DeED0q0nYFVwKPnSiW96gCzWB3SYdxTj3EP3sXwXYWg462HT+HF72K4zdecoQiQg= Received: by 10.142.201.3 with SMTP id y3mr4330514wff.120.1206998384993; Mon, 31 Mar 2008 14:19:44 -0700 (PDT) Received: by 10.143.39.13 with HTTP; Mon, 31 Mar 2008 14:19:44 -0700 (PDT) Message-ID: <209bd33f0803311419p10e4f6e4wda413d8c5ddb9568@mail.gmail.com> Date: Mon, 31 Mar 2008 16:19:44 -0500 From: "Nikolay Vernyayev" To: knowtree@aloha.com MIME-Version: 1.0 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: freebsd-mobile@freebsd.org Subject: VIA video drivers 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, 31 Mar 2008 21:45:04 -0000 Not exactly... Actually you may use VESA drivers w/o problems but for best performance with VIA you may try to do what I did... Some "magic" dance :) see here. Actualy I have used Open UniChrome drivers applied and working but stacked in DRI. Here is not really clear procedure, more like investigation story then technical instruction, but you can get part of picture what the hell is it. I am blogging here www.nico.pro.ec ---------- Forwarded message ---------- From: knowtree@aloha.com To: freebsd-mobile@freebsd.org Date: Sun, 30 Mar 2008 22:49:12 HST Subject: VIA video drivers This is one of those posts that might not belong in mobile, but since I am developing a mobile solution I'll start here. I have been poking around a VIA support site (www.viaarena.com) and posted a question in the forums about running FreeBSD 7 on the VIA Pico-ITX. Looking through the Linux forum I see a lot of grief about drivers. Especially video drivers. Is anybody here using Xorg on VIA hardware and willing to share their experiences? A more general question: Do Linux video drivers for Xorg automatically work under FreeBSD, or is some black magic involved? Even more general: Can I assume that even without a specially tailored driver, Xorg should achieve fairly high resolution? Well beyond 640x480? Seems like the grief with VIAs drivers is about speed and 3D rendering, especially in the realm of movie playback and game play. Neither is a high priority for me. Battery life is priority one. Any insight will be greatly appreciated! Gary Dunn Open Slate Project From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 1 07:52: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 6F11D1065674; Tue, 1 Apr 2008 07:52:26 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 04FA08FC15; Tue, 1 Apr 2008 07:52:25 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Apr 2008 09:55:05 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m317qLtM002165; Tue, 1 Apr 2008 09:52:21 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Tue, 1 Apr 2008 09:52:21 +0200 From: Matthias Apitz To: Kris Kennaway , Sam Leffler , freebsd-mobile@freebsd.org Message-ID: <20080401075221.GA2138@rebelion.Sisis.de> References: <20080326124324.GA1756@rebelion.Sisis.de> <47EAB19E.8010804@FreeBSD.org> <20080331101250.GA3094@rebelion.Sisis.de> <47F0BF52.1010109@FreeBSD.org> <20080331130404.GB1615@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080331130404.GB1615@rebelion.Sisis.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 01 Apr 2008 07:55:05.0702 (UTC) FILETIME=[B2C6F060:01C893CD] Cc: Subject: Re: 7.0-RELEASE && panic after ~4 hours X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 07:52:26 -0000 El día Monday, March 31, 2008 a las 03:04:04PM +0200, Matthias Apitz escribió: > > You should unmount (or boot to single-user mode) and run a full fsck > > (fsck -fy). > > Thanks for your hint and I've done what you have advised and I'm > connected through Wifi again now (until next panic :-)) > The fsck has indeed correct something where the block count should have > been zero but was some decimal number of 20 digits, I think (don't > remember that large number); > > I'll copy this e-mail into the TT; While the laptop worked all night at home (and only with clean shutdows since the last 'fsck -fy' yesterday afternoon), it crashed after around 20 minutes in my office this morning; the kgdb says: # kgdb /boot/kernel/kernel vmcore.3 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xffff1a18 fault code = supervisor read, page not present instruction pointer = 0x20:0xc07fa3ee stack pointer = 0x28:0xe6904aa4 frame pointer = 0x28:0xe6904ad0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1546 (gkrellm) trap number = 12 panic: page fault cpuid = 0 Uptime: 16m21s Physical memory: 1009 MB Dumping 156 MB: (CTRL-C to abort) 141 125 109 93 (CTRL-C to abort) 77 61 45 29 (CTRL-C to abort) 13 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0754457 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0754719 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0a4905c in trap_fatal (frame=0xe6904a64, eva=4294908440) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc0a492e0 in trap_pfault (frame=0xe6904a64, usermode=0, eva=4294908440) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc0a49c8c in trap (frame=0xe6904a64) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc07fa3ee in rt_msg2 (type=12, rtinfo=0xe6904b04, cp=0x0, w=0xe6904b34) at /usr/src/sys/net/rtsock.c:784 #8 0xc07fb1a5 in sysctl_rtsock (oidp=0xc0b84ac0, arg1=0xe6904c1c, arg2=4, req=0xe6904ba4) at /usr/src/sys/net/rtsock.c:1153 #9 0xc075dc97 in sysctl_root (oidp=Variable "oidp" is not available. ) at /usr/src/sys/kern/kern_sysctl.c:1306 #10 0xc075dde4 in userland_sysctl (td=0xc472fc60, name=0xe6904c14, namelen=6, old=0x0, oldlenp=0xbfbfe478, inkernel=0, new=0x0, newlen=0, retval=0xe6904c10, flags=0) at /usr/src/sys/kern/kern_sysctl.c:1401 #11 0xc075eb7e in __sysctl (td=0xc472fc60, uap=0xe6904cfc) at /usr/src/sys/kern/kern_sysctl.c:1336 #12 0xc0a49635 in syscall (frame=0xe6904d38) at /usr/src/sys/i386/i386/trap.c:1035 #13 0xc0a2fc70 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #14 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) any advice to track this down? thanks in advance matthias -- Matthias Apitz From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 1 09:57:41 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 81A13106566B; Tue, 1 Apr 2008 09:57:41 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5D00C8FC13; Tue, 1 Apr 2008 09:57:40 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47F20719.9070507@FreeBSD.org> Date: Tue, 01 Apr 2008 11:57:45 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Matthias Apitz References: <20080326124324.GA1756@rebelion.Sisis.de> <47EAB19E.8010804@FreeBSD.org> <20080331101250.GA3094@rebelion.Sisis.de> <47F0BF52.1010109@FreeBSD.org> <20080331130404.GB1615@rebelion.Sisis.de> <20080401075221.GA2138@rebelion.Sisis.de> In-Reply-To: <20080401075221.GA2138@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Sam Leffler , freebsd-mobile@freebsd.org Subject: Re: 7.0-RELEASE && panic after ~4 hours 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, 01 Apr 2008 09:57:41 -0000 Matthias Apitz wrote: > El día Monday, March 31, 2008 a las 03:04:04PM +0200, Matthias Apitz escribió: > >>> You should unmount (or boot to single-user mode) and run a full fsck >>> (fsck -fy). >> Thanks for your hint and I've done what you have advised and I'm >> connected through Wifi again now (until next panic :-)) >> The fsck has indeed correct something where the block count should have >> been zero but was some decimal number of 20 digits, I think (don't >> remember that large number); >> >> I'll copy this e-mail into the TT; > > While the laptop worked all night at home (and only with clean shutdows > since the last 'fsck -fy' yesterday afternoon), it crashed after around > 20 minutes in my office this morning; the kgdb says: > > # kgdb /boot/kernel/kernel vmcore.3 > [GDB will not be able to debug user-mode threads: > /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-marcel-freebsd". > > Unread portion of the kernel message buffer: > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xffff1a18 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc07fa3ee > stack pointer = 0x28:0xe6904aa4 > frame pointer = 0x28:0xe6904ad0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 1546 (gkrellm) > trap number = 12 > panic: page fault > cpuid = 0 > Uptime: 16m21s > Physical memory: 1009 MB > Dumping 156 MB: (CTRL-C to abort) 141 125 109 93 (CTRL-C to abort) 77 > 61 45 29 (CTRL-C to abort) 13 > > #0 doadump () at pcpu.h:195 > 195 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) bt > #0 doadump () at pcpu.h:195 > #1 0xc0754457 in boot (howto=260) at > /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xc0754719 in panic (fmt=Variable "fmt" is not available. > ) at /usr/src/sys/kern/kern_shutdown.c:563 > #3 0xc0a4905c in trap_fatal (frame=0xe6904a64, eva=4294908440) at > /usr/src/sys/i386/i386/trap.c:899 > #4 0xc0a492e0 in trap_pfault (frame=0xe6904a64, usermode=0, > eva=4294908440) > at /usr/src/sys/i386/i386/trap.c:812 > #5 0xc0a49c8c in trap (frame=0xe6904a64) at > /usr/src/sys/i386/i386/trap.c:490 > #6 0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > #7 0xc07fa3ee in rt_msg2 (type=12, rtinfo=0xe6904b04, cp=0x0, > w=0xe6904b34) > at /usr/src/sys/net/rtsock.c:784 > #8 0xc07fb1a5 in sysctl_rtsock (oidp=0xc0b84ac0, arg1=0xe6904c1c, > arg2=4, req=0xe6904ba4) > at /usr/src/sys/net/rtsock.c:1153 > #9 0xc075dc97 in sysctl_root (oidp=Variable "oidp" is not available. > ) at /usr/src/sys/kern/kern_sysctl.c:1306 > #10 0xc075dde4 in userland_sysctl (td=0xc472fc60, name=0xe6904c14, > namelen=6, old=0x0, > oldlenp=0xbfbfe478, inkernel=0, new=0x0, newlen=0, > retval=0xe6904c10, flags=0) > at /usr/src/sys/kern/kern_sysctl.c:1401 > #11 0xc075eb7e in __sysctl (td=0xc472fc60, uap=0xe6904cfc) at > /usr/src/sys/kern/kern_sysctl.c:1336 > #12 0xc0a49635 in syscall (frame=0xe6904d38) at > /usr/src/sys/i386/i386/trap.c:1035 > #13 0xc0a2fc70 in Xint0x80_syscall () at > /usr/src/sys/i386/i386/exception.s:196 > #14 0x00000033 in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb) > > any advice to track this down? thanks in advance OK, now this panic looks more reasonable :) At a guess, sysctl_rtsock is not protecting against a structure changing in mid-operation (e.g. missing locking). It might be a straightforward fix for someone familiar with the code. Try raising it on net@ and filing a new PR (since it's not related to your other one). Kris From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 2 12:00:08 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 27F11106568A for ; Wed, 2 Apr 2008 12:00:08 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9980E8FC2C for ; Wed, 2 Apr 2008 12:00:07 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 215CD1CD60; Wed, 2 Apr 2008 04:00:06 -0800 (AKDT) From: Mel To: freebsd-mobile@freebsd.org Date: Wed, 2 Apr 2008 14:00:02 +0200 User-Agent: KMail/1.9.7 References: <47C078EC.4020907@student.utwente.nl> <47E1088A.8090203@clearchain.com> In-Reply-To: <47E1088A.8090203@clearchain.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804021400.04442.fbsd.questions@rachie.is-a-geek.net> Cc: Yousif Hassan , Sam Leffler , Benjamin Close , Alphons Fonz van Werven , freebsd-net@freebsd.org Subject: Re: [Wireless] Can't connect to wlan 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, 02 Apr 2008 12:00:08 -0000 On Wednesday 19 March 2008 13:35:22 Benjamin Close wrote: > Yousif Hassan wrote: > > Benjamin Close wrote: > >> Sam Leffler wrote: > >>> Yousif Hassan wrote: > >>>> On Wed, 2008-03-12 at 08:06 +1030, Benjamin Close wrote: > > > > > > > >>>> The slightly wonky: > >>>> - As reported by someone else: > >>>> wpi0: timeout resetting Tx ring 1 > >>>> wpi0: timeout resetting Tx ring 3 > >>>> wpi0: timeout resetting Tx ring 4 > >>>> appear on startup and occasionally on kldload - however they don't > >>>> appear to adversely affect too much > > > > > > > >>> wpi doesn't yet support background scan so doing an explicit scan > >>> from the command line will disconnect you from any ap you care > >>> connected to. It shouldn't be hard to add bgscan--but that's easy > >>> for me to say :) > >> > >> It's certainly on my todo list! > > > > Thanks for reminding me about the bgscan thing. I had read that > > somewhere before and completely forgotten! > > > > Ben, are the > > wpi0: timeout resetting Tx ring 1 > > wpi0: timeout resetting Tx ring 3 > > wpi0: timeout resetting Tx ring 4 > > (and other variants thereof) > > messages anything to be concerned about? It doesn't seem to affect > > stuff but it does show up on initial startup and every other scan I do. > > > > Thanks to everyone who worked on wpi for a most excellent driver. > > The timeouts are related to the firmware not being able to reset the tx > ring. Normally this isn't too bad as the first thing after resetting the > tx rings is to stop the firmware and reinit it. Whilst it won't cause a > crash, it still a bug that needs fixing. I think I finally found the issue with the connection dropping. It is related to a beacon miss and the driver not getting back to authenticated state. The /root/bin/testwpi.sh script mentioned below pings the AP 50 times sends it to syslog and does it again. Apr 1 09:20:30 laptop kernel: Beacon miss: 20 >= 7 Apr 1 09:20:30 laptop kernel: Beacon miss: 21 >= 7 Apr 1 09:20:30 laptop kernel: wpi_newstate: RUN -> ASSOC Apr 1 09:20:30 laptop kernel: wpi0: link state changed to DOWN Then this Beacon miss continues incrementing until: Apr 1 09:20:56 laptop kernel: Beacon miss: 274 >= 7 At this point the packet loss is still 100%: Apr 1 09:21:04 laptop /root/bin/testwpi.sh: 50 packets transmitted, 14 packets received, 72.0% packet loss round-trip min/avg/max/stddev = 0.513/0.599/1.046/0.131 ms Apr 1 09:22:05 laptop /root/bin/testwpi.sh: 50 packets transmitted, 0 packets received, 100.0% packet loss Apr 1 09:23:06 laptop /root/bin/testwpi.sh: 50 packets transmitted, 0 packets received, 100.0% packet loss Then for no apparent reason, it tries again: Apr 1 10:49:41 laptop kernel: Beacon miss: 20 >= 7 Apr 1 10:49:41 laptop kernel: Beacon miss: 21 >= 7 Apr 1 10:49:41 laptop kernel: Beacon miss: 22 >= 7 ... Apr 1 10:50:07 laptop kernel: Beacon miss: 273 >= 7 Apr 1 10:50:37 laptop /root/bin/testwpi.sh: 50 packets transmitted, 0 packets received, 100.0% packet loss Apr 1 10:51:38 laptop /root/bin/testwpi.sh: 50 packets transmitted, 0 packets received, 100.0% packet loss Apr 1 10:53:40 laptop last message repeated 2 times Apr 1 11:03:51 laptop last message repeated 10 times ... Then for no apparent reason (as far as I know, no one was near the machine at the time): Apr 1 16:34:00 laptop kernel: wpi_newstate: ASSOC -> AUTH Apr 1 16:34:00 laptop kernel: wpi_ops: command: 16 Apr 1 16:34:00 laptop kernel: config chan 1 flags 8035 cck f ofdm 15 Apr 1 16:34:00 laptop kernel: wpi_ops: command: 1 Apr 1 16:34:00 laptop kernel: wpi_ops: command: 8 Apr 1 16:34:00 laptop kernel: Ignoring WPI_SET_CHAN Apr 1 16:34:00 laptop kernel: wpi_ops: command: 2 Apr 1 16:34:00 laptop kernel: Scanning Essid: "MYSSID" Apr 1 16:34:00 laptop kernel: Scanning 1 Passive: 0 Apr 1 16:34:00 laptop kernel: wpi_newstate: AUTH -> AUTH Apr 1 16:34:00 laptop kernel: wpi_ops: command: 16 Apr 1 16:34:00 laptop kernel: config chan 1 flags 8035 cck f ofdm 15 Apr 1 16:34:00 laptop kernel: scanning channel 1 status 1 Apr 1 16:34:00 laptop kernel: scan finished nchan=0 status=2 chan=0 Apr 1 16:34:00 laptop kernel: wpi_ops: command: 4 Apr 1 16:34:36 laptop /root/bin/testwpi.sh: 50 packets transmitted, 0 packets received, 100.0% packet loss Apr 1 16:35:37 laptop /root/bin/testwpi.sh: 50 packets transmitted, 0 packets received, 100.0% packet loss Apr 1 16:36:38 laptop /root/bin/testwpi.sh: 50 packets transmitted, 0 packets received, 100.0% packet loss Apr 1 16:46:49 laptop last message repeated 10 times And then my girl came home from work and did the "down and list scan trick": Apr 1 17:53:06 laptop sudo: rachie : TTY=ttyp1 ; PWD=/home/rachie ; USER=root ; COMMAND=/sbi n/ifconfig wpi0 down Apr 1 17:53:06 laptop kernel: Disabling Firmware execution Apr 1 17:53:06 laptop kernel: wpi_newstate: AUTH -> INIT Apr 1 17:53:10 laptop sudo: rachie : TTY=ttyp1 ; PWD=/home/rachie ; USER=root ; COMMAND=/sbi n/ifconfig wpi0 up list scan Apr 1 17:53:11 laptop kernel: wpi0: timeout resetting Tx ring 1 Apr 1 17:53:11 laptop kernel: wpi0: timeout resetting Tx ring 3 Apr 1 17:53:11 laptop kernel: wpi0: timeout resetting Tx ring 4 Apr 1 17:53:11 laptop kernel: Disabling Firmware execution Apr 1 17:53:11 laptop kernel: wpi_newstate: INIT -> INIT Apr 1 17:53:11 laptop kernel: Resetting the card - clearing any uploaded firmware Apr 1 17:53:11 laptop kernel: Attempting Loading Firmware from wpi_fw module Apr 1 17:53:11 laptop kernel: Firmware Version: Major 2, Minor 14, Driver 4, Apr 1 17:53:11 laptop kernel: runtime (text: 80524, data: 32768) init (text: 2668, data 32768) boot (text 900) Apr 1 17:53:11 laptop kernel: rtext 0xf802020 Apr 1 17:53:11 laptop kernel: rdata 0x0 Apr 1 17:53:11 laptop kernel: itext 0xf802020 Apr 1 17:53:11 laptop kernel: idata 0x0 Apr 1 17:53:11 laptop kernel: btext 0xf802020 Apr 1 17:53:11 laptop kernel: Loading microcode size 0x384 Apr 1 17:53:11 laptop kernel: firmware status=0xffff0000, val=0x40400000, result=0x40400000 Apr 1 17:53:11 laptop kernel: Status Match! - ntries = 0 Apr 1 17:53:11 laptop kernel: microcode alive notification version 10e02 alive 1 Apr 1 17:53:11 laptop kernel: microcode alive notification version 10e02 alive 1 Apr 1 17:53:11 laptop kernel: Firmware loaded to driver successfully Apr 1 17:53:11 laptop kernel: wpi_newstate: INIT -> SCAN Apr 1 17:53:11 laptop kernel: wpi_ops: command: 1 Apr 1 17:53:11 laptop kernel: wpi_ops: command: 8 Apr 1 17:53:13 laptop kernel: scan finished nchan=1 status=1 chan=165 Apr 1 17:53:13 laptop kernel: wpi_newstate: SCAN -> AUTH Apr 1 17:53:13 laptop kernel: wpi_ops: command: 4 Apr 1 17:53:13 laptop kernel: wpi_ops: command: 8 Apr 1 17:53:13 laptop kernel: Ignoring WPI_SET_CHAN Apr 1 17:53:13 laptop kernel: wpi_ops: command: 8 Apr 1 17:53:13 laptop kernel: Ignoring WPI_SET_CHAN Apr 1 17:53:13 laptop kernel: wpi_ops: command: 16 Apr 1 17:53:13 laptop kernel: config chan 1 flags 8005 cck f ofdm 15 Apr 1 17:53:13 laptop kernel: wpi_newstate: AUTH -> ASSOC Apr 1 17:53:13 laptop kernel: wpi_newstate: ASSOC -> RUN Apr 1 17:53:13 laptop kernel: wpi_ops: command: 32 Apr 1 17:53:13 laptop kernel: config chan 1 flags 8035 Apr 1 17:53:13 laptop kernel: wpi0: link state changed to UP At this point it's working again, connection is flakey with packet loss ranging from 0 to 50% but it's working. This is wpi from 7-RELEASE with patch mentioned in this thread. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 2 17:17: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 617141065672 for ; Wed, 2 Apr 2008 17:17:27 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id 2C7C38FC2A for ; Wed, 2 Apr 2008 17:17:26 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so1761023rvb.43 for ; Wed, 02 Apr 2008 10:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=jYw7vo3DDuiHe4O4t8X3PVPZISBz25kFkJJdzxrgLY0=; b=d6KpcQ5s7CA1lJIt7aCbn1ohZH/j0slGccf8Q9VYxTbMHKtttGsm31bllZaABBBea7BfAYZEwi+vo/IqgL27JPxyYP2JkjLBD+FFicNl16HQI9wKhvKSbZc6OXdpGnLsRjayCUV7a9EvYvEFJtBHvsYAwBh7szrE90kUj+UT5vw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gLLIylFWK1xbUAqu8kHwZwDOKE9fgrowMdh3EKfzKH1kn7o/IH0o4TKuEvfOZWx560RZm3X9kTfmzDSsFNQLISJF7LYdjBpYRsmQspWghwr/tYy3Gi+Uy/WNd11oOZb/BEz3uve3kTo69Z9Crr2+gQXmDvkyhlkYHtQyIfOCbeM= Received: by 10.141.15.19 with SMTP id s19mr5158537rvi.75.1207156646581; Wed, 02 Apr 2008 10:17:26 -0700 (PDT) Received: by 10.140.192.20 with HTTP; Wed, 2 Apr 2008 10:17:26 -0700 (PDT) Message-ID: Date: Wed, 2 Apr 2008 09:17:26 -0800 From: "Maksim Yevmenkin" To: "Iain Hibbert" In-Reply-To: <1207142908.576787.1033.nullmailer@galant.ukfsn.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47ED9AC5.4050505@users.sf.net> <47EF668D.1080003@users.sf.net> <1206904241.480342.891.nullmailer@galant.ukfsn.org> <47F13BAD.9060808@users.sf.net> <1207142908.576787.1033.nullmailer@galant.ukfsn.org> Cc: freebsd-bluetooth@freebsd.org, mato , freebsd-mobile@freebsd.org Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? 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, 02 Apr 2008 17:17:27 -0000 On 4/2/08, Iain Hibbert wrote: > On Mon, 31 Mar 2008, mato wrote: > > > Well, this mouse of mine presents itself exactly as you said ... > > > > Input id=2 size=12 count=1 page=Generic_Desktop usage=X Variable Relative, > > Input id=2 size=12 count=1 page=Generic_Desktop usage=Y Variable Relative, > > wow thats a sensitive mouse, 12 bit movements! :) amazing what you can get these days, huh? :) > > Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable > > Input id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable Relative, > > What can be done about it ?? > > I don't know - bthidd(4) could grow the support for AC_Pan fairly easily > but I don't know how you would get that into the kernel - the mouse_info > structure has no W direction and the ioctl would need to be versioned if > the structure was extended as there was no padding.. exactly Iain. parsing hid messages in bthidd(8) and extracting all the data is trivial. the question is how to feed those data into the kernel. right now, bthidd(8) uses console ioctl to feed data into the kernel. as you pointed out, mouse_info structure (specifically mouse_data union) does not have have w direction. > btw just to make you feel better I should say that sideways scroll does > not always work in applications; eg GThumb considers the extra buttons > to be 'next' and 'prev' instead and sideways scroll just jumps to the next > picture. i have a wired usb apple mighty mouse here and horizontal scrolling does not work for me at all. quick look at ums(4) showed that it does not export w data (it tries to locate both wheel and z axis, however it does not look for ac_pan axis). so, it appears that we need to teach moused(8), sysmouse(4) and mice drivers about second wheel. it appears to be a somewhat bigger chunk of work. thanks, max > > > iain > From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 2 21:00: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 949841065683 for ; Wed, 2 Apr 2008 21:00:31 +0000 (UTC) (envelope-from netwarrior863@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.177]) by mx1.freebsd.org (Postfix) with ESMTP id D76328FC2C for ; Wed, 2 Apr 2008 21:00:30 +0000 (UTC) (envelope-from netwarrior863@gmail.com) Received: by ik-out-1112.google.com with SMTP id b35so551584ika.3 for ; Wed, 02 Apr 2008 14:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=D4smRrlPIuYHP3yJlam3IW+4BV9zlKRvlfi2zmi1ZWU=; b=TedEcJDGSxfExCWMpTGdruM/ILRmlVyDePr6LoCYZIgrhsxefWSgrklj4A/L9BnUBgSKCuqcgFcaGBIz+Tpv6qj+LLhDAPyhKlDRJOcIRMPToQ7RgHhnoI80XBaxDOXx1phBKfI0uyClHzmrNSzoqLgMX8UiQvmYjGkWBnKf0Rk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=I4yCUIcpaHrJ6M0A/arqSJFgotv5W1zkr1sQpCzoMuQgW34wHjSR4IG86E1kBaY1QPo/DlPpoZXLXtK9N+Q+ZDWmtO7p1T+wpWmGd5lZlHOB6dPk50PmSbkZ03IvScmO1hwA08QgAxGV3Dq23GTwudO0n7MmtnSG6p0Zja9lD+8= Received: by 10.142.141.21 with SMTP id o21mr6457046wfd.102.1207168588487; Wed, 02 Apr 2008 13:36:28 -0700 (PDT) Received: by 10.142.89.19 with HTTP; Wed, 2 Apr 2008 13:36:28 -0700 (PDT) Message-ID: Date: Wed, 2 Apr 2008 17:36:28 -0300 From: "Net Warrior" To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ThinkPad T20 Sound Problem 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, 02 Apr 2008 21:00:31 -0000 Hi there guys. I bought my first note book and I 'm very excited, this not the latest intel in the market, but does what I nedd. But, I'm having problems with the sound driver, I 'm geting distortions when I switch from consoles or if I do an scroll, or ls. I had this kind of problem before with some clones, but the procedure followed bebore did not work. This is my config. FreeBSD-Realm# sysctl -a |grep pcm dev.pcm.0.%desc: CS461x PCM Audio dev.pcm.0.%driver: pcm dev.pcm.0.%parent: csa0 dev.pcm.0.eapd: 1 dev.pcm.0.play.vchans: 1 dev.pcm.0.play.vchanrate: 48000 dev.pcm.0.play.vchanformat: s16le dev.pcm.0.rec.vchans: 1 dev.pcm.0.rec.vchanrate: 48000 dev.pcm.0.rec.vchanformat: s16le dev.pcm.0.buffersize: 0 FreeBSD-Realm# sysctl -a | grep snd hw.snd.latency_profile: 1 hw.snd.latency: 5 hw.snd.report_soft_formats: 1 hw.snd.compat_linux_mmap: 0 hw.snd.feeder_buffersize: 65536 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.verbose: 1 hw.snd.maxautovchans: 16 hw.snd.default_unit: 0 hw.snd.version: 2007061600/i386 hw.snd.default_auto: 0 FreeBSD-Realm# FreeBSD-Realm# vmstat -i interrupt total rate irq0: clk 4973648 958 irq1: atkbd0 3670 0 irq3: cbb0 csa0 11666 2 irq5: uhci0 1941 0 irq8: rtc 639222 123 irq9: acpi0+ 3095 0 irq10: cbb1 dc0 4 0 irq12: psm0 969 0 irq14: ata0 71376 13 irq15: ata1 363 0 FreeBSD-Realm# dmesg |grep irq vgapci0: mem 0xf0000000-0xf7ffffff irq 3 at device 0.0 on pci1 cbb0: mem 0x50000000-0x50000fff irq 3 at device 2.0 on pci0 cbb1: mem 0x50100000-0x50100fff irq 10 at device 2.1 on pci0 csa0: mem 0xe8100000-0xe8100fff,0xe8000000-0xe80fffff irq 3 at device 5.0 on pci0 uhci0: port 0x1c20-0x1c3f irq 5 at device 7.2 on pci0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio1: configured irq 3 not in bitmap of probed irqs 0 dc0: port 0x1100-0x11ff mem 0x88000000-0x880003ff irq 10 at device 0.0 on cardbus1 FreeBSD-Realm# With the clones, I alway solved the problem, as suggested in the mailing list by increasing the buffersize including it in the device.hints file, but that did not work and dev.pcm.0.buffersize never get increased, always stays in zero. Thanks in advance, and for you time. I'm using 7-0Release Stable. From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 3 15:57:57 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 18C41106566C for ; Thu, 3 Apr 2008 15:57:57 +0000 (UTC) (envelope-from sarumont@mail.sigil.org) Received: from mail.sigil.org (mail.sigil.org [69.13.51.5]) by mx1.freebsd.org (Postfix) with ESMTP id E81C88FC1A for ; Thu, 3 Apr 2008 15:57:56 +0000 (UTC) (envelope-from sarumont@mail.sigil.org) Received: from localhost (localhost [127.0.0.1]) by mail.sigil.org (Postfix) with ESMTP id 46F26508A6 for ; Thu, 3 Apr 2008 10:58:00 -0500 (CDT) X-Virus-Scanned: amavisd-new at sigil.org Received: from mail.sigil.org ([127.0.0.1]) by localhost (mail.sigil.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id e6L5YZfpAr20 for ; Thu, 3 Apr 2008 10:57:52 -0500 (CDT) Received: by mail.sigil.org (Postfix, from userid 1001) id 99C20508FB; Thu, 3 Apr 2008 10:57:52 -0500 (CDT) Date: Thu, 3 Apr 2008 10:57:52 -0500 From: Richard Kolkovich To: freebsd-mobile@freebsd.org Message-ID: <20080403155752.GB84382@snobol> Mail-Followup-To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-OS: FreeBSD snobol 7.0-BETA2 i386 X-Composed-With: vim User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Thinkpad t43p suspend/resume only once 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, 03 Apr 2008 15:57:57 -0000 On my T43p, I can suspend to RAM (S3) and resume once. After this, nothing happens when I close the lid (until a reboot). I started digging into this today, and it looks like the acpi device is in a bad state after the resume. Running devd -dD from a terminal shows no output from ACPI buttons after the resume. I discovered today, however, that I can run acpiconf -s S3 to regain my ability to sleep/resume. This will suspend the machine and immediately resume it, after which devd shows output again. Has anyone ever seen anything like this, or should I redirect my queries to freebsd-acpi? TIA -- Richard Kolkovich sarumont@sigil.org From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 3 17:01:01 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 80AEB106566B for ; Thu, 3 Apr 2008 17:01:01 +0000 (UTC) (envelope-from markhobden@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.180]) by mx1.freebsd.org (Postfix) with ESMTP id 25D9F8FC27 for ; Thu, 3 Apr 2008 17:01:01 +0000 (UTC) (envelope-from markhobden@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so1632908ele.12 for ; Thu, 03 Apr 2008 10:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Nigv5gvrmYz4SjTNuKEKkIDf4LM57PwsWivWEqUDKV4=; b=t8yQ742gjId/FrwyWrdIr+s652rjaFV6/7X6XRyWsoGAPbHWIlUiJTq1Z7aewje41HDqc9J9Ur6gKkfvZQrWf7ddkk3VV4tFRpurXQZt0NYuQDtJTy3XT2Xte0nmXiHq40m8bsYYx1WRtitOVa8q1U/soV9O2yq0hwEnTJye944= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l6+wKnBcBM4uAOHnm5W0JQwEbJ9dNvVdHu60r20UWT7lTCloYy81k4+eFiJ9pCk74fpXLq+lcZ6ta0NCttIQ3/7nZ4QxhJc9iz7F1mSr6+eDGjznSbIKzKfSUgZd+hVIEDLrLQwh5SurYOMOTYNxdpeWrE/Mnp1krI2iLy6LXJ0= Received: by 10.114.109.1 with SMTP id h1mr82964wac.35.1207240608600; Thu, 03 Apr 2008 09:36:48 -0700 (PDT) Received: by 10.114.146.10 with HTTP; Thu, 3 Apr 2008 09:36:40 -0700 (PDT) Message-ID: Date: Thu, 3 Apr 2008 17:36:40 +0100 From: "Mark Hobden" To: "Maksim Yevmenkin" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47ED9AC5.4050505@users.sf.net> <47EF668D.1080003@users.sf.net> <1206904241.480342.891.nullmailer@galant.ukfsn.org> <47F13BAD.9060808@users.sf.net> <1207142908.576787.1033.nullmailer@galant.ukfsn.org> Cc: freebsd-bluetooth@freebsd.org, Iain Hibbert , mato , freebsd-mobile@freebsd.org Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? 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, 03 Apr 2008 17:01:01 -0000 On 02/04/2008, Maksim Yevmenkin wrote: > > I don't know - bthidd(4) could grow the support for AC_Pan fairly easily > > but I don't know how you would get that into the kernel - the mouse_info > > structure has no W direction and the ioctl would need to be versioned if > > the structure was extended as there was no padding.. > > exactly Iain. parsing hid messages in bthidd(8) and extracting all the > data is trivial. the question is how to feed those data into the > kernel. right now, bthidd(8) uses console ioctl to feed data into the > kernel. as you pointed out, mouse_info structure (specifically > mouse_data union) does not have have w direction. > > > btw just to make you feel better I should say that sideways scroll does > > not always work in applications; eg GThumb considers the extra buttons > > to be 'next' and 'prev' instead and sideways scroll just jumps to the next > > picture. > > i have a wired usb apple mighty mouse here and horizontal scrolling > does not work for me at all. quick look at ums(4) showed that it does > not export w data (it tries to locate both wheel and z axis, however > it does not look for ac_pan axis). > > so, it appears that we need to teach moused(8), sysmouse(4) and mice > drivers about second wheel. it appears to be a somewhat bigger chunk > of work. > > thanks, > max Hi Martin, I have a patch somewhere at home that manages to do all of the above. I had planned to re-wite part of it to not require increasing the size of an xorg structure I changed - but it doesn't look like I will have time to do that for a while. At present it applies on top of the uhidev patches but it probably wouldn't be too difficult to get it to apply without them. I have been using it for a little while now and its been working fine for me. I will try and clean it up and document what needs to be re-compiled to get it working and then post it sometime in the next few days. Kind Regards, Mark Hobden. From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 3 22:57:59 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 3057F106566C for ; Thu, 3 Apr 2008 22:57:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 9BAC08FC1C for ; Thu, 3 Apr 2008 22:57:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 237849841-1834499 for multiple; Thu, 03 Apr 2008 18:42:28 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m33MfiM2097502; Thu, 3 Apr 2008 18:41:44 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Thu, 3 Apr 2008 18:18:24 -0400 User-Agent: KMail/1.9.7 References: <20080403155752.GB84382@snobol> In-Reply-To: <20080403155752.GB84382@snobol> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804031818.24967.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 03 Apr 2008 18:41:44 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6568/Thu Apr 3 12:12:56 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Richard Kolkovich Subject: Re: Thinkpad t43p suspend/resume only once 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, 03 Apr 2008 22:57:59 -0000 On Thursday 03 April 2008 11:57:52 am Richard Kolkovich wrote: > On my T43p, I can suspend to RAM (S3) and resume once. After this, nothing > happens when I close the lid (until a reboot). I started digging into this > today, and it looks like the acpi device is in a bad state after the resume. > Running devd -dD from a terminal shows no output from ACPI buttons after the > resume. > > I discovered today, however, that I can run acpiconf -s S3 to regain my ability > to sleep/resume. This will suspend the machine and immediately resume it, after > which devd shows output again. > > Has anyone ever seen anything like this, or should I redirect my queries to > freebsd-acpi? freebsd-acpi. Perhaps the code to rearm suspend events isn't working correctly for some reason. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 4 01:08:41 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 F37B51065672 for ; Fri, 4 Apr 2008 01:08:40 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smtp02.one2one.net (smtp02.one2one.net [149.254.192.174]) by mx1.freebsd.org (Postfix) with ESMTP id A21F08FC18 for ; Fri, 4 Apr 2008 01:08:40 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from [127.0.0.1] (helo=localhost) by localhost.localdomain with esmtp (Exim 4.50) id 1Jh319-0000Sy-DS; Wed, 02 Apr 2008 14:28:43 +0100 Received: from localhost.localdomain ([127.0.0.1]) by localhost (smtpbeckt01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01600-10; Wed, 2 Apr 2008 14:28:43 +0100 (BST) Received: from [10.32.45.24] (helo=rya-online.net) by localhost.localdomain with smtp (Exim 4.50) id 1Jh317-0000Su-C4; Wed, 02 Apr 2008 14:28:42 +0100 Received: (nullmailer pid 1170 invoked by uid 1000); Wed, 02 Apr 2008 13:28:28 -0000 Date: Wed, 2 Apr 2008 14:28:28 +0100 (BST) To: mato In-Reply-To: <47F13BAD.9060808@users.sf.net> References: <47ED9AC5.4050505@users.sf.net> <47EF668D.1080003@users.sf.net> <1206904241.480342.891.nullmailer@galant.ukfsn.org> <47F13BAD.9060808@users.sf.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1207142908.576787.1033.nullmailer@galant.ukfsn.org> From: Iain Hibbert X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at example.com X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: plunky@rya-online.net X-SA-Exim-Scanned: No (on localhost.localdomain); SAEximRunCond expanded to false Cc: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org, Maksim Yevmenkin Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2008 01:08:41 -0000 On Mon, 31 Mar 2008, mato wrote: > Well, this mouse of mine presents itself exactly as you said ... > > Input id=2 size=12 count=1 page=Generic_Desktop usage=X Variable Relative, > Input id=2 size=12 count=1 page=Generic_Desktop usage=Y Variable Relative, wow thats a sensitive mouse, 12 bit movements! :) > Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable > Input id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable Relative, > > What can be done about it ?? I don't know - bthidd(4) could grow the support for AC_Pan fairly easily but I don't know how you would get that into the kernel - the mouse_info structure has no W direction and the ioctl would need to be versioned if the structure was extended as there was no padding.. btw just to make you feel better I should say that sideways scroll does not always work in applications; eg GThumb considers the extra buttons to be 'next' and 'prev' instead and sideways scroll just jumps to the next picture. iain From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 4 19:11:29 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 729FF1065677 for ; Fri, 4 Apr 2008 19:11:29 +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 CA06C8FC26 for ; Fri, 4 Apr 2008 19:11:28 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: (qmail 26941 invoked by uid 0); 4 Apr 2008 19:11:27 -0000 Received: from r5j117.net.upc.cz (HELO ?192.168.11.3?) (86.49.9.117) by smtp.dkm.cz with SMTP; 4 Apr 2008 19:11:27 -0000 Message-ID: <47F67D5F.7030103@users.sf.net> Date: Fri, 04 Apr 2008 21:11:27 +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: Iain Hibbert References: <47ED9AC5.4050505@users.sf.net> <47EF668D.1080003@users.sf.net> <1206904241.480342.891.nullmailer@galant.ukfsn.org> <47F13BAD.9060808@users.sf.net> <1207142908.576787.1033.nullmailer@galant.ukfsn.org> In-Reply-To: <1207142908.576787.1033.nullmailer@galant.ukfsn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org, freebsd-mobile@freebsd.org, Maksim Yevmenkin Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2008 19:11:29 -0000 Iain Hibbert wrote: > On Mon, 31 Mar 2008, mato wrote: > > >> Well, this mouse of mine presents itself exactly as you said ... >> >> Input id=2 size=12 count=1 page=Generic_Desktop usage=X Variable Relative, >> Input id=2 size=12 count=1 page=Generic_Desktop usage=Y Variable Relative, >> > > wow thats a sensitive mouse, 12 bit movements! :) > > Well, I don't know how much is it -- 12 bits across what ? 1 inch ? Anyway, I must say that mouse is quite sensitive and I'd like to adjust it a bit as it's sometimes difficult to control. However, I've no idea how to achieve this. Any suggestions please ? >> Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable >> Input id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable Relative, >> >> What can be done about it ?? >> > > I don't know - bthidd(4) could grow the support for AC_Pan fairly easily > but I don't know how you would get that into the kernel - the mouse_info > structure has no W direction and the ioctl would need to be versioned if > the structure was extended as there was no padding.. > > btw just to make you feel better I should say that sideways scroll does > not always work in applications; eg GThumb considers the extra buttons > to be 'next' and 'prev' instead and sideways scroll just jumps to the next > picture. > > iain > Well, I would expect "better" applications would allow to configure those extra buttons. Anyway, it's a bit shame having these cool buttons with no way to use them. :-( Regards, Martin From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 4 20:10: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 D05F11065671 for ; Fri, 4 Apr 2008 20:10:58 +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 43A138FC1A for ; Fri, 4 Apr 2008 20:10:56 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: (qmail 85356 invoked by uid 0); 4 Apr 2008 20:10:55 -0000 Received: from r5j117.net.upc.cz (HELO ?192.168.11.3?) (86.49.9.117) by smtp.dkm.cz with SMTP; 4 Apr 2008 20:10:55 -0000 Message-ID: <47F68B4F.4080706@users.sf.net> Date: Fri, 04 Apr 2008 22:10:55 +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: Maksim Yevmenkin References: <47ED9AC5.4050505@users.sf.net> <47EF668D.1080003@users.sf.net> <1206904241.480342.891.nullmailer@galant.ukfsn.org> <47F13BAD.9060808@users.sf.net> <1207142908.576787.1033.nullmailer@galant.ukfsn.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org, Iain Hibbert , freebsd-mobile@freebsd.org Subject: Re: Logitech V470 Bluetooth Mouse on FreeBSD ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2008 20:10:58 -0000 Maksim Yevmenkin wrote: > On 4/2/08, Iain Hibbert wrote: > >> On Mon, 31 Mar 2008, mato wrote: >> >>> Input id=2 size=8 count=1 page=Generic_Desktop usage=Wheel Variable >>> Input id=2 size=8 count=1 page=Consumer usage=AC_Pan Variable Relative, >>> What can be done about it ?? >>> >> I don't know - bthidd(4) could grow the support for AC_Pan fairly easily >> but I don't know how you would get that into the kernel - the mouse_info >> structure has no W direction and the ioctl would need to be versioned if >> the structure was extended as there was no padding.. >> > > exactly Iain. parsing hid messages in bthidd(8) and extracting all the > data is trivial. the question is how to feed those data into the > kernel. right now, bthidd(8) uses console ioctl to feed data into the > kernel. as you pointed out, mouse_info structure (specifically > mouse_data union) does not have have w direction. > > >> btw just to make you feel better I should say that sideways scroll does >> not always work in applications; eg GThumb considers the extra buttons >> to be 'next' and 'prev' instead and sideways scroll just jumps to the next >> picture. >> > > i have a wired usb apple mighty mouse here and horizontal scrolling > does not work for me at all. quick look at ums(4) showed that it does > not export w data (it tries to locate both wheel and z axis, however > it does not look for ac_pan axis). > > so, it appears that we need to teach moused(8), sysmouse(4) and mice > drivers about second wheel. it appears to be a somewhat bigger chunk > of work. > > The current situation seems to me not ideal and rather complicated. You said bthidd injects messages directly to kernel. I don't know what the consequences are but I noticed the following ... When I run moused my BT mouse works in console (except double clicks etc.). Unfortunately, because I wanted extra functionality from my Synaptics touchpad I installed x11-drivers/synaptics port which required disabling moused which handled the touchpad as ps/2 mouse. Now synaptics works great in X11 but it doesn't work in console at all and my BT mouse doesn't work in console either. But if I plug in a USB mouse devd runs moused and suddenly my BT mouse works in console too. Funny but very inconvenient, I can tell you. Fortunately I don't work in console that much anymore. With regards, Martin