Results 1 to 3 of 3

Thread: ASIX AX88178 Backport Drivers

  1. #1
    Join Date
    Feb 2003
    Location
    Tulsa, OK
    Posts
    5

    ASIX AX88178 Backport Drivers

    I think my Linksys USB200M v2.1 is giving out on me, so I was trying to get a working replacement for my SDDVR40 DirecTivo with 6.2a software. I'm trying to use a cheap gigabit network adapter with the ASIX AX88178 chipset that I bought off of eBay. It works fine on a Windows PC. During the TiVo boot, the network adapter lights up and the LED's blink when a broadcast goes over the network. Pings to 192.168.1.90 do not get a reply though. I've tried the files from the "untested" 20101228 build in the support thread. I've also tried the 20071023, 20070328, and 20060906 versions from the development thread. I replaced the ehci-dummy.o, usbcore.o, usbnet.o, and usb-hci.o files in the /lib/modules folder. I also added the additions to the /etc/hotplug/usb.map file. Netfilter hacks are in place, and dhclient has been renamed. The IP address is manually configured in the rc.sysinit.author file with...

    ifconfig eth0 192.168.1.90 broadcast netmask 255.255.255.0

    Here is the relevant part from my kernel log...

    Sep 8 18:35:15 (none) kernel: usb.c: USB device 2 (vend/prod 0xb95/0x1780) is not claimed by any active driver.
    Sep 8 18:35:15 (none) kernel: usb-ohci.c: USB OHCI at membase 0xb4001000, IRQ 3
    Sep 8 18:35:15 (none) kernel: usb-ohci.c: usb-00:0d.1, PCI device 1033:0035
    Sep 8 18:35:16 (none) kernel: usb.c: new USB bus registered, assigned bus number 3
    Sep 8 18:35:16 (none) kernel: hub.c: USB hub found
    Sep 8 18:35:16 (none) kernel: hub.c: 2 ports detected
    Sep 8 18:35:17 (none) kernel: usb.c: registered new driver usbnet
    Sep 8 18:35:20 (none) kernel: PokeFirewallPort: Poking hole through firewall at port 2190, protocol udp
    Sep 8 18:35:20 (none) kernel: eth0: register usbnet usb-00:0d.2-2, ASIX AX88178 USB 2.0 GIGE Ethernet
    Sep 8 18:35:21 (none) kernel: iptables: No chain/target/match by that name
    Sep 8 18:35:21 (none) kernel: PokeFirewallPort: Poking hole through firewall at port 2190, protocol tcp
    Sep 8 18:35:21 (none) kernel: eth0: open: enable queueing (rx 73, tx 73) mtu 1500 ASIX framing
    Sep 8 18:35:21 (none) kernel: eth0: stop stats: rx/tx 0/0, errs 0/0
    Sep 8 18:35:21 (none) kernel: unlinking :837c4aa0
    Sep 8 18:35:21 (none) kernel: iptables: No chain/target/match by that name
    Sep 8 18:35:35 (none) kernel: using driver frame iter

    Here is the relevant part from tvlog...

    Sep 8 18:35:21 (none) NetworkInterface[151]: If0: Startup 00:0e:c6:88:07:64 <Airlink AGIGAUSB> medium 4
    Sep 8 18:35:21 (none) NetworkInterface[151]: If0: New network interface
    Sep 8 18:35:21 (none) NetworkInterface[151]: If0: Setting IPv4 params
    Sep 8 18:35:21 (none) LinuxNetworkInterface[151]: If0: Automatic config
    Sep 8 18:35:21 (none) LinuxNetworkInterface[151]: If0: Error launching dhclient: 0x50064
    Sep 8 18:35:21 (none) NetworkInterface[151]: If0: Done setting IPv4 params


    I did manage to find an old USB v1.1 3Com adapter in my stash that works. With the 3Com installed, here is the kernel log...

    Sep 9 20:30:06 (none) kernel: usb.c: USB device 2 (vend/prod 0x506/0x4601) is not claimed by any active driver.
    Sep 9 20:30:06 (none) kernel: pegasus.c: v0.4.26 (2002/03/21):Pegasus/Pegasus II USB Ethernet driver
    Sep 9 20:30:06 (none) kernel: usb.c: registered new driver pegasus
    Sep 9 20:30:06 (none) kernel: pegasus.c: intr interval will be changed from 80ms to 128ms
    Sep 9 20:30:06 (none) kernel: pegasus.c: eth0: 3Com USB Ethernet 3C460B
    Sep 9 20:30:06 (none) kernel: pegasus.c: setup Pegasus II specific registers
    Sep 9 20:30:06 (none) kernel: pegasus.c: eth0: link NOT established (0x7849) - check the cable.
    Sep 9 20:30:06 (none) kernel: pegasus.c: link speed and mode 10HDX
    Sep 9 20:30:06 (none) kernel: pegasus.c: !dev
    Sep 9 20:30:10 (none) kernel: PokeFirewallPort: Poking hole through firewall at port 2190, protocol udp
    Sep 9 20:30:10 (none) kernel: iptables: No chain/target/match by that name
    Sep 9 20:30:10 (none) kernel: PokeFirewallPort: Poking hole through firewall at port 2190, protocol tcp
    Sep 9 20:30:10 (none) kernel: iptables: No chain/target/match by that name
    Sep 9 20:30:24 (none) kernel: using driver frame iter
    Sep 9 20:30:24 (none) kernel: ApgLogFrequency( 0 sec )
    Sep 9 20:30:24 (none) kernel: Finished creating ApgDriverFrameIter
    Sep 9 20:30:24 (none) kernel: Using a smartSorter!
    Sep 9 20:30:56 (none) kernel: Calling ReadStream()s
    Sep 9 20:31:09 (none) kernel: ....started status session
    Sep 9 20:31:15 (none) kernel: Initialize with 2 live caches
    Sep 9 20:31:15 (none) kernel: AddInputSection 1
    Sep 9 20:31:15 (none) kernel: AddInputSection 2
    Sep 9 20:31:15 (none) kernel: TvMomMediaSwitchSource:oSetup()
    Sep 9 20:31:15 (none) kernel: TvMomMediaSwitchSource:oSetup()
    Sep 9 20:31:15 (none) kernel: AddInputSection 3
    Sep 9 20:31:17 (none) kernel: ApgManager Transition from state INIT to BOOT
    Sep 9 20:31:21 (none) kernel: ....started status session
    Sep 9 20:31:22 (none) kernel: ....sending Booting event
    Sep 9 20:31:22 (none) kernel: ....sending Booting event
    Sep 9 20:31:26 (none) kernel: iptables: No chain/target/match by that name
    Sep 9 20:31:26 (none) kernel: Scanning for phase4 repair scripts
    Sep 9 20:31:26 (none) kernel: Running boot Stage G_PostApplication scripts
    Sep 9 20:31:27 (none) kernel: pegasus.c: link speed and mode 100FDX
    Sep 9 20:31:27 (none) kernel: pegasus.c: eth0 set allmulti
    Sep 9 20:31:27 (none) last message repeated 2 times
    Sep 9 20:31:27 (none) kernel: pegasus.c: link up
    Sep 9 20:31:27 (none) kernel: pegasus.c: link speed and mode 100FDX


    Here is the tvlog...

    Sep 9 20:30:06 (none) NetworkInterface[151]: If1: Startup 00:04:76:01:6e:7b <3Com 3C460B> medium 4
    Sep 9 20:30:06 (none) NetworkInterface[151]: If1: New network interface
    Sep 9 20:30:06 (none) NetworkInterface[151]: If1: Setting IPv4 params
    Sep 9 20:30:06 (none) LinuxNetworkInterface[151]: If1: Automatic config
    Sep 9 20:30:06 (none) LinuxNetworkInterface[151]: If1: Error launching dhclient: 0x50064
    Sep 9 20:30:06 (none) NetworkInterface[151]: If1: Done setting IPv4 params


    So is there something weird with this generic eBay adapter? It is a pain, but I can access the TiVo through serial cable, but I'm not sure what commands to feed it. I hate to limp along with the 3Com forever.
    Last edited by tulsastorm; 09-10-2012 at 06:39 AM.

  2. #2
    Join Date
    Aug 2004
    Posts
    4,075
    I know there are some compatibility issues with PHY initialization that seem to be NIC specific. You might be able to get it to work if you are setup to compile the driver from source, and can experiment with the driver code a bit. I'd start by seeing if the adapter works with current linux kernels on a PC, and if it does, try to backport the PHY initialiZATION code from there to the tivo 2.4 backport code.

    Sorry, I can't help much without having the device to test with. I do remember trying a device from monoprice once (link), and as I recall I had similar issues. I never took the time to investigate further though.

  3. #3
    Join Date
    Feb 2003
    Location
    Tulsa, OK
    Posts
    5
    Thanks for the reply, Jamie. It's nice to know I'm not the only one. I guess I'll stick with the 3Com then. I loaded the backported pegasus.o driver on the TiVo, and I'll see if that performs better than stock. I hate investing much more time and money in my 5+ year old TiVo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •