Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse like USB device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
scottt
n00b
n00b


Joined: 05 Jun 2007
Posts: 29

PostPosted: Wed May 25, 2011 12:57 pm    Post subject: Mouse like USB device Reply with quote

Hello,

I am having a mouse like device - a "power point" remote control which I like to get working.

The device has only 4 buttons, probably: forward, backward, play, menu.

Here the dmesg output when I connect it:

Code:
    [ 7689.660019] usb 3-6: new low speed USB device using ohci_hcd and address 10
    [ 7689.908037] input: HID-compliant Mouse HID-compliant Mouse as /devices/pci0000:00/0000:00:02.0/usb3/3-6/3-6:1.0/input/input11
    [ 7689.908184] generic-usb 0003:1223:3F07.0009: input,hidraw0: USB HID v1.10 Keyboard [HID-compliant Mouse HID-compliant Mouse] on usb-0000:00:02.0-6/input0


Looks like bluetooth device there?! In the manual it states that it uses "advanced radio frequency" (RF).

I can not connect the device via the bluetooth manager, nor does

Code:
    hidd --search


or

Code:
    hcitool -scan
[/code]

deliver any results.

I dont know the brand as it's a corporate gift and I can't find a company/model name anywhere.
But thats the one I am talking about:
http://www.alibaba.com/product-gs/337398841/USB_PowerPoint_Remote.html

Any idea how I get this device to work?

Thanks,

Scott
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43599
Location: 56N 3W

PostPosted: Wed May 25, 2011 5:02 pm    Post subject: Reply with quote

scottt,

Are you using Gentoo or Mint?

Regardless of the radio link type, its not seem by the kernel as a bluetooth device.
Code:
[ 7689.908037] input: HID-compliant Mouse HID-compliant Mouse
as far as the kernel cares, its a mouse.

Unplug the device and look in /dev/input/ count your event interfaces. Now plug it in and count them again. There should be more.
If so, the kernel has picked up up correctly.

With the device plugged in, restart Xorg and test. It probably won't work. Pastebin the /var/log/Xorg.0.log
wgetpaste is your friend.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2531
Location: Canada

PostPosted: Wed May 25, 2011 5:26 pm    Post subject: Reply with quote

It has an adapter you plug-in into USB port ?

In all probability it is not bluetooth, and it is just seen as an ordinary USB mouse, as wireless (but not bluethooth) mice are supposed to.
Back to top
View user's profile Send private message
scottt
n00b
n00b


Joined: 05 Jun 2007
Posts: 29

PostPosted: Sun May 29, 2011 6:14 pm    Post subject: Reply with quote

Hello,

I get two more entries in /dev/input, once I plugged the device in.

Here the pastebin after plugging the device in and restarting X:
http://pastebin.com/BZgaReUJ

Yes, it is a USB adapter and yes, at the moment I am using mint.

Any suggestions?

Thanks again for your help!

Scott
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43599
Location: 56N 3W

PostPosted: Sun May 29, 2011 8:43 pm    Post subject: Reply with quote

scottt,

Those new event devices are the kernel exporting your device to userland.

I'm not sure if Xorg is seeing the device as a mouse or a keyboard. It would be useful to have an Xorg log when Xorg was started without the device attached and another when Xorg was stated with the device attached.

Once you know if its a mouse or keyboard, you can write a Section "InputClass" for it.

Also, moving this thread to unsupported software as the question is related to Mint, not Gentoo.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43599
Location: 56N 3W

PostPosted: Sun May 29, 2011 8:43 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Unsupported Software.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2531
Location: Canada

PostPosted: Mon May 30, 2011 2:52 pm    Post subject: Reply with quote

Most probably, the device looks like a keyboard rather than mouse to the system (all these remote controls usually do). Then to make it work (if it does not out of the box) one needs to check that it generates appropriate keycodes when buttons are pressed and that your DE / X configuration maps these keycodes to appropriate actions. if you do not see any reaction, run xev or friends to display generated keycodes. Usually remote controls have generated keycodes hardcoded (or pehaps have PC/MAC switch which changes then between suitable for powerpoint and mac software)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
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