pece57 a écrit :Ca : "Xperia S >> câble adaptateur USB OTG + hub USB alimenté >> souris USB" , avant même de brancher la souris, ça plante aussi avec toujours ce même message dont j'ai parlé dans mon post précédent : " Stockage USB endommagé etc... reformatez le".
Câble USB OTG seul sur le tél., je branche une clé usb, je vois mes fichiers, je branche une souris laser, elle fonctionne.
Ton câble USB OTG et ton Xperia S en mode USB host sont fonctionnels.
Ton hub USB alimenté et peut-être ton Xperia S en mode USB host connecté au hub ont un problème.
Il faudrait peut-être faire un reset de ton Xperia S.
pece57 a écrit :Je mets le Sabre Tiny, paf, toujours pareil,: "erreur dûe à conso. appareil USB. Un appareil USB consomme trop d'électricité " !
Le Sabre consommerait plus d'électricité qu'une souris laser ?
Oui.
T'es sûr que ton hub USB est alimenté?
Lorsque le hub USB est alimenté, le Sabre Tiny est alimenté par le hub et non par le Xperia S.
pece57 a écrit :@ Poka: tu veux dire qu'ensuite seulement, tu branches le Tiny sur le câble OTG une fois qu'audio recorder soit lancé ?
D'abord je branche mon câble OTG à mon DAC.
Puis je branche l'autre bout du câble OTG à mon smartphone Galaxy S3.
Puis je lance l'application USB Audio Recorder PRO.
Pourrais-tu lancer la trace de l'USB Audio Recorder PRO : cocher la case de "Log to File" de "Logging" de "Prefs" ?
Mon fichier de trace "USBAudioLog.txt" entre mon Galaxy S3 et mon ODAC :
USB init OK!
[Début de l'énumération du DAC USB]
getUSBAudioDevices
getDevices
Devices to query = 1
dev
deviceClass = 2, dev.getVendorId() = 5401
dev
deviceClass = 0, dev.getVendorId() = 6226
requestPermission
USBAudioManager::CheckDeviceFD 99
FindDevice 20688 6226
FindInterface num interfaces = 3
interface 0, alt settings = 1
descr class = 3, subclass = 0
interface 1, alt settings = 1
descr class = 1, subclass = 1
interface 2, alt settings = 4
descr class = 1, subclass = 2
is audio streaming, endp = 0
descr class = 1, subclass = 2
is audio streaming, endp = 1
has enough endpoints 2
USBAudioManager::Audio device found!
bMaxPacketSize0 for device = 8, m_bcdUSB = 272, 110 hex
Prepare: full-speed device (12MBit/sec)
Kernel driver is active on interface 0!
Detached kernel driver!!!
Kernel driver is active on interface 1!
Detached kernel driver!!!
Claimed interface 0
DATE: 8-5-2013, 11:21
USBAudioDevice: fd = 99, opened = 1, Vend/Prod = 0x1852 / 0x50d0, USBrev = 110, configs = 1
USBAudioDevice: Manufacturer = FiiO, Product = FiiO USB DAC-E17, SerialNr =
USBConfiguration: # interfaces = 3, config val = 1, config string = , attr = 0x80, maxPower = 500mA
USBInterface: interface nr = 0
USBAltSetting1: alt setting = 0, class = HID, subclass = Undefined, protocol = 0, descr =
USBEndPoint: nr = 1, IN, TRANSFER_TYPE_INTERRUPT, SYNC_TYPE_NONE,
maxPacket = 18, addT = 0, pollingInt = 0, refresh = 0, syncEndp = 0, , NO FREQ CONTROL!
USBInterface: interface nr = 1
USBAltSetting1: alt setting = 0, class = AUDIO, subclass = AUDIOCONTROL, protocol = 0, descr = FiiO USB DAC-E17
USBInputTerminal: m_ID = 9, assoc = 0 m_logicalOutputChannels = 2, m_channelConfig = 3, , , STREAMING
USBOutputTerminal: m_ID = 3, assoc = 0, source = 16, , SPDIF
USBFeatureUnit1: m_ID = 16, SourceID = 9, m_controlSize = 1, channels = 3
m_ID = 16, channel control = 1 (Mute )
m_ID = 16, channel control = 2 ( Volume )
m_ID = 16, channel control = 2 ( Volume )
USBInterface: interface nr = 3
USBAltSetting1: alt setting = 0, class = AUDIO, subclass = AUDIOSTREAMING, protocol = 0, descr =
USBAltSetting1: alt setting = 1, class = AUDIO, subclass = AUDIOSTREAMING, protocol = 0, descr =
USBAltSetting1 (AS): link = 9, delay(f) = 0, PCM, type(1) = 1, ch = 2, subframesize = 2, reso = 16
32000, 44100, 48000, 96000 (fixed)
USBEndPoint: nr = 3, OUT, , SYNC_TYPE_ADAPTIVE,
maxPacket = 388, addT = 0, pollingInt = 1, refresh = 0, syncEndp = 0, , Has freq control
USBAltSetting1: alt setting = 2, class = AUDIO, subclass = AUDIOSTREAMING, protocol = 0, descr =
USBAltSetting1 (AS): link = 9, delay(f) = 0, PCM, type(1) = 1, ch = 2, subframesize = 3, reso = 24
32000, 44100, 48000, 96000 (fixed)
USBEndPoint: nr = 3, OUT, , SYNC_TYPE_ADAPTIVE,
maxPacket = 582, addT = 0, pollingInt = 1, refresh = 0, syncEndp = 0, , Has freq control
USBAltSetting1: alt setting = 3, class = AUDIO, subclass = AUDIOSTREAMING, protocol = 0, descr =
USBAltSetting1 (AS): link = 9, delay(f) = 0, Undefined, type(1) = 3, ch = 16512, subframesize = 0, reso = 16512
(continuous)
USBEndPoint: nr = 3, OUT, , SYNC_TYPE_ADAPTIVE,
maxPacket = 192, addT = 0, pollingInt = 1, refresh = 0, syncEndp = 0, , Has freq control
Added IRQ for EXIT fd 101!
USBAudioDevice::setSampleRate 96000
USBAudioDevice::setSampleRate 96000
selectOutput OK, if = 3, alt = 1
USBAudioDevice::setSampleRate 96000
ERROR: Set sample rate: -1 bytes transferred
[Prêt à lire un fichier de musique]
[Lecture "bugguée" du 1er fichier]
StartUSBTransfers
selectOutput OK, if = 3, alt = 1
Claimed interface for 3 (alt = 1)
Prepare: maxPacketSize = 388, minPacketSize = 384 bytes, frame size = 4, i_bufferSizeFrames = 16384
Wanted nr transfers = 168
Actual 'buffer' size = 16128 to 16296
PLAY Prepare: nrOfTransfers = 168, nrOfPacketsPerTransfer = 1, i_sampleRate = 96000
Allocating 168 buffers of 388 bytes. Each buffer has 1 packets.
Starting from Transport
Out start done
Start PB OK!
startAllTransfers() END ok =
OUT: 5610 (microsec) tot = 384
OUT: 6854 (microsec) tot = 384
OUT: 7571 (microsec) tot = 384
OUT: 8576 (microsec) tot = 384
OUT: 9580 (microsec) tot = 384
StopUSBTransfers
stopAllTransfers done!
[Contournement:
. sélectionner un mauvais débit d'échantillonnage : par exemple 32000 lors de la lecture d'un fichier de musique encodée en 96000
. lancer la lecture pendant quelques secondes
. sélectionner le bon débit d'échantillonnage; dorénavant ça devrait fonctionner normalement]
USBAudioDevice::setSampleRate 32000
selectOutput OK, if = 3, alt = 1
USBAudioDevice::setSampleRate 32000
StartUSBTransfers
selectOutput OK, if = 3, alt = 1
Claimed interface for 3 (alt = 1)
Prepare: maxPacketSize = 388, minPacketSize = 128 bytes, frame size = 4, i_bufferSizeFrames = 16384
Wanted nr transfers = 496
Got 329 transfers!
Actual 'buffer' size = 10528 to 10857
PLAY Prepare: nrOfTransfers = 329, nrOfPacketsPerTransfer = 1, i_sampleRate = 32000
Allocating 329 buffers of 388 bytes. Each buffer has 1 packets.
Starting from Transport
Out start done
Start PB OK!
startAllTransfers() END ok =
OUT: 4338 (microsec) tot = 128
OUT: 4990 (microsec) tot = 128
OUT: 6006 (microsec) tot = 128
OUT: 7005 (microsec) tot = 128
OUT: 7996 (microsec) tot = 128
StopUSBTransfers
Transfer cancelled!
OUT ERROR: Status was 1, len = 128, actual len = 0!
localTotal == 0, buffer = 14ac0a8!
stopAllTransfers done!
USBAudioDevice::setSampleRate 96000
selectOutput OK, if = 3, alt = 1
USBAudioDevice::setSampleRate 96000
[Lecture du fichier de musique encodée en 24/96]
StartUSBTransfers
selectOutput OK, if = 3, alt = 1
Claimed interface for 3 (alt = 1)
Prepare: maxPacketSize = 388, minPacketSize = 384 bytes, frame size = 4, i_bufferSizeFrames = 16384
Wanted nr transfers = 168
Actual 'buffer' size = 16128 to 16296
PLAY Prepare: nrOfTransfers = 168, nrOfPacketsPerTransfer = 1, i_sampleRate = 96000
Allocating 168 buffers of 388 bytes. Each buffer has 1 packets.
Starting from Transport
Out start done
Start PB OK!
startAllTransfers() END ok =
OUT: 5090 (microsec) tot = 384
OUT: 6072 (microsec) tot = 384
OUT: 7065 (microsec) tot = 384
OUT: 8064 (microsec) tot = 384
OUT: 9060 (microsec) tot = 384
StopUSBTransfers
stopAllTransfers done!