**** BEGIN LOGGING AT Fri Aug 22 02:59:56 2008 Aug 22 07:21:44 hi Aug 22 09:33:26 any bluetooth experts about? Aug 22 09:40:36 not expert but maybe can help me :) Aug 22 09:40:38 you Aug 22 09:40:40 sorry Aug 22 09:46:48 does anyone already have built oprofile for oe - angstrom ? Aug 22 09:47:02 boris_OmegA: o.k. this is a really strange problem im having with bluez Aug 22 09:47:28 im running debian on zaurus, its andromeda Aug 22 09:47:34 i cant seem to get hcid working Aug 22 09:47:51 ok Aug 22 09:47:56 now it looks like im using bluez 3.36-1 Aug 22 09:48:06 have you got any output log? Aug 22 09:48:13 and i think the error is due to a missing config file /etc/bluetooth/main.conf Aug 22 09:48:21 but here is the strange part, Aug 22 09:48:36 as far as i can tell, that is only introduced in the very new bluez 4.0! Aug 22 09:49:01 (and i cannot find any copies of it anywhere or any idea what the syntax should be) Aug 22 09:50:15 strange Aug 22 09:50:30 can you pastebin your error logs ? Aug 22 09:50:42 i cant unfortunately, Aug 22 09:50:48 no network on the device, Aug 22 09:50:49 but... Aug 22 09:51:28 http://ubuntuforums.org/showthread.php?t=868812 Aug 22 09:51:33 if you look on there, Aug 22 09:51:55 and look for that line about /etc/bluetooth/main.conf Aug 22 09:52:04 i have that in my daemon.log Aug 22 09:52:15 its the best guess i have atm as to why hcid wont start. Aug 22 09:52:20 brb Aug 22 09:58:07 i don't think that this error is critical for hcid Aug 22 09:58:25 after that message, what have you got ? Aug 22 10:02:27 "Unable to get on dbus" Aug 22 10:02:45 i need all the output.. Aug 22 10:02:47 but im in a commandline only environment atm, so im not sure if i need to worry about that? Aug 22 10:02:56 thats literally it. Aug 22 10:03:16 you don't have any lines after that ? Aug 22 10:03:21 nope. Aug 22 10:03:27 :/ Aug 22 10:03:36 and what is your command line ? Aug 22 10:03:45 what do you mean? Aug 22 10:03:58 im just trying /etc/init.d/bluetooth start Aug 22 10:04:03 (to try and start hcid) Aug 22 10:04:04 what command have you typed to have this result ? Aug 22 10:04:08 ok Aug 22 10:04:22 my gut feeling is that this is a problem with the package. Aug 22 10:05:01 anyway, im closer than i was last night. Aug 22 10:05:11 never seen this main.conf before Aug 22 10:05:23 :s Aug 22 10:05:30 im pretty sure now that the reason i cant pair is due to hcid not starting, rather than problems with my phone or dongle. Aug 22 10:05:34 yeah i agree. Aug 22 10:05:37 its a new one on me. Aug 22 10:05:46 and nothing in dmesg ? Aug 22 10:06:08 before i just changed the pin in hcid.conf or whatever its called, and i was good to go! :P Aug 22 10:06:25 dmesg looks healthy. Aug 22 10:06:28 i can scan stuff Aug 22 10:06:37 so i know that that the hardware works. Aug 22 10:06:59 hciconfig works, hcitool scan works fine, it can see my phone, laptop and stuff. Aug 22 10:07:11 but because hcid wont work, i cant use pand. Aug 22 10:07:11 ok Aug 22 10:07:13 so it works Aug 22 10:07:15 :) Aug 22 10:07:30 (well i think thats the reason anyway) Aug 22 10:07:34 .. Aug 22 10:07:36 what is pand ? Aug 22 10:07:52 pand is a way to make a network from a cellphone to the z, Aug 22 10:07:57 via bluetooth. Aug 22 10:08:03 well, its not z specific. Aug 22 10:08:16 its like ethernet over bluetooth. Aug 22 10:08:33 ok Aug 22 10:08:36 ok ok Aug 22 10:09:01 boris_OmegA: i dont really understand a lot about bluetooth but i think this is how it works: Aug 22 10:09:13 without more details i guess i can't do much thing for you ... Aug 22 10:09:14 i tell my z to use the pand service on my phone. Aug 22 10:09:38 the phone says "oh you want me to act as a modem for you?" it then asks me for the pin of my z. Aug 22 10:09:51 now if hcid is working, it can check that and they are paired. Aug 22 10:10:07 but in my case the phone never gets any answer so it gets suspicious and wont pair. Aug 22 10:10:38 well, nm, thanks for helping anyway! ;) Aug 22 10:11:49 ok ok Aug 22 10:12:20 you have discovered your phone with hcitool? scan for services ? Aug 22 10:15:10 whats the syntax to do that? Aug 22 10:15:16 (sorry) Aug 22 10:15:23 heh ill do man hcitool! Aug 22 10:15:27 <--- lazy Aug 22 10:17:49 :p Aug 22 10:18:00 hcitool scan maybe :p Aug 22 10:21:52 that just shows devices. Aug 22 10:22:06 i tried hcitool info and that gave me a lot of technical info about my phone. Aug 22 10:22:22 the problem is while these low level devices are working fine, i actually need to get hcid working. Aug 22 10:22:31 im now convinced that is the problem! Aug 22 10:22:32 :P Aug 22 10:22:44 s/devices/commands Aug 22 10:23:29 look at the service name already Aug 22 10:23:34 with a grep Aug 22 10:24:04 and see hcitool man to know how to configure your device maybe ... Aug 22 10:24:12 there is a lot of tricks there Aug 22 10:24:28 boris_OmegA: dont worry about it. im certain i just need to understand the syntax of this mysterious main.conf. Aug 22 10:24:41 once ive done that, ive solved the problem i think. Aug 22 10:25:04 HRH_H_Crab: what do you want to archieve? Aug 22 10:25:14 list services available on device? Aug 22 10:25:20 ventYl: no Aug 22 10:25:23 i cant start hcid Aug 22 10:25:27 i want a working hcid. Aug 22 10:25:28 :) Aug 22 10:25:45 i can use all the low level commands fine. Aug 22 10:25:50 but hcid wont start. Aug 22 10:26:10 my feeling is, that since authors of bluez implemented d-bus, whole bluez is one BIG SHIT Aug 22 10:26:19 hmmm. Aug 22 10:26:21 hcid crashes? Aug 22 10:26:26 that which makes me worried is that your hcid shouldn't ask you this file ... Aug 22 10:26:38 i've had similar problem with hcid on computer Aug 22 10:26:51 after any bluetooth connection was made, hcid died silently Aug 22 10:26:53 ventYl: it doesnt crash, it seems to be complaining about a missing config file (/etc/bluetooth/main.conf) Aug 22 10:27:13 but i cant find any reference to that file. Aug 22 10:27:25 im gonna pester the bluez dev channel! Aug 22 10:27:31 i have the same probleme ventYl !!! think it's a d'bus problem ? Aug 22 10:27:31 take a look with strace Aug 22 10:27:31 cross your fingers for me boys! ;) Aug 22 10:27:49 boris_OmegA: it's something rotten in hcid Aug 22 10:28:21 HRH_H_Crab: maybe launching hcid throught strace will give you some clue, but be ready for enormous output Aug 22 10:30:23 ventYl: cant install strace until i get home. Aug 22 10:30:27 i dont have wifi here ;/ Aug 22 10:30:51 xD Aug 22 10:30:56 nor USB cable? Aug 22 10:31:05 i'll be afk for diner ++ Aug 22 10:31:19 oh, not every phone has ability to act as usb ethernet Aug 22 10:34:18 11:30:37 < jhe> HRH_H_Crab: that's not the reason why you can't start hcid Aug 22 10:34:18 11:30:47 < HRH_H_Crab> oh :( Aug 22 10:34:18 11:31:16 < HRH_H_Crab> hmmm. im totally out of ideas then. :( Aug 22 10:34:18 11:31:21 < jhe> HRH_H_Crab: some typical reasons why you can't start hcid: 1. Aug 22 10:34:18 you've got another instance already running 2. you've not Aug 22 10:34:21 installed the bluetooth.conf dbus policy file into Aug 22 10:34:23 /etc/dbus-1/system.d Aug 22 10:34:50 gah now i need to figureout what a bluetooth.conf dbus policy is! Aug 22 10:34:55 wish me luck! ;) Aug 22 10:47:02 well, i now have hcid working. Aug 22 10:47:10 i still cant pair though so something else is wrong! Aug 22 10:47:25 in the end i had to start a gui and start dbus before it would start. Aug 22 10:47:54 dbus is essential for bluez working Aug 22 10:48:09 yeah Aug 22 10:48:20 thats a horrible horrible design decision imho. Aug 22 10:48:37 i would love to have a strong word with whatever gui-fascist came up with that idea. Aug 22 10:49:05 prob. couldnt imagine that someone would want to use bluetooth outside a gui environment. :| Aug 22 10:49:21 aha Aug 22 10:49:22 dbus can be started without gui Aug 22 10:49:36 oh... Aug 22 10:49:37 all is good without gui :) Aug 22 10:49:39 *shame* Aug 22 10:49:41 ;P Aug 22 10:49:48 term is life :p Aug 22 10:50:19 still cant get the damn thing to pair though ;) Aug 22 10:50:23 feel im getting closer. Aug 22 10:51:21 now your issue is probably pinhelper Aug 22 10:51:56 yep Aug 22 10:52:23 also communicates throught dbus, but there is non-gui version of pinhelper i think Aug 22 10:52:30 before when i did this i just changed the pin line in /etc/bluetooth/hcid.conf though, Aug 22 10:52:38 and entered the same thing in there on my phone. Aug 22 10:54:26 this works in one direction for me, but not in other Aug 22 10:54:39 try to pair devices from the other device Aug 22 10:56:00 hmmm. no joy from either direction. Aug 22 10:56:29 i think i may need to sort out some sort of dbus security policy thingy. Aug 22 10:57:37 anyway, thanks guys. ive definately made some progress here. Aug 22 13:16:54 udovdh: hi Aug 22 13:17:25 hello ventYl Aug 22 13:17:43 may we take a look at my h2215? Aug 22 13:50:49 ventYl / boris_OmegA : i have no idea how i did it, but its finally submitted to my will! Aug 22 13:51:39 bluetooth on linux has been really really strange ime. sometimes it works so simply and other times its like today! Aug 22 13:56:00 xD Aug 22 13:56:40 when you goes deeper , often you discover that it always works the same way :) but configuring is ugly -_- Aug 22 14:00:03 well the first time i ever got this working was with angstrom and it was easy. Aug 22 14:00:21 :) Aug 22 14:00:42 im using a slightly odd version of debian though atm i dont know if thats got anything to do with it. Aug 22 14:00:48 i have sufferred on my arm arch, with angstrom ;) Aug 22 14:01:02 heh what machine do you use it on? Aug 22 14:01:09 i only have angstrom on my slug now. Aug 22 14:01:56 i really love angstrom, and i really wish all the devs well, but for me there just aren't enough packages for anything that goes beyond just a simple ssh server / ntp server. Aug 22 14:02:07 lol Aug 22 14:02:13 i moved to deb for my z now, and its brilliant! Aug 22 14:02:17 it's an arm9 cpu, by atmel Aug 22 14:02:27 everything works, htop, mpd, even exim! :o Aug 22 14:02:37 i even have an X ;) Aug 22 14:02:39 :p Aug 22 14:02:50 sounds interesting Aug 22 14:02:58 but thats just the processor Aug 22 14:03:07 whats the actual device? is it a gumstix thing? Aug 22 14:03:22 at91 Aug 22 14:03:41 sam63ek, if it means something for you :) Aug 22 14:03:54 i found a webpage... Aug 22 14:03:55 sam9263 Aug 22 14:03:58 just taking a look Aug 22 14:03:59 of course ;) Aug 22 14:06:05 http://www.adeneo-embedded.com/upload/document/205/1152629576243.jpg Aug 22 14:06:09 soemthing like that? Aug 22 14:06:35 quite Aug 22 14:06:42 with a larger screen Aug 22 14:06:50 its a specific one for us :p Aug 22 14:07:16 aah Aug 22 14:07:47 so you work with embedded stuff more as a job than as a hobbyist? Aug 22 14:07:57 totally a job :) Aug 22 14:08:06 now Aug 22 14:08:12 i think its a good place to be potentially. i can see a lot of embedded linux taking off. Aug 22 14:08:15 but i have personnal projects too ;) Aug 22 14:08:32 devices now have such huge power but tiny size and power requirements. Aug 22 14:08:43 its just a question of releasing it. Aug 22 14:08:44 yes Aug 22 14:09:01 when you see what can be do with a simple phone right now .... Aug 22 14:09:12 even my slug amazes me, esp. considering how little there is to it. Aug 22 14:09:19 400Mhz + 512 RAM + graphic chipset ... Aug 22 14:09:34 can be done sorry Aug 22 14:09:44 well 512 is a luxury! Aug 22 14:10:01 seen in a phone :) Aug 22 14:10:02 :| Aug 22 14:10:10 o_O Aug 22 14:10:20 thats like a proper desktop machine to someone who uses console all the time! Aug 22 14:10:21 :) Aug 22 14:10:26 yes Aug 22 14:10:28 totally Aug 22 14:10:36 it's no more embedded stuff :) Aug 22 14:10:41 few months ago, i've used full X-desktop with ony 170 MB ram Aug 22 14:10:48 of course Aug 22 14:10:50 on my old notebook Aug 22 14:10:59 170 is luxury ;) Aug 22 14:11:16 PDA has "only" 64MB Aug 22 14:11:21 my arch arm9 is at 200Mhz, with 64Mo rAM Aug 22 14:11:47 well i have icewm-lxp or whatever its called on this zaurus with x! Aug 22 14:11:54 (i think its fbdev though) Aug 22 14:13:29 gonna use ramdisk rescue kernel to boot up angstrom Aug 22 15:19:47 is there any difference between angstrom 2007.12 and 2008.1 which should be taken into account when building angstrom on h2215? Aug 22 15:22:32 angstrom kernel....? **** ENDING LOGGING AT Sat Aug 23 02:59:57 2008