LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-01-2020, 07:53 AM   #1
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, Manjaro, Arch
Posts: 180

Rep: Reputation: 24
Rock Pi S - USB A port not working


Hi,
on my Rock Pi S D4, I installed the current image (https://www.linuxquestions.org/quest...2/#post6182540) and can't get the USB A port working.
According to https://wiki.radxa.com/RockpiS/Debian#USB I added
Code:
overlays=rk3308-usb20-host
to /boot/uEnv.txt, but no success.
[Edit:] Now I know why. There's no file "rk3308-usb20-host.dtb" in /boot/dtb/
Code:
grep -i usb /var/log/messages
shows:
Code:
Jan  1 00:00:09 rps1 kernel: [    0.277409] usbcore: registered new interface driver usbfs
Jan  1 00:00:09 rps1 kernel: [    0.277480] usbcore: registered new interface driver hub
Jan  1 00:00:09 rps1 kernel: [    0.277613] usbcore: registered new device driver usb
Jan  1 00:00:09 rps1 kernel: [    1.448810] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan  1 00:00:09 rps1 kernel: [    1.449148] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Jan  1 00:00:09 rps1 kernel: [    1.449930] usbcore: registered new interface driver usb-storage
Jan  1 00:00:09 rps1 kernel: [    1.546428] usbcore: registered new interface driver usbhid
Jan  1 00:00:09 rps1 kernel: [    1.546433] usbhid: USB HID core driver
but nothing is logged in /var/log/messages if I plug in a USB device.
Code:
lsmod
shows:
Code:
Module                  Size  Used by
cfg80211              897024  0
rfkill                 40960  1 cfg80211
realtek                24576  1
snd_soc_simple_card    24576  0
snd_soc_rockchip_i2s_tdm    16384  2
snd_soc_rk3308         77824  1
snd_soc_pcm5102a       16384  0
snd_soc_simple_card_utils    28672  1 snd_soc_simple_card
snd_soc_core          258048  5 snd_soc_rockchip_i2s_tdm,snd_soc_pcm5102a,snd_soc_rk3308,snd_soc_simple_card_utils,snd_soc_simple_card
dwmac_rk               28672  0
snd_pcm_dmaengine      20480  1 snd_soc_core
stmmac_platform        24576  1 dwmac_rk
snd_pcm               139264  2 snd_soc_core,snd_pcm_dmaengine
stmmac                217088  2 stmmac_platform,dwmac_rk
snd_timer              45056  1 snd_pcm
snd                   102400  3 snd_timer,snd_soc_core,snd_pcm
mdio_xpcs              20480  1 stmmac
soundcore              16384  1 snd
cpufreq_dt             20480  0
dm_mod                155648  0
xfs                  1552384  0
Any advice on how to make it work would be appreciated.

Last edited by slacksam; 12-03-2020 at 01:19 AM. Reason: Mark solved
 
Old 12-01-2020, 10:54 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,996

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
Ohci or uhci = usb-1.x
ehci = usb-2.0
xhci = usb-3.x

How come we're only seeing ohci, a module from the last millenium?
 
Old 12-02-2020, 02:24 PM   #3
sndwvs
Member
 
Registered: Aug 2014
Posts: 971

Rep: Reputation: Disabled
Quote:
Originally Posted by slacksam View Post
Hi,
on my Rock Pi S D4, I installed the current image (https://www.linuxquestions.org/quest...2/#post6182540) and can't get the USB A port working.
Any advice on how to make it work would be appreciated.
in the new kernel there is no such in the overlay, I added support

Code:
root@rock-pi-s:~# uname -a && lsusb && dmesg | grep usb

Linux rock-pi-s 5.9.12 #1 SMP PREEMPT Wed Dec 2 19:13:26 UTC 2020 aarch64 GNU/Linux

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[    0.280555] usbcore: registered new interface driver usbfs
[    0.280641] usbcore: registered new interface driver hub
[    0.280787] usbcore: registered new device driver usb
[    0.717025] ehci-platform ff440000.usb: EHCI Host Controller
[    0.717070] ehci-platform ff440000.usb: new USB bus registered, assigned bus number 1
[    0.717307] ehci-platform ff440000.usb: irq 23, io mem 0xff440000
[    0.732840] ehci-platform ff440000.usb: USB 2.0 started, EHCI 1.00
[    0.733279] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    0.733292] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.733303] usb usb1: Product: EHCI Host Controller
[    0.733312] usb usb1: Manufacturer: Linux 5.9.12 ehci_hcd
[    0.733325] usb usb1: SerialNumber: ff440000.usb
[    0.736036] ohci-platform ff450000.usb: Generic Platform OHCI controller
[    0.736070] ohci-platform ff450000.usb: new USB bus registered, assigned bus number 2
[    0.736324] ohci-platform ff450000.usb: irq 24, io mem 0xff450000
[    0.797234] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.09
[    0.797249] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.797260] usb usb2: Product: Generic Platform OHCI controller
[    0.797270] usb usb2: Manufacturer: Linux 5.9.12 ohci_hcd
[    0.797283] usb usb2: SerialNumber: ff450000.usb
[    0.799897] usbcore: registered new interface driver usb-storage
[    0.894839] usbcore: registered new interface driver usbhid
[    0.894845] usbhid: USB HID core driver
 
1 members found this post helpful.
Old 12-03-2020, 01:18 AM   #4
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, Manjaro, Arch
Posts: 180

Original Poster
Rep: Reputation: 24
Works now. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Rock Pi 4C variant adds mini-DP while Rock Pi E offers dual LAN LXer Syndicated Linux News 0 10-03-2019 07:12 AM
ROCK-esque "distro", but not ROCK? piete Linux - Distributions 5 08-21-2006 04:41 PM
Rock Linux -- does it rock ?? rolando Linux - Distributions 2 10-10-2004 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration