[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

udev / hotplug question, actions on plug-in a usb device?



Hi there, 

i have brought a hauppauge nova-t dvb-t usb stick. Working fine. After
compiling the latest v4l-dvb, actually the remote control is working,
too.

Now i want start lircd and irexec daemon on plug-in the usb stick and
stop these daemons on plug-out. I think i can do this with udev?

Is there any way to fixing the input device? Seems like it changing from
time to time. 

input: IR-receiver inside an USB DVB receiver as /class/input/input8

Or read the actual input device on usb plug-in to start lircd with the
correct parameters? (i.e. -H dev/input -d /dev/input/event8")

I've searching around, but it would be fine, to get some help or
directions.

Thanks
Dirk

Output on plugin:

Sep 20 11:07:25 merlin kernel: usb 5-7: new high speed USB device using
ehci_hcd and address 10
Sep 20 11:07:25 merlin kernel: usb 5-7: configuration #1 chosen from 1
choice
Sep 20 11:07:25 merlin kernel: dvb-usb: found a 'Hauppauge Nova-T Stick'
in cold state, will try to load a firmware
Sep 20 11:07:25 merlin kernel: dvb-usb: downloading firmware from file
'dvb-usb-dib0700-03-pre1.fw'
Sep 20 11:07:25 merlin kernel: dib0700: firmware started successfully.
Sep 20 11:07:25 merlin kernel: dvb-usb: found a 'Hauppauge Nova-T Stick'
in warm state.
Sep 20 11:07:25 merlin kernel: dvb-usb: will pass the complete MPEG2
transport stream to the software demuxer.
Sep 20 11:07:25 merlin kernel: DVB: registering new adapter (Hauppauge
Nova-T Stick) 
Sep 20 11:07:26 merlin kernel: DVB: registering frontend 0 (DiBcom
7000PC)...
Sep 20 11:07:26 merlin kernel: MT2060: successfully identified (IF1 =
1220)
Sep 20 11:07:26 merlin kernel: input: IR-receiver inside an USB DVB
receiver as /class/input/input14
Sep 20 11:07:26 merlin kernel: dvb-usb: schedule remote query interval
to 150 msecs.
Sep 20 11:07:26 merlin kernel: dvb-usb: Hauppauge Nova-T Stick
successfully initialized and connected.

Output on plugout:

Sep 20 11:08:05 merlin kernel: usb 5-7: USB disconnect, address 10
Sep 20 11:08:05 merlin kernel: dvb-usb: Hauppauge Nova-T Stick
successfully deinitialized and disconnected.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]