Bonsoir (Jour) tt Le monde

Un fan de fedora a besoin de votre aide, un aide qui peut être la raison de se séparé de Windows "Définitivement"

J'ai un casque Bluetooth là (Motorola H820) , qui marche super bien je voulais l'utiliser sous fedora donc j'ai fait un peu de recherche et j'ai installer Bluez qui me permet de connecté mon casque et j'ai créé mon ~/.asoundrc .
mais là rien ne marche le son passe toujours par les enceintes "comme s'il me faut un truc de redirection du son vers mon casque" ban je sais pas quelque chose ne vas pas.

Merci d'avance.
Quelques pistes :
$ hctitool dev
$ hcitool -i adresse_de_la_carte scan
$ lspci
:s ça changer rien j'ai pas de problème avec la connexion. je cherche juste comment changer la sortie audio
y a pas de solution ou j'ai pas bien expliqué mon problème (vue mon français de ... ) 🙂
Parce que c'est bizarre que personne ne me répond :s
tu nous aide vachement trop!
Tu demande de l'aide, je prend le temps de lire ton problème, j'analyse le problème, je te demande de taper dans une console 3 petites commandes . . . Et toi tu arrive juste à dire ça marche pas !!!
Tu voudrais pas me donner le résultats des commandes sus mentionné?
Mes dons divinatoire suite à un champs électromagnétique sont momentanément indisponible !
la sortie audio: système-> matériel->son
Mes dons divinatoire suite à un champs électromagnétique sont momentanément indisponible !
:lol: Drole
Excuse mon ignorance, c'est de ma faute et je l'admette
[Zikas@My-Laptop ~]$ hcitool dev
Devices:
    hci0    00:1E:58:F1:65:E4
[Zikas@My-Laptop ~]$ hcitool -i 00:1E:58:F1:65:E4 scan
Scanning ...
    00:07:A4:F2:D9:29    Motorola HT820
[Zikas@My-Laptop ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
04:04.0 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus Controller (rev 21)
04:04.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 01)
04:04.3 Bridge: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
04:04.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
est ce que tu as la petite icone du bluetooth dans la barre d'application?
regarde aussi système->préférence->matériel->bluetooth
et
$ hciconfig hci0 revision
$ aplay -D plughw:Headset /usr/share/sounds/login.wav
$ aplay -D a2dpd /usr/share/sounds/login.wav
Oui j'ai bien l'icône du Bluetooth et comme j'ai dit j'ai réussie à connecté mon casque
Voila le résultat des commandes
[Zikas@My-Laptop ~]$ hciconfig hci0 revision
hci0:    Type: USB
    BD Address: 00:1E:58:F1:65:E4 ACL MTU: 1017:8 SCO MTU: 64:0
    Firmware 61.67 / 14
[Zikas@My-Laptop ~]$ aplay -D plughw:Headset /usr/share/sounds/startup3.wav 
ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
aplay: main:608: audio open error: Aucun périphérique de ce type
[Zikas@My-Laptop ~]$ aplay -Da2dpd /usr/share/sounds/startup3.wav 
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM a2dpd
aplay: main:608: audio open error: Aucun fichier ou dossier de ce type
il y a un espace après -D , ma faute
tu peux me faire un screenshot quand tu essaye de te connecter
Ah oui j'ai pas fait attention :s
j'ai un scripte qui me permet de me connecté je l'utilise car BlueZ ne démarre pas automatiquement et je sais pas comment l'exécute manuellement

voila le resultat
[Zikas@My-Laptop Bureau]$ su -c './CasqueBT.sh' 
Mot de passe : 
Please place your Bluetooth audio device into pairing mode, then press <Enter>

Scanning for Bluetooth audio device...
select device:
1) 00:03:C9:BB:A8:7D    Wanadoo_1c01
2) 00:07:A4:F2:D9:29    Motorola HT820
#? 2
Selected bluetooth device: 00:07:A4:F2:D9:29
Writing new ~.asoundrc...
Getting default adapter...
/org/bluez/2214/hci0
Removing any stale Bluetooth audio device:
method return sender=:1.11 -> dest=:1.78 reply_serial=2
Creating Bluetooth audio device:
/org/bluez/2214/hci0/dev_00_07_A4_F2_D9_29
et voila le scripte
#!/bin/bash
#
# Copyright (c) 2008 Technetra Corp
# 
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following
# conditions:
# 
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
echo "Please place your Bluetooth audio device into pairing mode, then press <Enter>"
read
echo "Scanning for Bluetooth audio device..."
scan=`hcitool scan | sed 's/^\s*//' | grep -v 'Scanning'`
line=$scan
if [[ "`echo "$scan" | wc -l`" -gt "1" ]]; then
  echo "select device:"
  save_ifs=$IFS
  IFS="
"
  select line in $scan; do
    #echo got $line
    break
  done
  IFS=$save_ifs
fi
BT_BDADDR=`echo $line | awk '{print $1}'`
[[ -z "$BT_BDADDR" ]] && echo no bluetooth device found && exit
echo "Selected bluetooth device: $BT_BDADDR"
# => e.g., 00:11:22:33:44:55
 
echo "Writing new ~.asoundrc..."
cat >> ~/.asoundrc <<EOD
pcm.bt_audioraw {
        type bluetooth
        device $BT_BDADDR
        profile "auto"
}
pcm.bt_audio {
    type plug
        slave.pcm "bt_audioraw"
        hint {
            show on
            description "Bluetooth audio device"
        }
}
EOD
 
echo "Getting default adapter..."
_BT_ADAPTER=`dbus-send --system --print-reply --dest=org.bluez / \
    org.bluez.Manager.DefaultAdapter|awk '/object path/ {print $3}'`
BT_ADAPTER=${_BT_ADAPTER//\"/}
echo "$BT_ADAPTER"
 
echo "Removing any stale Bluetooth audio device:"
_OLD_BT_DEVICE=`dbus-send --system --print-reply --dest=org.bluez $BT_ADAPTER \
    org.bluez.Adapter.FindDevice string:$BT_BDADDR|awk '/object path/ {print $3}'`
OLD_BT_DEVICE=${_OLD_BT_DEVICE//\"/}
dbus-send --system --print-reply --dest=org.bluez $BT_ADAPTER \
    org.bluez.Adapter.RemoveDevice objpath:$OLD_BT_DEVICE
 
echo "Creating Bluetooth audio device:"
_BT_DEVICE=`dbus-send --system --print-reply --dest=org.bluez $BT_ADAPTER \
    org.bluez.Adapter.CreateDevice string:$BT_BDADDR|awk '/object path/ {print $3}'`
BT_DEVICE=${_BT_DEVICE//\"/}
echo "$BT_DEVICE"
 
# optional: echo "Connecting -- BlueZ applet will prompt for pin..."
# optional: dbus-send --system --print-reply --dest=org.bluez \
# optional:     $BT_DEVICE org.bluez.AudioSink.Connect
#
# NOTE: if the above dbus-send is NOT executed, then a pairing
# request for an A2DP device will be initiated the first time
# the ALSA virtual device bt_audio is used. Otherwise, when
# "AudioSink.Connect" is executed, a pairing request to the device
# will be initiated immediately and then ALSA will subsequently use
# this paired connection for playing sound through bt_audio. Executing
# "AudioSink.Connect" is useful for preparing devices ahead of time
# to avoid undesired delays and to avoid pairing mode timeouts.
# 
# Also note that a device conforming to the headset profile (HSP)
# does not support "AudioSink.Connect". However, this script (without
# running "AudioSink.Connect") will still work because BlueZ will
# request pairing when "Adapter.CreateDevice" is executed for HSP
# devices. You can check out your device's specific capabilities
# using sdptool.
 
#echo "Test sound sample..."
#aplay -D bt_audio your_sound_file.wav
pour avoir le bluetooth à l'ouverture de session:
système->préférence->session et tu coche le gestionnaire bluetooth

qui a fait le script?

Décommente les 2 dernières lignes, et la dernière ligne tu la change par aplay /usr/share/sounds/startup3.wav

que renvoie:
$ aplay -L
à vrai dire je me rappelle pas je l'ai trouvé en cherchant une solution à mon prob et le je suis désespéré
j'ai fait comme tu m'a demandé mais rien le son passe par les enceintes 🙁

PS : j'ai un bip après la connexion qui m'indique que la connexion est établie
[Zikas@My-Laptop Bureau]$ aplay -L
front:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC883 Digital
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default
ben là aplay -L list les PCM reconnu mais je vois pas de bluetoorh

un bip dans? dans le casque?
$ cat ~.asoundrc
$ aplay -D /org/bluez/2214/hci0/dev_00_07_A4_F2_D9_29 /usr/share/sounds/startup3.wav
Wé Wé un bip dans le casque :s
[Zikas@My-Laptop Bureau]$ cat ~/.asoundrc 
pcm.bluetooth {
type a2dpd
}
[Zikas@My-Laptop Bureau]$ aplay -D /org/bluez/2214/hci0/dev_00_07_A4_F2_D9_29 /usr/share/sounds/startup3.wav
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM /org/bluez/2214/hci0/dev_00_07_A4_F2_D9_29
aplay: main:608: audio open error: Aucun fichier ou dossier de ce type
on a essayé?
$ aplay -D a2dpd /usr/share/sounds/startup3.wav
et si tu rajoute dans le fichier asoundrc :
pcm.bt_audioraw {
type bluetooth
device 00:07:A4:F2:D9:29 # ou 00:1E:58:F1:65:E4
profile "auto"
}
pcm.bt_audio {
type plug
slave.pcm "bt_audioraw"
hint {
show on
description "Bluetooth audio device"
}
}
$ aplay -D bt_audio your_sound_file.wav
Bonjour,

je te conseille de parcourir ce Fil de discussion


Si tout marche impec pour mplayer, rhythmbox, exaile & consorts, je planche toujours sur une solution pour avoir le flash sur le bluetooth ...


Pour info le périphérique n'est pas reconnu par pulseaudio comme un périphérique de sortie peut être est-ce la qu'il faudrait 'lier' et si quelqu'un avait une idée de comment faire cela ça pourrait être super cool !

Bon dimanche
Re tt le monde merci bioinfornatics pour t'as patience mais je crois que je vais laissé tombé là ça me prend énormément du temps et j'ai constaté que je fais rien d'autre que cherché une solution à ce prob.
si je trouverai une solution je la posterai içi
Peace
Alors... réponse :

Soit tu peux le faire directement dans le logiciel, soit dans les préférences sonore de gnome ou kde, soit tu peux le gérer à l'aide de "pavucontrol"! voir "paman".

Pavucontrol :

Lorsque une application sonore est lancé il apparait dans "lecture", il te suffit de choisir le périphérique en cliquant sur la pointe de flèche quoi pointe vers le bas.

GNOME :

Là c'est dans le panneau de contrôle (les spécialistes gnome devraient pouvoir répondre...)

KDE :

"Configuration du système"->"multimédia"->Mets ton périphérique préféré en premier.

Ensuite pense aussi à gérer les volumes!