kris777 Posted May 20, 2017 Posted May 20, 2017 I have an external audio card connected to usb lsusb Bus 007 Device 014: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller I have a problem that after rebooting the system ... Once it is detected and another time it is not :-( dmesg|tail [ 40.820066] usb 7-1: device descriptor read/64, error -62 [ 41.110045] usb 7-1: device descriptor read/64, error -62 [ 41.400108] usb 7-1: new full-speed USB device number 11 using sunxi-ohci [ 41.580056] usb 7-1: device descriptor read/64, error -62 [ 41.870068] usb 7-1: device descriptor read/64, error -62 [ 42.150067] usb 7-1: new full-speed USB device number 12 using sunxi-ohci [ 42.570119] usb 7-1: device not accepting address 12, error -62 [ 42.750064] usb 7-1: new full-speed USB device number 13 using sunxi-ohci [ 43.170071] usb 7-1: device not accepting address 13, error -62 [ 43.176856] hub 7-0:1.0: unable to enumerate USB device on port 1 I observed that after some time itself connected ....About 5 - 30 min ? :-) dmesg The situation is repeated for two identical sound cards on two Same Armbian system : and Orange Pi Lite ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 3.4.113-sun8i Linux orangepilite 3.4.113-sun8i #10 SMP PREEMPT Thu Feb 23 19:55:00 CET 2017 armv7l armv7l armv7l GNU/Linux Is not that a kernel bug ?
Igor Posted May 20, 2017 Posted May 20, 2017 It looks like bad power supply to me. Which board and how do you power it? ... and please provide logs with armbianmonitor -u
kris777 Posted May 20, 2017 Author Posted May 20, 2017 Quote It looks like bad power supply to me. It's rather impossible ..... Because I have two power supplies One standard from the manufacturer (aliexpress) Second brand: Sunny INPUT:100-240V 1.0A OUTPUT:5V --- 4.0A OUTPUT POWER: 20W MAX http://sprunge.us/TbNh
Igor Posted May 20, 2017 Posted May 20, 2017 Well, hard to say. 5V / 4A should be enough ... in theory, while you can never trust those numbers. You should check if there is any voltage drop on the board at boot stage, especially on USB ports, where this card is powered from. If you have some powered USB hub, than attaching a card via it would be a good test. Luckily i have two of similar USB sound cards around and I'll test, but can't do it today. One is this, which has some c-media chip inside: http://www.dx.com/p/usb-5-1-external-optical-audio-sound-card-adapter-w-aluminum-alloy-shell-blue-414601#.WR_1GuuGOUk
kris777 Posted May 20, 2017 Author Posted May 20, 2017 This is probably the only fault of this model : 0d8c:013c C-Media Electronics, Inc. CM108 I have another company but the sound is strangely cracking sound ? .... but on this problem does not exist is always detected lsusb:Bus 007 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter I got rid of this card :-) The other one is always properly detected but the sound is not good for me ??? Bus 007 Device 018: ID 0c76: 1607 JMTek, LLC. Audio controller Ps. The Orange Pi Lite is also connected to a 16x2 LCD ( internetradio )
Igor Posted May 20, 2017 Posted May 20, 2017 Just now, kris777 said: but the sound is strangely cracking sound I don't know if those super cheap USB sound cards are capable of providing top quality sound? Mine c-media USB card also provide some cracks, but not much noticeable - I am using it on stock Ubuntu x86. For the price I paid, I don't argue. Perhaps get some better USB DAC? Can't really recommend one, since it's out of my zone ... this one must have better and non cracking sound. OK, it costs little too much
kris777 Posted May 20, 2017 Author Posted May 20, 2017 I have no idea why that is so But i knew a small fix that works for me The lsusb -v command is helpful :-) .... ??? Just a script with content: usb-card.sh #! /bin/sh sleep 30 lsusb -v The script starts with a file: rc.local /bin/sh /root/usb-card.sh &
tkaiser Posted May 20, 2017 Posted May 20, 2017 4 minutes ago, kris777 said: The lsusb -v command is helpful You deal with random erratic behaviour and this call fixes it? You did 20 reboots already, 10 with this script in place and 10 without and results are 100% reproducible? You might add the following line to the end of your script: dmesg | grep ' usb ' >>/var/log/usb.log Anyway: I would check for physical issues first (dirt/dust on USB data and power lines of this specific device)
kris777 Posted May 20, 2017 Author Posted May 20, 2017 Quote Anyway: I would check for physical issues first (dirt/dust on USB data and power lines of this specific device) Read carefully my posts above ..... This issue is only added to this model of this version : 0d8c:013c C-Media Electronics, Inc. CM108 I have two new Orange Pi Lite + two different power supplies + Two new usb sound cards This fix works for me :-) Maybe this is an mpd /mpc/pulseaudio / alsa .... configuration error ? If the card is not detected ....Just by ssh, issue the command: lsusb -v .... The card works OK again ? ... regards!
kris777 Posted May 20, 2017 Author Posted May 20, 2017 Weird but i used a 3 port hub without power lsusb Bus 003 Device 002: ID 14cd:8601 Super Top And I no longer see the problem? .... only the direct connection of this sound card gives this effect :-)
tkaiser Posted May 20, 2017 Posted May 20, 2017 1 hour ago, kris777 said: And I no longer see the problem? .... only the direct connection of this sound card gives this effect :-) Yeah funny, dirt cheap electronics crap shows strange (expected) behaviour but people ask about 'kernel bugs'. 1
kris777 Posted May 20, 2017 Author Posted May 20, 2017 Quote Yeah funny, dirt cheap electronics crap shows strange (expected) behaviour but people ask about 'kernel bugs'. You make strange conclusions.... Some believe that all Orange Pi is just cheap gadgets So for the cheap gadget I plug in another cheap gadget :-) I repeat my fix works and rather refers to the software......Armbian ? Ps. I connected this sound card under another system linux /laptop samsung R780 / HTPC - Mobo AT5IONT-I And disabled / restarted the system 7 times.... Has always been detected correctly .... ( LinuxMint 18 Sarah / LibreElec ) Linux kris-samsung 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Linux LibreELEC 4.4.13 #1 SMP Sat Dec 17 17:25:59 CET 2016 x86_64 GNU/Linux Oh..... these cheap gadgets ... OrangePi ? ... Armbian ? .. :-) ......
Recommended Posts