KDE USB hotplug (Ruby/KDE)

System Tools (NOT OS or ROMS)

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
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.
Last changelog:

Repackaged properly, fixed first bug:S


Ratings & Comments

5 Comments

blacksheep2011

i got a problem with this programm....the programm doesnt connect the x server. And the programm cant find the "dev" file. 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

eightofnine

Sorry, don't know what happened to the rest of my posting above, or why what has survived has been posted twice. Anyway, I was trying to say that the code block that begins with the snippet that remains above appears to be truncating prodId to 4 chars when it is already less than 4 chars long, but padding it to 4 chars when it is already longer than 4!!

freqmodn

descUSB.rb: Sorry, a typo it should be like if(vendId.length>4). if(prodId.length>4) I will upload a updated version ASAP.

eightofnine

I've never programmed in Ruby but this code (from descUSB.rb) looks wrong to me: if(prodId.length!=4) if(prodId.length

eightofnine

I've never programmed in Ruby but this code (from descUSB.rb) looks wrong to me: if(prodId.length!=4) if(prodId.length

Pling
0 Affiliates
Details
license
version 0.0.0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other System Tools (NOT OS or ROMS):

KDE CDEmu Manager
marcel83
last update date: 1 year ago

Score 7.0

QPhotoRec
caezsar
last update date: 11 years ago

Score 5.7

Burg-manager
ingalex
last update date: 14 years ago

Score 7.4

Multi-Platform File Manager
Lunik
last update date: 21 years ago

Score 5.0

KFS
jrockey
last update date: 21 years ago

Score 5.0

dolphin-perforce-plugin
martin9000andersen
last update date: 11 years ago

Score 5.0



System Tags