OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Lemuus 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
-
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!!!
-
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?
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