Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Skript ausführen beim Einstecken eines USB HID Devices
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2656
Location: Heidelberg - Germany

PostPosted: Wed Aug 31, 2011 1:04 pm    Post subject: Skript ausführen beim Einstecken eines USB HID Devices Reply with quote

Hi,

ich möchte, sobald ein separater Nummernblock via USB angeschlossen wird, ein bestimmtes Skript ausführen. In den UDEV Leitfäden stehen Beispiele dazu, aber leider beziehen sich diese ausschließlich auf USB Mass Storage Geräte. Die Mini - Nummernblock Tastatur wir aber im Kernal als USB HID Device erkannt. Ich habe noch keinen Weg gefunden, dieses Ereignis mit der Ausführung eines Skriptes zu verknüpfen. Geht das?

Danke
Erdie
Back to top
View user's profile Send private message
doedel
Guru
Guru


Joined: 05 Feb 2006
Posts: 579
Location: Denmark

PostPosted: Wed Aug 31, 2011 3:41 pm    Post subject: Reply with quote

Quote:
Ich habe noch keinen Weg gefunden, dieses Ereignis mit der Ausführung eines Skriptes zu verknüpfen. Geht das?

Ob sich da Geräteklassen definieren lassen, weiss ich nicht, aber du kannst doch die Device-ID nehmen (siehe lsusb).
_________________
1 ha == 1 Hekto-Ar == 1 Hektar
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2656
Location: Heidelberg - Germany

PostPosted: Wed Aug 31, 2011 6:22 pm    Post subject: Reply with quote

Hmm .. ich werde es versuchen, danke.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum