Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Unable to configure kernel QE_GPIO
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cmprior
n00b
n00b


Joined: 03 Sep 2011
Posts: 53

PostPosted: Thu Oct 07, 2021 9:07 pm    Post subject: [Solved] Unable to configure kernel QE_GPIO Reply with quote

Hi
I have a PCI USB Card ASMedia ASM1042 which requires the USB_FHCI_HCD setting in the kernel.
This seems to need a symbol QE_GPIO to be set but there seems no way to set this. Using gentoo kernel 5.10.61

I know the card works and USB 2 support is working. USB3 and sd card support is not. The device is showing as using xhci_hcd module currently

03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. P8B WS Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 19, NUMA node 0
Memory at febf0000 (64-bit, non-prefetchable) [size=32K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [68] MSI-X: Enable+ Count=8 Masked-
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Kernel driver in use: xhci_hcd

Anyone any thoughts?

Thanks


Last edited by cmprior on Fri Oct 08, 2021 9:01 pm; edited 2 times in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Thu Oct 07, 2021 10:31 pm    Post subject: Reply with quote

As I read the Kconfig language, QE_GPIO is probably only available for PowerPC. If you are on PowerPC, then you need to enable its prerequisite symbol (QUICC_ENGINE).
Back to top
View user's profile Send private message
cmprior
n00b
n00b


Joined: 03 Sep 2011
Posts: 53

PostPosted: Fri Oct 08, 2021 10:00 am    Post subject: Reply with quote

Hi
I am on x86_64 standard amd64 kernel
I read the same information but the kernel config for the driver seems to suggest FHCI_HCD is needed - the option to include this only seems to be available with the QE_GPIO flag - which is Powerpc only.

Hence the confusion (and several hours working through kernel configs). What is annoying is that this card was working perfectly with this kernel until I had a disc failure (on the root partition of the previous setup).
I have had to install a new disc and re-install the os.
Since then, I have not found the correct setup.The old kernel config is on the failed disc.
Back to top
View user's profile Send private message
freke
l33t
l33t


Joined: 23 Jan 2003
Posts: 977
Location: Somewhere in Denmark

PostPosted: Fri Oct 08, 2021 2:22 pm    Post subject: Reply with quote

I believe it is supposed to use the xhci_hcd driver? (https://h-node.org/hostcontrollers/view/en/1181/ASMedia-Technology-Inc--ASM1042-SuperSpeed-USB-Host-Controller)

The card seems to require some power connected? (https://bbs.archlinux.org/viewtopic.php?id=195950)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Fri Oct 08, 2021 4:16 pm    Post subject: Reply with quote

cmprior,

Code:
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller (prog-if 30 [XHCI])
Kernel driver in use: xhci_hcd


That's correct for the USB chipset on the card. Does it have any other funtionality that would require other drivers too?
The output of
Code:
lspci -nnk
would be good.

If the card needs power, its probably only used by USB connected devices, so self powered devices would work but bus powered devices would not.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cmprior
n00b
n00b


Joined: 03 Sep 2011
Posts: 53

PostPosted: Fri Oct 08, 2021 9:00 pm    Post subject: Reply with quote

Hi
I've come to the conclusion the pcie adaptor (USB host) is faulty. There were reports of USB current overloads on a device and it proved to be the same adaptor. I've removed the pcie card and the errors have disappeared. Lost my USB3 front panel and pc-card reader for now. Ordered a replacement adaptor card and will see what happens.
Thanks for the assistance.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum