From owner-freebsd-questions@FreeBSD.ORG Fri Jun 1 22:13:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C8B116A46B for ; Fri, 1 Jun 2007 22:13:48 +0000 (UTC) (envelope-from pfraser@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id CD5EF13C480 for ; Fri, 1 Jun 2007 22:13:47 +0000 (UTC) (envelope-from pfraser@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so708439mue for ; Fri, 01 Jun 2007 15:13:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DsY+mDkmEdN95N9E/x2Or6L5gOtUqEa0talB4caioRzFHUUEr3w+GdKWDEvmnMi28sCe6cs1CgHv/3yFT+ic5LsA7eW9z1ryVFMqL+dEHTrCjU43DQYQtEpLFtITYBzYBZRlZJRw0D+Kdga5+2SYmgUPKxddz1hfSUtAxNOMRhc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LiZ5kupfOoGaFUAe+Lbh385uY89yQj3MK2aPk30Ze2ypDPF6xfwcFUnsfbYfxGzo4RVfxCf4TJf4G087IrX4h2Ol7GDSs+4cBHSXMPC6Se3GzgKTPCneSowCFl47HtQgcnY15UW8otSDuMyNQSQwg4R4RlolczaY+Pz4+mYoa+o= Received: by 10.82.100.1 with SMTP id x1mr2742321bub.1180736025606; Fri, 01 Jun 2007 15:13:45 -0700 (PDT) Received: by 10.82.191.11 with HTTP; Fri, 1 Jun 2007 15:13:45 -0700 (PDT) Message-ID: Date: Sat, 2 Jun 2007 08:13:45 +1000 From: "Paul Fraser" To: "FreeBSD-Questions Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: /dev/psm0 and Xorg woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 22:13:48 -0000 Hi all, I've got an interesting problem which only just appeared today on my 6-STABLE laptop. Upon boot, gdm fails to load with the following error: gdm[874]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0 gdm[961]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0 gdm[965]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0 gdm[871]: Failed to start X server several times in a short time period; disabling display :0 Looking at the end of Xorg.0.log seems to indicate this is a problem with the Synaptics Touchpad on the notebook (/dev/psm0): (**) Option "CorePointer" (**) Synaptics Touchpad: Core Pointer (WW) : No Device specified, looking for one... (II) : Setting Device option to "/dev/psm0" (--) : Device: "/dev/psm0" (==) : Protocol: "Auto" (**) Option "AlwaysCore" (**) : always reports core events (==) : Emulate3Buttons, Emulate3Timeout: 50 (**) : ZAxisMapping: buttons 4 and 5 (**) : Buttons: 9 (II) XINPUT: Adding extended input device "" (type: MOUSE) (II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: MOUSE) (II) XINPUT: Adding extended input device "Acer TravelMate 4230 Integrated Keyboard" (type: KEYBOARD) Synaptics DeviceInit called SynapticsCtrl called. Synaptics DeviceOn called (--) Synaptics Touchpad synaptics touchpad found (--) Synaptics Touchpad, model: 0 (--) Firmware: 6.2 (--) Sensor: 18 (--) new absolute packet format (--) Touchpad has extended capability bits (--) -> multifinger detection (--) -> palm detection (WW) fcntl(21, O_ASYNC): Inappropriate ioctl for device (EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy. (WW) : cannot open input device Fatal server error: Caught signal 11. Server aborting I do have hw.psm.synaptics_support=1 defined in /boot/loader.conf, and the kernel does identify it as a touchpad on boot: psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Synaptics Touchpad, device ID 0 Trying to do cat /dev/psm0 gives me the following error: cat: /dev/psm0: Resource temporarily unavailable To me (though I'd hardly say I'm qualified to say for sure) this seems to be the cause of the problem. I'm not running moused on this system, so there shouldn't be anything locking the device. Does anybody have any suggestions? It's quite frustrating, suddenly being unable to use Xorg on my notebook when it was working perfectly well just yesterday. But darned if I can think of what changes I made... FWIW, the touchpad does work fine under Windows. -- Regards, Paul Fraser http://furyc0de.net/