* [Bluez-users] Totally confused @ 2006-08-15 0:42 Terry Mackintosh 2006-08-15 1:23 ` redondos 2006-08-15 21:29 ` digitalfredy 0 siblings, 2 replies; 15+ messages in thread From: Terry Mackintosh @ 2006-08-15 0:42 UTC (permalink / raw) To: bluez-users Hi There are so many pieces to the puzzle: hci* sdp* rfcomm others? What comes first? second? ...? I just want to get pictures off my Motorola V710 picture phone. Has anyone done this? What programs do I run in what order and what config/password files need to be messed with? I have read man pages and some of the howtos and such, that are totally confusing. Do I really need to know about stacks and protocols and the inner workings of all the different programs? Is there no single doc or howto that puts it all together in simple to the point terms? I am computer literate, especially on Linux, but bluetooth is causing me no end of frustration. Thanks -- Terry Mackintosh <terry@mackintoshweb.com> http://www.mackintoshweb.com/mars/ Mars Society, FL chapter. Proudly powered by ROCKLinux, Apache, PHP, PostgreSQL, etc. "If you don't know where you are going, how can you get there?" ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-15 0:42 [Bluez-users] Totally confused Terry Mackintosh @ 2006-08-15 1:23 ` redondos 2006-08-15 10:31 ` Rui Pedro Lopes 2006-08-15 15:39 ` Terry Mackintosh 2006-08-15 21:29 ` digitalfredy 1 sibling, 2 replies; 15+ messages in thread From: redondos @ 2006-08-15 1:23 UTC (permalink / raw) To: BlueZ users [-- Attachment #1.1: Type: text/plain, Size: 1014 bytes --] On Mon, Aug 14 20:42, Terry Mackintosh wrote: > Hi > > > There are so many pieces to the puzzle: hci* sdp* rfcomm others? > > What comes first? second? ...? > > I just want to get pictures off my Motorola V710 picture phone. > Has anyone done this? > > What programs do I run in what order and what config/password files need > to be messed with? > > I have read man pages and some of the howtos and such, that are totally > confusing. Do I really need to know about stacks and protocols and the > inner workings of all the different programs? Is there no single doc or > howto that puts it all together in simple to the point terms? > > I am computer literate, especially on Linux, but bluetooth is causing me > no end of frustration. Check the many HOWTOs that can be found on the net. You can use obexftp(1) to fetch files from your phone. Something like: $ obexftp -b AA:BB:CC:DD:EE:FF -B <channel> -c Pictures -g Pic1.jpg should work. Cheers. -- redondos [-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #2: Type: text/plain, Size: 373 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #3: Type: text/plain, Size: 164 bytes --] _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-15 1:23 ` redondos @ 2006-08-15 10:31 ` Rui Pedro Lopes 2006-08-15 22:22 ` redondos 2006-08-15 15:39 ` Terry Mackintosh 1 sibling, 1 reply; 15+ messages in thread From: Rui Pedro Lopes @ 2006-08-15 10:31 UTC (permalink / raw) To: BlueZ users -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 redondos wrote: > Check the many HOWTOs that can be found on the net. > Is there any HOWTO focusing on the connection with a stereo headset? I have only found the one on http://bluetooth-alsa.sourceforge.net/, but it is not working because of some PIN Code Request Negative Reply error... Cheers, /rp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE4aKBAhGrHSs5PNIRAkWpAKDEx7+Dp2Iz7h+Fqt6Ou0sWFNuMJgCeLH1f s8nh+x1t5UfrEXXOp8//Ytw= =8OMN -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-15 10:31 ` Rui Pedro Lopes @ 2006-08-15 22:22 ` redondos 2006-08-16 8:18 ` Rui Pedro Lopes 0 siblings, 1 reply; 15+ messages in thread From: redondos @ 2006-08-15 22:22 UTC (permalink / raw) To: BlueZ users [-- Attachment #1.1: Type: text/plain, Size: 921 bytes --] On Tue, Aug 15 11:31, Rui Pedro Lopes wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > redondos wrote: > > Check the many HOWTOs that can be found on the net. > > > Is there any HOWTO focusing on the connection with a stereo headset? > I have only found the one on http://bluetooth-alsa.sourceforge.net/, > but it is not working because of some PIN Code Request Negative Reply > error... Have you tried following the Gentoo wiki? You're probably not using Gentoo, but they are well-known for providing pretty good documentation to the open source community. http://www.gentoo-wiki.com/HOWTO_use_a_bluetooth_headset About the PIN code: have you configured a pin helper correctly in hcid.conf? It's pretty simple, you can just write a shell script: #!/bin/sh echo "PIN:1234 Make it executable, then edit hcid.conf with the line: pin_helper /path/to/the/script -- redondos [-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #2: Type: text/plain, Size: 373 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #3: Type: text/plain, Size: 164 bytes --] _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-15 22:22 ` redondos @ 2006-08-16 8:18 ` Rui Pedro Lopes 2006-08-16 13:39 ` redondos 0 siblings, 1 reply; 15+ messages in thread From: Rui Pedro Lopes @ 2006-08-16 8:18 UTC (permalink / raw) To: BlueZ users -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 redondos wrote: > Have you tried following the Gentoo wiki? You're probably not using > Gentoo, but they are well-known for providing pretty good documentation > to the open source community. > > http://www.gentoo-wiki.com/HOWTO_use_a_bluetooth_headset Yap. Actually, I'm using debian... > > About the PIN code: have you configured a pin helper correctly in > hcid.conf? It's pretty simple, you can just write a shell script: > > #!/bin/sh > echo "PIN:1234 > > Make it executable, then edit hcid.conf with the line: > > pin_helper /path/to/the/script Yes, I have tried that. Here is the syslog messages: Aug 16 09:13:20 tash hcid[7714]: Bluetooth HCI daemon Aug 16 09:13:20 tash hcid[7714]: Unknown option 'pin_helper' line 27 Aug 16 09:13:20 tash hcid[7714]: syntax error line 27 Aug 16 09:13:20 tash sdpd[7716]: Bluetooth SDP daemon Aug 16 09:13:20 tash hidd[7718]: Bluetooth HID daemon Aug 16 09:13:20 tash hcid[7714]: Register path:/org/bluez fallback:1 Aug 16 09:13:20 tash hcid[7714]: Device hci0 has been added Aug 16 09:13:21 tash hcid[7714]: Starting security manager 0 Aug 16 09:13:21 tash hcid[7714]: Can't write inquiry mode for hci0: Input/output error (5) Aug 16 09:13:21 tash hcid[7714]: Register path:/org/bluez/hci0 fallback:0 Apparently, pin_helper is not available... Here is what the Debian maintainer added to the documentation: PIN (or passkey) management - --------------------------- since bluez 3.0 the old pin_helper script has been replaced by the dbus interface. To add a default passkey for every outgoing request (e.g. the old /etc/bluetooth/pin file) drop it into /etc/bluetooth/passkeys/default. (e.g. echo "1234" > /etc/bluetooth/passkeys/default ) To add a passkey for a specific outgoing connection replace default with the device's address. ( /etc/default/passkeys/aa:bb:cc:dd:ee:ff will contain passkey for aa:bb:cc:dd:ee:ff ). After adding a passkey you should restart bluetooth with /etc/init.d/bluetooth restart and the new passkeys will be registered. I have also tried that and it is not working... do you think it is a Debian problem? Cheers, /rp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE4tTUAhGrHSs5PNIRAnwmAKDG2ImeO5udqunoscaUL/Py4U8XvwCeJb3C H7/lfRt/4s8zpcaCtlUnl0c= =0Z90 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-16 8:18 ` Rui Pedro Lopes @ 2006-08-16 13:39 ` redondos 2006-08-16 13:38 ` Rui Pedro Lopes 2006-08-16 14:27 ` manojt ambe 0 siblings, 2 replies; 15+ messages in thread From: redondos @ 2006-08-16 13:39 UTC (permalink / raw) To: BlueZ users [-- Attachment #1.1: Type: text/plain, Size: 2562 bytes --] On Wed, Aug 16 09:18, Rui Pedro Lopes wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > redondos wrote: > > Have you tried following the Gentoo wiki? You're probably not using > > Gentoo, but they are well-known for providing pretty good documentation > > to the open source community. > > > > http://www.gentoo-wiki.com/HOWTO_use_a_bluetooth_headset > Yap. Actually, I'm using debian... > > > > About the PIN code: have you configured a pin helper correctly in > > hcid.conf? It's pretty simple, you can just write a shell script: > > > > #!/bin/sh > > echo "PIN:1234 > > > > Make it executable, then edit hcid.conf with the line: > > > > pin_helper /path/to/the/script > Yes, I have tried that. Here is the syslog messages: > > Aug 16 09:13:20 tash hcid[7714]: Bluetooth HCI daemon > Aug 16 09:13:20 tash hcid[7714]: Unknown option 'pin_helper' line 27 > Aug 16 09:13:20 tash hcid[7714]: syntax error line 27 > Aug 16 09:13:20 tash sdpd[7716]: Bluetooth SDP daemon > Aug 16 09:13:20 tash hidd[7718]: Bluetooth HID daemon > Aug 16 09:13:20 tash hcid[7714]: Register path:/org/bluez fallback:1 > Aug 16 09:13:20 tash hcid[7714]: Device hci0 has been added > Aug 16 09:13:21 tash hcid[7714]: Starting security manager 0 > Aug 16 09:13:21 tash hcid[7714]: Can't write inquiry mode for hci0: > Input/output error (5) > Aug 16 09:13:21 tash hcid[7714]: Register path:/org/bluez/hci0 fallback:0 > > > > Apparently, pin_helper is not available... I forgot the ';' at the end of the line. Did you add that? Can we see your hcid.conf at its full extent? > Here is what the Debian maintainer added to the documentation: > > > PIN (or passkey) management > - --------------------------- > since bluez 3.0 the old pin_helper script has been replaced by > the dbus interface. To add a default passkey for every outgoing > request (e.g. the old /etc/bluetooth/pin file) drop it into > /etc/bluetooth/passkeys/default. (e.g. echo "1234" > > /etc/bluetooth/passkeys/default ) > To add a passkey for a specific outgoing connection replace default > with the device's address. ( /etc/default/passkeys/aa:bb:cc:dd:ee:ff > will contain passkey for aa:bb:cc:dd:ee:ff ). > After adding a passkey you should restart bluetooth with > > /etc/init.d/bluetooth restart > > and the new passkeys will be registered. > > > I have also tried that and it is not working... do you think it is a > Debian problem? Oh, you're using 3.x. I don't know, haven't played with it yet, sorry. -- redondos [-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #2: Type: text/plain, Size: 373 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #3: Type: text/plain, Size: 164 bytes --] _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-16 13:39 ` redondos @ 2006-08-16 13:38 ` Rui Pedro Lopes 2006-08-16 15:16 ` redondos 2006-08-16 14:27 ` manojt ambe 1 sibling, 1 reply; 15+ messages in thread From: Rui Pedro Lopes @ 2006-08-16 13:38 UTC (permalink / raw) To: BlueZ users -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 redondos wrote: > I forgot the ';' at the end of the line. Did you add that? Can we > see your hcid.conf at its full extent? I added the ';'... :) > > Oh, you're using 3.x. I don't know, haven't played with it yet, > sorry. :) all right... I'll wait a bit until the problem is better known... Cheers, /rp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE4x/cAhGrHSs5PNIRAntkAKDCZRy1wJ7ck80tRawrLAUMyvtVGACfehdo ZgwulzN5fa5zAfBPM1vfc2I= =94SQ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-16 13:38 ` Rui Pedro Lopes @ 2006-08-16 15:16 ` redondos 2006-08-17 8:30 ` Rui Pedro Lopes 0 siblings, 1 reply; 15+ messages in thread From: redondos @ 2006-08-16 15:16 UTC (permalink / raw) To: BlueZ users [-- Attachment #1.1: Type: text/plain, Size: 562 bytes --] On Wed, Aug 16 14:38, Rui Pedro Lopes wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > redondos wrote: > > I forgot the ';' at the end of the line. Did you add that? Can we > > see your hcid.conf at its full extent? > I added the ';'... :) > > > > Oh, you're using 3.x. I don't know, haven't played with it yet, > > sorry. > :) all right... I'll wait a bit until the problem is better known... I'm sure it's widely known, it's just me who hasn't used v3. Try following Manojt's advice, and perhaps you will succeed. -- redondos [-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #2: Type: text/plain, Size: 373 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #3: Type: text/plain, Size: 164 bytes --] _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-16 15:16 ` redondos @ 2006-08-17 8:30 ` Rui Pedro Lopes 0 siblings, 0 replies; 15+ messages in thread From: Rui Pedro Lopes @ 2006-08-17 8:30 UTC (permalink / raw) To: BlueZ users -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 redondos wrote: > I'm sure it's widely known, it's just me who hasn't used v3. Try > following Manojt's advice, and perhaps you will succeed. Got it to work! The solution is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383188 Cheers, /rp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE5CkNAhGrHSs5PNIRAoeNAJ9qJjxp1etQaL8cR4tmNbQSkyALzACeLZl6 TM09Ds2cD29BSDObLg1Os3s= =XOXd -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-16 13:39 ` redondos 2006-08-16 13:38 ` Rui Pedro Lopes @ 2006-08-16 14:27 ` manojt ambe 2006-08-16 15:13 ` Rui Pedro Lopes 1 sibling, 1 reply; 15+ messages in thread From: manojt ambe @ 2006-08-16 14:27 UTC (permalink / raw) To: BlueZ users [-- Attachment #1.1: Type: text/plain, Size: 3530 bytes --] I modified /usr/local/etc/dbus-1/system.conf as below. After this the pin problem went away. I am using bluez 3.1 and dbus 0.62. Pls find system.conf attached. <!-- This is included last so local configuration can override what's in this standard file --> <include ignore_missing="yes">/etc/dbus-1/system.d/bluez-hcid.conf</include> thanks, Manoj redondos <redondos@gmail.com> wrote: On Wed, Aug 16 09:18, Rui Pedro Lopes wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > redondos wrote: > > Have you tried following the Gentoo wiki? You're probably not using > > Gentoo, but they are well-known for providing pretty good documentation > > to the open source community. > > > > http://www.gentoo-wiki.com/HOWTO_use_a_bluetooth_headset > Yap. Actually, I'm using debian... > > > > About the PIN code: have you configured a pin helper correctly in > > hcid.conf? It's pretty simple, you can just write a shell script: > > > > #!/bin/sh > > echo "PIN:1234 > > > > Make it executable, then edit hcid.conf with the line: > > > > pin_helper /path/to/the/script > Yes, I have tried that. Here is the syslog messages: > > Aug 16 09:13:20 tash hcid[7714]: Bluetooth HCI daemon > Aug 16 09:13:20 tash hcid[7714]: Unknown option 'pin_helper' line 27 > Aug 16 09:13:20 tash hcid[7714]: syntax error line 27 > Aug 16 09:13:20 tash sdpd[7716]: Bluetooth SDP daemon > Aug 16 09:13:20 tash hidd[7718]: Bluetooth HID daemon > Aug 16 09:13:20 tash hcid[7714]: Register path:/org/bluez fallback:1 > Aug 16 09:13:20 tash hcid[7714]: Device hci0 has been added > Aug 16 09:13:21 tash hcid[7714]: Starting security manager 0 > Aug 16 09:13:21 tash hcid[7714]: Can't write inquiry mode for hci0: > Input/output error (5) > Aug 16 09:13:21 tash hcid[7714]: Register path:/org/bluez/hci0 fallback:0 > > > > Apparently, pin_helper is not available... I forgot the ';' at the end of the line. Did you add that? Can we see your hcid.conf at its full extent? > Here is what the Debian maintainer added to the documentation: > > > PIN (or passkey) management > - --------------------------- > since bluez 3.0 the old pin_helper script has been replaced by > the dbus interface. To add a default passkey for every outgoing > request (e.g. the old /etc/bluetooth/pin file) drop it into > /etc/bluetooth/passkeys/default. (e.g. echo "1234" > > /etc/bluetooth/passkeys/default ) > To add a passkey for a specific outgoing connection replace default > with the device's address. ( /etc/default/passkeys/aa:bb:cc:dd:ee:ff > will contain passkey for aa:bb:cc:dd:ee:ff ). > After adding a passkey you should restart bluetooth with > > /etc/init.d/bluetooth restart > > and the new passkeys will be registered. > > > I have also tried that and it is not working... do you think it is a > Debian problem? Oh, you're using 3.x. I don't know, haven't played with it yet, sorry. -- redondos ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --------------------------------- Get your email and more, right on the new Yahoo.com [-- Attachment #1.2: Type: text/html, Size: 4344 bytes --] [-- Attachment #2: 3934571641-system.conf --] [-- Type: application/octet-stream, Size: 2325 bytes --] <!-- This configuration file controls the systemwide message bus. Add a system-local.conf and edit that rather than changing this file directly. --> <!-- Note that there are any number of ways you can hose yourself security-wise by screwing up this file; in particular, you probably don't want to listen on any more addresses, add any more auth mechanisms, run as a different user, etc. --> <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> <!-- Our well-known bus type, do not change this --> <type>system</type> <!-- Run as special user --> <user>messagebus</user> <!-- Fork into daemon mode --> <fork/> <!-- Write a pid file --> <pidfile>/usr/local/var/run/messagebus.pid</pidfile> <!-- Only allow socket-credentials-based authentication --> <auth>EXTERNAL</auth> <!-- Only listen on a local socket. (abstract=/path/to/socket means use abstract namespace, don't really create filesystem file; only Linux supports this. Use path=/whatever on other systems.) --> <listen>unix:path=/usr/local/var/run/dbus/system_bus_socket</listen> <policy context="default"> <!-- Deny everything then punch holes --> <deny send_interface="*"/> <deny receive_interface="*"/> <deny own="*"/> <!-- But allow all users to connect --> <allow user="*"/> <!-- Allow anyone to talk to the message bus --> <!-- FIXME I think currently these allow rules are always implicit even if they aren't in here --> <allow send_destination="org.freedesktop.DBus"/> <allow receive_sender="org.freedesktop.DBus"/> <!-- valid replies are always allowed --> <allow send_requested_reply="true"/> <allow receive_requested_reply="true"/> </policy> <!-- Config files are placed here that among other things, punch holes in the above policy for specific services. --> <includedir>system.d</includedir> <!-- This is included last so local configuration can override what's in this standard file --> <include ignore_missing="yes">/etc/dbus-1/system.d/bluez-hcid.conf</include> <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include> </busconfig> [-- Attachment #3: Type: text/plain, Size: 373 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #4: Type: text/plain, Size: 164 bytes --] _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-16 14:27 ` manojt ambe @ 2006-08-16 15:13 ` Rui Pedro Lopes 0 siblings, 0 replies; 15+ messages in thread From: Rui Pedro Lopes @ 2006-08-16 15:13 UTC (permalink / raw) To: BlueZ users -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 manojt ambe wrote: > I modified /usr/local/etc/dbus-1/system.conf as below. After this > the pin problem went away. I am using bluez 3.1 and dbus 0.62. Pls > find system.conf attached. > > <!-- This is included last so local configuration can override what's > in this standard file --> > <include > ignore_missing="yes">/etc/dbus-1/system.d/bluez-hcid.conf</include> > I believe that this line is useless, because the previous includes everything in the system.d directory, including bluez-hcid.conf. However, I tried using yout system.conf and I keep getting the same problem... Cheers, /rp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE4zY1AhGrHSs5PNIRAhXBAJ9iI56ZHOlbiLOQnp14lttQlVTjEwCghOAz hh7EwZaL8ODWxuA3/c3ndZA= =J/+l -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-15 1:23 ` redondos 2006-08-15 10:31 ` Rui Pedro Lopes @ 2006-08-15 15:39 ` Terry Mackintosh 2006-08-15 22:33 ` redondos 1 sibling, 1 reply; 15+ messages in thread From: Terry Mackintosh @ 2006-08-15 15:39 UTC (permalink / raw) To: BlueZ users Hi redondos wrote: > On Mon, Aug 14 20:42, Terry Mackintosh wrote: > >>Hi >> >> >>There are so many pieces to the puzzle: hci* sdp* rfcomm others? >> >>What comes first? second? ...? >> >>I just want to get pictures off my Motorola V710 picture phone. >>Has anyone done this? >> >>What programs do I run in what order and what config/password files need >>to be messed with? >> > Check the many HOWTOs that can be found on the net. I have, none seem to directly apply and all are confusing at best. > You can use obexftp(1) to fetch files from your phone. > > Something like: > $ obexftp -b AA:BB:CC:DD:EE:FF -B <channel> -c Pictures -g Pic1.jpg > should work. Will try it, however the manual for the phone says it does not support obex, so this probably will not work. No other programs need run to setup the connection? no config files setup? no rfcomm? just obexftp by itself? Thanks -- Terry Mackintosh <terry@mackintoshweb.com> http://www.mackintoshweb.com/mars/ Mars Society, FL chapter. Proudly powered by ROCKLinux, Apache, PHP, PostgreSQL, etc. "If you don't know where you are going, how can you get there?" ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-15 15:39 ` Terry Mackintosh @ 2006-08-15 22:33 ` redondos 2006-08-16 8:32 ` Rui Pedro Lopes 0 siblings, 1 reply; 15+ messages in thread From: redondos @ 2006-08-15 22:33 UTC (permalink / raw) To: BlueZ users [-- Attachment #1.1: Type: text/plain, Size: 1750 bytes --] On Tue, Aug 15 11:39, Terry Mackintosh wrote: > Hi > > redondos wrote: > > On Mon, Aug 14 20:42, Terry Mackintosh wrote: > > > >>Hi > >> > >> > >>There are so many pieces to the puzzle: hci* sdp* rfcomm others? > >> > >>What comes first? second? ...? > >> > >>I just want to get pictures off my Motorola V710 picture phone. > >>Has anyone done this? > >> > >>What programs do I run in what order and what config/password files need > >>to be messed with? > >> > > Check the many HOWTOs that can be found on the net. > > I have, none seem to directly apply and all are confusing at best. I kind of noticed the same thing when I first started using BlueZ, but after a while and many problems, things got clearer. > > You can use obexftp(1) to fetch files from your phone. > > > > Something like: > > $ obexftp -b AA:BB:CC:DD:EE:FF -B <channel> -c Pictures -g Pic1.jpg > > should work. > > Will try it, however the manual for the phone says it does not support > obex, so this probably will not work. Check what services are supported by your phone with `sdptool browse' > No other programs need run to setup the connection? no config files > setup? no rfcomm? just obexftp by itself? Yes, of course you need to edit some configuration files. You haven't even read the man pages, have you? `man 5 hcid.conf' is a good starting point, then edit /etc/bluetooth/hcid.conf properly. No need to have a working rfcomm device, AFAIK. Some important userspace tools that ship with BlueZ are hcitool, sdptool, hcidump, l2ping, hciconfig... use your distribution's package manager to find them all. (for instance, `qlist bluez|grep bin' or `dpkg -L bluez|grep bin') Good luck. -- redondos [-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --] [-- Attachment #2: Type: text/plain, Size: 373 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #3: Type: text/plain, Size: 164 bytes --] _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-15 22:33 ` redondos @ 2006-08-16 8:32 ` Rui Pedro Lopes 0 siblings, 0 replies; 15+ messages in thread From: Rui Pedro Lopes @ 2006-08-16 8:32 UTC (permalink / raw) To: BlueZ users -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I forgot to mention what is happening in syslog: Aug 16 09:30:06 tash hcid[8833]: Bluetooth HCI daemon Aug 16 09:30:06 tash sdpd[8835]: Bluetooth SDP daemon Aug 16 09:30:06 tash hidd[8837]: Bluetooth HID daemon Aug 16 09:30:06 tash hcid[8833]: Register path:/org/bluez fallback:1 Aug 16 09:30:06 tash hcid[8833]: Device hci0 has been added Aug 16 09:30:06 tash hcid[8833]: Starting security manager 0 Aug 16 09:30:06 tash hcid[8833]: Can't write inquiry mode for hci0: Input/output error (5) Aug 16 09:30:06 tash hcid[8833]: Register path:/org/bluez/hci0 fallback:0 Aug 16 09:30:48 tash hcid[8833]: pin_code_request (sba=00:03:7A:0A:D9:D9, dba=00:0D:44:43:B7:01) Aug 16 09:30:48 tash hcid[8833]: call_passkey_agent(): no agent registered Apparently, there is something missing when the pin code is requested... Any thoughts? /rp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE4tgcAhGrHSs5PNIRAkbrAJ4kT0+K9hbAzFzGULiiWeJn1r6B5wCglRZX LwKsmhfZjET3zvjD3Sx9X2g= =xjrI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Bluez-users] Totally confused 2006-08-15 0:42 [Bluez-users] Totally confused Terry Mackintosh 2006-08-15 1:23 ` redondos @ 2006-08-15 21:29 ` digitalfredy 1 sibling, 0 replies; 15+ messages in thread From: digitalfredy @ 2006-08-15 21:29 UTC (permalink / raw) To: BlueZ users [-- Attachment #1: Type: text/plain, Size: 1561 bytes --] Hello, i have a moto l6 and i write script (can be usable with other phones, is tested in moto l6 and sonyericsson t610) for download al the photos or all the videos with a single comand, it isn't totaly finish but in this moment you can use for mv or cp your photos or your videos to the pc. # cp getmovil /usr/local/bin # chmod 755 /usr/local/bin/getmovil $ cp .getmovil ~ //you need modfy for use your home folder $ getmovil -p -m // it get all the photos in moto l6 photos and videos use notation DD-MM-YY_HHMM getmovil fist parameter: -p|-i|-r|-v|-s|-t // -p is photos, -v is videos For can recive files seding from the phone you can use obexserver if you are using debian apt-get install obexserver, remember read the man before use obexserver comand. El lun, 14-08-2006 a las 20:42 -0400, Terry Mackintosh escribió: > Hi > > > There are so many pieces to the puzzle: hci* sdp* rfcomm others? > > What comes first? second? ...? > > I just want to get pictures off my Motorola V710 picture phone. > Has anyone done this? > > What programs do I run in what order and what config/password files need > to be messed with? > > I have read man pages and some of the howtos and such, that are totally > confusing. Do I really need to know about stacks and protocols and the > inner workings of all the different programs? Is there no single doc or > howto that puts it all together in simple to the point terms? > > I am computer literate, especially on Linux, but bluetooth is causing me > no end of frustration. > > Thanks > [-- Attachment #2: getmovil --] [-- Type: application/x-shellscript, Size: 3193 bytes --] [-- Attachment #3: .getmovil.conf --] [-- Type: text/plain, Size: 697 bytes --] phonemac 00:17:00:F4:E6:D7 #patron en el nombre, soporta expresiones regulares de grep (no entrecomillar) phtregexp [0-3][0-9]-[0-1][0-9]-[0-9][0-9]_[0-2][0-9][0-6][0-9] imgregexp [^([0-3][0-9]-[0-1][0-9]-[0-9][0-9]_[0-2][0-9][0-6][0-9])] recregexp vidregexp [0-3][0-9]-[0-1][0-9]-[0-9][0-9]_[0-2][0-9][0-6][0-9] sndregexp thmregexp #carpetas en el telefono phonephtdir picture phoneimgdir picture phonerecdir phoneviddir video phonesnddir phonethmdir #carpetas en el computador pcphtdir /home/digitalfredy/avi-local/img/fotos/fotos_telefono pcimgdir /home/digitalfredy/avi-local/img/imagenes_telefono pcrecdir pcviddir /home/digitalfredy/avi-local/video/videos_telefono pcsnddir pcthmdir [-- Attachment #4: Type: text/plain, Size: 373 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #5: Type: text/plain, Size: 164 bytes --] _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2006-08-17 8:30 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-08-15 0:42 [Bluez-users] Totally confused Terry Mackintosh 2006-08-15 1:23 ` redondos 2006-08-15 10:31 ` Rui Pedro Lopes 2006-08-15 22:22 ` redondos 2006-08-16 8:18 ` Rui Pedro Lopes 2006-08-16 13:39 ` redondos 2006-08-16 13:38 ` Rui Pedro Lopes 2006-08-16 15:16 ` redondos 2006-08-17 8:30 ` Rui Pedro Lopes 2006-08-16 14:27 ` manojt ambe 2006-08-16 15:13 ` Rui Pedro Lopes 2006-08-15 15:39 ` Terry Mackintosh 2006-08-15 22:33 ` redondos 2006-08-16 8:32 ` Rui Pedro Lopes 2006-08-15 21:29 ` digitalfredy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox