daniel huhardeaux a écrit :

Clemens Ladisch a écrit :

daniel huhardeaux wrote:


ALSA lib pcm_hw.c:324:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS
failed: Relais brisé (pipe)


Are there any messages in the system log when this happens?


So as told yesterday, I grab 2.6.6 kernel and install it. Still the same problem. At first, what I don't understand, is that oss is not activated in config file and I still have audio module which is builded. So I put in /etc/hotplug/blacklist this module to avoid it to be loaded when I plug the phone. So for me (tell me if I'm wrong) only alsa is activated. But if I plug in my phone, I still get

usb 2-2: new full speed USB device using address 5
5:1:1: cannot get freq at ep 0x1
5:2:1: cannot get freq at ep 0x82
input: USB HID v1.00 Device [??Welltech Computer K1000A] on usb-0000:00:03.1-2


in kern.log I have

May 22 11:11:23 nomade kernel: usbcore: registered new driver snd-usb-audio
May 22 11:11:45 nomade kernel: usb 2-2: new full speed USB device using address 5
May 22 11:11:46 nomade kernel: 5:1:1: cannot get freq at ep 0x1
May 22 11:11:46 nomade kernel: 5:2:1: cannot get freq at ep 0x82
May 22 11:11:47 nomade kernel: usbcore: registered new driver hiddev
May 22 11:11:47 nomade kernel: input: USB HID v1.00 Device [??Welltech Computer K1000A] on usb-0000:00:03.1-2
May 22 11:11:47 nomade kernel: usbcore: registered new driver hid
May 22 11:11:47 nomade kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver


Also, each time plug/unplug it, the address is increasing (+1) Is it normal? Checking my alsamixer I see an USB mixer. So I launch xmms and modify output to hw:1,0 (phone) Reading file give me still

ALSA lib pcm_hw.c:324:(snd_pcm_hw_hw_params) SNDRV_PCM_IOCTL_HW_PARAMS failed: Relais brisé (pipe)

** WARNING **: alsa_setup(): Unable to install hw params

With information that I have to check that:

1. soundcard is correctly setup
2. I have the right output plugin
3. no other program is blocking sound card

and in log I have

May 22 11:18:26 nomade kernel: 5:1:1: cannot get freq at ep 0x1

Here you can see that the "[...]kernel: 5:2:1: cannot get freq at ep 0x82" doesn't appear.

I just put in blacklist snd-usb-audio and remove audio. That's now what I get in log files.


May 22 11:43:25 nomade kernel: usb 2-2: new full speed USB device using address 2
May 22 11:43:27 nomade kernel: usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
May 22 11:43:27 nomade kernel: usbaudio: valid input sample rate 8000
May 22 11:43:27 nomade kernel: usbaudio: valid input sample rate 48000
May 22 11:43:27 nomade kernel: usbaudio: valid input sample rate 44100
May 22 11:43:27 nomade kernel: usbaudio: valid input sample rate 22050
May 22 11:43:27 nomade kernel: usbaudio: valid input sample rate 11025
May 22 11:43:27 nomade kernel: usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 8000 sratehi 48000 attributes 0x01
May 22 11:43:27 nomade kernel: usbaudio: valid output sample rate 8000
May 22 11:43:27 nomade kernel: usbaudio: valid output sample rate 48000
May 22 11:43:27 nomade kernel: usbaudio: valid output sample rate 44100
May 22 11:43:27 nomade kernel: usbaudio: valid output sample rate 22050
May 22 11:43:27 nomade kernel: usbaudio: valid output sample rate 11025
May 22 11:43:27 nomade kernel: usbaudio: device 2 interface 1 altsetting 1: format 0x80000010 sratelo 8000 sratehi 48000 attributes 0x01
May 22 11:43:27 nomade kernel: usbaudio: registered dsp 14,19
May 22 11:43:27 nomade kernel: usbaudio: constructing mixer for Terminal 8 type 0x0301
May 22 11:43:27 nomade kernel: usbaudio: registered mixer 14,16
May 22 11:43:27 nomade kernel: usbaudio: constructing mixer for Terminal 12 type 0x0101
May 22 11:43:27 nomade usb.agent[8167]: audio: loaded sucessfully
May 22 11:43:27 nomade kernel: usbaudio: registered mixer 14,32
May 22 11:43:27 nomade kernel: usb_audio_parsecontrol: usb_audio_state at db82727c
May 22 11:43:27 nomade kernel: usbcore: registered new driver audio
May 22 11:43:27 nomade kernel: drivers/usb/class/audio.c: v1.0.0:USB Audio Class driver
May 22 11:43:27 nomade kernel: usbcore: registered new driver hiddev
May 22 11:43:27 nomade usb.agent[8167]: snd-usb-audio: blacklisted
May 22 11:43:27 nomade usb.agent[8215]: usbhid: loaded sucessfully
May 22 11:43:27 nomade kernel: input: USB HID v1.00 Device [??Welltech Computer K1000A] on usb-0000:00:03.1-2
May 22 11:43:27 nomade kernel: usbcore: registered new driver hid
May 22 11:43:27 nomade kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
May 22 11:43:28 nomade input.agent[8294]: evdev: already loaded
May 22 11:43:28 nomade input.agent[8294]: joydev: already loaded
May 22 11:43:28 nomade input.agent[8280]: evdev: already loaded
May 22 11:44:13 nomade kernel: usbcore: registered new driver snd-usb-audio
May 22 11:46:12 nomade kernel: usbaudio: failure (error -32) to get output sampling frequency device 2 interface 1 endpoint 0x1
May 22 11:46:18 nomade kernel: usbaudio: failure (error -32) to get output sampling frequency device 2 interface 1 endpoint 0x1
May 22 11:52:18 nomade kernel: usbaudio: failure (error -32) to get output sampling frequency device 2 interface 1 endpoint 0x1
May 22 11:52:21 nomade kernel: usbaudio: failure (error -32) to get output sampling frequency device 2 interface 1 endpoint 0x1


and here too there is a problem with endpoint 0x1. Is this an alsa issue or should it be forwarded to USB kernel mailing list?

Thanks for help.

--
Daniel


------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to