Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
my new HP pavillion came with a wireless mouse and keyboard combo that both go through the one cordless receiver. this receiver has one usb plug only. both these devices work fine in winXP. linux recognises the keyboard and mouse as seperate devices and the keyboard works fine 100%. my problem is that the mouse buttons won't work. the mouse pointer can be moved around and the wheel works, but no buttons. if i type the following:
cat /dev/input/mice
and then move the mouse around i get data on the screen. but if i press the buttons i get nothing. the interesting this is that when i am in console mode (ie. not in X), mouse clicks generate the following message:
keyboard.c: can't emulate rawmode for keycode 284
where '284' varies depending which button i press, whether its a mousedown or mouseup event, etc.
so it seems to me that linux thinks that these mouse clicks are events coming from the keyboard that are from extra keys that aren't assigned to functions (like the volume and cd controls that come with these branded keyboards these days). so this seems promising to me...perhaps if i knew more about the kernel i could change some code to get it to work- perhaps fool it into treating these 'keyboard events' as mouse clicks or something...?
the following lines are what's relevant from 'lsmod':
Did you ever resolve this issue? I am having very similar problems with a mouse/keypad wireless combo by Targus on FC1. The keypad works fine and the movement of the mouse works fine. But, the bttons on the mouse seem to have no effect.
When I cat /dev/input/mice (or mouse0 to isolate it), I see the movement but no signs of the buttons working.
I have the same problem under SUN's new Java Desktop. For a temp fix I have set the mouse as left handed so that I can click and select things with the right mouse button. The scroll wheel works but the left mouse button does nothing. When i was running mandrake I never had a problem.
I have a recently purchased HP Pavilion T638 with the same configuration (kbrd/mouse) as the initial poster (lubond) reported. The keyboard works peffoectly under windows Xp and Linux RH9 but the mouse behaviour is weird. Movement works fine and the scrollwheel works with Gnome and KDE desktops/window managers but button presses are ignored. Something happens - i can hear the HDD working when I click the buttons and the activity light on the wireless TX/RX unit flashes.
I've tried a couple of different mouse protocols in the XF86Config file but all I managed to do was disable the scrollwheel on one occasion. The boot sequence for Linux indicates that it's finding the HID device on the USB but from then on the buttons refuse to function.
Any ideas?
moving the wifi mouse out of range and plugging a M'soft optical whelle mouse into the uSB port works immediately.
I am having the same problem using a Targus PAWM004 Wireless optical mouse.
It also shows movement and scrollwheel activity when using 'cat /dev/input/mice' , but no buttons. I believe the problem arises from the receiver being able to handle a keyboard and a mouse at the same time. I think it is waiting for input from the keyboard and not seeing the mouse for what it is.
I am using Slackware (updated against the current tree), and when I edit '/etc/rc.d/rc.gpm' and add the -M command,
"-M Enable multiple mode. The daemon will read two different mouse devices. Any subse_
quent option will refer to the second device, while any preceding option will be used
for the first device. This option automatically forces the repeater (`-R') option on."
then the mouse moves, and the buttons work, but behave erratic. It cuts and pastes and highlights at random. I do not have it working right yet, but If I get it fixed I will post a follow up here. I hope this information helps out.
on [external] mouse clicks (272=left, 274=middle, 273=right). They started when I attached a USB-PS2 adapter to my USB port so I could use a PS2 keyboard and mouse. I have a simple compaq 105 key keyboard and microsoft wheel mouse. Before that I had a USB wheel mouse (broken wheel) and used the laptop keyboard.
The mouse works fine so it seems these events are just getting mistakingly passed to the keyboard driver too?
I have an HP Pavilion a545c with the cordless mouse and keyboard and I have a similar problem with the mouse button not working. This is using the Knoppix distribution of linux, has anybody resolved this issue yet? When I enable the wheel mouse option the wheel-mouse works. It is just the buttons I can't use.
For those of you who have had problems with a Targus PAWM004, I've run into an interesting document to help fix those keycodes. Apparently, the usage-code in input/input.c is the same for all three keypresses on this mouse, so the usb driver ignores them.
I've put together a patchfile for the 2.6.10 kernel, if anybody is interested. Have fun!
E-Mail me at jfryman (at) gmail (dot) com if you're in need of help.
I have installed targus mouse pawm004 in linux successfully, following the instructions in 12369.ph.p0k.info/. BE CAREFUL, YOU MUST RECOMPILE YOUR KERNEL SO YOU SHOULD BE WITH SOMEONE WHO CAN DO IT
first of all, you have to download kernel sources of your kernel version. You should find hid-core.c into them and add the following lines in hid_process_event:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.