Pogoplug v4 with MPD causes USB failure

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Pogoplug v4 with MPD causes USB failure

Postby WarheadsSE » Sat Feb 14, 2015 6:22 pm

In this case, it was the USB3 bus that has ***** itself. Can you use the USB2 port for this sound card?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug v4 with MPD causes USB failure

Postby Holzhaus » Sat Feb 14, 2015 6:40 pm

I'm currently using the USB 2.0 port for the usb drive that contains the root fs.

I think I have an SD card lying around somewhere. Can I use if for booting, too? The installation instructions state that only SATA and the USB-2.0-port can be used for the root fs. If booting from SD is not supported, I'll check if a neighbor can borrow me a USB hub for the top port.
Holzhaus
 
Posts: 62
Joined: Wed Jan 21, 2015 12:40 pm

Re: Pogoplug v4 with MPD causes USB failure

Postby WarheadsSE » Sat Feb 14, 2015 6:44 pm

Hrm...

That is an issue. I can't speak as to why the sound card is killing the USB3 host controller (and thus everything on it). What is the model?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug v4 with MPD causes USB failure

Postby Holzhaus » Sat Feb 14, 2015 7:15 pm

It's a "Creative SoundBlaster Play!". This one.

$this->bbcode_second_pass_code('', '$ cat /proc/asound/cards
0 [U0x41e0x30d3 ]: USB-Audio - USB Device 0x41e:0x30d3
USB Device 0x41e:0x30d3 at usb-0000:00:01.0-1, full speed

$ aplay -l
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: U0x41e0x30d3 [USB Device 0x41e:0x30d3], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

$ lsusb -s 001:005 -v
Bus 001 Device 005: ID 041e:30d3 Creative Technology, Ltd Sound Blaster Play!
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x041e Creative Technology, Ltd
idProduct 0x30d3 Sound Blaster Play!
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 253
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 100
bInCollection 2
baInterfaceNr( 0) 1
baInterfaceNr( 1) 2
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bNrChannels 1
wChannelConfig 0x0001
Left Front (L)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 6
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 9
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 7
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 8
iTerminal 0
AudioControl Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 5 (SELECTOR_UNIT)
bUnitID 8
bNrInPins 1
baSource( 0) 10
iSelector 0
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 9
bSourceID 15
bControlSize 1
bmaControls( 0) 0x01
Mute Control
bmaControls( 1) 0x02
Volume Control
bmaControls( 2) 0x02
Volume Control
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 10
bSourceID 2
bControlSize 1
bmaControls( 0) 0x43
Mute Control
Volume Control
Automatic Gain Control
bmaControls( 1) 0x00
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 13
bSourceID 2
bControlSize 1
bmaControls( 0) 0x03
Mute Control
Volume Control
bmaControls( 1) 0x00
iFeature 0
AudioControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 4 (MIXER_UNIT)
bUnitID 15
bNrInPins 2
baSourceID( 0) 1
baSourceID( 1) 13
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
bmControls 0x00
iMixer 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 1
bDelay 1 frames
wFormatTag 1 PCM
AudioStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 2 Discrete
tSamFreq[ 0] 48000
tSamFreq[ 1] 44100
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 9
Transfer Type Isochronous
Synch Type Adaptive
Usage Type Data
wMaxPacketSize 0x00c8 1x 200 bytes
bInterval 1
bRefresh 0
bSynchAddress 0
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 1 Milliseconds
wLockDelay 1 Milliseconds
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 7
bDelay 1 frames
wFormatTag 1 PCM
AudioStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
bSubframeSize 2
bBitResolution 16
bSamFreqType 2 Discrete
tSamFreq[ 0] 48000
tSamFreq[ 1] 44100
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0064 1x 100 bytes
bInterval 1
bRefresh 0
bSynchAddress 0
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 0 Undefined
wLockDelay 0 Undefined
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 50
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 32

')
Holzhaus
 
Posts: 62
Joined: Wed Jan 21, 2015 12:40 pm

Re: Pogoplug v4 with MPD causes USB failure

Postby grayman4hire » Sun Feb 15, 2015 1:46 am

$this->bbcode_second_pass_quote('Holzhaus', '
')I think I have an SD card lying around somewhere. Can I use if for booting, too? The installation instructions state that only SATA and the USB-2.0-port can be used for the root fs. If booting from SD is not supported, I'll check if a neighbor can borrow me a USB hub for the top port.


You can boot from SD if you upgrade the uBoot using the tutorial here: http://blog.qnology.com/2014/07/hacking ... obile.html

BTW, I've seen that USB3 xhci error on the PPv4 when running OpenWRT: https://forum.openwrt.org/viewtopic.php ... 07#p265307
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Pogoplug v4 with MPD causes USB failure

Postby Holzhaus » Fri Apr 17, 2015 12:04 pm

If I connect an USB 2.0 Hub to the top USB Port and plug the USB Soundcard into that Hub, the error does not occur. So maybe it's a bug in the USB 3.0 driver (?).
Holzhaus
 
Posts: 62
Joined: Wed Jan 21, 2015 12:40 pm

Re: Pogoplug v4 with MPD causes USB failure

Postby jacgl » Fri Apr 17, 2015 10:57 pm

Hi,
looks really like a driver bug. I have the same effect on pogoplug4 just after installing archlinux

[ 25.008301] xhci_hcd 0000:00:01.0: xHCI Host Controller
[ 25.013594] xhci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2
[ 25.052582] xhci_hcd 0000:00:01.0: Host took too long to start, waited 16000 microseconds.
[ 25.060818] xhci_hcd 0000:00:01.0: startup error -19
[ 25.065793] xhci_hcd 0000:00:01.0: USB bus 2 deregistered
[ 25.071187] xhci_hcd 0000:00:01.0: remove, state 1
[ 25.083276] xhci_hcd 0000:00:01.0: USB bus 1 deregistered

With original Pogo FW works good, even works with archlinux, but upgrade did destruction. I havn't found solution yet.
Jacek
jacgl
 
Posts: 4
Joined: Fri Apr 17, 2015 10:45 pm

Re: Pogoplug v4 with MPD causes USB failure

Postby moonman » Sun Apr 26, 2015 1:31 am

You guys are talking about 2 different issues here. There is a bug in kernel 4.0.0 where you can't use any PCI-E peripheral, including USB3 controller. This thread is about a different problem.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 9 guests