Re: [OpenWrt-Devel] openwrt-devel Digest, Vol 118, Issue 11

2015-10-03 Thread hackru

> On 03 Oct 2015, at 03:00, openwrt-devel-requ...@lists.openwrt.org wrote:
> 
>> 
>> For #2,  I can write the wiki page, though it is would be complicated.
>> HiWiFi provides an "official" way to unlock the U-Boot now, at the cost of
>> voiding warranty.  However, you have to follow a procedure which requires a
>> Chinese cellphone number, and a WeChat(a whatsapp clone app) account.
>> Understanding of Chinese is also a requirement.  Anyway, since HiWiFi
>> routers are sold in Chinese market only, I believe it won't be a big problem
>> for non-Chinese users.
> 
> There are dozen ways to have devices for CN market in other parts of
> the the world.
> If there is no easier/ready way to switch from official firmware to
> OpenWrt on those devices, I'm not convinced about keeping official
> support for them in OpenWrt repository, but it's just mine opinion.
Sorry, but it's not completely truth. I own this device while i living in 
Moscow, Russia.
I didn't knew Chinese, but i successfully unlocked device by using WeChat 
support, speaking English.
Chinese mobile number was not mandatory for me, support engineer unlocked dev 
mode for me easily.
I think it's okay to have official openwrt support for this device and it's 
much better than using average quality patch from external repository.
So please don't remove official support.___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] ralink target, ehci not working, all the devices get detected at ohci controller

2015-05-15 Thread hackru
Hello,

I'm using fresh openwrt trunk, device is NEXX WT3020H, any device i'm trying to 
connect gets usb 1.1 speeds, what's wrong?
This thing confuses me most:
Fri May 15 14:48:18 2015 kern.info kernel: [  300.52] usb 1-1: new 
high-speed USB device number 2 using ehci-platform
Fri May 15 14:48:18 2015 kern.info kernel: [  300.94] usb 2-1: new 
full-speed USB device number 2 using ohci-platform

Looks like some race condition between usb-controllers, maybe i'm wrong. I 
rebooted router 5 times, always the same result.


Some diagnostics info:

Fri May 15 14:48:18 2015 kern.info kernel: [  300.52] usb 1-1: new 
high-speed USB device number 2 using ehci-platform
Fri May 15 14:48:18 2015 kern.info kernel: [  300.94] usb 2-1: new 
full-speed USB device number 2 using ohci-platform
Fri May 15 14:48:19 2015 kern.info kernel: [  301.45] usb 2-1: not running 
at top speed; connect to a high speed hub
Fri May 15 14:48:19 2015 kern.debug kernel: [  301.47] usb 2-1: no of_node; 
not parsing pinctrl DT
Fri May 15 14:48:19 2015 kern.debug kernel: [  301.47] hub 2-1:1.0: no 
of_node; not parsing pinctrl DT
Fri May 15 14:48:19 2015 kern.info kernel: [  301.47] hub 2-1:1.0: USB hub 
found
Fri May 15 14:48:19 2015 kern.info kernel: [  301.48] hub 2-1:1.0: 4 ports 
detected
# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M

# lsusb -v -d 1a40:0101

Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize064
  idVendor   0x1a40 Terminus Technology Inc.
  idProduct  0x0101 4-Port HUB
  bcdDevice1.11
  iManufacturer   0
  iProduct1 USB 2.0 Hub
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   25
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0
bmAttributes 0xe0
  Self Powered
  Remote Wakeup
MaxPower  100mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  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
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0001  1x 1 bytes
bInterval 255
Hub Descriptor:
  bLength   9
  bDescriptorType  41
  nNbrPorts 4
  wHubCharacteristic 0x
Ganged power switching
Ganged overcurrent protection
  bPwrOn2PwrGood   50 * 2 milli seconds
  bHubContrCurrent100 milli Ampere
  DeviceRemovable0x00
  PortPwrCtrlMask0xff
 Hub Port Status:
   Port 1: .0100 power
   Port 2: .0100 power
   Port 3: .0100 power
   Port 4: .0100 power
Device Qualifier (for other device speed):
  bLength10
  bDescriptorType 6
  bcdUSB   2.00
  bDeviceClass9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize064
  bNumConfigurations  1
Device Status: 0x0001
  Self Powered
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel