
KDE USB hotplug (Ruby/KDE)
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Hotpluging for USB mass storage devices in KDE. It does not depend on HAL or DBUS.
The program is currently experimental, but it works on my macheene.
Requirements: Hotplug, linux 2.6.0, & Ruby/KDE bindings.
16 years ago
Repackaged properly, fixed first bug:S
16 years ago
Repackaged properly, fixed first bug:S
blacksheep2011
16 years ago
here you can see the log file i hope you can help me thx! -------->
usbHotplug.rb: cannot connect to X server :0.0
Exec:"/sys/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/block/dev" ::"/mnt/ipod1"
/root/kdeUsbHotplug-0.0.0.2/usbHotplug.rb:104:in `readlines': No such file or directory - /sys/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/block/dev (Errno::ENOENT)
from /root/kdeUsbHotplug-0.0.0.2/usbHotplug.rb:104
from /root/kdeUsbHotplug-0.0.0.2/usbHotplug.rb:101:in `open'
from /root/kdeUsbHotplug-0.0.0.2/usbHotplug.rb:101
Report
eightofnine
16 years ago
Report
freqmodn
16 years ago
Sorry, a typo it should be like if(vendId.length>4).
if(prodId.length>4)
I will upload a updated version ASAP.
Report
eightofnine
16 years ago
if(prodId.length!=4)
if(prodId.length
Report
eightofnine
16 years ago
if(prodId.length!=4)
if(prodId.length
Report