OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Zt6688 Source?
Capn_Fish
post Jul 22 2007, 05:19 PM
Post #1





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



After foobaring my DM9601 USB-to-ethernet adapter (never even got to try it sad.gif), I ordered another one that I thought was just like it, but uses a zt6688 chip, which I don't even know who makes it. Does anybody here know who makes it and/or where I can get the Linux driver source?

Thanks.
Go to the top of the page
 
+Quote Post
pelrun
post Jul 22 2007, 06:22 PM
Post #2





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



Actually, you still have a dm9601, just with different USB ids. I built a new beta3 driver which includes the other ids (one of which is 0x6688):

http://www.oesf.org/forums/index.php?showt...ndpost&p=164466

It should be trivial to patch the source to add new ids for a beta4+ driver; there are macros at the bottom of the driver header file.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 22 2007, 06:59 PM
Post #3





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Unfortunately, I have a few issues:

-I am using a 2.6 kernel, so your 2.4 driver won't work.

-The chip says "ZT6688" on it, so I don't think it's a dm9601 chip. It also doesn't say DaviCom on it, and has a funny logo that looks lik "ZT"

The whole text on the chip is:

(ZT logo)
ZT6688
0646S
MM26G6P

If it helps.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 22 2007, 07:30 PM
Post #4





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Ah...I see what you mean. It's a rebranded DM9601 chip. I saw a patch for the kernel driver to add in support, but I don't see the same thing in the source I have... Any hints?
Go to the top of the page
 
+Quote Post
pelrun
post Jul 22 2007, 09:32 PM
Post #5





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



There should be a list of supported usb id's somewhere in the driver - searching for 0x9601 is probably going to get you there pretty quickly - all you need to do is add the id for your particular dongle and recompile.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 23 2007, 08:35 AM
Post #6





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Any other info I need to know? Do I need to get the name exactly right? Would it be in the .c file or the .h file?

I tried once and it didn't work, so I"ll give it another shot...
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 23 2007, 11:10 AM
Post #7





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I think I got it recognized (when I plug it in it loads the DM9601 driver), but I can't get it to work. I've been trying:

CODE
ifconfig eth0 up
dhcpcd eth0


But it just sits there, then shuts down eth0. Am I doing something wrong? Or is the driver not working?

Any help would be much appreciated.
Go to the top of the page
 
+Quote Post
pelrun
post Jul 23 2007, 02:29 PM
Post #8





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



What does dmesg say?
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 23 2007, 03:08 PM
Post #9





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



If I plug it in without modprobing DM9601, it says new USB device found, loading DM9601 or, something to that effect. If I modprobe it before inserting the USB device, it doesn't show anything. I can get the specifics if necessary.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 29 2007, 05:57 PM
Post #10





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



OK, here's the relevent part of dmesg:

CODE
usbcore: registered new driver usbfs
usbcore: registered new driver hub
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
usb 1-2: new full speed USB device using pxa27x-ohci and address 2
usb 1-2: configuration #1 chosen from 1 choice
/mnt/ide2/files/dm9601-2.6/dm9601.c: /mnt/ide2/files/dm9601-2.6/dm9601.c: v0.0.6 2001/05/24 (C) 1999-2000 Petko Manolov (petkan@dce.bg)
/mnt/ide2/files/dm9601-2.6/dm9601.c: eth%d: Davicom USB-100
usbcore: registered new driver dm9601
pxafb: Power mode 0
pxafb: Power mode 480


No interface is brought up automatically, but I can bring up eth0, and it has a hwaddress, but dhcpcd-ing it hangs for a while then fails.

Any ideas?

Thanks.
Go to the top of the page
 
+Quote Post
pelrun
post Jul 29 2007, 08:27 PM
Post #11





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



That "eth%d" certainly looks suspicious; a printf gone wrong. Wonder if it's also trying to use that string to configure the ethernet support?
Go to the top of the page
 
+Quote Post
Capn_Fish
post Jul 30 2007, 07:22 AM
Post #12





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Hmm...I don't see "eth%d" in dm9601.c or .h, but it doesn't look right.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Aug 4 2007, 05:58 PM
Post #13





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



No ideas?
Go to the top of the page
 
+Quote Post
pelrun
post Aug 4 2007, 10:39 PM
Post #14





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



I don't use 2.6 or the drivers, so I'm pretty much stumped by what you're seeing. sad.gif
Go to the top of the page
 
+Quote Post
Capn_Fish
post Aug 10 2007, 04:28 PM
Post #15





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



Anybody else have any ideas? Would e-mailing Davicom help (since the ZT6688 is a rebranded DM9601)?
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 03:05 PM