DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th July 2008
sjalex sjalex is offline
New User
 
Join Date: Jul 2008
Posts: 2
Default open-source driver question

Hi, I'm a linux guy and have used netbsd, openbsd, freebsd etc in the past but never tangled with the kernel or drivers outside of Linux.

My mother has fried her ethernet port on her iMac (G4 I think); I recently sent her a silicom USB U2E (usb 2 ethernet) dongle which is evidently not recognized by OS-X. This device works with most linux distros out of the box, and uses the "kaweth" driver which is available on sourceforge. The driver page says it's POSIX compliant which makes me hopeful but I don't know how to proceed.

I'm comfortable with building and installing modules, or even rebuilding the kernel if that's necessary, but I don't know where to start with MacOS. Could someone point me to a resource, or if this driver is already implemented and just needs the VID/PID added to a config file somewhere (or some other trivial step), point me to that?

Thanks for your help.

Stephen
Reply With Quote
  #2   (View Single Post)  
Old 14th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Right... that project isn't a "portable" driver, it's a driver for Linux, a sourceforge project claiming "POSIX compliance" doesn't really mean much for drivers.

Now, FreeBSD and OpenBSD have a kue(4) driver, each man page has a list of products implementing that chipset... Wouldn't it be easier to see if any of them wrote a driver for OS X(And then, hex editing the Product/Vendor ID?)

EDIT: Major score! - http://www.k-micro.us/USB/drivers.htm - Looks like drivers!

USB_Etherb2.sit and Jaton_101_Enet.sit appear to be drivers for the Kawasaki LSI KL5KLUSB101B chipset.

EDIT2: Sorry, the above drivers are for OS <= 9, not OSX.

Last edited by BSDfan666; 14th July 2008 at 09:49 PM.
Reply With Quote
  #3   (View Single Post)  
Old 15th July 2008
sjalex sjalex is offline
New User
 
Join Date: Jul 2008
Posts: 2
Default

Thanks,

After I posted I realized that the makefile referenced a linux source tree which sort of set me straight a little. I had come across the os9 drivers you mentioned below and had the same reaction... oh well on that one.
More generally, though, does MacOS X handle drivers in a similar way to how NetBSD etc etc do? That was my understanding, but I'm not clear on the point. If it does, I think it should be reasonably simple to add the VID/PID into the driver source code (kue, not kaweth) and compile (kernels aren't modular, right, so I need to rebuild kernel?). Does that make sense?

Thanks,

Stephen

Quote:
Originally Posted by BSDfan666 View Post
Right... that project isn't a "portable" driver, it's a driver for Linux, a sourceforge project claiming "POSIX compliance" doesn't really mean much for drivers.

Now, FreeBSD and OpenBSD have a kue(4) driver, each man page has a list of products implementing that chipset... Wouldn't it be easier to see if any of them wrote a driver for OS X(And then, hex editing the Product/Vendor ID?)

EDIT: Major score! - http://www.k-micro.us/USB/drivers.htm - Looks like drivers!

USB_Etherb2.sit and Jaton_101_Enet.sit appear to be drivers for the Kawasaki LSI KL5KLUSB101B chipset.

EDIT2: Sorry, the above drivers are for OS <= 9, not OSX.
Reply With Quote
  #4   (View Single Post)  
Old 15th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

considering the kernel level differences, I doubt it as far as source code goes.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Tags
driver, kaweth, posix, silicom, u2e

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open-source Flash? stukov Off-Topic 35 17th December 2009 04:53 PM
open source web hosting control panel's crayoxide General software and network 2 28th September 2008 11:42 PM
Open Source Computational Flow Software dk_netsvil General software and network 0 1st August 2008 07:07 PM
What Open Source package shall I run? satimis Off-Topic 2 2nd June 2008 12:43 PM
From Windows Dysphoria to Open source bliss FloridaBSD Off-Topic 1 5th May 2008 03:54 AM


All times are GMT. The time now is 03:01 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick