|
Re: tablet udev rules (was Re: Getting up/down events working on Bamboo tou: msg#00048linux.drivers.wacom
On 7/10/07, Ron <ron@xxxxxxxxxx> wrote: > > But I guess if we can't convince the hardware crew to add a unique > identifier of some sort to new tablets (and even if we could, that > doesn't help anyone today), then we'll just need to make the by-path > configuration more friendly to users somehow... > > We should be able to concoct a reasonable by-path rule specific > to wacom devices that auto-configuration tools can fairly easily > pattern match, but which will remain the same until the device > is moved to a different port... > > It will probably depend on a relatively recent udev, but starting > from the set of rules I posted earlier, try something like: > > ----- psuedo patch ---- > # Convenience link for the common case of a single tablet. > KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYMLINK="input/wacom" > > + # You probably won't need this IMPORT rule, since an earlier file is > + # likely to have already done it, but the rule that follows it does > + # depend on that having happened to set ID_PATH. > + # IMPORT{program}="path_id %p" > + > + # Port specific link for users of multiple tablets of the same type. > + KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", ENV{ID_PATH}=="?*", > SYMLINK+="input/by-path/$env{ID_PATH}-wacom" I tested this rule. It works for kernel 2.6.21 or later. But not for 2.6.20 or earlier. Ron, I agree to add this rule for tablets of the same type. Thanks, Ping ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: tablet udev rules (was Re: Getting up/down events working on Bamboo touchpad): 00048, Mats Johannesson |
|---|---|
| Next by Date: | Re: 0.7.7-11 works with kernel 2.6.21.6: 00048, Ping@LinuxWacom |
| Previous by Thread: | Re: tablet udev rules (was Re: Getting up/down events working on Bamboo touchpad)i: 00048, Ping@LinuxWacom |
| Next by Thread: | Re: tablet udev rules (was Re: Getting up/down events working on Bamboo touchpad): 00048, Frederic Crozat |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |