Hello Robert,

Did you test this in a udev environment? It fails in my tests.



Mar 16 15:57:34 localhost kernel: [65640.849874] usb 1-1: new high-speed
USB device number 6 using xhci_hcd
Mar 16 15:57:34 localhost kernel: [65640.870023] usb 1-1: New USB device
found, idVendor=0930, idProduct=6545
Mar 16 15:57:34 localhost kernel: [65640.870029] usb 1-1: New USB device
strings: Mfr=0, Product=2, SerialNumber=3
Mar 16 15:57:34 localhost kernel: [65640.870033] usb 1-1: Product: USB
Flash Memory
Mar 16 15:57:34 localhost kernel: [65640.870037] usb 1-1: SerialNumber:
0540D670331099D6
Mar 16 15:57:34 localhost kernel: [65640.870873] scsi11 : usb-storage
1-1:1.0
Mar 16 15:57:34 localhost mtp-probe: checking bus 1, device 6:
"/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
Mar 16 15:57:34 localhost mtp-probe: bus: 1, device: 6 was not an MTP device
*Mar 16 15:57:34 localhost udevd[28491]: failed to execute
'/lib/udev/@LIB_D@/udev/lmt-udev' '@LIB_D@/udev/lmt-udev force
modules=usb-autosuspend devices=1-1': No such file or directory**
**Mar 16 15:57:34 localhost udevd[28493]: failed to execute
'/lib/udev/@LIB_D@/udev/lmt-udev' '@LIB_D@/udev/lmt-udev force
modules=usb-autosuspend devices=1-1:1.0': No such file or directory*
Mar 16 15:57:34 localhost udisks-daemon[4840]: **** scsi_host ADDING
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/host11/scsi_host/host11
Mar 16 15:57:34 localhost udisks-daemon[4840]: **** scsi_host IGNORING
ADD
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/host11/scsi_host/host11
Mar 16 15:57:35 localhost kernel: [65641.868531] scsi 11:0:0:0:
Direct-Access              USB Flash Memory 5.00 PQ: 0 ANSI: 0 CCS
Mar 16 15:57:35 localhost kernel: [65641.870341] sd 11:0:0:0: Attached
scsi generic sg2 type 0



On Sunday 10 March 2013 01:44 PM, Ritesh Raj Sarraf wrote:
> On Friday 08 March 2013 11:36 PM, Robert Milasan wrote:
>> Now a days most distro's are using /usr/lib for udev and systemd files
>> and units, but others may wanna keep the old setup,
>> like /lib/{udev,systemd}, so the attached patch introduces a new
>> variable in install.sh '$LIB_D' which can be used to enable the
>> possible to install udev/system files in a different location,
>> like /usr/lib or /lib, etc.
>>
>> I hope it helps, it would help a lot if users could choose the location
>> where the udev/systemd files are installed.
>>
>>
> Thanks. Applied.
>


-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
laptop-mode mailing list
[email protected]
http://mailman.samwel.tk/mailman/listinfo/laptop-mode

Reply via email to