Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-29 Thread slashwaves
Hi Stuart, It's bad news or good news ... :) SHM - Original Message - From: Stuart Henderson To: slashwaves Cc: "bugs@openbsd.org" Sent: Monday, April 29, 2013 6:54 PM Subject: Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet A

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-29 Thread Stuart Henderson
On 2013/04/29 18:52, slashwaves wrote: > udav0: 1.10/1.01, addr 2> on usbus0 > ue0: on udav0 > ue0: Ethernet address: 00:e0:4c:53:44:58 Aha. http://svnweb.freebsd.org/base?view=revision&revision=238466 "The JP1082 device doesn't respond to the MII_BMSR command and it turns out that it has an u

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-29 Thread slashwaves
udav0: on usbus0 ue0: on udav0 ue0: Ethernet address: 00:e0:4c:53:44:58 SHM - Original Message - From: Stuart Henderson To: Stefanus Hermawan ; "bugs@openbsd.org" Cc: Sent: Monday, April 29, 2013 4:23 PM Subject: Re: Driver for Kontron (Industrial Computer Source /

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-29 Thread Stuart Henderson
On 2013/04/29 19:11, Jonathan Gray wrote: > You need to figure out what chip it has. > FreeBSD don't seem to have a man page for 'ue' or a driver in > their sys/dev/usb/net/ dir so I have no idea what it is > attaching as. Looks like they attach all USB ethernet devices to ue; http://svnweb.freebs

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-29 Thread Jonathan Gray
You need to figure out what chip it has. FreeBSD don't seem to have a man page for 'ue' or a driver in their sys/dev/usb/net/ dir so I have no idea what it is attaching as. On Mon, Apr 29, 2013 at 02:04:32PM +0700, Stefanus Hermawan wrote: > Hi Jonathan, > > I have test my device in FreeBSD 10-CU

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-29 Thread Stefanus Hermawan
Hi Jonathan, I have test my device in FreeBSD 10-CURRENT, and run fine on 'ue' pseudo-device. Any ideas? Sent from my iPhone On Apr 23, 2013, at 4:40 PM, Jonathan Gray wrote: > Try the following diff, you'll have to run make in > sys/dev/usb after applying. > > Index: usbdevs >

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-24 Thread Alexey E. Suslikov
Stefanus Hermawan yahoo.com> writes: > I have compile new kernel, my device detected, but not working. Could you post a new dmesg (for a kernel with diff applied) and tell exactly what is "not working". ifconfig -a will be useful too.

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-24 Thread Stefanus Hermawan
I have compile new kernel, my device detected, but not working. Sent from my iPhone On Apr 24, 2013, at 6:33 AM, Stuart Henderson wrote: > On 2013/04/23 23:28, Stefanus Hermawan wrote: >> Could you tell me how to apply this diff? Step by step please. > > cd /sys/dev/usb > ftp -o- 'http://marc

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-23 Thread Stefanus Hermawan
Great, it works. Thanks a lot for all of you. Sent from my iPhone On Apr 24, 2013, at 6:33 AM, Stuart Henderson wrote: > On 2013/04/23 23:28, Stefanus Hermawan wrote: >> Could you tell me how to apply this diff? Step by step please. > > cd /sys/dev/usb > ftp -o- 'http://marc.info/?l=openbsd-bu

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-23 Thread slashwaves
ugs@openbsd.org" Sent: Wednesday, April 24, 2013 6:33 AM Subject: Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter On 2013/04/23 23:28, Stefanus Hermawan wrote: > Could you tell me how to apply this diff? Step by step please. cd /sys/dev/usb ft

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-23 Thread Stuart Henderson
On 2013/04/23 23:28, Stefanus Hermawan wrote: > Could you tell me how to apply this diff? Step by step please. cd /sys/dev/usb ftp -o- 'http://marc.info/?l=openbsd-bugs&m=136671009414593&q=raw' | patch -Ep0 make cd /sys/arch/<--whatever-->/conf config GENERIC cd ../COMPILE/GENERIC make && sudo mak

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-23 Thread Stuart Henderson
On 2013/04/23 23:12, Alexey E. Suslikov wrote: > Jonathan Gray jsg.id.au> writes: > > {{ USB_VENDOR_UNKNOWN4, USB_PRODUCT_UNKNOWN4_DM9601 }, 0 }, > > + {{ USB_VENDOR_UNKNOWN4, USB_PRODUCT_UNKNOWN4_DM9601_2 }, 0 }, > > {{ USB_VENDOR_UNKNOWN6, USB_PRODUCT_UNKNOWN6_DM9601 }, 0 } > > USB_VE

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-23 Thread Stefanus Hermawan
Could you tell me how to apply this diff? Step by step please. Sent from my iPhone On Apr 23, 2013, at 4:40 PM, Jonathan Gray wrote: > Try the following diff, you'll have to run make in > sys/dev/usb after applying. > > Index: usbdevs > =

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-23 Thread Alexey E. Suslikov
Jonathan Gray jsg.id.au> writes: > {{ USB_VENDOR_UNKNOWN4, USB_PRODUCT_UNKNOWN4_DM9601 }, 0 }, > + {{ USB_VENDOR_UNKNOWN4, USB_PRODUCT_UNKNOWN4_DM9601_2 }, 0 }, > {{ USB_VENDOR_UNKNOWN6, USB_PRODUCT_UNKNOWN6_DM9601 }, 0 } USB_VENDOR_[UNKNOWN4|UNKNOWN6] are most likely re-branded D

Re: Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-23 Thread Jonathan Gray
Try the following diff, you'll have to run make in sys/dev/usb after applying. Index: usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.598 diff -u -p -r1.598 usbdevs --- usbdevs 7 Mar 2013 23:39:14 -

Driver for Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter

2013-04-22 Thread slashwaves
>Synopsis:    DM9601 Fast Ethernet Adapter> >Category:    >Environment:     System  : OpenBSD 5.2     Details : OpenBSD 5.2-stable (GENERIC.0) #0: Thu Mar 14 19:01:53 WIT 2013               r...@openbsd.blackshadows.net:/usr/src/sys/arch/i386/compile/GENERIC.0     Architecture: OpenBSD.i