How can I build my own driver for a Graphics Board?

Everything about X, Gnome, KDE, ... and everything running on it

How can I build my own driver for a Graphics Board?

Postby debcub » 2018-01-24 17:25

Hi,

I am using Debian 9 Stretch and I intend to buy a graphics board the manufacturer, Gaomon, does not provide drivers for like Wacom does for its own products. Is it possible to build one's own Linux driver? If one is a completely driver-building newbie like me?

Thanks,

debcub

P.S. Before the question arises: the Gaomon M106K is about the same price as a Wacom Intuos Draw S CTL-490DW-S, but Gaomon's GT is about double the size as Wacom's and has more advanced features, more professional.
debcub
 
Posts: 25
Joined: 2017-01-18 16:12

Re: How can I build my own driver for a Graphics Board?

Postby Bulkley » 2018-01-24 17:41

If I was so inclined I'd start by modifying one of the manufacturer's other drivers. You might be able to modify a windows driver.

Personally, I wouldn't touch this one. I'd make a list of desirable cards and check each on-line for Linux compatibility.
Bulkley
 
Posts: 5547
Joined: 2006-02-11 18:35

Re: How can I build my own driver for a Graphics Board?

Postby sunrat » 2018-01-24 22:41

Looks like there's work happening on Github for this:
https://github.com/DIGImend/digimend-ke ... rs/pull/85
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2263
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: How can I build my own driver for a Graphics Board?

Postby GarryRicketson » 2018-01-25 02:07

Is it possible to build one's own Linux driver? If one is a completely driver-building newbie like me?

Yes it is possible,
“Do you pine for the nice days of Minix-1.1, when men were men and wrote their own device drivers?” Linus Torvalds

I am using Minix 3 , now, but sometimes this still is a problem, and some times we need to write our own,... So yes it is possible,

How can I build my own Linux driver ?
One of many "educational" results,
http://freesoftwaremagazine.com/articles/drivers_linux/
================
Go to school, and learn how to use the search engines, or go to a library and start studying all the information you can find. That is how.
Or, find a very skilled programmer, that also has experience with reverse engineering, and pay them to build/write your driver.

If one is a completely driver-building newbie like me?

That all depends on how much you study, and practice, the best way (in my opinion), start out with some simple drivers, even if there are all ready existing ones, you won't be a "completely driver-building newbie like me?" very long, but it is not something you will learn over night, it depends also on how fast you learn things,.... any way I have some more important things to do now,
good luck and have fun.
User avatar
GarryRicketson
 
Posts: 4797
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How can I build my own driver for a Graphics Board?

Postby debcub » 2018-01-25 03:52

sunrat wrote:Looks like there's work happening on Github for this:
https://github.com/DIGImend/digimend-ke ... rs/pull/85


Thank you for this! Looks like I have to learn C first to incorporate this added support into an existing driver?

And thank you all for your comments so far.
debcub
 
Posts: 25
Joined: 2017-01-18 16:12

Re: How can I build my own driver for a Graphics Board?

Postby None1975 » 2018-01-25 15:56

debcub wrote:Hi,I am using Debian 9 Stretch and I intend to buy a graphics board the manufacturer, Gaomon, does not provide drivers for like Wacom does for its own products. Is it possible to build one's own Linux driver? If one is a completely driver-building newbie like me?

If possible, purchase such equipment that is supported by open source drivers.
User avatar
None1975
 
Posts: 438
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: How can I build my own driver for a Graphics Board?

Postby sunrat » 2018-01-25 22:30

debcub wrote:Thank you for this! Looks like I have to learn C first to incorporate this added support into an existing driver?


You don't have to learn anything except how to download a zip file from Github and build it. Preferably use dkms so it gets rebuilt if you install a different kernel, but otherwise just the standard make and makeinstall method.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2263
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: How can I build my own driver for a Graphics Board?

Postby debcub » 2018-02-01 18:48

I will buy a small Wacom Intuous to learn the GT basics first. I think I could not manage to tinker with drivers at the same time :(
Later I can return to Gaomon; maybe there are even better drivers then.

Thank your all here again for your tips :)
debcub
 
Posts: 25
Joined: 2017-01-18 16:12


Return to Desktop & Multimedia

Who is online

Users browsing this forum: gurfle and 3 guests

fashionable