LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 06-25-2008, 05:32 AM   #1
kessaris
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
Accessing a hardware device based on hwinfo output (Yet another ps/2 mouse issue)


Hello all,

I've been searching the linux and ubuntu forums for a remedy to my otherwise functional touchpad not being correctly configured in my installation of Hardy Heron *Kernel 2.6 ps/2 mouse problem*.

There is a related thread here: http://www.linuxquestions.org/questi...ighlight=mouse

In this case, however, hwinfo has managed to find the device in question. The issue at stake is how to connect the device to a driver and configure it for use in xorg!

The details:

Here is the device's entry from hwinfo:

Code:
53: udi = '/org/freedesktop/Hal/devices/pnp_PNP0f03'
  linux.sysfs_path = '/sys/devices/pnp0/00:01'
  info.subsystem = 'pnp'
  info.parent = '/org/freedesktop/Hal/devices/computer'
  info.product = 'Microsoft PS/2-style Mouse'
  info.udi = '/org/freedesktop/Hal/devices/pnp_PNP0f03'
  info.linux.driver = 'i8042 aux'
  linux.hotplug_type = 2 (0x2)
  pnp.id = 'PNP0f03'
  linux.subsystem = 'pnp'
  pnp.description = 'Microsoft PS/2-style Mouse'
It's like a ps/2 conglomeration of the mouse and keyboard in a sharp laptop.

Here is the device that seems to be currently installed, it appears to be a placeholder that does nothing:

Code:
  16: udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_0'
  input.device = '/dev/input/event0'
  input.product = 'Macintosh mouse button emulation'
  linux.sysfs_path = '/sys/devices/virtual/input/input0/event0'
  info.parent = '/org/freedesktop/Hal/devices/computer'
  info.product = 'Macintosh mouse button emulation'
  info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_0'
  info.category = 'input'
  linux.hotplug_type = 2 (0x2)
  info.capabilities = { 'input', 'input.mouse' }
  linux.subsystem = 'input'
  linux.device_file = '/dev/input/event0'
The question is, how would one access the real mouse? For example add it to thhe /dev/input/event filesystem or better yet connect it to /dev/psaux????

I wish I knew enough about linux to know where to search for this answer.

I suspect this is the answer to a lot of people's problems, so I've started this thread with the hope of solving at least a subset of the issues people are having with ps/2 mice under kernel 2.6

Just a few other relevant bits of information:

Ubuntu Hardy Heron
2.6.24-19-generic kernel
sharp pc-xv70g laptop with what appears to be a non-synaptics touchpad recognized as an i8042 ps/2 style mouse as indicated above.

All help is appreciated on this one.

Much obliged!

Alexandros
 
Old 06-26-2008, 03:35 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,151

Rep: Reputation: 51
I have many times had to go into my dev directory and rm mouse, then ln -s psaux mouse.
then checking my /etc/X11/xorg.conf to make sure the references were the same in the mouse section.

Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
# Mouse-speed setting for PS/2 mouse.
Option "Resolution" "128"


this is for sort of typical pc hardware though.

Last edited by whansard; 06-26-2008 at 03:37 PM.
 
Old 06-26-2008, 06:56 PM   #3
kessaris
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you very much for your reply.
It's unbelievable that these kinds of problems are happening in this day and age.
The smallest problem is also the most vexing.

In any event, this problem is a little more sinister than just linking the /dev/psaux to the mouse device.

Unfortunately, the mouse device, although it exists in hwinfo and is clearly visible in the /sys filesystem, is not presesnt in the /dev filesystem that I could see.

Since your message, however, I have managed to solve the problem. It is a case of unfudging the i8042 controller in the kernel parameters at boot time.

I had tried every suggestion but the one that finally worked was adding the parameters i8042.nomux=1 and i8042.noloop=1. It was the noloop that did the trick in the end. I'm not sure what looping is and why it's undesirable.

The thing, especially with laptops is that it's a blackbox testing scenario. At least in this case we managed to sort it out.

Now! If I could only get the memory stick slot working and learn finally if there is no wireless card or if I'm just not detecting one!

Apart from that, Ubuntu is the best O/s I've used. To be honest I prefer it to Leopard, apart from a few refinements in leopard like Exposé.. which I suspect might be available on linux with the right packages!

Thank you very much, however, again for your suggestion!
 
  


Reply

Tags
driver, i8042, ps2, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hwinfo??? wongmoxy Mandriva 7 04-20-2007 02:03 AM
Showing Device Status as Unknown Device for all hardware ganesh_g1982 Linux - Hardware 1 12-02-2006 02:13 PM
accessing OWA thru iptables-based firewall WindowBreaker Linux - Security 1 12-20-2005 03:39 AM
no video output after multiple clean installs (hardware conflict issue?) mentaltofu Ubuntu 6 12-12-2005 01:20 AM
Hardware Inventory - hwinfo - All Distros codegomer Linux - General 4 03-02-2004 06:21 PM


All times are GMT -5. The time now is 06:37 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration