Re: /dev/psm0 and Xorg woes

2007-06-01 Thread Daniel Molina Wegener
El Vie, 1 de Junio de 2007, 18:13, Paul Fraser escribió:
 Hi all,

  Hello,


 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:

 [SNIP]

 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: PS/2 Mouse 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...

  Try to check if moused is running. If is running, check if /dev/sysmouse
is present.

  If moused is running, set mouse device in Xorg to /dev/sysmouse.

  Also, moused is a better option on Xorg.


 FWIW, the touchpad does work fine under Windows.

 --
 Regards,

 Paul Fraser
 http://furyc0de.net/
 [SNIP]


Regards,
-- 
 .O. | Daniel Molina Wegener   | C/C++ Developer
 ..O | dmw [at] unete [dot] cl | FOSS Coding Adict
 OOO | BSD  Linux User| Standards Rocks!


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/psm0 and Xorg woes

2007-06-01 Thread Paul Fraser

On 6/2/07, Daniel Molina Wegener [EMAIL PROTECTED] wrote:

  Yes... why shouldn't work?

  Try, and comment me the results. With moused you will have a mouse
pointer in the console. Sometimes is usefull...


Thanks for the help, Daniel. Now I do have a functioning mouse cursor
and Xorg does indeed start, but the Synaptics driver won't load. I'm
guessing because the touchpad is filtered via /dev/sysmouse and it
can't pick up what it needs to run correctly.

Now I get the following if I try and use the synaptics driver in Xorg:

(EE) Synaptics Touchpad no synaptics touchpad detected and no repeater device
(EE) Synaptics Touchpad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device Synaptics Touchpad

Then Xorg fails to start with the errors I mentioned earlier.

For the moment I've reverted to the generic mouse driver - at least I
can get to X, although the touchpad is still lacking all its wonderful
goodies which made it a pleasure to use (scrolling, etc).

(Also sending back to the list as I've got an annoying habit of
hitting reply, instead of reply all)

--
Regards,

Paul Fraser
http://furyc0de.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: /dev/psm0

2003-07-28 Thread DJ Landreneau
As the original poster of this thread I feel compelled to provide some more
information.

I am running FreeBSD 5.0 that I obtained through the FreeBSD Unleased book I
purchased from Barnes  Noble.

Here is a numerated list of more:

1. Sony VAIO PCG-GRX550 laptop.
2. 40gb hard drive
3. 512mb RAM.
4. The video adapter is a Mobility Raadeon 7500 with 32mb of video memory.

When I boot up FreeBSD and do ls -al on the /dev directory I do have
busmouse or psm0 in the directory. Someone in an earlier reply to my post
said this means that I do not have psm0 support in my kernel.

Therefore, I am in the process of researching building a custom kernel that
will include support for the PS/2 mouse.

I must admit that I am rather surprised that an advanced OS such as FreeBSD
does not include support for PS/2 in its generic configuration.

DJ

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nicolas Galler
Sent: Sunday, July 27, 2003 9:50 PM
To: [EMAIL PROTECTED]
Subject: Re: /dev/psm0


On Sun, Jul 27, 2003 at 06:25:59PM -0700, Charlie Schluting wrote:
   On Sun, Jul 27, 2003 at 08:52:39AM -0400, DJ Landreneau wrote:
I am running 5.0 that came with FreeBSD Unleashed by Sams.
   
Can you point me into the correct direction for enabling kernel
support for
psm0?
  
   Read the chapter in the handbook about kernel configuration, and take
   it from there.
  
   Kris
 
  I am sure the psm device is built in the generic kernel though.
 
  Nick


 Then... your original question was answered.. by yourself.

 I don't know what you are trying to ask.


I guess the original question should have been, why isnt the touchpad
working
with the psm support included in the generic kernel, I would be hard pressed
to help since I have never used fbsd on a laptop - I was just pointing out
that including psm support in the kernel is probably not going to be enough
since it is already there.

I am not the original poster, by the way, though I would be interested in
the
answer as well.

Nick
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/psm0

2003-07-28 Thread Benjamin Walkenhorst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, 28. July 2003 13:40, DJ Landreneau wrote:
 As the original poster of this thread I feel compelled to provide some more
 information.

 I am running FreeBSD 5.0 that I obtained through the FreeBSD Unleased book
 I purchased from Barnes  Noble.

 When I boot up FreeBSD and do ls -al on the /dev directory I do have
 busmouse or psm0 in the directory. Someone in an earlier reply to my post
 said this means that I do not have psm0 support in my kernel.

I take it you wanted to say I do *NOT* have busmouse or psm0. 
FreeBSD 5.x uses devfs, i.e. it creates device nodes automatically for 
device-drivers present in the kernel. So if there is no /dev/psm0 this should 
mean that there is no PS/2-Mouse-Support present in the kernel.


 Therefore, I am in the process of researching building a custom kernel that
 will include support for the PS/2 mouse.

If you haven't done so already, check the handbook 
(/usr/share/doc/language/books/handbook).
You should also check /usr/src/sys/i386/conf/GENERIC and build your custom 
kernel file from that. Copy GENERIC to a new filename and edit, remove all 
the stuff you don't need (SCSI, probably, among others), add stuff you do 
need... 


 I must admit that I am rather surprised that an advanced OS such as FreeBSD
 does not include support for PS/2 in its generic configuration.

I use FreeBSD 5.0 with a PS/2 mouse on my machine, and the mouse worked 
happily from the first moment on. I don't think this is a problem with the 
PS/2-driver.
I understand there is a website on using FreeBSD on laptops. Maybe you should 
google for that, and maybe ask Sony, as well, if they have some experience 
regarding FreeBSD (or some other BSD) on the model you are using. 
There also was a website about using UNIX and UNIX-like systems on laptops, 
www.mobilix.org; unfortunately, the website is not available due to copyright 
reasons, but there is an eMail-link to the site's owner. Maybe he can give 
you a hint, as well. 

Kind regards,

Benjamin

- -- 
Benjamin Walkenhorst
eMail: [EMAIL PROTECTED]
homepage: http://www.krylon.de
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE/JREKoYumWdMvhMQRAunFAJ9LXCPaJ0F+Rf1AcNUztsskWf3vfQCfRaCB
a0R0tpY1i2D4k56PiirG5IU=
=bZSL
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/psm0

2003-07-28 Thread LLeweLLyn Reese
Benjamin Walkenhorst [EMAIL PROTECTED] writes:

 On Monday, 28. July 2003 13:40, DJ Landreneau wrote:
  As the original poster of this thread I feel compelled to provide some more
  information.
 
  I am running FreeBSD 5.0 that I obtained through the FreeBSD Unleased book
  I purchased from Barnes  Noble.
 
  When I boot up FreeBSD and do ls -al on the /dev directory I do have
  busmouse or psm0 in the directory. Someone in an earlier reply to my post
  said this means that I do not have psm0 support in my kernel.
 
 I take it you wanted to say I do *NOT* have busmouse or psm0. 
 FreeBSD 5.x uses devfs, i.e. it creates device nodes automatically for 
 device-drivers present in the kernel. So if there is no /dev/psm0 this should 
 mean that there is no PS/2-Mouse-Support present in the kernel.
[snip]

What if the PS/2-Mouse-Support in the kernel failed to detect a ps/2
mouse? Wouldn't that result in no /deve/psm0, even with
PS/2-Mouse-Support in the kernel?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/psm0

2003-07-28 Thread LLeweLLyn Reese
DJ Landreneau [EMAIL PROTECTED] writes:

 As the original poster of this thread I feel compelled to provide some more
 information.
 
 I am running FreeBSD 5.0 that I obtained through the FreeBSD Unleased book I
 purchased from Barnes  Noble.
 
 Here is a numerated list of more:
 
 1. Sony VAIO PCG-GRX550 laptop.

There is some info about FreeBSD on laptops here:
http://www.cse.ucsc.edu/~dkulp/fbsd/laptop.html
I do not see the PCG-GRX550 listed, but several other vaio PCGs are
listed, maybe one is sufficiently similar.

 2. 40gb hard drive
 3. 512mb RAM.
 4. The video adapter is a Mobility Raadeon 7500 with 32mb of video memory.
 
 When I boot up FreeBSD and do ls -al on the /dev directory I do have
 busmouse or psm0 in the directory. Someone in an earlier reply to my post
 said this means that I do not have psm0 support in my kernel.
 
 Therefore, I am in the process of researching building a custom kernel that
 will include support for the PS/2 mouse.
 
 I must admit that I am rather surprised that an advanced OS such as FreeBSD
 does not include support for PS/2 in its generic configuration.

well the ps/2 trackpad on my dell inspirion 5000 laptop works
great. (Only problem is haven't figured out how to disable the
tap-to-click misfeature.)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/psm0

2003-07-27 Thread Kris Kennaway
On Sun, Jul 27, 2003 at 01:45:46AM -0400, DJ Landreneau wrote:
 I recently installed fbsd on my Sony Vaio. I am unable to get my trackpad
 mouse to work under X. I noticed that the device psm0 is not on the system
 under /dev.

You didn't mention which version you're running, but if you're running
4.x that means that you either haven't built the device (see
/etc/MAKEDEV) and also may not have kernel support for the psm device,
and under 5.x that you don't have kernel support for the psm device.

Kris


pgp0.pgp
Description: PGP signature


RE: /dev/psm0

2003-07-27 Thread DJ Landreneau
I am running 5.0 that came with FreeBSD Unleashed by Sams.

Can you point me into the correct direction for enabling kernel support for
psm0?

DJ

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kris Kennaway
Sent: Sunday, July 27, 2003 5:10 AM
To: DJ Landreneau
Cc: [EMAIL PROTECTED]
Subject: Re: /dev/psm0


On Sun, Jul 27, 2003 at 01:45:46AM -0400, DJ Landreneau wrote:
 I recently installed fbsd on my Sony Vaio. I am unable to get my trackpad
 mouse to work under X. I noticed that the device psm0 is not on the system
 under /dev.

You didn't mention which version you're running, but if you're running
4.x that means that you either haven't built the device (see
/etc/MAKEDEV) and also may not have kernel support for the psm device,
and under 5.x that you don't have kernel support for the psm device.

Kris

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/psm0

2003-07-27 Thread Nicolas Galler
On Sun, Jul 27, 2003 at 04:31:59PM -0700, Kris Kennaway wrote:
 On Sun, Jul 27, 2003 at 08:52:39AM -0400, DJ Landreneau wrote:
  I am running 5.0 that came with FreeBSD Unleashed by Sams.
  
  Can you point me into the correct direction for enabling kernel support for
  psm0?
 
 Read the chapter in the handbook about kernel configuration, and take
 it from there.
 
 Kris

I am sure the psm device is built in the generic kernel though.

Nick

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/psm0

2003-07-27 Thread Charlie Schluting
  On Sun, Jul 27, 2003 at 08:52:39AM -0400, DJ Landreneau wrote:
   I am running 5.0 that came with FreeBSD Unleashed by Sams.
  
   Can you point me into the correct direction for enabling kernel support for
   psm0?
 
  Read the chapter in the handbook about kernel configuration, and take
  it from there.
 
  Kris

 I am sure the psm device is built in the generic kernel though.

 Nick


Then... your original question was answered.. by yourself.

I don't know what you are trying to ask.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /dev/psm0

2003-07-27 Thread Nicolas Galler
On Sun, Jul 27, 2003 at 06:25:59PM -0700, Charlie Schluting wrote:
   On Sun, Jul 27, 2003 at 08:52:39AM -0400, DJ Landreneau wrote:
I am running 5.0 that came with FreeBSD Unleashed by Sams.
   
Can you point me into the correct direction for enabling kernel support for
psm0?
  
   Read the chapter in the handbook about kernel configuration, and take
   it from there.
  
   Kris
 
  I am sure the psm device is built in the generic kernel though.
 
  Nick
 
 
 Then... your original question was answered.. by yourself.
 
 I don't know what you are trying to ask.
 

I guess the original question should have been, why isnt the touchpad working
with the psm support included in the generic kernel, I would be hard pressed
to help since I have never used fbsd on a laptop - I was just pointing out
that including psm support in the kernel is probably not going to be enough
since it is already there.

I am not the original poster, by the way, though I would be interested in the
answer as well.

Nick
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]