Thanks, 

I've take a looj to code of usb-skeleton driver on http://lxr.linux.no , macro 
module_usb_driver seem to have been introduce by 3.3 kernel. 


This macro does nothing but creating empty side effect for registering driver. 
D o I will try to make a pacth with the good preprocessor test kernel version 
and reintroduce the module_init/exit stuff this WE. 


best regards 

----- Mail original -----

De: "Markus Grabner" <[email protected]> 
À: [email protected] 
Cc: "jeanseb" <[email protected]> 
Envoyé: Jeudi 10 Janvier 2013 20:45:33 
Objet: Re: [Line6linux-user] Which version for HD300 

Am Donnerstag, 10. Januar 2013, 20:24:44 schrieb jeanseb: 
> Hi, 
> 
> 
> I'm looking for what line 6 POD HD 300 driver, compatible with debian 
> wheezy (kernel 3.2.0) or squeeze (kernel 2.6.32) ? 
> 
> I've tried to compile last trunk but module isn't called when the card 
> plugged. 
> 
> at compile time there is this warning : 
> ------ 
> /home/jeanseb/line6linux/driver/trunk/driver.c:1284:1: warning: data 
> definition has no type or storage class [enabled by 
> default] /home/jeanseb/line6linux/driver/trunk/driver.c:1284:1: 
> warning: type defaults to ‘int’ in declaration of 
> ‘module_usb_driver’ [-Wimplicit-int] 
> /home/jeanseb/line6linux/driver/trunk/driver.c:1284:1: warning: parameter 
> names (without types) in function declaration 
> [enabled by 
> default] /home/jeanseb/line6linux/driver/trunk/driver.c:1272:26: 
> warning: ‘line6_driver’ defined but not used [-Wunused-variable] 
> ------ 
Looks like the module_usb_driver macro doesn't exist in your kernel (under 
3.4.11, it's in /usr/src/linux/include/linux/usb.h). This line was introduced 
in r940 when syncing the svn version to the git version. So I believe your 
options are: 
*) downgrade the driver to a release prior to 940, or 
*) upgrade the kernel 

The latter option is certainly preferred. There were no HD300-related changes 
since 940, but if you find out that somethings needs to be modified or fixed, 
this can only be done against the head revision. 

Kind regards, 
Markus 


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Line6linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/line6linux-user

Reply via email to