I have made the following changes intended for : CE:Adaptation:N900 / udev-rules-n900
Please review and accept or decline. BOSS has already run some checks on this request. See the "Messages from BOSS" section below. https://build.pub.meego.com//request/show/6022 Thank You, tswindell [This message was auto-generated] --- Request # 6022: Messages from BOSS: State: review at 2012-08-22T12:47:44 by bossbot Reviews: accepted by bossbot : Prechecks succeeded. new for CE-maintainers : Please replace this text with a review and approve/reject the review (not the SR). BOSS will take care of the rest Changes: submit: home:tswindell:CE:Apps / udev-rules-n900 -> CE:Adaptation:N900 / udev-rules-n900 changes files: -------------- --- udev-rules.changes +++ udev-rules.changes @@ -0,0 +1,3 @@ +* Wed Aug 22 2012 Tom Swindell <[email protected]> - 0.11-2 +- Added n900 ofono rules file in lieu of static table in ofono1.8 + new: ---- 10-n900-ofono.rules spec files: ----------- --- udev-rules.spec +++ udev-rules.spec @@ -3,12 +3,13 @@ Summary: MeeGo udev Rules Name: udev-rules Version: 0.11 -Release: 1 +Release: 2 URL: http://www.meego.com License: GPLv2 Group: System/Base BuildArch: noarch Source0: udev-rules-%{version}.tar.bz2 +Source1: 10-n900-ofono.rules Patch0: Remote-controller-keymap-for-tv.patch Requires: udev Requires(post): systemd @@ -74,6 +75,9 @@ for i in netbook handset n900 tablet tv; do make -C $i install DESTDIR=%{buildroot} done + +install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/ + %post systemctl daemon-reload systemctl reload-or-try-restart udev.service @@ -102,6 +106,7 @@ %attr(0644,root,root) %{udev_libdir}/rules.d/10-omap3isp.rules %attr(0644,root,root) %{udev_libdir}/rules.d/udev-rules-nokia-n900-hacks.rules %attr(0644,root,root) %{udev_libdir}/rules.d/udev-rules-nokia-n900-snd.rules +%attr(0644,root,root) %{udev_libdir}/rules.d/10-n900-ofono.rules %files tablet-oaktrail %defattr(0644, root, root, 0755) other changes: -------------- ++++++ 10-n900-ofono.rules (new) --- 10-n900-ofono.rules +++ 10-n900-ofono.rules @@ -0,0 +1,16 @@ +# do not edit this file, it will be overwritten on update +ACTION!="add|change", GOTO="ofono_end" + +# ISI/Phonet drivers +SUBSYSTEM!="net", GOTO="ofono_isi_end" +ATTRS{type}!="820", GOTO="ofono_isi_end" +KERNELS=="gadget", GOTO="ofono_isi_end" + +# Nokia N900 modem +SUBSYSTEMS=="hsi", ENV{OFONO_DRIVER}="n900", ENV{OFONO_ISI_ADDRESS}="108" +KERNEL=="phonet*", ENV{OFONO_DRIVER}="n900", ENV{OFONO_ISI_ADDRESS}="108" + +LABEL="ofono_isi_end" + +LABEL="ofono_end" +
