Op 2013-11-17 om 11:15 schreef Geert Stappers:
> Op 2013-11-17 om 10:55 schreef Geert Stappers:
> > 
> > Edit on the kernel module source file, to add USB ID.
> > 
> > Executed `fakeroot debian/rules binary-arh
> > Produced a same size .ko, but it should be bigger due the extra USB ID
> 
> Is it correct to expect an increase in size of the .ko with a few bytes?
> 
> Or is size increment in steps of 256 of 1024 bytes?
> 

Answer on my question:

Yes, adding in .c source a line with VendorID and ProductID
does increase the .ko module. In my case 120 bytes. 
So no increment in steps of 256 or 1024 bytes.


$ filtered ls -l  output
-rw-r--r-- 1 root     root      23144 Nov 15 20:55 
/lib/modules/3.11-1-amd64/kernel/drivers/media/usb/gspca/gspca_sunplus.ko
-rw-r--r-- 1 stappers stappers  23264 Nov 17 14:40 
/home/stappers/src/linux/linux-3.11.5-goed/debian/linux-image-3.11-1-amd64/lib/modules/3.11-1-amd64/kernel/drivers/media/usb/gspca/gspca_sunplus.ko


Groeten
Geert Stappers
-- 
Leven en laten leven


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131120205821.gx24...@gpm.stappers.nl

Reply via email to