Danke jetzt hab ich es hinbekommen!
Ein neustart der Fritzbox brachte die Lösung.
Keine Ahnung warum aber danach hat es einfach Funktioniert..
Markus
Danke jetzt hab ich es hinbekommen!
Ein neustart der Fritzbox brachte die Lösung.
Keine Ahnung warum aber danach hat es einfach Funktioniert..
Markus
Dann sollte aplay auch "normal" über usb funktionieren.
(Z.B. aplay /usr/local/lib/python2.7/dist-packages/linphone/unittests/sounds/ahbahouaismaisbon.wav
Gibt schon bekloppte Sounds ...)
ja das funktioniert auch
Nein die bordeigene Soundkarte des Rasperi 3 spielt den sound ab ich bekomme ihn auch nicht auf die usb soundkarte ausgegeben.
Wenn ich den taster drücke leutet das Telefon also kann es doch auch nicht an der fritzbox liegen, oder doch?
Gruß Markus
Danke für die Hilfe
doorpi.pni
capture_device=ALSA: USB Audio Device
playback_device=ALSA: USB Audio Device
#
audio_codecs = PCMA,PCMU
record_while_dialing = False
records = /home/doorpi/records/%Y-%m-%d_%H-%M-%S.wav
#
dialtone = /home/doorpi/sounds/bigben_mono.wav
dialtone_renew_every_start = False
dialtone_volume = 35
echo_cancellation_enabled = False
#
video_codecs = VP8
video_device = StaticImage: Static picture
video_display_enabled = False
video_size = vga
Alles anzeigen
dmesg | grep usb
pi@DoorPi:~ $ dmesg | grep usb
[ 0.152155] usbcore: registered new interface driver usbfs
[ 0.152258] usbcore: registered new interface driver hub
[ 0.152373] usbcore: registered new device driver usb
[ 0.315517] usbcore: registered new interface driver smsc95xx
[ 0.788350] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.790687] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.793050] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 0.800014] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.802351] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.804661] usb usb1: Product: DWC OTG Controller
[ 0.806911] usb usb1: Manufacturer: Linux 4.9.41-v7+ dwc_otg_hcd
[ 0.809181] usb usb1: SerialNumber: 3f980000.usb
[ 0.817472] usbcore: registered new interface driver usb-storage
[ 0.850537] usbcore: registered new interface driver usbhid
[ 0.853000] usbhid: USB HID core driver
[ 1.230505] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.460801] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.463385] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.790511] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.920804] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 1.920813] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.025984] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:09:26:03
[ 2.130522] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[ 2.270833] usb 1-1.4: New USB device found, idVendor=0424, idProduct=2422
[ 2.273642] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.610566] usb 1-1.4.1: new full-speed USB device number 5 using dwc_otg
[ 3.259552] usb 1-1.4.1: New USB device found, idVendor=1b3f, idProduct=2008
[ 3.259568] usb 1-1.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.259576] usb 1-1.4.1: Product: USB Audio Device
[ 3.259584] usb 1-1.4.1: Manufacturer: GeneralPlus
[ 3.265711] input: GeneralPlus USB Audio Device as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.3/0003:1B3F:2008.0001/input/input0
[ 3.331045] hid-generic 0003:1B3F:2008.0001: input,hidraw0: USB HID v2.01 Device [GeneralPlus USB Audio Device] on usb-3f980000.usb-1.4.1/input3
[ 3.430564] usb 1-1.4.2: new full-speed USB device number 6 using dwc_otg
[ 3.577420] usb 1-1.4.2: New USB device found, idVendor=2341, idProduct=8037
[ 3.577437] usb 1-1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.577445] usb 1-1.4.2: Product: Arduino Micro
[ 3.577453] usb 1-1.4.2: Manufacturer: Arduino LLC
[ 3.658373] usbcore: registered new interface driver snd-usb-audio
[ 4.016827] usbcore: registered new interface driver cdc_acm
[ 4.097789] usbcore: registered new interface driver brcmfmac
pi@DoorPi:~ $ ^C
Alles anzeigen
Edit: log Gelöscht
Hallo
Ich komme einfach nicht weiter. Vielleicht habt ihr eine Idee.
Das ganze läuft auf einem pi3,
wenn ich denn Taster am piface drücke läutet das Telefon aber keine Sprachübertragung.
Generel habe ich keine audioausgabe.
Hier noch die ausgaben über putty:
pi@DoorPi:~ $ mplayer /home/doorpi/sounds/bigben_mono.wav
MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /home/doorpi/sounds/bigben_mono.wav.
libavformat version 57.56.101 (external)
Mismatching header version 57.56.100
Audio only file format detected.
Load subtitles in /home/doorpi/sounds/
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
[AO SDL] Samplerate: 44100Hz Channels: Mono Format s16le
[AO SDL] using aalib audio driver.
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)
Alles anzeigen
pi@DoorPi:~ $ cat /proc/asound/cards
1 [Device ]: USB-Audio - USB Audio Device
GeneralPlus USB Audio Device at usb-3f980000.usb-1.4.1, full speed
2 [ALSA ]: bcm2835 - bcm2835 ALSA
bcm2835 ALSA
pi@DoorPi:~ $ lsusb
Bus 001 Device 006: ID 2341:8037 Arduino SA
Bus 001 Device 005: ID 1b3f:2008 Generalplus Technology Inc.
Bus 001 Device 004: ID 0424:2422 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@DoorPi:~ $ sudo nano ~/.asoundrc
Gruß Markus