I have made the following changes intended for : CE:Adaptation:N950-N9 / udev-rules-n950
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/6020 Thank You, tswindell [This message was auto-generated] --- Request # 6020: Messages from BOSS: State: review at 2012-08-22T12:09:22 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-n950 -> CE:Adaptation:N950-N9 / udev-rules-n950 changes files: -------------- --- udev-rules-n950.changes +++ udev-rules-n950.changes @@ -0,0 +1,3 @@ +* Wed Aug 22 2012 Tom Swindell <[email protected]> - 0.0.8 +- Added ofono.rules file to fix ofono1.8 in lieu of ofono static rules fix. + new: ---- 10-ofono.rules spec files: ----------- --- udev-rules-n950.spec +++ udev-rules-n950.spec @@ -1,6 +1,6 @@ # # Do NOT Edit the Auto-generated Part! -# Generated by: spectacle version 0.24.1 +# Generated by: spectacle version 0.25 # Name: udev-rules-n950 @@ -9,7 +9,7 @@ # << macros Summary: Udev rules for N950 -Version: 0.0.7 +Version: 0.0.8 Release: 1 Group: System/Libraries License: GPLv2 @@ -22,6 +22,7 @@ Source5: 10-n950-dss.rules Source6: omapdss-perms.sh Source7: boss.conf +Source8: 10-ofono.rules Source100: udev-rules-n950.yaml Requires: udev Provides: udev-rules @@ -59,6 +60,7 @@ install -m 755 %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/ install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/ install -m 755 %{SOURCE6} $RPM_BUILD_ROOT/lib/udev/ +install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/ # << install pre # >> install post other changes: -------------- ++++++ 10-ofono.rules (new) --- 10-ofono.rules +++ 10-ofono.rules @@ -0,0 +1,33 @@ +# 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" + +# Nokia N950 modem +SUBSYSTEMS=="hsi", ENV{OFONO_DRIVER}="n950", ENV{OFONO_ISI_ADDRESS}="108" +KERNEL=="phonet*", ENV{OFONO_DRIVER}="n950", ENV{OFONO_ISI_ADDRESS}="108" + +# STE u8500 +#KERNEL=="shrm0", ENV{OFONO_DRIVER}="u8500" + +LABEL="ofono_isi_end" + +#SUBSYSTEM!="usb", GOTO="ofono_end" +#ENV{DEVTYPE}!="usb_device", GOTO="ofono_end" + +# Ignore fake serial number +#ATTRS{serial}=="1234567890ABCDEF", ENV{ID_SERIAL_SHORT}="" + +# Nokia CDMA Device +#ATTRS{idVendor}=="0421", ATTRS{idProduct}=="023e", ENV{OFONO_DRIVER}="nokiacdma" +#ATTRS{idVendor}=="0421", ATTRS{idProduct}=="00b6", ENV{OFONO_DRIVER}="nokiacdma" + +LABEL="ofono_end" + ++++++ udev-rules-n950.yaml --- udev-rules-n950.yaml +++ udev-rules-n950.yaml @@ -1,6 +1,6 @@ Name: udev-rules-n950 Summary: Udev rules for N950 -Version: 0.0.7 +Version: 0.0.8 Release: 1 Group: System/Libraries License: GPLv2 @@ -14,6 +14,7 @@ - 10-n950-dss.rules - omapdss-perms.sh - boss.conf + - 10-ofono.rules Description: | This package provides N950-specific udev rules.
