LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-13-2006, 03:31 AM   #1
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 195

Rep: Reputation: 30
Mandriva 2007 bluetooth completely broken


I cannot pair any devices. Here's some info:

Code:
# ls /etc/bluetooth/
hcid.conf  pin  rfcomm.conf
Code:
# cat 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; # Also tried "auto", made no difference

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

        # Default PIN code for incoming connections
        passkey "1234";
}

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

        # 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;
}
Code:
# cat pin 
1234
Code:
# cat rfcomm.conf
Code:
# bluepin 
ERR
Code:
# /usr/lib/kdebluetooth/kbluepin 
ERR
Code:
# service bluetooth status
hcid (pid 4301) running...
sdpd (pid 4309) running...
hidd (pid 1134) running...
Code:
# ps -A|grep passkey-agent
 7599 pts/0    00:00:00 passkey-agent
Code:
# hcitool scan
Scanning ...
        00:17:4B:xx:xx:xx       Nokia N70
Code:
# hcitool cc 00:17:4B:xx:xx:xx
# hcitool auth 00:17:4B:xx:xx:xx
HCI authentication request failed: Input/output error
Code:
# rpm -qa|grep blue
kdebluetooth-1.0-0.beta1.8mdv2007.0
kdebluetooth-pin-1.0-0.beta1.8mdv2007.0
libkdebluetooth0-1.0-0.beta1.8mdv2007.0
bluez-utils-3.4-3mdv2007.0
bluez-bluefw-1.0-6mdk
bluez-gnome-0.4-1mdv2007.0
libbluez2-3.4-2mdv2007.0
Code:
# lsusb
Bus 002 Device 004: ID 0a5c:200a Broadcom Corp.
This bluetooth-dongle has always worked with any Linux I've used it with.

If I make the computer visible with "hciconfig hci0 piscan" and try to pair with it from the mobile, it will ask for a PIN-code, but "1234" will not work. The mobile says "Pairing failed".

I am unable to access the mobile's filesystem and many other things from the computer without a working pairing.

Last edited by make; 10-13-2006 at 03:41 AM.
 
Old 11-02-2006, 12:11 PM   #2
delromano
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Rep: Reputation: 0
Mandriva Linux 2007 Errata

Ci sono dei bug in mandriva 2007. Basta che digiti questi comandi che dicono quelli della Mandriva e poi ti funzionera.
Saluti

Paolo


*************************** Mandriva Linux 2007 Errata******************

See also bug_small.png Bug #24359. Mandriva Linux 2007 includes the latest version (3.2) of bluez, the Linux Bluetooth support layer. Unfortunately, this version made several changes that the KDE and GNOME Bluetooth desktop support applications have not yet entirely caught up with. To use Bluetooth with Mandriva Linux 2007, you will have to run some commands manually.

First of all, at each boot, you should run the command:

passkey-agent --default /bin/bluepin

Alternatively, you can install the keychain package, which will register the passkey agent at every boot. It also acts as an agent for ssh and GPG keys.

Secondly, if you wish to pair with your computer from another Bluetooth device, your computer's Bluetooth adapter must be in discoverable mode. Unfortunately, with the new bluez it is currently not possible to set the computer to be permanently discoverable or to make it discoverable from the KDE or GNOME Bluetooth support applications. You must do it with the following console command:

hciconfig hci0 piscan

This will make your computer discoverable for a few minutes. You must run this command each time you wish to make the computer discoverable.
 
Old 11-04-2006, 04:54 AM   #3
make
Member
 
Registered: Apr 2004
Distribution: Mandriva, Ubuntu, openSuSE, FreeBSD, OpenSolaris, PC-BSD
Posts: 195

Original Poster
Rep: Reputation: 30
delromano, as you can see the passkey-agent is running and I have inspected the Mandriva 2007 errata very carefully. I am aware the computer doesn't stay in discoverable mode for a long time.

But this is not the issue now. Nothing in the Mandriva 2007 errata matches my problem nor solves it.

Last edited by make; 11-06-2006 at 12:43 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2007 is a DUD tytower Mandriva 44 01-18-2007 07:51 AM
Mandriva 2007 and Flatout Marrea Mandriva 2 10-08-2006 03:23 PM
Mandriva 2007 and Slackware 11.0 Out! w3bd3vil Mandriva 14 10-06-2006 09:32 AM
Help MANDRIVA 2007 RC3 maprx Mandriva 3 09-27-2006 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration