USB-IrDA udev hotplug support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Invalid
|
Undecided
|
Unassigned | ||
irda-utils (Debian) |
Fix Released
|
Unknown
|
|||
irda-utils (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: irda-utils
For make USB-IrDA devices hotpluggable and working instantly, needs a udev rule that call irattach for new device plugged in. Obviously we need to kill irattach on plug out.
This is a working rule for udev:
SUBSYSTEM=="net", SUBSYSTEMS=="usb", ACTION=="add", ATTR{type}=="783", RUN+="/
SUBSYSTEM=="net", SUBSYSTEMS=="usb", ACTION=="remove", KERNEL=="irda*", RUN+="/
This rule can be installed on /etc/udev/rules.d during irda-utils package installation.
Same things related PnP autoconfig via udev instead init script (irda-setup).
Note: udev rules tested with a KingSun KS-959 IRDA/USB adapter (ks959_sir module).
Changed in irda-utils (Ubuntu): | |
status: | New → Confirmed |
Changed in irda-utils (Ubuntu): | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
Changed in irda-utils (Debian): | |
status: | Unknown → New |
Changed in irda-utils (Debian): | |
status: | New → Fix Released |
This is definitely the way to go!
But after irattach I need to modprobe ircomm, ircomm_tty and irtty_sir as well before run gnome-ppp.
Preferably would be to get these loaded by udev as well. And possibly pop up Ircp Tray.
And then use Network Manager (instead of gnome-ppp) to manually create a ppp over my GSM.
Any ideas how to get this done?
I have the same USB dongle.
Ferry