Find the answer to your Linux question:
Results 1 to 6 of 6
I installed Slackware 12 on my PB EasyNote today. But now, Houston, we have a problem... At first it seemed my printer (an HP, but that is besides the point) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049

    USB support not working


    I installed Slackware 12 on my PB EasyNote today. But now, Houston, we have a problem...


    At first it seemed my printer (an HP, but that is besides the point) didn't install. After some troubleshooting, I found Slack no longer provides access to my USB ports. No USB-device seemed to work.

    I wasn't totally unprepared to deal with the new udev and HAL. And I expected Slack to have everything off by default. I've run Ubuntu on this machine too, so I'm not totally unfamilliar with the 2.6 kernel and udev. But then, Ubuntu defaults to having everything switched on so it's not the same situation all together.

    Anyway. I made my own user account member of both cdrom and plugdev groups. But the problem even remains when I'm logged in as root.

    dmesg does not mention anything related to USB-devices.

    lsusb comes up with:
    root@BEAST:/ #lsusb
    Bus 4 Device 1: ID 0000:0000
    Bus 1 Device 1: ID 0000:0000
    Bus 3 Device 1: ID 0000:0000
    Bus 2 Device 1: ID 0000:0000
    root@BEAST:/ #

    ls -lR /dev/disk mentions only my Hard Disks.
    But the simple ls /dev doesn't list any of my other devices, be they plugged in or not. The (newly discovered ) /media/*... nothing, just empty directories

    /etc/udev/rules.d contains no USB storage device rules or anything to do with printers.

    ps shows the udev deamon is running. But the system remains deaf to anything I plug in. And there lies my question. Everything I've been able to find on the matter in the last hour (and a half) shows that everything now is automated.

    On boot, I do get lots of error messages when I have a USB device plugged in. It goes by real quick, but from what I catch there are some complaints of the USB device not responding to an IRQ. Perhaps therein lies the problem?

    ---------

    I'm about to reach the conclusion that the kernel just doesn't notice my USB ports. And since I installed the (default) 2.6.21.5-smp kernel (the big one) I don't know where to look next.



    Now I have to get away from my lappy and into the sunlight (IT BURNS!!!), to earn me some money. Thanks for reading, and please leave a post after the beep. Beep.
    Can't tell an OS by it's GUI

  2. #2
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    This is strange for me,since i tried Slack 12 and everything is ok !

    have a look to the /etc/rc.d and be sure that you have the rc.udev ,rc.dbus ,rc.hal executable if not
    chmod +x to each one.

    Regards
    Linux is not only an operating system, it's a philosophy.
    Archost.

  3. #3
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Quote Originally Posted by aliov
    This is strange for me,since i tried Slack 12 and everything is ok !
    Yeah. I expect some troubleshooting, but a kernel not responding at all seems weird to me. You would at least expect to get an error message I'd think.

    Quote Originally Posted by aliov
    have a look to the /etc/rc.d and be sure that you have the rc.udev ,rc.dbus ,rc.hal executable if not chmod +x to each one.
    Good point. rc.udev is up and running. rc.hal is called rc.hald on my system, but that is consistent with the nomenclature of rc.M. And rc.dbus is called rc.messagebus in my system. Again consistent with rc.M


    All are up and running. The weird thing is, on my previous system (Slack 11 that is) the light of my USB stick came on when I inserted it. More precise, it blinked once, and then it lit up continually. This was always so, if the device was mounted or not.
    Now, it blinks once and stays off. It's like it's not getting any juice. I think that's weird.

    I dunno, what would be a good place to look?


    EDIT: Did a clean reinstall, but the problem remains.

    I did get to see an error message, something with bug

    dmesg | grep bug
    ACPI: PCI Interrupt Link [ALKA] disabled and referenced, BIOS bug
    usbmon: debugfs is not available
    ACPI: PCI Interrupt Link [ALKC] disabled and referenced, BIOS bug

    O_o
    Can't tell an OS by it's GUI

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    when you plug you usb and run lsusb nothing appear ?

    Why SMP ,do you have dual processor ? if not use the kernel huge with it's module, i don't it's the first time in my life i see something like your problem,but i believe that we still miss something.

    Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

  6. #5
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Quote Originally Posted by aliov
    when you plug you usb and run lsusb nothing appear ?
    Nothing. It's as though the ports are dead.

    Quote Originally Posted by aliov
    Why SMP ,do you have dual processor ? if not use the kernel huge with it's module, i don't it's the first time in my life i see something like your problem,but i believe that we still miss something.
    Nope, single processor. I use the 2.6.21.5-smp kernel because, you'd think I'm crazy, I didn't get to choose a kernel during install. It didn't occur to me the first time I installed, but the second time I really was looking for the 'kernel chooser'.

    On a side note. I had run Slack 11 with the 2.6HUGE kernel before, and it did nothing but spit out error messages. It did not work at all. Ubuntu too spend it's first seconds of boot giving error messages. Ubuntu ran pretty good on my system, so there was nothing fatal. But in these error messages I've read complaints about pci, aspi, and the likes, just as I do now during boot.

    The 2.4 kernel never gave any error. So that narrows it down I guess. It could be the kernel, it could be the BIOS and it could perhaps also be the motherboard.

    I've tried to change the BIOS settings, as I understood there may lay a problem. But my BIOS doesn't really provide any advanced settings to change. Only boot order and assignment of shared memory.


    I don't know if it's any use to someone, except to clutter this tread but I've posted the output of lspci -v and lsusb -v

    lspci -v
    Code:
    00:00.0 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
            Subsystem: Unknown device 1631:c015
            Flags: bus master, 66MHz, medium devsel, latency 8
            Memory at a0000000 (32-bit, prefetchable) [size=32M]
            Capabilities: [80] AGP version 3.5
            Capabilities: [50] Power Management version 2
    
    00:00.1 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
            Flags: bus master, medium devsel, latency 0
    
    00:00.2 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
            Flags: bus master, medium devsel, latency 0
    
    00:00.3 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
            Flags: bus master, medium devsel, latency 0
    
    00:00.4 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
            Flags: bus master, medium devsel, latency 0
    
    00:00.7 Host bridge: VIA Technologies, Inc. CN400/PM880 Host Bridge
            Flags: bus master, medium devsel, latency 0
    
    00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge (prog-if 00 [Normal decode])
            Flags: bus master, 66MHz, medium devsel, latency 0
            Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
            I/O behind bridge: 0000c000-0000dfff
            Memory behind bridge: c0000000-cfffffff
            Prefetchable memory behind bridge: 90000000-9fffffff
            Capabilities: [70] Power Management version 2
    
    00:06.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
            Subsystem: RaLink Unknown device 2560
            Flags: slow devsel
            Memory at 20000000 (32-bit, non-prefetchable) [disabled] [size=8K]
            Capabilities: [40] Power Management version 2
    
    00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
            Subsystem: Unknown device 1631:c015
            Flags: bus master, medium devsel, latency 22, IRQ 11
            I/O ports at 1200 [size=32]
            Capabilities: [80] Power Management version 2
    
    00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
            Subsystem: Unknown device 1631:c015
            Flags: bus master, medium devsel, latency 22, IRQ 7
            I/O ports at 1220 [size=32]
            Capabilities: [80] Power Management version 2
    
    00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
            Subsystem: Unknown device 1631:c015
            Flags: bus master, medium devsel, latency 22, IRQ 5
            I/O ports at 1240 [size=32]
            Capabilities: [80] Power Management version 2
    
    00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
            Subsystem: Unknown device 1631:c015
            Flags: bus master, medium devsel, latency 22, IRQ 10
            Memory at 20002000 (32-bit, non-prefetchable) [size=256]
            Capabilities: [80] Power Management version 2
    
    00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
            Subsystem: Unknown device 1631:c015
            Flags: bus master, stepping, medium devsel, latency 0
            Capabilities: [c0] Power Management version 2
    
    00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
            Subsystem: Unknown device 1631:c015
            Flags: bus master, stepping, medium devsel, latency 64, IRQ 16
            [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
            [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
            [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
            [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
            I/O ports at 1100 [size=16]
            Capabilities: [c0] Power Management version 2
    
    00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
            Subsystem: Unknown device 1631:c015
            Flags: medium devsel, IRQ 18
            I/O ports at e000 [size=256]
            Capabilities: [c0] Power Management version 2
    
    00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
            Subsystem: Unknown device 1631:c015
            Flags: medium devsel, IRQ 5
            I/O ports at e100 [size=256]
            Capabilities: [d0] Power Management version 2
    
    00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
            Subsystem: Unknown device 1631:c015
            Flags: bus master, stepping, medium devsel, latency 128, IRQ 17
            I/O ports at e200 [size=256]
            Memory at d0000000 (32-bit, non-prefetchable) [size=256]
            Capabilities: [40] Power Management version 2
    
    01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 02) (prog-if 00 [VGA])
            Subsystem: Unknown device 1631:c015
            Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
            Memory at 90000000 (32-bit, prefetchable) [size=64M]
            Memory at c0000000 (32-bit, non-prefetchable) [size=16M]
            [virtual] Expansion ROM at 94000000 [disabled] [size=64K]
            Capabilities: [60] Power Management version 2
            Capabilities: [70] AGP version 2.0

    lsusb -v
    Code:
    Bus 1 Device 1: ID 0000:0000
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      bDeviceProtocol         1 Single TT
      bMaxPacketSize0        64
      idVendor           0x0000
      idProduct          0x0000
      bcdDevice            2.06
      iManufacturer           3 Linux 2.6.21.5-smp ehci_hcd
      iProduct                2 EHCI Host Controller
      iSerial                 1 0000:00:10.3
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           25
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0
        bmAttributes         0xe0
          Self Powered
          Remote Wakeup
        MaxPower                0mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         9 Hub
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 Full speed (or root) hub
          iInterface              0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0004  1x 4 bytes
            bInterval              12
    Hub Descriptor:
      bLength               9
      bDescriptorType      41
      nNbrPorts             6
      wHubCharacteristic 0x000a
        No power switching (usb 1.0)
        Per-port overcurrent protection
        TT think time 8 FS bits
      bPwrOn2PwrGood       10 * 2 milli seconds
      bHubContrCurrent      0 milli Ampere
      DeviceRemovable    0x00
      PortPwrCtrlMask    0xff
     Hub Port Status:
       Port 1: 0001.0100 C_CONNECT power
       Port 2: 0001.0100 C_CONNECT power
       Port 3: 0001.0100 C_CONNECT power
       Port 4: 0000.0100 power
       Port 5: 0000.0100 power
       Port 6: 0000.0100 power
    Device Status:     0x0003
      Self Powered
      Remote Wakeup Enabled
    
    Bus 4 Device 1: ID 0000:0000
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      bDeviceProtocol         0 Full speed (or root) hub
      bMaxPacketSize0        64
      idVendor           0x0000
      idProduct          0x0000
      bcdDevice            2.06
      iManufacturer           3 Linux 2.6.21.5-smp uhci_hcd
      iProduct                2 UHCI Host Controller
      iSerial                 1 0000:00:10.2
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           25
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0
        bmAttributes         0xe0
          Self Powered
          Remote Wakeup
        MaxPower                0mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         9 Hub
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 Full speed (or root) hub
          iInterface              0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0002  1x 2 bytes
            bInterval             255
    Hub Descriptor:
      bLength               9
      bDescriptorType      41
      nNbrPorts             2
      wHubCharacteristic 0x000a
        No power switching (usb 1.0)
        Per-port overcurrent protection
      bPwrOn2PwrGood        1 * 2 milli seconds
      bHubContrCurrent      0 milli Ampere
      DeviceRemovable    0x00
      PortPwrCtrlMask    0xff
     Hub Port Status:
       Port 1: 0000.0100 power
       Port 2: 0000.0100 power
    Device Status:     0x0003
      Self Powered
      Remote Wakeup Enabled
    
    Bus 3 Device 1: ID 0000:0000
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      bDeviceProtocol         0 Full speed (or root) hub
      bMaxPacketSize0        64
      idVendor           0x0000
      idProduct          0x0000
      bcdDevice            2.06
      iManufacturer           3 Linux 2.6.21.5-smp uhci_hcd
      iProduct                2 UHCI Host Controller
      iSerial                 1 0000:00:10.1
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           25
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0
        bmAttributes         0xe0
          Self Powered
          Remote Wakeup
        MaxPower                0mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         9 Hub
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 Full speed (or root) hub
          iInterface              0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0002  1x 2 bytes
            bInterval             255
    Hub Descriptor:
      bLength               9
      bDescriptorType      41
      nNbrPorts             2
      wHubCharacteristic 0x000a
        No power switching (usb 1.0)
        Per-port overcurrent protection
      bPwrOn2PwrGood        1 * 2 milli seconds
      bHubContrCurrent      0 milli Ampere
      DeviceRemovable    0x00
      PortPwrCtrlMask    0xff
     Hub Port Status:
       Port 1: 0000.0100 power
       Port 2: 0000.0100 power
    Device Status:     0x0003
      Self Powered
      Remote Wakeup Enabled
    
    Bus 2 Device 1: ID 0000:0000
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               1.10
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      bDeviceProtocol         0 Full speed (or root) hub
      bMaxPacketSize0        64
      idVendor           0x0000
      idProduct          0x0000
      bcdDevice            2.06
      iManufacturer           3 Linux 2.6.21.5-smp uhci_hcd
      iProduct                2 UHCI Host Controller
      iSerial                 1 0000:00:10.0
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           25
        bNumInterfaces          1
        bConfigurationValue     1
        iConfiguration          0
        bmAttributes         0xe0
          Self Powered
          Remote Wakeup
        MaxPower                0mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         9 Hub
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 Full speed (or root) hub
          iInterface              0
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0002  1x 2 bytes
            bInterval             255
    Hub Descriptor:
      bLength               9
      bDescriptorType      41
      nNbrPorts             2
      wHubCharacteristic 0x000a
        No power switching (usb 1.0)
        Per-port overcurrent protection
      bPwrOn2PwrGood        1 * 2 milli seconds
      bHubContrCurrent      0 milli Ampere
      DeviceRemovable    0x00
      PortPwrCtrlMask    0xff
     Hub Port Status:
       Port 1: 0000.0100 power
       Port 2: 0000.0100 power
    Device Status:     0x0003
      Self Powered
      Remote Wakeup Enabled
    Can't tell an OS by it's GUI

  7. #6
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Resolved:

    lilo.conf needed
    Code:
    append="acpi=off"

    And all was well
    Can't tell an OS by it's GUI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •