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.
Now that you have run hidd --connect once, you should not need to do
it ever again; hidd and your mouse should automatically connect when you
waggle your mouse.
But this is my problem, I have to run hidd --connect at each startup. without this, I can waggle my mouse as much as I want but he doesn't connect automatically.
With
Code:
ps -A | grep hidd
he finds nothing.
With hidd --show he doesn't show at startup a connection, but after i have run hidd --connect, he shows:
Anyway, this is the place to continue your bug search.
Your problem is clearly that the hidd server has NOT
started; you will have to find out why---perhaps by looking
in your system log.
A few possibly interesting points from my log:
Code:
kernel: usbcore: registered new driver hiddev
kernel: usbcore: registered new driver usbhid
kernel: drivers/usb/input/hid-core.c: v2.01:USB HID core driver
hidd[1813]: Bluetooth HID daemon
hidd[1813]: New HID device 00:07:61:07:19:22 (Logitech Bluetooth Mouse)
/etc/modprobe.conf contains
Code:
alias net-pf-31 bluetooth
When you have run hidd --server, running ps -A | grep hidd
should produce something like
The problem was exactly as you stated. The man page says that you have to have "--" infront of your hidd option. So I followed your directions to the tee.
hidd --search
hidd --connnect device<hex>
Hit the pair botton on the bottom of my mouse.
Originally posted by lmcilwain hidd --search
hidd --connnect device<hex>
Hit the pair botton on the bottom of my mouse.
Just for the record: You should only need one of the above
commands; the top one searches for your mouse and connects
it, while you manually indicate the BT address to connect in
the bottom one.
And now you should never need them again! Just make sure
hidd --server is started, and waggle your mouse.
Hmmm...it seems as if the hid kernel modules haven't been
loaded. Strange. I am running FC4 kernel 2.6.12 which apparently
has them built into the kernel. Perhaps you should do a 'locate hiddev'
or similar.
Despite my mouse working I find that my mouse is also not reconnecting and I need to reconnect after a long period of not being used or on bootup. I actually have to manually reconnect each time I want to use it after not using it for a bit of time. I created a script that helps me to do this a little faster but its still annoying. I am going to back track through this particular thread and see if I can find some other things that may help.
locate hiddev
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
warning: Please make sure the daily cron job is enabled in /etc/updatedb.conf
/sys/bus/usb/drivers/hiddev
/usr/libexec/hald-probe-hiddev
/usr/src/kernels/2.6.11-1.1369_FC4-i686/include/linux/hiddev.h
/usr/src/kernels/2.6.11-1.1369_FC4-i686/include/config/usb/hiddev.h
/usr/include/linux/hiddev.h
This doesn't make a change.
My computer also disconnects after a long period, my problem is the same as lmcilwain's
Originally posted by laurentwahl with locate hiddev, I receive the message:...
I'm sorry I was being rather vague. When I said "...or similar"
I intended that you yourself would think of relevant things to look
for. Relevant things might be hid.ko or hid-core or usbhid or...
As I said, your problem seems to be that the hidd server does
not start (or perhaps crashes immediately), because running
Originally posted by laurentwahl When I run hidd --server as root, is works.
I added this now to my /etc/rc.d/rc.local file.
Perhaps it would be better to do this in /etc/init.d/hidd,
a file which I believe you have. Then enable hidd at the runlevel
you are running -- this can typically be done using some gui
runlevel editor (e.g., Server Settings->Services in Gnome).
By the way, could you please tell me whether you see any
difference in your log file when running hidd as root and as non-root?
Originally posted by laurentwahl I don't know how to enable hidd at the runlevel I'm running.
If you're running Gnome, you can find it in Desktop->System Settings->Server Settings->Services. I guess KDE has something similar.
Quote:
As normal user, my log file:
Jul 28 21:58:05 localhost hidd[3174]: HID create error 13 (Permission denied)
Interesting. Do you happen to remember my post#11 (19 posts ago), where I suggested you monitored your /var/log/messages when debugging? This can be done by
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.