Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 |
lspci | grep Card 02:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller |
Quellcode |
|
1 2 3 4 5 |
cat /usr/src/linux/.config | grep LUN CONFIG_PREEMPT_VOLUNTARY=y # Some SCSI devices (e.g. CD jukebox) support multiple LUNs CONFIG_SCSI_MULTI_LUN=y |
Quellcode |
|
1 2 3 4 |
dmesg | tail tifm0 : demand removing card from socket 0:2 tifm_core: MemoryStick card detected in socket 0:2 |
Quellcode |
|
1 2 3 4 5 6 7 8 |
udevmonitor udevmonitor will print the received events for: UDEV the event which udev sends out after rule processing UEVENT the kernel uevent UDEV [1212307599.459148] add /devices/pci0000:00/0000:00:1e.0/0000:02:06.3/tifm_ms0:2 (tifm) UDEV [1212307600.887956] remove /devices/pci0000:00/0000:00:1e.0/0000:02:06.3/tifm_ms0:2 (tifm) |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »tausche« (05.06.2008, 16:25)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
tail -f /var/log/messages Jun 2 07:30:01 gentooBox cron[13174]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Jun 2 07:36:03 gentooBox acpid: received event "battery BAT0 00000080 00000001" Jun 2 07:36:03 gentooBox acpid: notifying client 7072[103:1006] Jun 2 07:36:03 gentooBox acpid: notifying client 7254[0:0] Jun 2 07:36:03 gentooBox acpid: executing action "/etc/acpi/default.sh battery BAT0 00000080 00000001" Jun 2 07:36:03 gentooBox acpid: action exited with status 0 Jun 2 07:36:03 gentooBox acpid: executing action "/etc/acpi/actions/lm_battery.sh battery BAT0 00000080 00000001" Jun 2 07:36:03 gentooBox logger: ACPI event unhandled: battery BAT0 00000080 00000001 Jun 2 07:36:03 gentooBox acpid: action exited with status 0 Jun 2 07:36:03 gentooBox acpid: completed event "battery BAT0 00000080 00000001" Jun 2 07:36:41 gentooBox su[13254]: Successful su for root by tausche Jun 2 07:36:41 gentooBox su[13254]: + pts/0 tausche:root Jun 2 07:36:41 gentooBox su[13254]: pam_unix(su:session): session opened for user root by tausche(uid=1000) Jun 2 07:36:59 gentooBox tifm_core: MemoryStick card detected in socket 0:2 Jun 2 07:37:15 gentooBox tifm0 : demand removing card from socket 0:2 Jun 2 07:40:02 gentooBox cron[13267]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Jun 2 07:40:02 gentooBox cron[13269]: (tausche) CMD (/home/tausche/storage/scripts/wallpaper-change.sh) Jun 2 07:50:01 gentooBox cron[13308]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) |
Quellcode |
|
1 2 3 |
gentooBox ~ # equery belongs udevmonitor [ Searching for file(s) udevmonitor in *... ] sys-fs/udev-119 (/usr/sbin/udevmonitor -> /sbin/udevadm) |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
gentooBox ~ # udevmonitor --env udevmonitor will print the received events for: UDEV the event which udev sends out after rule processing UEVENT the kernel uevent UDEV [1212397389.382233] add /devices/pci0000:00/0000:00:1e.0/0000:02:06.3/tifm_ms0:2 (tifm) UDEV_LOG=3 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:02:06.3/tifm_ms0:2 SUBSYSTEM=tifm SEQNUM=1866 TIFM_CARD_TYPE=MS UDEVD_EVENT=1 UDEV [1212397391.834953] remove /devices/pci0000:00/0000:00:1e.0/0000:02:06.3/tifm_ms0:2 (tifm) UDEV_LOG=3 ACTION=remove DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:02:06.3/tifm_ms0:2 SUBSYSTEM=tifm SEQNUM=1867 TIFM_CARD_TYPE=MS UDEVD_EVENT=1 |
Quellcode |
|
1 |
find /dev -type f > /tmp/vorher |
Quellcode |
|
1 |
find /dev -type f > /tmp/nachher |
Quellcode |
|
1 |
diff -Naur /tmp/vorher /tmp/nachher |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
NAME udevadm - udev management tool SYNOPSIS udevadm info [options] udevadm trigger [options] udevadm settle [options] udevadm control [options] instruction udevadm monitor [options] udevadm test [options] devpath udevadm version udevadm help DESCRIPTION udevadm expects a command and command specific options. It controls the runtime behavior of udev, requests kernel events, manages the event queue, and provides simple debugging mechanisms. |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »tausche« (02.06.2008, 12:24)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
lspci -nn -vv ... 02:06.0 CardBus bridge [0607]: Texas Instruments PCIxx21/x515 Cardbus Controller [104c:8031] Subsystem: Acer Incorporated [ALI] Unknown device [1025:0064] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 64, Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 10 Region 0: Memory at d0209000 (32-bit, non-prefetchable) [size=4K] Bus: primary=02, secondary=03, subordinate=06, sec-latency=176 Memory window 0: 30000000-33fff000 (prefetchable) Memory window 1: 38000000-3bfff000 (prefetchable) I/O window 0: 00004000-000040ff I/O window 1: 00004400-000044ff BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt- PostWrite- 16-bit legacy interface ports at 0001 ... 02:06.3 Mass storage controller [0180]: Texas Instruments PCIxx21 Integrated FlashMedia Controller [104c:8033] Subsystem: Acer Incorporated [ALI] Unknown device [1025:0064] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 64 (1750ns min, 1000ns max), Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 10 Region 0: Memory at d0206000 (32-bit, non-prefetchable) [size=8K] Capabilities: [44] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME+ Kernel driver in use: tifm_7xx1 Kernel modules: tifm_7xx1 |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »tausche« (02.06.2008, 14:35)
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »tausche« (05.06.2008, 18:00)