LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-02-2016, 07:34 PM   #1
cavit8
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Rep: Reputation: Disabled
USB ports stop working after LILO boos kernel (14.4)


Hi all

I'm running SalixOS (a slackware based distro) on a Zotac Zbox. After upgrading to a new version with a more recent kernel, 2 USB ports and the card reader stopped working. I upgraded the kernel further to 4.4.19 in the hopes that it would fix the problem, but no joy. As the thread title suggests, the ports work fine until the kernel gets booted by lilo.

On seeing others with similar problems (http://unix.stackexchange.com/questi...-7-10-or-above), I've been hoping the problem was with autosuspend and edited lilo to pass the kernel commands
Code:
usbcore.autosuspend=-1
usbcore.autosuspend_delay_ms=-1
These commands get the desired result of having autosuspend and autosuspend_delay_ms as negative values which I understand to mean the USB devices should not be suspended. However, no changes to the operation of the ports, excepting what appeared to be a brief flash on the optical mouse when I was testing one port after adding the autosuspend_delay_ms command (set to -1 as above).

No relevant content in messages shows up.

lsmod | grep usb shows

Code:
usbhid                 35450  0 
hid                    87731  2 hid_generic,usbhid
usb_storage            44630  0
Running a live version with kernel 2.6.33 plays fine with all ports as seen by lsusb below.

Code:
 
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 13fd:1640 Initio Corporation
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
    Bus 003 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 002: ID 045e:0750 Microsoft Corp.
    Bus 004 Device 003: ID 192f:0416 Avago Technologies, Pte.
lsusb with 4.4.19 yields

Code:
Bus 001 Device 002: ID 13fd:1640 Initio Corporation INIC-1610L SATA Bridge
Bus 002 Device 002: ID 045e:0750 Microsoft Corp. Wired Keyboard 600
Bus 002 Device 004: ID 192f:0416 Avago Technologies, Pte. ADNS-5700 Optical Mouse Controller (3-button)
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Any suggestions would be appreciated.
 
Old 10-03-2016, 04:09 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Maybe try kernel 4.4.15 instead.
https://github.com/raspberrypi/linux/issues/1633

Post the output of your dmesg on pastebin and link it so someone can take a look at it.

It could be a kernel bug or it's possible that certain versions of the kernel may not have support for usb 2.0. Most machines are 3.0 now.

Aside from that roll back to the kernel that works for you until you can get to what's causing the problem.

I'm surprised that Salix Forum hasn't helped you with this.
I asked if anyone has found a solution.

https://forum.salixos.org/viewtopic....ognized#p40863
 
Old 10-03-2016, 07:40 PM   #3
cavit8
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
Maybe try kernel 4.4.15 instead.
https://github.com/raspberrypi/linux/issues/1633

Post the output of your dmesg on pastebin and link it so someone can take a look at it.

It could be a kernel bug or it's possible that certain versions of the kernel may not have support for usb 2.0. Most machines are 3.0 now.

Aside from that roll back to the kernel that works for you until you can get to what's causing the problem.

I'm surprised that Salix Forum hasn't helped you with this.
I asked if anyone has found a solution.

https://forum.salixos.org/viewtopic....ognized#p40863
Thanks

dmesg output is here http://pastebin.com/0KPZ0bJG

The usb device at the end of the output is me moving the optical mouse from a non-working to a working port.

I'll try 4.4.15. The original non-working kernel was 3.10.17 after which I updated to 4.4.19

Thanks for the prod on the SalixOS forum.
 
Old 10-04-2016, 08:13 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I msybe got your same problem, my 3.0 USB ports sometimes when I boot up return a error then no longer work. I have discovered that if I just do not plug my external drives in before booting they will not get this problem.

if that is your case then it is called a work around. happy days ~ is still in reruns somewhere.
 
Old 10-04-2016, 08:39 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by cavit8 View Post
Thanks

dmesg output is here http://pastebin.com/0KPZ0bJG

The usb device at the end of the output is me moving the optical mouse from a non-working to a working port.

I'll try 4.4.15. The original non-working kernel was 3.10.17 after which I updated to 4.4.19

Thanks for the prod on the SalixOS forum.
You're Welcome.

Let us know if kernel 4.415 helps.
Sometimes re-compiling the kernel will help things that didn't work.....work again.
 
Old 10-05-2016, 05:04 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Lsusb will show what's reported but maybe you need to use lsmod or other tools to see that your chip is supported in kernel.

Since you say some card reader is out then maybe some daughter card driver is at fault. Usually that is only on laptops.
 
Old 10-21-2016, 07:13 PM   #7
cavit8
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks jefro

I'll need to run lsusb with some additional commands under an older kernel. Running it under a recent kernel doesn't appear to give me much more information.

Code:
 lsusb -v | grep -A 6 bcdUSB
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x13fd Initio Corporation
  idProduct          0x1640 INIC-1610L SATA Bridge
--
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x045e Microsoft Corp.
  idProduct          0x0750 Wired Keyboard 600
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
--
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x192f Avago Technologies, Pte.
  idProduct          0x0416 ADNS-5700 Optical Mouse Controller (3-button)
--
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
Couldn't open device, some information will be missing
--
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub

Last edited by cavit8; 11-01-2016 at 07:47 PM. Reason: Non-contributory
 
Old 12-26-2016, 04:39 PM   #8
cavit8
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
After much updating of new release kernels and browsing of forums, I've gone to a distro that uses 3.16 kernel and all is well. All ports are operational. I've yet to discover what it is about the architecture of the Zotac that newer kernels dislike, but it's a moot point now.

Thanks to all who contributed. I've marked the thread as solved although strictly speaking it hasn't been.

Last edited by cavit8; 12-26-2016 at 04:40 PM.
 
Old 12-27-2016, 03:42 AM   #9
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by cavit8 View Post
After much updating of new release kernels and browsing of forums, I've gone to a distro that uses 3.16 kernel and all is well. All ports are operational. I've yet to discover what it is about the architecture of the Zotac that newer kernels dislike, but it's a moot point now.

Thanks to all who contributed. I've marked the thread as solved although strictly speaking it hasn't been.
Extract configs from both kernels (3.16 and 4.4) and compare them for USB-related difference.
 
Old 12-27-2016, 01:57 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Teufel View Post
Extract configs from both kernels (3.16 and 4.4) and compare them for USB-related difference.
How would you extract the configs?
 
Old 12-27-2016, 05:43 PM   #11
cavit8
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hmmm, I'll see what I can find.

The config should be in /proc/config.gz after booting the kernel, AFAIK
 
  


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
One of my three usb ports is not working Alok Rai Linux - Newbie 4 08-18-2015 09:27 AM
Usb ports not working yb99 Linux - Hardware 5 03-16-2010 01:35 PM
USB ports not working matrim Fedora 1 03-17-2007 05:46 AM
USB ports not working mifan Linux - Hardware 15 09-24-2005 09:11 PM
USB ports not working civ247 Mandriva 0 07-08-2004 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:29 AM.

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