OpenWrt Forum Archive

Topic: Please help me install OpenWRT on Compex NP-28G

The content of this topic has been archived on 29 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Greetings,
I am new to these forums so I apologize in advance if I ask for help in the wrong place:

I got a used (like new) Compex NP-28G router which I planned to use mostly as wireless access point + USB web-camera survelliance.
One of the reasons I bought it in the first place was because the manual stated it supports webcams out of the box.
For the survelliance I've purchased Logitech QuickCam Orbit (mentioned as one of the supported devices) but unfortunately it does not work with Compex firmware.
The reason is because I actually got Logitech QuickCam Orbit MP version which is better than the regular Logitech QuickCam Orbit but uses a different chipset.
The old Logitech QuickCam Orbit is supported by "pwc" driver which is available in Compex NP-28G out of the box, while the newer MP version needs uvc driver which exists for Linux but not as part of Compex firmware. Unfortunately Compex firmware is not available as source code so you cannot add the driver there.

Since I did not want to lose my money spent on the router and the webcam, I browsed the internet to try to find a solution. I learned that Compex NP-28G actually uses embedded Linux and you can put any distribution there, not just the factory Compex one. This is how I came to this site (OpenWRT.org) and found out about OpenWRT distribution, which looks like a decent solution to my challenge plus it's open-source and free, so I will be able to change and customize it even more in the future.

After browsing the forums for a while, I got an impression that although the Wiki page states that NP-28G is not supported, in reality it is already supported with Kamikaze and it's possible even to download a ready bin snapshot. This is what I did by downloading "openwrt-adm5120-np28g-squashfs.bin" from http://downloads.openwrt.org/snapshots/adm5120/

I also read the instructions for installing OpenWRT and got the impression that you can use the bin file with the vendor "Firmware upgrade" web-based interface. So I did, and after the firmware was flashed successfully, the router stopped working smile So I read about reviving the router via TFTP, and revived it back with factory firmware. Then I tried to flash it with "openwrt-adm5120-np28g-squashfs.bin" via TFTP, but got the same result - router stops working. I tried also the openwrt-adm5120-np28g-jffs2.bin both via the web interface and via the TFTP, to same result. When I try the TRX version, both the web-interface and the TFTP do not accept it. Web interface says that it's bad firmware (the bin files were accepted fine), and during TFTP the diagnosis LED flashes with status that says the same (bad firmware).

So thank you for reading so far, and I would be really grateful if someone could point it out to me what I am doing wrong smile
I understand there is also a possibility to connect a COM-port to the router to watch the console, but I prefer not to disassembly it unless absolutely necessary.
I have seen quite a lot of console (loader) outputs posted here in the forums - do people always use the COM-port connection to get them, or is there any other way?
Any help would be greatly appreciated!

Thanks,
Yogev

I wonder if anyone actually managed to install OpenWRT on that router - I've seen a few posts on these forums and on the net that it's possible, but no guidelines so far sad

yapoo wrote:

Hi.

In my case,
http://forum.openwrt.org/viewtopic.php?id=10844
I had to attache serial console. So this doesn't fit your need.

But I suggest you keep your eyes on development status.

regards,
zukky

Thanks a lot for your help, I really appreciate it! As a last resort I AM willing to open the device and use the serial console, but since I am very poor with soldering skills, I will probably just plain "brick" it forever. This is why I tried to stay in the "software" realm as long as it's possible.

However I did call Compex support in Singapore Tel: +65 6286 2086 ext. 199  (Mon - Fri, 8:00am - 5:45pm GMT+8:00) and explained them the problem I have.
That is, Logitech Orbit MP is not working with Compex NP28G since it needs linux-uvc drivers which are not part of Compex firmware.
And I told them that since it's not officially supported anymore, I am willing to pay them if they agree to add support, and maybe if they upgrade the MyLoader version as well (I got from your thread an impression that upgrading to MyLoader 2.4 will allow supporting OpenWRT).

They asked me to send them an e-mail to: support@compex.com.sg
and expain the details, which I did (see below). They answered me that they will give me a quote.
I hope it's doable (either upgrading to MyLoader 2.4 and installing OpenWRT, or adding linux-uvc in their native Firmware to support cameras that need UVC driver, including the Logitech Orbit MP camera), and I hope it does not cost a fortune to implement. If yes, then I am willing to pay for their work, and then at least some people can benefit from this firmware upgrade.

From: Yogev Ezra <mail deleted>
To: support@compex.com.sg
Date: Fri, Oct 24, 2008 at 3:28 AM
Subject: Problem with Compex NetPassage 28G + Logitech Orbit MP camera

Dear support,
I own Compex NetPassage 28G router - S/N xxxxxxxx (hidden)
upgraded with the latest firmware I found on your site - NP28G_V227_B0822.IMG
I want to use it with Logitech Orbit MP camera - but the camera is not detected by the router.
Camera USB ID: USB\VID_046D&PID_08CC&MI_00\6&2DD8C22D&0&0000

I searched the internet what is the reason, and it says that this camera needs linux-uvc driver since it has another chipset than Logitech Orbit
So is it possible to add the support to router somehow?

What is important is VID (vendor ID) - 046D and PID (product ID) - 08CC
it's written inside the USB ID line
http://www.quickcamteam.net/documentati … patibility

Thanks in advance,
Yogev Ezra

From: Compex (Singapore) <support@compex.com.sg>
To: Yogev Ezra <mail deleted>
Cc: EsTHeR <mail deleted@compex.com.sg>
Date: Fri, Oct 24, 2008 at 9:23 AM
Subject: Re: Problem with Compex NetPassage 28G + Logitech Orbit MP camera

Dear Yogev Ezra,
I'm sorry for my late reply because i have to discuss first with the R&D side about this issue. For your inquiry i will get one of my colleague in Sales department that will help you for inquiry

Dear Esther,
Please help Mr. Yogev Ezra for his inquiry. He have one NP28G and one Web cam Logitech Orbit MP that is not compatible with our NP28G product. Since this product have been EOL so we do not develop any new firmware for this product anymore but Mr. Yogev Ezra is willing to pay if we want to make this unit compatible with Logitech Orbit MP web cam.
Thank you

Best regards,
Kelly Kosasih

From: EsTHeR <mail deleted@compex.com.sg>
To: "Compex (Singapore)" <support@compex.com.sg>, Yogev Ezra <mail deleted>
Date: Fri, Oct 24, 2008 at 10:21 AM
Subject: Re: Problem with Compex NetPassage 28G + Logitech Orbit MP camera

Dear Yogev,
Good day to you.
This is Esther from Compex sales team. Our NP28 has already been EOL for 1 year or more. However, I understand that you need our support.  I will need to discuss with the product  guy regarding this issues.

In order for us to help you in a faster way, I would like to get more information about your company.

Company name :
Address
Country
Business:
Company website
Where do you purchase our NP28
What is the propose for this NP28 ?
What is the monthly volume  like ?

Regards
Esther
Compex Systems Pte Ltd

From: Yogev Ezra <mail deleted>
To: EsTHeR <mail deleted@compex.com.sg>
Cc: "Compex (Singapore)" <support@compex.com.sg>

Date: Fri, Oct 24, 2008 at 11:23 AM
Subject: Re: Problem with Compex NetPassage 28G + Logitech Orbit MP camera

Dear Esther,
Thank you very much for your reply.
Please see my answers inline inside your questions.

Company name : [Yogev] I am not a company, just a private person.

Address: [Yogev] <address deleted - I gave my home address>

Country: [Yogev] Israel

Business: [Yogev] Software QA Engineer (my work)

Company website: [Yogev] no website since I am not a company

Where do you purchase our NP28: [Yogev] in Israel - the Israel importer of your products is Westicom, and I purchased from one of his dealers - Lamir Computers

What is the propose for this NP28 ? [Yogev] I use it as wireless router for my laptop - I connect it to ADSL modem. But now I want to use it also for the Web Cameras. I bought 2 Logitech Orbit MP cameras so I can watch my house while I am at work - I have a static IP so I can connect from anywhere in the world.
Unfortunately Logitech Orbit MP needs linux-uvc drivers installed in the router, and they do not exist in the latest Firmware you released.

What is the monthly volume  like ? [Yogev] Sorry I don't understand your question here. Can you please rephrase it?
I think if you can just release a firmware which supports also UVC-type cameras, I pay for it but it will be very good for other users as well, since there are a lot of cameras in the market now that do not work with Philips driver that you have in the router (pwc). So I will be happy that I can pay to help other people as well.
Maybe you can also update the MyLoader bootloader that is inside the router, to the latest version you have.

I hope this helps.
Yogev

Hi,

Thanks a lot for your help, I really appreciate it! As a last resort I AM willing to open the device and use the serial console, but since I am very poor with soldering skills, I will probably just plain "brick" it forever. This is why I tried to stay in the "software" realm as long as it's possible.

Although i still have no such device, but OpenWrt firmware should work on this model. Zukky was kind enough, and sent me a device, but it is not here yet. Without console output i can't help too much, but if you can wait while i get my board, you don't have to solder anything.

...
I hope it's doable (either upgrading to MyLoader 2.4 and installing OpenWRT, or adding linux-uvc in their native Firmware to support cameras that need UVC driver, including the Logitech Orbit MP camera), and I hope it does not cost a fortune to implement. If yes, then I am willing to pay for their work, and then at least some people can benefit from this firmware upgrade.

I doubt they can do it for a reasonable price.

Regards,
Gabor

Wow, that's definitely great news! If you need any help from me, like testing (without opening the box), donating money for you tongue or anything else, just let me know! If you need, I can send you the manuals from Compex, if it helps.

There is a photo of inside of this board on a russian computer review website (IXBT) -
http://www.ixbt.com/comm/wireless/wrls- … inside.jpg
I wonder where is the COM-port connection here.
Is it the jumper with 10 pins that has 5 of his pins already present (in the top left corner of the picture)?
Or the jumper with 14 pins called JP1 which has none of his pins soldered? Or is the JP1 the JTAG interface?

EDIT: The site unfortunately does not allow linking directly to the picture (which I would have done myself if I was the site owner tongue )
So you have to go to the article first: http://www.ixbt.com/comm/wrls-compex-ne … -28g.shtml
and then find the image of the inside of the router in the article, and click it. This will open the large image.

(Last edited by yogev_ezra on 25 Oct 2008, 13:42)

Hi.

> Gabor
I've gotten several devices since last shipping. I'll contact you again in the near future. :-)

> yogev_ezra
Yes, 10 pins are including serial console. On my device,

gnd  o o
       o o
       o o rx
       o o tx
       o o

JP1 is maybe JTAG, but I don't know...

FYI, this is output from serial console, the image I installed a couple of months ago

MyLoader version 2.31.0310

Probe Flash Device: 00400000 at bfc00000
Flash Device: Found 1 x16 devices at 0x0 in 16-bit mode
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1


Load Firmware

Loading Firmware . Done.



LZMA loader for ADM5120, Copyright (C) 2007 OpenWrt.org

Looking for TRX header... found at 00030000, kernel:0000001C len:000BBFE4
decompressing kernel... done!
launching kernel...

Linux version 2.6.24.5 (owrt@db.ninjin-net.com) (gcc version 4.1.2) #3 Sat May 17 20:51:52 JST 2008
console [early0] enabled
CPU revision is: 0001800b (MIPS 4Kc)
SoC      : ADM5120 revision 8, running at 175MHz
Bootdev  : NOR flash
Prom     : MyLoader
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal          0 ->     8192
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->     8192
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS0,115200 rootfstype=squashfs,yaffs2,jffs2 init=/etc/preinit
Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
Synthesized clear page handler (26 instructions).
Synthesized copy page handler (46 instructions).
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 30028k/32768k available (1867k kernel code, 2740k reserved, 344k data, 132k init, 0k highmem)
Mount-cache hash table entries: 512
adm5120: registered board 'Generic ADM5120 board'
adm5120: registered board 'Cellvision NFS-101U/101WU'
adm5120: registered board 'Cellvision CAS-861/861W'
adm5120: registered board 'Cellvision CAS-790'
adm5120: registered board 'Cellvision CAS-771/771W'
adm5120: registered board 'Cellvision CAS-700/700W'
adm5120: registered board 'Cellvision CAS-670/670W'
adm5120: registered board 'Cellvision CAS-630/630W'
adm5120: registered board 'Compex WPP54G'
adm5120: registered board 'Compex WPP54AG'
adm5120: registered board 'Compex WP54G-WRT'
adm5120: registered board 'Compex WP54G'
adm5120: registered board 'Compex WP54AG'
adm5120: registered board 'Compex NetPassage 28G'
adm5120: registered board 'Compex NetPassage 27G'
adm5120: registered board 'Edimax BR-6104WG/6114WG'
adm5120: registered board 'Edimax BR-6104K/6104KP'
adm5120: registered board 'Infineon EASY 83000 Reference Board'
adm5120: registered board 'Infineon EASY 5120-WVoIP Reference Board'
adm5120: registered board 'Infineon EASY 5120-RT Reference Board'
adm5120: registered board 'Infineon EASY 5120P-ATA Reference Board'
adm5120: registered board 'Mikrotik RouterBOARD 192'
adm5120: registered board 'Mikrotik RouterBOARD 153'
adm5120: registered board 'Mikrotik RouterBOARD 150'
adm5120: registered board 'Mikrotik RouterBOARD 133C'
adm5120: registered board 'Mikrotik RouterBOARD 133'
adm5120: registered board 'Mikrotik RouterBOARD 112'
adm5120: registered board 'Mikrotik RouterBOARD 111'
adm5120: registered board 'ZyXEL Prestige 335/335WT'
adm5120: registered board 'ZyXEL Prestige 334WT'
net_namespace: 64 bytes
NET: Registered protocol family 16
adm5120: setting up board 'Compex NetPassage 28G'
adm5120: system has PCI BIOS
registering PCI controller with io_map_base unset
PCI: mapping irq for 0000:00:02.0 pin:1, irq:14
PCI: mapping irq for 0000:00:03.0 pin:1, irq:14
PCI: mapping irq for 0000:00:03.1 pin:2, irq:15
PCI: mapping irq for 0000:00:03.2 pin:3, irq:16
Time: MIPS clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  c 2001-2006 Red Hat, Inc.
yaffs May 17 2008 12:40:03 Installing.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: AMBA driver $Revision: 1.41 $
APB:UART0: ttyS0 at MMIO 0x12600000 (irq = 9) is a AMBA
console handover: boot [early0] -> real [ttyS0]
APB:UART1: ttyS1 at MMIO 0x12800000 (irq = 10) is a AMBA
ADM5120 built-in ethernet switch driver version 0.1.1
adm5120-flash.0: probing at 0x1FC00000, size:4096KiB, width:16 bits
adm5120-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
adm5120-flash.0: found at 0x1FC00000, size:4096KiB, width:16 bits
adm5120-flash.0: parsing "cmdlinepart" partitions
adm5120-flash.0: parsing "MyLoader" partitions
adm5120-flash.0: searching for MyLoader partition table at offset 0x10000
4 MyLoader partitions found on MTD device adm5120-flash.0
adm5120-flash.0: adding "MyLoader" partitions
Creating 4 MTD partitions on "adm5120-flash.0":
0x00000000-0x00010000 : "MyLoader"
0x00010000-0x00020000 : "Partition Table"
0x00020000-0x00030000 : "partition0"
0x00030000-0x00400000 : "partition1"
adm5120_wdt: Watchdog Timer version 0.1
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
trxsplit: searching TRX header in 'MyLoader'
trxsplit: searching TRX header in 'Partition Table'
trxsplit: searching TRX header in 'partition0'
trxsplit: searching TRX header in 'partition1'
trxsplit: TRX header found at 0x0
trxsplit: creating TRX partitions in 'partition1' (31,3)
Creating 2 MTD partitions on "partition1":
0x0000001c-0x000bc000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x000bc000-0x003d0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=230000, len=1A0000
0x00230000-0x003d0000 : "rootfs_data"
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 132k freed
Please be patient, while OpenWrt loads ...
Algorithmics/MIPS FPU Emulator v1.5
- preinit -
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
- init -

Please press Enter to activate this console. br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, REGOPS_FUNC)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: trunk
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
MadWifi: ath_getchannels: HAL returned 23 channels.
MadWifi: ath_getchannels: Channel   1 (2412 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel   1 (2412 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel   2 (2417 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel   2 (2417 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel   3 (2422 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel   3 (2422 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel   4 (2427 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel   4 (2427 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel   5 (2432 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel   5 (2432 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel   6 (2437 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel   6 (2437 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel   6 (2437 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 20 reg] Flags CF_TURBO CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel   7 (2442 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel   7 (2442 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel   8 (2447 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel   8 (2447 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel   9 (2452 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel   9 (2452 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel  10 (2457 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel  10 (2457 MHz) Max Tx Power 20 dBm (hw limited) [20 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_getchannels: Channel  11 (2462 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 27 reg] Flags CF_CCK CF_2GHZ
MadWifi: ath_getchannels: Channel  11 (2462 MHz) Max Tx Power 19 dBm (hw limited) [19 hw 27 reg] Flags CF_OFDM CF_2GHZ
MadWifi: ath_attach: Switching rfkill capability off
MadWifi: ath_attach: Switching per-packet transmit power control off
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: ath_announce: Use hw queue 1 for WME_AC_BE traffic
wifi0: ath_announce: Use hw queue 0 for WME_AC_BK traffic
wifi0: ath_announce: Use hw queue 2 for WME_AC_VI traffic
wifi0: ath_announce: Use hw queue 3 for WME_AC_VO traffic
wifi0: ath_announce: Use hw queue 8 for CAB traffic
wifi0: ath_announce: Use hw queue 9 for beacons
ath_pci: wifi0: Atheros 5212: mem=0x11400000, irq=14
admhc-hcd: ADMtek USB 1.1 Host Controller Driver version 0.24.0
admhc-hcd: block sizes: ed 64 td 64
adm5120-hcd adm5120-hcd.0: ADM5120 built-in USB 1.1 Host Controller
adm5120-hcd adm5120-hcd.0: new USB bus registered, assigned bus number 1
adm5120-hcd adm5120-hcd.0: irq 11, io mem 0x11200000
adm5120-hcd: unable to setup operational mode!
admhc-hcd: unable to run ADM5120
adm5120-hcd adm5120-hcd.0: dma_pool_destroy admhc_td, a1f85000 busy
adm5120-hcd adm5120-hcd.0: startup error -1
adm5120-hcd adm5120-hcd.0: USB bus 1 deregistered
adm5120-hcd: probe of adm5120-hcd.0 failed with error -1
USB Universal Host Controller Interface driver v3.0
PCI: Enabling device 0000:00:03.0 (0000 -> 0001)
uhci_hcd 0000:00:03.0: UHCI Host Controller
uhci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:03.0: detected 2 ports
uhci_hcd 0000:00:03.0: irq 14, io base 0x11500000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.24.5 uhci_hcd
usb usb1: SerialNumber: 0000:00:03.0
PCI: Enabling device 0000:00:03.1 (0000 -> 0001)
uhci_hcd 0000:00:03.1: UHCI Host Controller
uhci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:03.1: detected 2 ports
uhci_hcd 0000:00:03.1: irq 15, io base 0x11500020
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.24.5 uhci_hcd
usb usb2: SerialNumber: 0000:00:03.1
PCI: Enabling device 0000:00:03.2 (0000 -> 0002)
ehci_hcd 0000:00:03.2: EHCI Host Controller
ehci_hcd 0000:00:03.2: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:03.2: irq 16, io mem 0x11410000
ehci_hcd 0000:00:03.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 4 ports detected
usb usb3: Product: EHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.24.5 ehci_hcd
usb usb3: SerialNumber: 0000:00:03.2
i2c /dev entries driver
Registered led device: diag
Registered led device: power
Registered led device: wan_cond
Registered led device: wifi
Registered led device: usb1
Registered led device: lan1
Registered led device: usb2
Registered led device: lan2
Registered led device: usb3
Registered led device: lan3
Registered led device: usb4
Registered led device: wan
usbvideo: Unknown symbol v4l_compat_ioctl32
usbvideo: Unknown symbol video_devdata
usbvideo: Unknown symbol video_unregister_device
usbvideo: Unknown symbol video_register_device
usbvideo: Unknown symbol video_usercopy
Linux video capture interface: v2.00
cpia2: V4L-Driver for Vision CPiA2 based cameras v2.0.0
usbcore: registered new interface driver cpia2
konicawc: Unknown symbol RingQueue_WakeUpInterruptible
konicawc: Unknown symbol RingQueue_Dequeue
konicawc: Unknown symbol usbvideo_RegisterVideoDevice
konicawc: Unknown symbol RingQueue_Flush
konicawc: Unknown symbol usbvideo_register
konicawc: Unknown symbol usbvideo_AllocateDevice
konicawc: Unknown symbol usbvideo_Deregister
konicawc: Unknown symbol RingQueue_Enqueue
nw8xx: Unknown symbol usbvideo_RegisterVideoDevice
nw8xx: Unknown symbol usbvideo_register
nw8xx: Unknown symbol usbvideo_AllocateDevice
nw8xx: Unknown symbol usbvideo_Deregister
usbcore: registered new interface driver ov51x
/home/owrt/kamikaze/trunk/build_dir/linux-adm5120_router_le/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c: 1.5.7 : ov51x USB Camera Driver
ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C driver
pwc: Philips webcam module version 10.0.13 loaded.
pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
usbcore: registered new interface driver Philips webcam
usbcore: registered new interface driver gspca
/home/owrt/kamikaze/trunk/build_dir/linux-adm5120_router_le/gspcav1-20071224/gspca_core.c: gspca driver 01.00.20 registered
usbcore: registered new interface driver quickcam
usbcore: registered new interface driver spca5xx
/home/owrt/kamikaze/trunk/build_dir/linux-adm5120_router_le/spca5xx-le/spca_core.c: spca5xx driver 00.57.06LE registered
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
adm5120_wdt: enabling watchdog timer



BusyBox v1.8.2 (2008-05-17 11:00:16 JST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r11161) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:80:48:35:7C:46
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:320 (320.0 B)

br-lan    Link encap:Ethernet  HWaddr 00:41:44:4D:51:20
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:320 (320.0 B)

eth0      Link encap:Ethernet  HWaddr 00:41:44:4D:51:20
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:320 (320.0 B)
          Interrupt:17

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wifi0     Link encap:UNSPEC  HWaddr 00-80-48-35-7C-46-38-0B-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:8
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195
          RX bytes:572 (572.0 B)  TX bytes:664 (664.0 B)
          Interrupt:14

root@OpenWrt:/# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

eth2      no wireless extensions.

eth3      no wireless extensions.

eth4      no wireless extensions.

eth5      no wireless extensions.

br-lan    no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"OpenWrt-np28g"  Nickname:""
          Mode:Master  Frequency:2.412 GHz  Access Point: 00:80:48:35:7C:46
          Bit Rate:0 kb/s   Tx-Power:19 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-91 dBm  Noise level=-91 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@OpenWrt:/#

In fact, adm5120/np-28g image already works far well. vlan setting is remaining.
And you can see the lines

usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)

;-)

regards,

zukky

Hey yapoo,
I wonder how did you manage to get "MyLoader version 2.31.0310"? Was it there from the beginning?
The latest firmware image I get from Compex shows version 2.27 (However this is only from the web-gui of Compex, since I did not open the device yet. So maybe it's not the correct version.) I wonder if changing the loader to 2.31 or any newer version, will solve my problem?

EDIT: I wonder if it's possible to reflash the Compex firmware but with a newer bootloader. i.e. take MyLoader version 2.43 for example, and replace with it the version 2.27 that I have inside the firmware image, leaving the rest of the image as is?

(Last edited by yogev_ezra on 25 Oct 2008, 17:49)

Hi, yogev_ezra.

Yes, from the beginning.
My device's model is mg-11g, a OEM of np-28g. So it is not strange that this one has another bootloader version.
I don't know how to replace myloader to newer version. Sorry.
And version 2.4 is not available maybe.
http://forum.openwrt.org/viewtopic.php?pid=54219#p54219

Hi yapoo,
I was able to find in the internet MyLoader version 2.43 bootloader for Compex another model - WP54 (the file is WP54G6E_loader_update_v2_43.zip)
I wonder if I can use it or it will "brick" the router forever.

It's also a question if I can use a pre-made board that people advertise here: http://www.sparkfun.com/commerce/produc … cts_id=718
to connect my router to the computer, without additional components except the wires. If it's true, then maybe I can buy it and it will save me the soldering.

(Last edited by yogev_ezra on 25 Oct 2008, 19:59)

Hi, yogev_ezra.

This is a reply from compex I recieved over a year ago.

Dear Mr. xxxxxxxx,

>> >>Please see this thread http://forum.openwrt.org/viewtopic.php?id=10844
Thank you for your information about this. 
Unfortunately This product does not support OpenWRT. 

>> >> I had a important information recently.
>> >> The last post said that only MyLoader V2.4 above supports OpenWRT.
Yes, Only Loader Version 2.4 or above is support OpenWRT for WP54,WP18
and WP188 Only
For your NP28G(MG-11G) is not supported version, so sorry about this.

For you information
Compex's Product that support OpenWRT
1. You may log on to http://compex.com.sg/home/OEM/Open_wrt.htm to check
the version that support OpenWRT since more and more products from
Compex will support OpenWRT.
2. The product (Wp54,WP18 and WP188) that support OpenWRT work well and
tested by our team and have more support from us. So i would like to
suggest you to have a supported version and also the development kit if
you to play around with OpenWRT  :-) 

Thank you for choosing Compex Product.


Regards

It is risky to install it into np-28g, if you believe this reply.

I don't know whether the device is useful or not. I always use cellphone to pc usb cable for serial console, like this.
http://image02.wiki.livedoor.jp/h/m/hid … 5e5abb.JPG
This cable has level shifter inside.

zukky

Hi yapoo,

This cable is a problem for me since I would like to keep the router box closed.
So I want to open it once, attach the USB board inside and extrude a connector through a hole that I would cut in the plastic box of the router. This way I can access the router anytime I want with just a regular USB cable without having to open the box again.

I have ordered 2 copies of this USB board from SparkFun. When it arrives, I hope my father will be able to solder it (he's electic technician so he is familiar with those kinds of things).

Hi, yogev_ezra.

Oh, I see. You are going in right way.
Say hello to your father. :-)
Good luck.

zukky

I have some news for you smile

First, I received a reply from Compex sales. Unfortunately they demand too much money for it, as Gabor already predicted:

From: EsTHeR <xxxxx@compex.com.sg>
To: Yogev Ezra <xxxxxx@xxxxx>
Cc: "Compex (Singapore)" <support@compex.com.sg>
Date: Tue, Nov 4, 2008 at 12:25 PM
Subject: Re: Problem with Compex NetPassage 28G + Logitech Orbit MP camera

Dear Yogev,

We are more on the hardware product instead of the developement of the software, hence, if you would pay  for the development to support Web cam Logitech Orbit MP with with our NP28G .

I regret to inform you that the final decision  is that there will be a charges of  USD 8k. As our R&D need time to look for the driver and also to purchase the Web cam etc. just to develop the firmware for you if you would like us to help you on developing the firmware of our EOL NP28 for the Web cam support.

Regards
Esther

Sadly, this is way beyond my budget, so I have to find other methods to make it work sad

I also received the 2 breakout boards from SparkFun today in the mail. They look really cute tongue I thought they would be bigger (guess I was confused by the oversize picture). Now I only need to ask my father to solder the board with the Compex NP28G and I will check if I am able to see the console!

The discussion might have continued from here.