You are not logged in.

#1 2011-03-19 10:26:24

myrlin
Member
Registered: 2010-06-11
Posts: 297

Can I Compile a Red Hat Driver for Arch?

Please excuse me if this is a stupid question.

I have a GPS Dongle, which comes with drivers for Red Hat (73, 8 and 9). These consist of a C source file, and a makefile.

Would it be possible to compile the driver for Arch, and if so, how?

Many thanks in advance.

Offline

#2 2011-03-19 10:37:00

Awebb
Member
Registered: 2010-05-06
Posts: 6,662

Re: Can I Compile a Red Hat Driver for Arch?

If you have the source file, you can compile it for Arch. You should also have a look at the AUR, maybe somebody already made a package. Search the wiki for AUR.

Offline

#3 2011-03-19 10:37:03

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Can I Compile a Red Hat Driver for Arch?

That shouldn't be a problem, assuming it just compiles a kernel module. Find an Arch pkgbuild that compiles and installs a kernel module, and adapt it to use the Red Hat files instead.


ᶘ ᵒᴥᵒᶅ

Offline

#4 2011-03-19 20:18:29

fr33ke
Member
Registered: 2010-08-21
Posts: 20

Re: Can I Compile a Red Hat Driver for Arch?

RedHat 9 is really old (2003) and still on the 2.4 kernel series, so I doubt your driver will compile on any recent kernel. But with the source, you can try to update it, or change an in-kernel driver to support it (if there is no support already!).

Offline

#5 2011-03-20 15:56:05

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: Can I Compile a Red Hat Driver for Arch?

Your dongle is most likely supported in kernel, just connect it and see if you can talk to it.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2011-03-20 17:19:09

myrlin
Member
Registered: 2010-06-11
Posts: 297

Re: Can I Compile a Red Hat Driver for Arch?

Since the driver that came with the dongle is so old, I think I'll persevere with GPSD for a while, before attempting anything more adventurous (although I've not had much success so far).

Many thanks to everyone for your advice.

Offline

Board footer

Powered by FluxBB