![]() |
|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
hi all
im a slackware linux user i cannot use freebsd on my pc. Freebsd dont work with my usb modem threfore i cannot enable enter to internet. i know some c programmng i want write my own usb adsl modem driver for FreeBSD What i do for that ? |
|
||||
![]()
install source code, go to /usr/src/sys/ and start reading ;-)
There is also a very simple tutorial online that demostrates the basics of writing a loadable kernel module (lkm)
__________________
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''. |
|
|||
![]()
I honestly don't know the extent of your programming skills, but my recommendations are as follows:
1) Listen to TerryJ. 2) Find as much information about the specific card/chipset you're interested in writing a driver for, datasheets, other open source drivers. 3) Use existing drivers in the FreeBSD source tree, as a template.. they may give you information on API's useful for the task, you will need to dig deep into the kernel source to find what you'll need. (None may exist, look at the other BSD derivatives, ueagle(4)). 4) Patience, read books... and perhaps a friendly developer willing to hold your hand. That's all. |
|
|||
![]()
[QOUTE]
install source code, go to /usr/src/sys/ and start reading ;-) [/QUOTE] Which source code ? Quote:
i use Pikatel usb adsl modem with globespan 7470 chipset that such as => http://img385.imageshack.us/img385/84/cimg5930lh4.jpg There are driver of the my modem for linux version . http://eciadsl.flashtux.org also have a BSD driver for my usb modem but it is under development look => http://eciadsl.flashtux.org/faq.php?faq_lang=en#q5.9 thanx for posts |
|
||||
![]()
/usr/src/ is sub divided into several sub directories, the 'sys' one (/usr/src/sys) contains the kernel sources.
__________________
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''. |
|
||||
![]()
I don't think that there is anyone on this board who actually does kernel hacking.
Therefore, all we can give you is general advice: Use the source, Luke. You might get somewhere by subscribing and posting a message to the freebsd-hardware@freebsd.org mailing list. As a suggestion, it might simply be a matter of adding an id to a usb ethernet driver. A lot of those USB modems use a usb ethernet device as their interface. Examining the usbdevs -v output might be the place to start.
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
|
|||
![]() Quote:
i waiting now : ) |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
/tmp on ram write denied | gosha | OpenBSD General | 8 | 29th March 2009 04:46 PM |
Why you should write a guide/howto in XML | J65nko | Guides | 4 | 19th October 2008 07:46 PM |
proftpd and ppp modem | mtx | General software and network | 3 | 11th June 2008 11:33 AM |
USB EV-DO modem support | Bruco | FreeBSD General | 1 | 6th June 2008 09:50 PM |
[VSFTPD] Can't write in directory | Sunsawe | General software and network | 7 | 1st June 2008 11:29 PM |