Bluetooth Dongle Install
I just got a bluetooth capable phone, so I decided to purchase a usb bluetooth dongle so I could sync it with my laptop. I've done some research on getting it to work, but what I have found is vague and splotchy. I am very confused.
when it's plugged in /sbin/lsusb reports: Code:
Bus 003 Device 001: ID 0000:0000 Any help is appreciated. |
I wrote a howto for this:
http://www.linuxquestions.org/linux/...lackware_HOWTO Let me know if you are still having trouble after this. regards, ...drkstr **edit** although the guide on my half-ass web site is more up-to-date. http://www.drkstr.org |
I got everything installed, and am at the "/etc/rc.d/rc.bluetooth start" step, but I get an error saying "no hid3hci in (/sbin:/bin:/usr/sbin:/usr/bin)".
I went back and looked in my compile dirs, and found that hid2hci never compiled, but I didn't get any errors when compiling. So, I tried to compile it, and got a bunch of errors about undefined references in 7 different usb functions. At this point in time, I am stuck here. |
Quote:
regards, ...drkstr |
I got dbus to download and install just fine, but for some reason I could not download bluez over cvs, so I downloaded bluez-libs, bluez-utils from their site, and installed them seperately. I modified rc.bluetooth, and hcid.conf. I did not install any documentation though.
Now when I get to Part 2, Step 1 is where things get bumpy. root@#/etc/rc.d/rc.bluetooth start Code:
which: no hid2hci in (/sbin:/bin:/usr/sbin:/usr/bin) (aka ./bluez-utils-3.2/) and went to the tools dir (./bluez-utils-3.2/tools/) root@#ls Code:
Makefile It looks like hid2hci did not compile, which explains why it is missing. So I try to compile it: root@# gcc hid2hci.c Code:
/tmp/ccyOZwHQ.o(.text+0xf): In function `switch_hidproxy': |
Quote:
Quote:
Code:
drkstr@dsk:$ whereis hid2hci Quote:
Let me know if you are still stuck. regards, ...drkstr |
Ok, so I scraped the compiling from source, and found a website that had dbus, bluez-libs, and bluez-utils already in a slack package. Those installed with no problem using pkgtool, and this is what I get now.
/etc/rc.d/rc.bluetooth start Code:
Starting Bluetooth subsystem: hcid sdpdCan't open HIDP control socket: No such file or directory /etc/rc.d/rc.messagebus start Code:
Starting message bus: /usr/bin/dbus-daemon --system |
hmmm, not really sure. I always prefer to build my own packages if they don't come default with Slackware. This gives you more control over what goes into your system and you never know what what dependencies the builder already has.
You might want to check out the start up script and search for the error message your getting. Hopefully it will indicate which file it can't find and you can go from there. Maybe someone that had this same problem will be able to help you, but if you can get some more info, I would be happy to give it a try as well. regards, ...drkstr |
Ok, so I've narrowed it down to "/usr/bin/hidd --server || true"
which gives me: Code:
Can't open HIDP control socket: No such file or directory |
What kernel version are you running? Do you have a 2.6 kernel with hidp support compiled in? If it is modular, is the module loaded? 'lsmod' to see a list of modules, 'modprobe hidb' to load it (assuming it's enabled as a module).
This is my Kernel config for 2.6.16.5: Code:
Networking--> regards, ...drkstr |
I am currently using the 2.4.31 kernel. I have tried upgrading my kernel to 2.6 before, but I always seem to do something wrong, so I always revert back to 2.4.31. I tried again to go to 2.6, but again something is messed up. I am currently researching what went wrong, and if I can't fix it, then I will post here to with error mesages.
Thanks for all the help so far! |
Quote:
regards, ...drkstr |
I only found one readable site out of all the google searching, and wouldn't you know it's a linuxquestions.org thread:
http://www.linuxquestions.org/questi...hreadid=387349 From what I gather, this all has to do with the hd controller in my laptop, which is sata (even though my laptop has an ide hard drive). So, I am going to try the few things that I understood from that thread, and see if they work. Will report back later on progress. btw, the error message I get is: Code:
VFS: Cannot open root device "805" or unknown-block(8,5) |
hehe, I thought that might be the problem, but I didn't want to make random guesses before you posted the error.
Try doing a 'make distclean' from within the kernel source before you do you configure/compile. I was unable to tweak the default Slackware kernel back to workable. This is probably my own fault, but I tried many times and failed with the default Slackware 2.6 config. Got it working perfect the first try when I started clean (IE: 'make distclean'). I agree, it's not very easy to find a solution on this. You would think it would appear more often since I got the same result on *every* computer I've tried it on. (sounds like you might have too) regards, ...drkstr |
I tried make distclean, and I am still having the same problem, with the same error message. Although, I forgot to make a backup of my old kernel, so now I have two copies of a non-functioning kernel (IE .old).
Maybe I am not doing something right. I am going to try a fresh install on another computer and see if I get the same results when changing the kernel on it. |
Maybe this will help you if your not allready aware of it.
The error message you getting is the result of not hard coding support for your root partition (as apposed to being modular) regards, ...drkstr **edit** typo |
I understand what you are saying about hard coded vs modular (ie Y, M, N). What I don't get is what I am supposed to hard code.
Here are some snippets from my .config Code:
# SCSI low-level drivers Code:
/dev/sda4 swap swap defaults 0 0 Code:
# Linux bootable partition config begins |
I think you might need to turn on a few options in
Device Drivers-->SCSI Device Support-->SCSI Low Level Drivers Try to find the options specific to your hardware, but if you're not sure, post your hardware specs. The kernel config to my generic Live CD kernel looks like this: Code:
# regards, ...drkstr |
I took your advise and added every sata option I could. Low and behold it worked, so I am now running my new kernel with only a few small issues (such as sound and wireless). I ran the rc.bluetooth script and it executed without any errors. So now all I have to do is finished the tutorial by installing kdebluetooth, and figure out exactly which sata options I really need (not to mention fix my other problems).
Thanks for all your help with the bluetooth, and my first sucessfull kernel install. Peace blueAlien |
I'm glad you got it working!
Quote:
Wireless depends on the hardware so you will have to do a bit of searching. I have a Atheros wifi card so I had to go download the madwifi driver. regards, ...drkstr |
All times are GMT -5. The time now is 11:29 PM. |