macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 19:39:20 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: How to install USB 1.1 driver and remove USB2?  (Read 1534 times)
0 Members and 1 Guest are viewing this topic.
radko
Newbie
*
Offline Offline

Posts: 10


View Profile
« on: March 06, 2007, 10:22:19 AM »

As in topic maybe someone knew
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #1 on: March 06, 2007, 11:18:02 AM »


It depends on your router model.

Some routers have UHCI others OHCI based USB Controllers.

Removing USB2 is done by:
Code:
ipkg remove kmod-usb2

Installing USB 1.1 is one of theese lines depending on which chipset you have:
Code:
ipkg install kmod-usb-uhci
ipkg install kmod-usb-uhci-iv
ipkg install kmod-usb-ohci

The different package-descriptions is here:
kmod-usb-ohci - 2.4.30-brcm-5 - Kernel driver for OHCI USB controllers
kmod-usb-uhci - 2.4.30-brcm-5 - Kernel driver for UHCI USB controllers
kmod-usb-uhci-iv - 2.4.30-brcm-5 - Kernel driver for Intel/VIA UHCI USB controllers

Logged
radko
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #2 on: March 06, 2007, 11:36:34 AM »

On USB Page I have following information


USB Devices
All connected devices (excluding system hubs)
Bus    Device    Product    Manufacturer    VendorID:ProdID    USB version
01    2    USB to ATA/ATAPI Bridge    JMicron    152d:2338    2.00
 
Mounted USB / SCSI devices
File systems
Device Path    Mount Point    File System    Read/Write    Action
/dev/scsi/host0/bus0/target0/lun0/part2    /opt    ext3    Read/Write    
/dev/scsi/host0/bus0/target0/lun0/part3    /harddisk    ext3    Read/Write    

Swaps
Partition/Filename    Type    Size    Used    Priority
/dev/scsi/host0/bus0/target0/lun0/part1    partition    514044    0    -1
 
Loaded USB drivers
usbdevfs
hub
usb-storage
0-

As I see with printer driver is something wrong happen.

Probably You have right with power issue but I have power supply to 3.5' external storage.
But also system see USB2 after i remove USB2 driver.
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #3 on: March 06, 2007, 11:43:20 AM »


The USB 2.0 that you system sees after removing the USB2 drivers is just information from the connected device. That is is compatible with USB2.0.

Try to give me an output from: lsmod

and you could consider downloading the lsusb utility, which might be able to help you seeing what is connected and so on:
Code:
ipkg install lsusb

witht he command
Code:
lsubs -v
  you will see some verbose information on the connected devices.
Logged
radko
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #4 on: March 06, 2007, 11:51:22 AM »

I am not familiar with linux dum

root@OpenWrt:~$ ipkg install lsusb
Installing lsusb (0.71-1) to root...
Downloading http://downloads.openwrt.org/backports/rc5/lsusb_0.71-1_mipsel.ipk
Installing libusb (0.1.12-1) to root...
Downloading http://downloads.openwrt.org/backports/0.9/libusb_0.1.12-1_mipsel.ipk
Configuring libusb
Configuring lsusb
Successfully terminated.
root@OpenWrt:~$ lsubs -v
-ash: lsubs: not found
root@OpenWrt:~$ lsubs -v
-ash: lsubs: not found
root@OpenWrt:~$
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #5 on: March 06, 2007, 11:56:20 AM »


I made a typo.

It is : lsusb
Logged
radko
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #6 on: March 06, 2007, 12:00:41 PM »

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            0.00
  iManufacturer           0
  iProduct                2 USB UHCI-alt Root Hub
  iSerial                 1 120
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      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     0x0008  1x 8 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x0000
    Ganged power switching
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0x80
 Hub Port Status:
   Port 1: 0000.0300 lowspeed power
   Port 2: 0000.0300 lowspeed power

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            0.00
  iManufacturer           0
  iProduct                2 USB UHCI-alt Root Hub
  iSerial                 1 100
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      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     0x0008  1x 8 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x0000
    Ganged power switching
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0x80
 Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0100 power

Bus 001 Device 002: ID 152d:2338
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x152d
  idProduct          0x2338
  bcdDevice            1.00
  iManufacturer           1 JMicron
  iProduct                2 USB to ATA/ATAPI Bridge
  iSerial                 5 326017562222
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 USB Mass Storage
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              6 MSC Bulk-Only Transfer
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
can't get debug descriptor: Connection timed out
root@OpenWrt:~$
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.327 seconds with 24 queries.