Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Bluetooth] Error al transferir archivos (solucionado)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
Soul Lost
Guru
Guru


Joined: 09 Oct 2004
Posts: 451
Location: UnderHouse

PostPosted: Thu Jan 18, 2007 6:25 am    Post subject: [Bluetooth] Error al transferir archivos (solucionado) Reply with quote

Tengo soporte de bluetooth para un adaptador de pc, pero al momento de pasar archivos a mi cel. obtengo un error:

Code:

Browsing 00:16:4E:C5:09:32 ...
Service Name: OBEX Object Push
Service RecHandle: 0x1002b
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 9
  "OBEX" (0x0008)
Service Class ID List:
  "OBEX Object Push" (0x1105)
** Message: device 00:16:4E:C5:09:32 (OBEX Object Push) port 9



** (gnome-obex-send:22313): CRITICAL **: btctl_obexclient_source_new: assertion `channel <= 0' failed

** (gnome-obex-send:22313): WARNING **: Unable to initialize OBEX client source


Mis archivos de config:
Code:

UnderHouse ~ # cat /etc/bluetooth/hcid.conf
#
# HCI daemon configuration file.
#

# HCId options
options {
        # Automatically initialize new devices
        autoinit yes;

        # Security Manager mode
        #   none - Security manager disabled
        #   auto - Use local PIN for incoming connections
        #   user - Always ask user for a PIN
        #
        security user;

        # Pairing mode
        #   none  - Pairing disabled
        #   multi - Allow pairing with already paired devices
        #   once  - Pair once and deny successive attempts
        pairing multi;

        # PIN helper
        pin_helper /etc/bluetooth/pin-helper;

        # D-Bus PIN helper
        #dbus_pin_helper;
}

# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        name "BlueZ (%d)";

        # Local device class
        class 0x3e0100;

        # Default packet type
        #pkt_type DH1,DM1,HV1;

        # Inquiry and Page scan
        iscan enable; pscan enable;

        # Default link mode
        #   none   - no specific policy
        #   accept - always accept incoming connections
        #   master - become master on incoming connections,
        #            deny role switch on outgoing connections
        lm accept;

        # Default link policy
        #   none    - no specific policy
        #   rswitch - allow role switch
        #   hold    - allow hold mode
        #   sniff   - allow sniff mode
        #   park    - allow park mode
        lp rswitch,hold,sniff,park;

        # Authentication and Encryption (Security Mode 3)
        #auth enable;
        #encrypt enable;
}


Por cierto para tranferir archivo del cel. a la pc, funciona bien..

Alguna pista?
_________________
Mi blog:soullost.org


Last edited by Soul Lost on Sat Jan 27, 2007 4:26 am; edited 1 time in total
Back to top
View user's profile Send private message
kalcetoh
Guru
Guru


Joined: 05 Jun 2005
Posts: 304

PostPosted: Mon Jan 22, 2007 10:34 pm    Post subject: Reply with quote

A mi me pasa igualito, creo recordar haber leído en algún sitio que es un problema en los kernels 2.18 y 2.19
_________________
Hazmereir, un menéame de humor: Hazmereir
Back to top
View user's profile Send private message
johnlu
Apprentice
Apprentice


Joined: 22 Aug 2004
Posts: 242
Location: Córdoba, España

PostPosted: Thu Jan 25, 2007 7:26 pm    Post subject: Reply with quote

Bien, yo he solucionado ese mismo problema, hay que usar libbtctl-0.8.2. No está en portage, pero hay un ebuild en el bugzilla de gentoo https://bugs.gentoo.org/show_bug.cgi?id=157600.
Lo añadís en un overlay que os creais vosotros mismos y lo instalais.

Recordad que cuando actualicen el libbtctl a la versión 0.8.2 en portage, tendréis que desinstalar el que teneis en vuestro overlay, después borrarlo del overlay y luego actualizar al oficial.

A mi desde que lo hice me va de perlas.
Back to top
View user's profile Send private message
johnlu
Apprentice
Apprentice


Joined: 22 Aug 2004
Posts: 242
Location: Córdoba, España

PostPosted: Thu Jan 25, 2007 7:44 pm    Post subject: Reply with quote

Bien, ahora que lo pienso, lo mismo no habéis tratado nunca con los overlays en gentoo. Así que pondré unas notas rápidas para añadirlo fácilmente.

Añadís la línea siguiente a vuestro /etc/make.conf:
Code:
PORTDIR_OVERLAY="$PORTDIR_OVERLAY /usr/local/portage/myoverlay"


Si no tenéis el directorio myoverlay en /usr/local/portage/, lo creáis.

Code:
# cd /usr/local/portage/myoverlay/
# mkdir net-wireless
# mkdir net-wireless/libbtctl
# cp /ruta/donde/tengas/el/libbtctl-0.8.2.ebuild net-wireless/libbtctl/
# cd net-wireless/libbtctl
# ebuild libbtctl-0.8.2.ebuild digest
Back to top
View user's profile Send private message
Soul Lost
Guru
Guru


Joined: 09 Oct 2004
Posts: 451
Location: UnderHouse

PostPosted: Sat Jan 27, 2007 4:25 am    Post subject: Reply with quote

Todo bien :) .

Quita la version de pruebas y pase a estable tanto gnome-bluetooth, libbtcl, recompile los modulos sobre bluetooth para agregarlos a la imagen del nucleo, además de acoplar mi cel. con el dispositivo bluetooth (aunque creo esto es lo que faltaba) y todo va correctamente..

p.d La solución que dices ya la habia encontrado, bien por si a alguién más le sirve..
_________________
Mi blog:soullost.org
Back to top
View user's profile Send private message
kalcetoh
Guru
Guru


Joined: 05 Jun 2005
Posts: 304

PostPosted: Sun Jan 28, 2007 2:31 pm    Post subject: Reply with quote

johnlu wrote:
Bien, ahora que lo pienso, lo mismo no habéis tratado nunca con los overlays en gentoo. Así que pondré unas notas rápidas para añadirlo fácilmente.

Añadís la línea siguiente a vuestro /etc/make.conf:
Code:
PORTDIR_OVERLAY="$PORTDIR_OVERLAY /usr/local/portage/myoverlay"


Si no tenéis el directorio myoverlay en /usr/local/portage/, lo creáis.

Code:
# cd /usr/local/portage/myoverlay/
# mkdir net-wireless
# mkdir net-wireless/libbtctl
# cp /ruta/donde/tengas/el/libbtctl-0.8.2.ebuild net-wireless/libbtctl/
# cd net-wireless/libbtctl
# ebuild libbtctl-0.8.2.ebuild digest


Guay, ahora sí que funciona, no sé porque no ponen esa versión en portage.

¿Alguien sabe alguna manera para que al darle click secundario en un fichero salga la opción de enviar vía bluetooth?
_________________
Hazmereir, un menéame de humor: Hazmereir
Back to top
View user's profile Send private message
Soul Lost
Guru
Guru


Joined: 09 Oct 2004
Posts: 451
Location: UnderHouse

PostPosted: Sun Jan 28, 2007 2:58 pm    Post subject: Reply with quote

Code:

Calculating dependencies... done!
[ebuild   R   ] gnome-extra/nautilus-sendto-0.8-r1  USE="bluetooth debug -eds -gaim -gajim -sylpheed -thunderbird" 302 kB


Aunque yo tengo un problema al enviar, me dice que no es posible leer el archivo :cry: , seria cosa de ver bien xD (si alguién sabe algo, que lo comente :P)
_________________
Mi blog:soullost.org
Back to top
View user's profile Send private message
kalcetoh
Guru
Guru


Joined: 05 Jun 2005
Posts: 304

PostPosted: Sun Jan 28, 2007 3:08 pm    Post subject: Reply with quote

Soul Lost wrote:
Code:

Calculating dependencies... done!
[ebuild   R   ] gnome-extra/nautilus-sendto-0.8-r1  USE="bluetooth debug -eds -gaim -gajim -sylpheed -thunderbird" 302 kB


Aunque yo tengo un problema al enviar, me dice que no es posible leer el archivo :cry: , seria cosa de ver bien xD (si alguién sabe algo, que lo comente :P)

Lamentablemente yo uso amd64 y ese paquete no tiene ni keyword, así que intentaré instalarlo, pero creo recordar que lo instalé cuando tenía el ordenador antiguo (x86) y no funcionaba.
_________________
Hazmereir, un menéame de humor: Hazmereir
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum