![]() ![]() |
Jul 27 2006, 09:53 PM
Post
#1
|
|
|
Group: Members Posts: 36 Joined: 23-July 06 Member No.: 10,508 |
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 |
|
|
|
Mar 8 2008, 12:55 PM
Post
#2
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
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!!! |
|
|
|
Dec 5 2008, 04:57 PM
Post
#3
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
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 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 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 12:58 AM |