Author Topic: Problem With Pegasus Usb Ethernet Solved  (Read 9901 times)

Lemuus

  • Newbie
  • *
  • Posts: 35
    • View Profile
Problem With Pegasus Usb Ethernet Solved
« on: July 28, 2006, 01:53:56 am »
I was having some trouble with a pegasus usb ethernet an OpenZaurus, kernel 2.6 spitz.
The kernel module doesn't catch the pegasus because in kernel 2.6, the kernel now keeps track of USB power budgets, because of that some usb devices doesn't get configured by the kernel, the solution...
use lsusb -v , to see the power requeriments, if you think that are aceptable, at your own risk..., use
echo -n "bconfigvalue" >/sys/bus/usb/devices/"usb address"/bConfigurationValue
example:
echo -n 1 >/sys/bus/usb/devices/1-2/bConfigurationValue
where 1 is the config value you see in lsusb -v, and 1-2 is the address of the usb device...
Sorry for the bad english, because i don't speak it very well...
Daniel

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Problem With Pegasus Usb Ethernet Solved
« Reply #1 on: March 08, 2008, 03:55:05 pm »
Quote from: Lemuus
I was having some trouble with a pegasus usb ethernet an OpenZaurus, kernel 2.6 spitz.
The kernel module doesn't catch the pegasus because in kernel 2.6, the kernel now keeps track of USB power budgets, because of that some usb devices doesn't get configured by the kernel, the solution...
use lsusb -v , to see the power requeriments, if you think that are aceptable, at your own risk..., use
echo -n "bconfigvalue" >/sys/bus/usb/devices/"usb address"/bConfigurationValue
example:
echo -n 1 >/sys/bus/usb/devices/1-2/bConfigurationValue
where 1 is the config value you see in lsusb -v, and 1-2 is the address of the usb device...
Sorry for the bad english, because i don't speak it very well...
Daniel

great information, thanks for posting it, this is valuable information to me.

as for your English, it's better than any foreign language I speak!!!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Problem With Pegasus Usb Ethernet Solved
« Reply #2 on: December 05, 2008, 07:57:06 pm »
WOW! Thanks
I got my portable Iogear mini USB SD card reader to connect with the above solution. The light finally lights!!
It's only 250 mA
It self mounted as /media/sda1
I just used the exact same commands, as I couldn't figure out what the address is for my USB reader.

echo -n 1 >/sys/bus/usb/devices/1-2/bConfigurationValue

I found the config value, but which number (in the below output) is the address?

This doesn't seem to be a permanent solution, because the light doesn't come on or connect when unplugging/replugging the reader.
Is there a way to "keep" this setting and make it permanent, so every time I plug in my mini USB SD reader, it just mounts like in pdaxrom/cacko?

Code: [Select]
Bus 1 Device 5: ID 058f:6331 Alcor Micro Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x058f Alcor Micro Corp.
  idProduct          0x6331
  bcdDevice            1.13
  iManufacturer           1 Generic
  iProduct                2 Mass Storage Device
  iSerial                 3 058F091111B
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower              250mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        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     0x82  EP 2 IN
        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
« Last Edit: December 05, 2008, 08:04:38 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers