View previous topic :: View next topic |
Author |
Message |
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Thu Aug 03, 2006 11:25 pm Post subject: [SOLVED] configuring my mouses. |
|
|
I'm having some problems, I'm running two X'es simultaniusly (one twinview on two monitors, one for the tv, that's two display adapters). The one for the tv is running completely seperate. Now the problem, I want to use my cellphone to control the tv, and my mouse to control my main system.
If I set the input device for the tv to /dev/input/mice, I get both my mouse and my cellphone controlling the tv. Normally I'd use evdev, set the device to /dev/input/mice and dev phys to whatever it needs to be, but for the cellphone:
Code: |
I: Bus=0005 Vendor=0000 Product=c002 Version=0001
N: Name="Bluetooth HID Boot Protocol Device"
P: Phys=
S: Sysfs=/class/input/input7
H: Handlers=kbd mouse1 event3
B: EV=7
B: KEY=1f0000 7 ff87207ac14057ff febeffdfffefffff fffffffffffffffe
B: REL=103
|
phys = ""
I tried setting the evdev to device /dev/input/event3, but that doesn't work, as event3 doesn't exist until the cellphone is connected.
Any suggestions on how to solve this?
Last edited by neuron on Fri Aug 04, 2006 12:57 am; edited 1 time in total |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Thu Aug 03, 2006 11:59 pm Post subject: |
|
|
just realized I can use "dev name" as a key in evdev.
but, every time I start evdev, no matter which device etc, I get this:
Code: |
(EE) ioctl EVIOCGBIT failed: Inappropriate ioctl for device
|
any suggestions on how to fix that? evdev is enabled in my kernel, this is the evdev enabled cellphone entry I use in X:
Code: |
Section "InputDevice"
Identifier "Cellphone"
Driver "evdev"
Option "Device" "/dev/input/mice"
Option "Dev Name" "Bluetooth HID Boot Protocol Device"
EndSection
|
//EDIT, updated evdev and it doesn't crash now. Still doesn't work, not quite sure why, but atleast it doesn't crash.
//EDIT2, solved it using:
Code: |
Section "InputDevice"
Identifier "Cellphone"
Option "CorePointer"
Driver "evdev"
Option "Name" "Bluetooth HID Boot Protocol Device"
EndSection
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|