Author Topic: How Do I Connect My Bluetooth Mouse?  (Read 7127 times)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #15 on: September 12, 2006, 07:52:41 am »
Quote
Unfortunately you need newer kernel modules to enable the HID support. I've just spent a day building and packaging bluez and So Many Rotten Dependencies (10+ ipks so far!) just to get obexftpd compiled, and it's still not enough for HID. I'm not set up to compile the modules... yet.

There are bluez 2.18 ipk's (which don't need the insane dependency updates but will support HID once the kernel modules are available) at http://justnews.ru/zaurus/ - but they don't currently include the startup scripts. I might repackage them to fix that if/when I get updated modules built.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141182\"][{POST_SNAPBACK}][/a][/div]

Please fix the modules and repackage them!
« Last Edit: September 12, 2006, 07:54:32 am by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #16 on: September 12, 2006, 12:06:47 pm »
Quote
Please fix the modules and repackage them!
Here you are:
https://www.oesf.org/forums/index.php?showt...33&#entry141233
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #17 on: September 12, 2006, 03:07:37 pm »
Thanks!!! I have hidd now, but my bluetooth card isn't recognized. I replaced my bt-uart.conf file and my bluetooth.conf from here:

https://www.oesf.org/forums/index.php?showtopic=21303

but it gives me an error when I try to restart bluetooth:

#/etc/rc.d/int.d/bluetooth restart
Shutting down Bluetooth:
Starting Bluetooth: /etc/rc.d/init.d/bluetooth: line 36: /etc/rc.d/init.d/create_dev: No such file or directory

It looks like there is a file missing that I need. Can you supply it?

Thanks for your help!!!
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #18 on: September 12, 2006, 04:03:03 pm »
Quote
Thanks!!! I have hidd now, but my bluetooth card isn't recognized. I replaced my bt-uart.conf file and my bluetooth.conf from here:
OK in /etc/pcmcia/bluetooth there is a reference to /etc/bluetooth/bt-uart.conf, and in /etc/rc.d/init.d/bluetooth there is a reference to /etc/bluetooth/uart, I'm wondering whether they should both be referring to /etc/bluetooth/bt-uart.conf. I don't have a CF-BT card so I can't test/don't care.

Quote
Starting Bluetooth: /etc/rc.d/init.d/bluetooth: line 36: /etc/rc.d/init.d/create_dev: No such file or directory

It looks like there is a file missing that I need. Can you supply it?
Sorry about that, you can grab that file from the bluez-utils package in the official feeds. I will repackage my package tomorrow to include it, and also fix bt-uart.conf above if indeed it is a problem.
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #19 on: September 12, 2006, 07:35:42 pm »
While my card is still recognized as "serial or modem", it does work. I can use "hcitool scan" and find my mouse, but "hidd --connect..." doesn't work. It gives me an error saying "Can't open HIDP control socket: No such file or directory". Not being a bluetooth expert, I have no idea how to fix this. It looks like I need another file. All of the other stuff works great! Thank you for helping me out!
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #20 on: September 12, 2006, 11:40:03 pm »
Quote
While my card is still recognized as "serial or modem", it does work. I can use "hcitool scan" and find my mouse, but "hidd --connect..." doesn't work. It gives me an error saying "Can't open HIDP control socket: No such file or directory". Not being a bluetooth expert, I have no idea how to fix this. It looks like I need another file. All of the other stuff works great! Thank you for helping me out!
In  /etc/rc.d/init.d/bluetooth there is this (like I said above)
Code: [Select]
UART_CONF="/etc/bluetooth/uart"

start_uarts()
{
        [ -f /sbin/hciattach -a -f $UART_CONF ] || return
        grep -v '^#' $UART_CONF | while read i; do
                /sbin/hciattach $i
        done
}
Now there is no /etc/bluetooth/uart (that file is not in any of the packages), maybe it's a typo/bug and it should really be /etc/bluetooth/bt-uart.conf (which does exist). Let me know if changing it works and I'll update the package.
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #21 on: September 13, 2006, 01:05:55 am »
Try this before starting bluetooth:

Code: [Select]
modprobe hidp
Looks like the hid kernel module is there after all (whew)
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #22 on: September 13, 2006, 07:49:46 am »
Changing that didn't seem to do anything. #modprobe hipd returns "modprobe: Can't locate module hidp"

Is there anything else I can try?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #23 on: September 13, 2006, 08:00:20 am »
Quote
Changing that didn't seem to do anything. #modprobe hipd returns "modprobe: Can't locate module hidp"
I see you're using a CXXX, fwiw on my 3100 the hidp module is there (as noted by pelrun):
Code: [Select]
Module                  Size  Used by    Tainted: P
hidp                    9392   0  (unused)
hci_usb                 9088   0
mousedev                4544   1
usb-storage            64356   0
...

Quote
Is there anything else I can try?
Upgrade to a CXXXX?    
Or maybe try finding out whether Cacko has the relevant module for CXXX?
« Last Edit: September 13, 2006, 08:01:09 am by desertrat »
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #24 on: September 13, 2006, 12:01:31 pm »
I've attached the hidp module from beta1 - this may or may not work on rc12, although I just verified it works on beta1. Couldn't get the X server reading both the HID mouse and the touchscreen simultaneously though

Extract it to /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/net/bluetooth/hidp/ - change the 2.4.18-etc part to match your kernel, of course.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #25 on: September 13, 2006, 03:10:13 pm »
I can connect to my mouse now, but it won't move the cursor around. #hidd in the console yields "xx:xx:xx:xx:xx:xx HID Boot Device [0000:0000] connected [boot-protocol]". What does this mean and what can I do about it? #hcitool scan identifies it correctly.

Thank you so much! I've almost got my mouse working now!
« Last Edit: September 13, 2006, 03:10:53 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #26 on: September 13, 2006, 03:17:28 pm »
desertrat-

I did change the file names in the etc/rc.d/init.d/bluetooth file. I changed the UART_CONF= line to .../bt-uart.conf, as well as the other UART_CONF parts to the full path. It looks like there's no point, as it would have been changed anyway, but it works.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #27 on: September 13, 2006, 05:25:42 pm »
I edited the startx script to add

Code: [Select]
-mouse /dev/input/mice
to the defaultserverargs variable, and restarted X.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Connect My Bluetooth Mouse?
« Reply #28 on: September 13, 2006, 06:17:38 pm »
IT WORKS!!! I finally got my mouse to work! Thank you!!! You were right about the touchscreen, however, I was expecting it to work until I connected the mouse.

Thanks again!!!
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo