LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-13-2011, 08:46 PM   #1
Advice Pro
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 339

Rep: Reputation: 7
Why doesn't Ubuntu 9.10 detect my USB devices?


"Computer" nor "Palimpest Disk Utility" showed anything about the attached devices. However, the command:
Code:
lsusb
outputs:
Code:
Bus 002 Device 004: ID 05a4:9866 Ortek Technology, Inc. 
Bus 002 Device 003: ID 04d9:1203 Holtek Semiconductor, Inc. MC Industries Keyboard
Bus 002 Device 002: ID 047d:1029 Kensington Mouse*in*a*Box Optical Elite
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0a48:5014 I/O Interconnect Mass Storage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Do you think upgrading will fix this? What else might I do?

Last edited by Advice Pro; 02-13-2011 at 08:48 PM.
 
Old 02-13-2011, 09:49 PM   #2
sean_hurly
LQ Newbie
 
Registered: Jun 2010
Location: South Africa
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
what does dmesg display?
 
Old 02-14-2011, 07:44 AM   #3
Advice Pro
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 339

Original Poster
Rep: Reputation: 7
Code:
[    0.193932] ACPI: PCI Interrupt Link [LNK2] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[    0.194025] ACPI: PCI Interrupt Link [LNK3] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[    0.194120] ACPI: PCI Interrupt Link [LNK4] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[    0.194213] ACPI: PCI Interrupt Link [LNK5] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[    0.194309] ACPI: PCI Interrupt Link [LNK6] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[    0.194401] ACPI: PCI Interrupt Link [LNK7] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[    0.194497] ACPI: PCI Interrupt Link [LNK8] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[    0.194590] ACPI: PCI Interrupt Link [LIGP] (IRQs *5 7 9 10 11 14 15)
[    0.194682] ACPI: PCI Interrupt Link [LP2P] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[    0.194775] ACPI: PCI Interrupt Link [LUBA] (IRQs 5 7 9 *10 11 14 15)
[    0.194868] ACPI: PCI Interrupt Link [LMAC] (IRQs 5 7 9 10 11 14 *15)
[    0.194960] ACPI: PCI Interrupt Link [LAZA] (IRQs 5 7 9 10 *11 14 15)
[    0.195053] ACPI: PCI Interrupt Link [LPMU] (IRQs *5 7 9 10 11 14 15)
[    0.195147] ACPI: PCI Interrupt Link [LSMB] (IRQs *5 7 9 10 11 14 15)
[    0.195239] ACPI: PCI Interrupt Link [LUB2] (IRQs 5 7 9 10 *11 14 15)
[    0.195330] ACPI: PCI Interrupt Link [LIDE] (IRQs 5 7 9 10 11 14 15) *0, disabled.
[    0.195424] ACPI: PCI Interrupt Link [LSID] (IRQs 5 7 9 10 *11 14 15)
[    0.195516] ACPI: PCI Interrupt Link [LFID] (IRQs 5 7 9 *10 11 14 15)
[    0.195638] ACPI: PCI Interrupt Link [APC1] (IRQs 16) *0, disabled.
[    0.195756] ACPI: PCI Interrupt Link [APC2] (IRQs 17) *0, disabled.
[    0.195875] ACPI: PCI Interrupt Link [APC3] (IRQs 18) *0, disabled.
[    0.196005] ACPI: PCI Interrupt Link [APC4] (IRQs 19) *0, disabled.
[    0.196123] ACPI: PCI Interrupt Link [APC5] (IRQs 16) *0, disabled.
[    0.196242] ACPI: PCI Interrupt Link [APC6] (IRQs 16) *0, disabled.
[    0.196361] ACPI: PCI Interrupt Link [APC7] (IRQs 16) *0, disabled.
[    0.196479] ACPI: PCI Interrupt Link [APC8] (IRQs 16) *0, disabled.
[    0.196598] ACPI: PCI Interrupt Link [AIGP] (IRQs 20 21 22) *0
[    0.196717] ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22) *0
[    0.196836] ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22) *0
[    0.196956] ACPI: PCI Interrupt Link [APMU] (IRQs 20 21 22) *0
[    0.197075] ACPI: PCI Interrupt Link [AAZA] (IRQs 20 21 22) *0
[    0.197194] ACPI: PCI Interrupt Link [APCS] (IRQs 20 21 22) *0
[    0.197313] ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22) *0
[    0.197432] ACPI: PCI Interrupt Link [APCM] (IRQs 20 21 22) *0, disabled.
[    0.197551] ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22) *0, disabled.
[    0.197671] ACPI: PCI Interrupt Link [APSI] (IRQs 23) *0
[    0.197790] ACPI: PCI Interrupt Link [APSJ] (IRQs 23) *0
[    0.197912] SCSI subsystem initialized
[    0.197930] libata version 3.00 loaded.
[    0.197930] usbcore: registered new interface driver usbfs
[    0.197930] usbcore: registered new interface driver hub
[    0.197930] usbcore: registered new device driver usb
[    0.197930] ACPI: WMI: Mapper loaded
[    0.197930] PCI: Using ACPI for IRQ routing
[    0.208006] Bluetooth: Core ver 2.15
[    0.208018] NET: Registered protocol family 31
[    0.208018] Bluetooth: HCI device and connection manager initialized
[    0.208018] Bluetooth: HCI socket layer initialized
[    0.208018] NetLabel: Initializing
[    0.208018] NetLabel:  domain hash size = 128
[    0.208018] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.208028] NetLabel:  unlabeled traffic allowed by default
[    0.208054] hpet0: at MMIO 0xfeff0000, IRQs 2, 8, 31
[    0.208057] hpet0: 3 comparators, 32-bit 25.000000 MHz counter
[    0.216018] Switched to high resolution mode on CPU 0
[    0.216492] Switched to high resolution mode on CPU 1
[    0.224015] pnp: PnP ACPI init
[    0.224028] ACPI: bus type pnp registered
[    0.226782] pnp: PnP ACPI: found 10 devices
[    0.226784] ACPI: ACPI bus type pnp unregistered
[    0.226786] PnPBIOS: Disabled by ACPI PNP
[    0.226795] system 00:01: ioport range 0x1000-0x107f has been reserved
[    0.226798] system 00:01: ioport range 0x1080-0x10ff has been reserved
[    0.226800] system 00:01: ioport range 0x1400-0x147f has been reserved
[    0.226802] system 00:01: ioport range 0x1480-0x14ff has been reserved
[    0.226804] system 00:01: ioport range 0x1800-0x187f has been reserved
[    0.226807] system 00:01: ioport range 0x1880-0x18ff has been reserved
[    0.226809] system 00:01: ioport range 0x2000-0x207f has been reserved
[    0.226811] system 00:01: ioport range 0x2080-0x20ff has been reserved
[    0.226816] system 00:02: ioport range 0x4d0-0x4d1 has been reserved
[    0.226818] system 00:02: ioport range 0x800-0x87f has been reserved
[    0.226820] system 00:02: ioport range 0x290-0x30f has been reserved
[    0.226822] system 00:02: ioport range 0x290-0x297 has been reserved
[    0.226828] system 00:08: iomem range 0xf0000000-0xf3ffffff has been reserved
[    0.226832] system 00:09: iomem range 0xf0000-0xfffff could not be reserved
[    0.226834] system 00:09: iomem range 0xfeff0000-0xfeff00ff has been reserved
[    0.226836] system 00:09: iomem range 0xb7ee0000-0xb7efffff could not be reserved
[    0.226839] system 00:09: iomem range 0xffff0000-0xffffffff has been reserved
[    0.226841] system 00:09: iomem range 0x0-0x9ffff could not be reserved
[    0.226844] system 00:09: iomem range 0x100000-0xb7edffff could not be reserved
[    0.226846] system 00:09: iomem range 0xb8000000-0xbfffffff has been reserved
[    0.226848] system 00:09: iomem range 0xfec00000-0xfec00fff could not be reserved
[    0.226851] system 00:09: iomem range 0xfee00000-0xfeefffff has been reserved
[    0.226853] system 00:09: iomem range 0xfefff000-0xfeffffff has been reserved
[    0.226855] system 00:09: iomem range 0xfff80000-0xfff80fff has been reserved
[    0.226858] system 00:09: iomem range 0xfff90000-0xfffbffff has been reserved
[    0.226860] system 00:09: iomem range 0xfffed000-0xfffeffff has been reserved
[    0.261489] AppArmor: AppArmor Filesystem Enabled
[    0.261514] pci 0000:00:04.0: PCI bridge, secondary bus 0000:01
[    0.261516] pci 0000:00:04.0:   IO window: 0xb000-0xbfff
[    0.261519] pci 0000:00:04.0:   MEM window: 0xfd700000-0xfd7fffff
[    0.261522] pci 0000:00:04.0:   PREFETCH window: 0xfde00000-0xfdefffff
[    0.261525] pci 0000:00:09.0: PCI bridge, secondary bus 0000:02
[    0.261527] pci 0000:00:09.0:   IO window: 0xa000-0xafff
[    0.261529] pci 0000:00:09.0:   MEM window: 0xfdd00000-0xfddfffff
[    0.261532] pci 0000:00:09.0:   PREFETCH window: 0x000000fdc00000-0x000000fdcfffff
[    0.261534] pci 0000:00:0b.0: PCI bridge, secondary bus 0000:03
[    0.261536] pci 0000:00:0b.0:   IO window: 0x9000-0x9fff
[    0.261539] pci 0000:00:0b.0:   MEM window: 0xfdb00000-0xfdbfffff
[    0.261541] pci 0000:00:0b.0:   PREFETCH window: 0x000000fda00000-0x000000fdafffff
[    0.261544] pci 0000:00:0c.0: PCI bridge, secondary bus 0000:04
[    0.261546] pci 0000:00:0c.0:   IO window: 0x8000-0x8fff
[    0.261548] pci 0000:00:0c.0:   MEM window: 0xfd900000-0xfd9fffff
[    0.261551] pci 0000:00:0c.0:   PREFETCH window: 0x000000fd800000-0x000000fd8fffff
[    0.261558] pci 0000:00:04.0: setting latency timer to 64
[    0.261562] pci 0000:00:09.0: setting latency timer to 64
[    0.261566] pci 0000:00:0b.0: setting latency timer to 64
[    0.261569] pci 0000:00:0c.0: setting latency timer to 64
[    0.261573] pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
[    0.261574] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
[    0.261576] pci_bus 0000:01: resource 0 io:  [0xb000-0xbfff]
[    0.261578] pci_bus 0000:01: resource 1 mem: [0xfd700000-0xfd7fffff]
[    0.261580] pci_bus 0000:01: resource 2 pref mem [0xfde00000-0xfdefffff]
[    0.261582] pci_bus 0000:01: resource 3 io:  [0x00-0xffff]
[    0.261584] pci_bus 0000:01: resource 4 mem: [0x000000-0xffffffff]
[    0.261586] pci_bus 0000:02: resource 0 io:  [0xa000-0xafff]
[    0.261588] pci_bus 0000:02: resource 1 mem: [0xfdd00000-0xfddfffff]
[    0.261590] pci_bus 0000:02: resource 2 pref mem [0xfdc00000-0xfdcfffff]
[    0.261592] pci_bus 0000:03: resource 0 io:  [0x9000-0x9fff]
[    0.261594] pci_bus 0000:03: resource 1 mem: [0xfdb00000-0xfdbfffff]
[    0.261596] pci_bus 0000:03: resource 2 pref mem [0xfda00000-0xfdafffff]
[    0.261598] pci_bus 0000:04: resource 0 io:  [0x8000-0x8fff]
[    0.261599] pci_bus 0000:04: resource 1 mem: [0xfd900000-0xfd9fffff]
[    0.261601] pci_bus 0000:04: resource 2 pref mem [0xfd800000-0xfd8fffff]
[    0.261632] NET: Registered protocol family 2
[    0.261713] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.262019] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.262820] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.263253] TCP: Hash tables configured (established 131072 bind 65536)
[    0.263255] TCP reno registered
[    0.263347] NET: Registered protocol family 1
[    0.263409] Trying to unpack rootfs image as initramfs...
[    0.404961] Freeing initrd memory: 7451k freed
[    0.410653] cpufreq-nforce2: No nForce2 chipset.
[    0.410679] Scanning for low memory corruption every 60 seconds
[    0.410767] audit: initializing netlink socket (disabled)
[    0.410780] type=2000 audit(1297689134.408:1): initialized
[    0.416968] highmem bounce pool size: 64 pages
[    0.416972] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[    0.418131] VFS: Disk quotas dquot_6.5.2
[    0.418177] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.418627] fuse init (API version 7.12)
[    0.418686] msgmni has been set to 1682
[    0.418877] alg: No test for stdrng (krng)
[    0.418896] io scheduler noop registered
[    0.418897] io scheduler anticipatory registered
[    0.418899] io scheduler deadline registered
[    0.418927] io scheduler cfq registered (default)
[    0.432062] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.432106] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.432158] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.432209] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.432259] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.432314] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.432371] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.432432] pci 0000:00:00.0: Found enabled HT MSI Mapping
[    0.432436] pci 0000:00:0d.0: Boot video device
[    0.432511]   alloc irq_desc for 24 on node -1
[    0.432513]   alloc kstat_irqs on node -1
[    0.432519] pcieport-driver 0000:00:09.0: irq 24 for MSI/MSI-X
[    0.432523] pcieport-driver 0000:00:09.0: setting latency timer to 64
[    0.432574]   alloc irq_desc for 25 on node -1
[    0.432575]   alloc kstat_irqs on node -1
[    0.432579] pcieport-driver 0000:00:0b.0: irq 25 for MSI/MSI-X
[    0.432582] pcieport-driver 0000:00:0b.0: setting latency timer to 64
[    0.432631]   alloc irq_desc for 26 on node -1
[    0.432632]   alloc kstat_irqs on node -1
[    0.432636] pcieport-driver 0000:00:0c.0: irq 26 for MSI/MSI-X
[    0.432639] pcieport-driver 0000:00:0c.0: setting latency timer to 64
[    0.432679] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.432697] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.432794] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.432797] ACPI: Power Button [PWRF]
[    0.432835] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
[    0.432837] ACPI: Power Button [PWRB]
[    0.432877] fan PNP0C0B:00: registered as cooling_device0
[    0.432881] ACPI: Fan [FAN] (on)
[    0.433113] processor LNXCPU:00: registered as cooling_device1
[    0.433136] processor LNXCPU:01: registered as cooling_device2
[    0.435252] ACPI Warning: \_TZ_.THRM._PSL: Return Package type mismatch at index 0 - found [NULL Object Descriptor], expected Reference 20090521 nspredef-946
[    0.435258] ACPI: Expecting a [Reference] package element, found type 0
[    0.435259] ACPI: Invalid passive threshold
[    0.435481] thermal LNXTHERM:01: registered as thermal_zone0
[    0.435486] ACPI: Thermal Zone [THRM] (40 C)
[    0.435525] isapnp: Scanning for PnP cards...
[    0.788114] isapnp: No Plug & Play device found
[    0.788925] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.789765] brd: module loaded
[    0.790068] loop: module loaded
[    0.790121] input: Macintosh mouse button emulation as /devices/virtual/input/input2
[    0.790263] sata_nv 0000:00:08.0: version 3.5
[    0.790468] ACPI: PCI Interrupt Link [APSI] enabled at IRQ 23
[    0.790472]   alloc irq_desc for 23 on node -1
[    0.790473]   alloc kstat_irqs on node -1
[    0.790480] sata_nv 0000:00:08.0: PCI INT A -> Link[APSI] -> GSI 23 (level, low) -> IRQ 23
[    0.790515] sata_nv 0000:00:08.0: setting latency timer to 64
[    0.790580] scsi0 : sata_nv
[    0.790650] scsi1 : sata_nv
[    0.790744] ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xd800 irq 23
[    0.790746] ata2: SATA max UDMA/133 cmd 0x970 ctl 0xb70 bmdma 0xd808 irq 23
[    0.790942] ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 23
[    0.790945] sata_nv 0000:00:08.1: PCI INT B -> Link[APSJ] -> GSI 23 (level, low) -> IRQ 23
[    0.790973] sata_nv 0000:00:08.1: setting latency timer to 64
[    0.791004] scsi2 : sata_nv
[    0.791049] scsi3 : sata_nv
[    0.791142] ata3: SATA max UDMA/133 cmd 0x9e0 ctl 0xbe0 bmdma 0xc400 irq 23
[    0.791145] ata4: SATA max UDMA/133 cmd 0x960 ctl 0xb60 bmdma 0xc408 irq 23
[    0.791207] pata_amd 0000:00:06.0: version 0.4.1
[    0.791237] pata_amd 0000:00:06.0: setting latency timer to 64
[    0.791300] scsi4 : pata_amd
[    0.801545] ata3: SATA link down (SStatus 0 SControl 300)
[    0.801575] scsi5 : pata_amd
[    0.801992] ata5: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14
[    0.801994] ata6: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15
[    0.802497] Fixed MDIO Bus: probed
[    0.802521] PPP generic driver version 2.4.2
[    0.802580] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.802777] ACPI: PCI Interrupt Link [APCL] enabled at IRQ 22
[    0.802779]   alloc irq_desc for 22 on node -1
[    0.802780]   alloc kstat_irqs on node -1
[    0.802787] ehci_hcd 0000:00:02.1: PCI INT B -> Link[APCL] -> GSI 22 (level, low) -> IRQ 22
[    0.802793] ehci_hcd 0000:00:02.1: setting latency timer to 64
[    0.802795] ehci_hcd 0000:00:02.1: EHCI Host Controller
[    0.802836] ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
[    0.802859] ehci_hcd 0000:00:02.1: debug port 1
[    0.802862] ehci_hcd 0000:00:02.1: cache line size of 64 is not supported
[    0.802876] ehci_hcd 0000:00:02.1: irq 22, io mem 0xfe02e000
[    0.812010] ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00
[    0.812066] usb usb1: configuration #1 chosen from 1 choice
[    0.812088] hub 1-0:1.0: USB hub found
[    0.812095] hub 1-0:1.0: 10 ports detected
[    0.812143] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.812343] ACPI: PCI Interrupt Link [APCF] enabled at IRQ 21
[    0.812345]   alloc irq_desc for 21 on node -1
[    0.812347]   alloc kstat_irqs on node -1
[    0.812353] ohci_hcd 0000:00:02.0: PCI INT A -> Link[APCF] -> GSI 21 (level, low) -> IRQ 21
[    0.812358] ohci_hcd 0000:00:02.0: setting latency timer to 64
[    0.812360] ohci_hcd 0000:00:02.0: OHCI Host Controller
[    0.812380] ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
[    0.812400] ohci_hcd 0000:00:02.0: irq 21, io mem 0xfe02f000
[    0.870031] usb usb2: configuration #1 chosen from 1 choice
[    0.870048] hub 2-0:1.0: USB hub found
[    0.870055] hub 2-0:1.0: 10 ports detected
[    0.870102] uhci_hcd: USB Universal Host Controller Interface driver
[    0.870155] PNP: No PS/2 controller found. Probing ports directly.
[    0.870503] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.870507] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.870569] mice: PS/2 mouse device common for all mice
[    0.870639] rtc_cmos 00:05: RTC can wake from S4
[    0.870664] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[    0.870700] rtc0: alarms up to one year, y3k, 242 bytes nvram, hpet irqs
[    0.870791] device-mapper: uevent: version 1.0.3
[    0.870868] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[    0.870957] device-mapper: multipath: version 1.1.0 loaded
[    0.870959] device-mapper: multipath round-robin: version 1.0.0 loaded
[    0.871073] EISA: Probing bus 0 at eisa.0
[    0.871077] Cannot allocate resource for EISA slot 1
[    0.871079] Cannot allocate resource for EISA slot 2
[    0.871091] Cannot allocate resource for EISA slot 8
[    0.871092] EISA: Detected 0 cards.
[    0.871193] cpuidle: using governor ladder
[    0.871194] cpuidle: using governor menu
[    0.871543] TCP cubic registered
[    0.871661] NET: Registered protocol family 10
[    0.871976] lo: Disabled Privacy Extensions
[    0.872185] NET: Registered protocol family 17
[    0.872198] Bluetooth: L2CAP ver 2.13
[    0.872200] Bluetooth: L2CAP socket layer initialized
[    0.872202] Bluetooth: SCO (Voice Link) ver 0.6
[    0.872203] Bluetooth: SCO socket layer initialized
[    0.872237] Bluetooth: RFCOMM TTY layer initialized
[    0.872239] Bluetooth: RFCOMM socket layer initialized
[    0.872240] Bluetooth: RFCOMM ver 1.11
[    0.872260] powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ processors (2 cpu cores) (version 2.20.00)
[    0.872305] powernow-k8:    0 : fid 0x16 (3000 MHz), vid 0x8
[    0.872306] powernow-k8:    1 : fid 0x14 (2800 MHz), vid 0xa
[    0.872308] powernow-k8:    2 : fid 0x12 (2600 MHz), vid 0xc
[    0.872310] powernow-k8:    3 : fid 0x10 (2400 MHz), vid 0xe
[    0.872311] powernow-k8:    4 : fid 0xe (2200 MHz), vid 0x10
[    0.872313] powernow-k8:    5 : fid 0xc (2000 MHz), vid 0x10
[    0.872315] powernow-k8:    6 : fid 0xa (1800 MHz), vid 0x10
[    0.872316] powernow-k8:    7 : fid 0x2 (1000 MHz), vid 0x12
[    0.872367] Using IPI No-Shortcut mode
[    0.872415] PM: Resume from disk failed.
[    0.872424] registered taskstats version 1
[    0.872526]   Magic number: 15:571:230
[    0.872624] rtc_cmos 00:05: setting system clock to 2011-02-14 13:12:15 UTC (1297689135)
[    0.872626] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    0.872628] EDD information not available.
[    0.944032] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    0.963471] ata1.00: ATA-8: WDC WD3200AAKS-00L9A0, 01.03E01, max UDMA/133
[    0.963473] ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    0.964303] ata5.00: ATAPI: Optiarc DVD RW AD-7203A, 1-W2, max UDMA/66
[    0.964321] ata5: nv_mode_filter: 0x1f39f&0x1f39f->0x1f39f, BIOS=0x1f000 (0xc5000000) ACPI=0x1f01f (30:600:0x13)
[    0.977616] ata1.00: configured for UDMA/133
[    0.977701] scsi 0:0:0:0: Direct-Access     ATA      WDC WD3200AAKS-0 01.0 PQ: 0 ANSI: 5
[    0.977783] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.977810] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[    0.977838] sd 0:0:0:0: [sda] Write Protect is off
[    0.977840] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    0.977855] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.977942]  sda:
[    0.980241] ata5.00: configured for UDMA/66
[    0.988249] ata2: SATA link down (SStatus 0 SControl 300)
[    0.988282]  sda1 sda2 <
[    0.998488] ata4: SATA link down (SStatus 0 SControl 300)
[    1.000006] scsi 4:0:0:0: CD-ROM            Optiarc  DVD RW AD-7203A  1-W2 PQ: 0 ANSI: 5
[    1.004574] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    1.004576] Uniform CD-ROM driver Revision: 3.20
[    1.004631] sr 4:0:0:0: Attached scsi CD-ROM sr0
[    1.004656] sr 4:0:0:0: Attached scsi generic sg1 type 5
[    1.004683] ata6: port disabled. ignoring.
[    1.019841]  sda5 >
[    1.020005] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.020030] Freeing unused kernel memory: 540k freed
[    1.020468] Write protecting the kernel text: 4568k
[    1.020494] Write protecting the kernel read-only data: 1836k
[    1.104097] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
[    1.104358] ACPI: PCI Interrupt Link [APCH] enabled at IRQ 20
[    1.104362]   alloc irq_desc for 20 on node -1
[    1.104364]   alloc kstat_irqs on node -1
[    1.104373] forcedeth 0000:00:07.0: PCI INT A -> Link[APCH] -> GSI 20 (level, low) -> IRQ 20
[    1.104377] forcedeth 0000:00:07.0: setting latency timer to 64
[    1.292019] usb 1-9: new high speed USB device using ehci_hcd and address 5
[    1.441336] usb 1-9: configuration #1 chosen from 1 choice
[    1.447328] Initializing USB Mass Storage driver...
[    1.447478] scsi6 : SCSI emulation for USB Mass Storage devices
[    1.447552] usb-storage: device found at 5
[    1.447555] usb-storage: waiting for device to settle before scanning
[    1.447559] usbcore: registered new interface driver usb-storage
[    1.447561] USB Mass Storage support registered.
[    1.624842] forcedeth 0000:00:07.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:1e:90:a9:df:48
[    1.624845] forcedeth 0000:00:07.0: highdma pwrctl mgmt lnktim msi desc-v3
[    1.752689] usb 2-1: new low speed USB device using ohci_hcd and address 2
[    1.975108] usb 2-1: configuration #1 chosen from 1 choice
[    2.004206] usbcore: registered new interface driver hiddev
[    2.010237] input: Kensington      USB/PS2 Wheel Mouse as /devices/pci0000:00/0000:00:02.0/usb2/2-1/2-1:1.0/input/input3
[    2.010299] generic-usb 0003:047D:1029.0001: input,hidraw0: USB HID v1.10 Mouse [Kensington      USB/PS2 Wheel Mouse] on usb-0000:00:02.0-1/input0
[    2.010313] usbcore: registered new interface driver usbhid
[    2.010316] usbhid: v2.6:USB HID core driver
[    2.271143] PM: Starting manual resume from disk
[    2.271147] PM: Resume from partition 8:5
[    2.271148] PM: Checking hibernation image.
[    2.271292] PM: Resume from disk failed.
[    2.296017] usb 2-4: new low speed USB device using ohci_hcd and address 3
[    2.304124] EXT4-fs (sda1): barriers enabled
[    2.333079] kjournald2 starting: pid 389, dev sda1:8, commit interval 5 seconds
[    2.333087] EXT4-fs (sda1): delayed allocation enabled
[    2.333090] EXT4-fs: file extents enabled
[    2.360153] EXT4-fs: mballoc enabled
[    2.360165] EXT4-fs (sda1): mounted filesystem with ordered data mode
[    2.513108] usb 2-4: configuration #1 chosen from 1 choice
[    2.528220] input: HID 04d9:1203 as /devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0/input/input4
[    2.528273] generic-usb 0003:04D9:1203.0002: input,hidraw1: USB HID v1.11 Keyboard [HID 04d9:1203] on usb-0000:00:02.0-4/input0
[    2.551078] input: HID 04d9:1203 as /devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.1/input/input5
[    2.551128] generic-usb 0003:04D9:1203.0003: input,hidraw2: USB HID v1.11 Device [HID 04d9:1203] on usb-0000:00:02.0-4/input1
[    2.801166] type=1505 audit(1297689137.427:2): operation="profile_load" pid=419 name=/usr/share/gdm/guest-session/Xsession
[    2.802818] type=1505 audit(1297689137.427:3): operation="profile_load" pid=420 name=/sbin/dhclient3
[    2.803015] type=1505 audit(1297689137.427:4): operation="profile_load" pid=420 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[    2.803128] type=1505 audit(1297689137.427:5): operation="profile_load" pid=420 name=/usr/lib/connman/scripts/dhclient-script
[    2.844151] type=1505 audit(1297689137.467:6): operation="profile_load" pid=421 name=/usr/bin/evince
[    2.847381] type=1505 audit(1297689137.471:7): operation="profile_load" pid=421 name=/usr/bin/evince-previewer
[    2.849311] type=1505 audit(1297689137.475:8): operation="profile_load" pid=421 name=/usr/bin/evince-thumbnailer
[    2.852523] usb 2-5: new low speed USB device using ohci_hcd and address 4
[    2.883239] type=1505 audit(1297689137.507:9): operation="profile_load" pid=423 name=/usr/lib/cups/backend/cups-pdf
[    2.883485] type=1505 audit(1297689137.507:10): operation="profile_load" pid=423 name=/usr/sbin/cupsd
[    3.077097] usb 2-5: configuration #1 chosen from 1 choice
[    3.092222] input:   RF USB Device as /devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.0/input/input6
[    3.092263] generic-usb 0003:05A4:9866.0004: input,hidraw3: USB HID v1.10 Keyboard [  RF USB Device] on usb-0000:00:02.0-5/input0
[    3.104189] input:   RF USB Device as /devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.1/input/input7
[    3.104242] generic-usb 0003:05A4:9866.0005: input,hidraw4: USB HID v1.10 Mouse [  RF USB Device] on usb-0000:00:02.0-5/input1
[    3.582863] Adding 8691124k swap on /dev/sda5.  Priority:-1 extents:1 across:8691124k 
[    4.106305] EXT4-fs (sda1): internal journal on sda1:8
[    4.364020] udev: starting version 147
[    5.002327] k8temp 0000:00:18.3: Temperature readouts might be wrong - check erratum #141
[    5.452115] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x1c00
[    5.452131] i2c-adapter i2c-1: nForce2 SMBus adapter at 0xf400
[    6.260520] lp: driver loaded but no devices found
[    6.444204] usb-storage: device scan complete
[    6.452545] scsi 6:0:0:0: Direct-Access     IOI-CFC                        PQ: 0 ANSI: 0 CCS
[    6.458782] scsi 6:0:0:1: Direct-Access     IOI-SMC                        PQ: 0 ANSI: 0 CCS
[    6.465154] scsi 6:0:0:2: Direct-Access     IOI-MMC                        PQ: 0 ANSI: 0 CCS
[    6.471529] scsi 6:0:0:3: Direct-Access     IOI-MSC                        PQ: 0 ANSI: 0 CCS
[    6.471827] sd 6:0:0:0: Attached scsi generic sg2 type 0
[    6.471898] sd 6:0:0:1: Attached scsi generic sg3 type 0
[    6.471972] sd 6:0:0:2: Attached scsi generic sg4 type 0
[    6.472036] sd 6:0:0:3: Attached scsi generic sg5 type 0
[    6.482718] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[    6.484627] ip_tables: (C) 2000-2006 Netfilter Core Team
[    6.488308] sd 6:0:0:1: [sdc] Attached SCSI removable disk
[    6.488585] sd 6:0:0:3: [sde] Attached SCSI removable disk
[    6.495532] sd 6:0:0:2: [sdd] Attached SCSI removable disk
[    7.520205] ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
[    7.520211] HDA Intel 0000:00:05.0: PCI INT B -> Link[AAZA] -> GSI 22 (level, low) -> IRQ 22
[    7.520229] HDA Intel 0000:00:05.0: setting latency timer to 64
[    7.839869] __ratelimit: 3 callbacks suppressed
[    7.839872] type=1505 audit(1297689142.463:12): operation="profile_replace" pid=903 name=/usr/share/gdm/guest-session/Xsession
[    7.840956] type=1505 audit(1297689142.467:13): operation="profile_replace" pid=904 name=/sbin/dhclient3
[    7.841154] type=1505 audit(1297689142.467:14): operation="profile_replace" pid=904 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[    7.841270] type=1505 audit(1297689142.467:15): operation="profile_replace" pid=904 name=/usr/lib/connman/scripts/dhclient-script
[    7.844994] type=1505 audit(1297689142.471:16): operation="profile_replace" pid=905 name=/usr/bin/evince
[    7.848208] type=1505 audit(1297689142.471:17): operation="profile_replace" pid=905 name=/usr/bin/evince-previewer
[    7.850865] type=1505 audit(1297689142.475:18): operation="profile_replace" pid=905 name=/usr/bin/evince-thumbnailer
[    7.854695] type=1505 audit(1297689142.479:19): operation="profile_replace" pid=908 name=/usr/lib/cups/backend/cups-pdf
[    7.854945] type=1505 audit(1297689142.479:20): operation="profile_replace" pid=908 name=/usr/sbin/cupsd
[    7.856434] type=1505 audit(1297689142.479:21): operation="profile_replace" pid=909 name=/usr/sbin/tcpdump
[    8.280513] hda_codec: Unknown model for ALC1200, trying auto-probe from BIOS...
[    8.296571] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:05.0/input/input8
[    8.422899]   alloc irq_desc for 27 on node -1
[    8.422903]   alloc kstat_irqs on node -1
[    8.422912] forcedeth 0000:00:07.0: irq 27 for MSI/MSI-X
[   10.480050] ppdev: user-space parallel port driver
[   14.068548] CPU0 attaching NULL sched-domain.
[   14.068554] CPU1 attaching NULL sched-domain.
[   14.080544] CPU0 attaching sched-domain:
[   14.080547]  domain 0: span 0-1 level MC
[   14.080549]   groups: 0 1
[   14.080552]   domain 1: span 0-1 level CPU
[   14.080553]    groups: 0-1 (__cpu_power = 2048)
[   14.080557] CPU1 attaching sched-domain:
[   14.080558]  domain 0: span 0-1 level MC
[   14.080560]   groups: 1 0
[   14.080562]   domain 1: span 0-1 level CPU
[   14.080564]    groups: 0-1 (__cpu_power = 2048)
[   18.976512] eth0: no IPv6 routers present
[   20.303692] CPU0 attaching NULL sched-domain.
[   20.303697] CPU1 attaching NULL sched-domain.
[   20.316075] CPU0 attaching sched-domain:
[   20.316078]  domain 0: span 0-1 level MC
[   20.316081]   groups: 0 1
[   20.316084] CPU1 attaching sched-domain:
[   20.316086]  domain 0: span 0-1 level MC
[   20.316088]   groups: 1 0
[   75.000020] Clocksource tsc unstable (delta = -332913475 ns)
 
Old 02-14-2011, 10:34 AM   #4
sean_hurly
LQ Newbie
 
Registered: Jun 2010
Location: South Africa
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
sorry, plug usb device in and then
dmesg
or
dmesg > dump.msg and tail dump.msg
 
Old 02-14-2011, 01:28 PM   #5
Advice Pro
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 339

Original Poster
Rep: Reputation: 7
Quote:
sorry, plug usb device in and then
dmesg
The usb devices were plugged in.

I'm not sure what is
Quote:
dmesg > dump.msg and tail dump.msg
 
Old 02-14-2011, 07:35 PM   #6
sean_hurly
LQ Newbie
 
Registered: Jun 2010
Location: South Africa
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
the idea is to see what the kernel logs as the usb device is plugged in. therefore do the dmesg shortly after plugging the usb device in.

the dmesg > dump.msg writes the contents to a file "dump.msg". the tail dump.msg shows the last part of the file and hopefully the usb event. do a rm -i dump.msg when done.
 
Old 02-14-2011, 07:59 PM   #7
Advice Pro
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 339

Original Poster
Rep: Reputation: 7
Code:
dmesg > dump.msg
This does nothing. Did I get the command right?

However:
Quote:
Originally Posted by sean_hurly View Post
tail dump.msg
gave me this outptut anyways:

Code:
[13163.748028] usb 2-3: new low speed USB device using ohci_hcd and address 5
[13163.961223] usb 2-3: configuration #1 chosen from 1 choice
[13163.974651] input: Kensington      USB/PS2 Wheel Mouse as /devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0/input/input9
[13163.974827] generic-usb 0003:047D:1029.0006: input,hidraw0: USB HID v1.10 Mouse [Kensington      USB/PS2 Wheel Mouse] on usb-0000:00:02.0-3/input0
[13174.216028] usb 2-4: new low speed USB device using ohci_hcd and address 6
[13174.428238] usb 2-4: configuration #1 chosen from 1 choice
[13174.445623] input: HID 04d9:1203 as /devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0/input/input10
[13174.445774] generic-usb 0003:04D9:1203.0007: input,hidraw1: USB HID v1.11 Keyboard [HID 04d9:1203] on usb-0000:00:02.0-4/input0
[13174.469629] input: HID 04d9:1203 as /devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.1/input/input11
[13174.469791] generic-usb 0003:04D9:1203.0008: input,hidraw2: USB HID v1.11 Device [HID 04d9:1203] on usb-0000:00:02.0-4/input1
 
Old 02-16-2011, 04:30 AM   #8
sean_hurly
LQ Newbie
 
Registered: Jun 2010
Location: South Africa
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
What this shows is that your kernel did detect the usb device. If the kernel has a suitable driver and what it does with it is another story.

The dmesg > dump.msg redirects the standard terminal to the file "dump.msg". That is why you saw nothing on the screen. The tail dump.msg shows the last part of the dump.msg file, and the kernel response to you plugging in the usb device.

You can always "man <keyword>" to understand what a command does.

You may want to a) ls -la /sys/dev/block and b) ls -la /sys/dev/char to see if your usb device is a block or character device.
 
Old 02-16-2011, 07:54 AM   #9
Advice Pro
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 339

Original Poster
Rep: Reputation: 7
Code:
ls -la /sys/dev/block
output:
Code:
total 0
drwxr-xr-x 2 root root 0 2011-02-16 08:48 .
drwxr-xr-x 4 root root 0 2011-02-16 08:48 ..
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:0 -> ../../devices/virtual/block/ram0
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:1 -> ../../devices/virtual/block/ram1
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:10 -> ../../devices/virtual/block/ram10
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 11:0 -> ../../devices/pci0000:00/0000:00:06.0/host4/target4:0:0/4:0:0:0/block/sr0
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:11 -> ../../devices/virtual/block/ram11
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:12 -> ../../devices/virtual/block/ram12
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:13 -> ../../devices/virtual/block/ram13
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:14 -> ../../devices/virtual/block/ram14
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:15 -> ../../devices/virtual/block/ram15
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:2 -> ../../devices/virtual/block/ram2
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:3 -> ../../devices/virtual/block/ram3
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:4 -> ../../devices/virtual/block/ram4
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:5 -> ../../devices/virtual/block/ram5
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:6 -> ../../devices/virtual/block/ram6
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:7 -> ../../devices/virtual/block/ram7
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:8 -> ../../devices/virtual/block/ram8
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 1:9 -> ../../devices/virtual/block/ram9
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 7:0 -> ../../devices/virtual/block/loop0
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 7:1 -> ../../devices/virtual/block/loop1
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 7:2 -> ../../devices/virtual/block/loop2
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 7:3 -> ../../devices/virtual/block/loop3
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 7:4 -> ../../devices/virtual/block/loop4
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 7:5 -> ../../devices/virtual/block/loop5
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 7:6 -> ../../devices/virtual/block/loop6
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 7:7 -> ../../devices/virtual/block/loop7
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 8:0 -> ../../devices/pci0000:00/0000:00:08.0/host0/target0:0:0/0:0:0:0/block/sda
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 8:1 -> ../../devices/pci0000:00/0000:00:08.0/host0/target0:0:0/0:0:0:0/block/sda/sda1
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 8:16 -> ../../devices/pci0000:00/0000:00:02.1/usb1/1-9/1-9:1.0/host6/target6:0:0/6:0:0:0/block/sdb
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 8:2 -> ../../devices/pci0000:00/0000:00:08.0/host0/target0:0:0/0:0:0:0/block/sda/sda2
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 8:32 -> ../../devices/pci0000:00/0000:00:02.1/usb1/1-9/1-9:1.0/host6/target6:0:0/6:0:0:1/block/sdc
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 8:48 -> ../../devices/pci0000:00/0000:00:02.1/usb1/1-9/1-9:1.0/host6/target6:0:0/6:0:0:2/block/sdd
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 8:5 -> ../../devices/pci0000:00/0000:00:08.0/host0/target0:0:0/0:0:0:0/block/sda/sda5
lrwxrwxrwx 1 root root 0 2011-02-16 08:48 8:64 -> ../../devices/pci0000:00/0000:00:02.1/usb1/1-9/1-9:1.0/host6/target6:0:0/6:0:0:3/block/sde
Code:
ls -la /sys/dev/char
output:
Code:
total 0
drwxr-xr-x 2 root root 0 2011-02-16 08:53 .
drwxr-xr-x 4 root root 0 2011-02-16 08:48 ..
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:1 -> ../../devices/virtual/misc/psaux
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:227 -> ../../devices/virtual/misc/mcelog
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:228 -> ../../devices/virtual/misc/hpet
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:229 -> ../../devices/virtual/misc/fuse
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:231 -> ../../devices/virtual/misc/snapshot
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:56 -> ../../devices/virtual/misc/network_throughput
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:57 -> ../../devices/virtual/misc/network_latency
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:58 -> ../../devices/virtual/misc/cpu_dma_latency
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:59 -> ../../devices/virtual/misc/binder
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:60 -> ../../devices/virtual/misc/device-mapper
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:61 -> ../../devices/virtual/misc/pktcdvd!control
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:62 -> ../../devices/virtual/misc/ecryptfs
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 10:63 -> ../../devices/virtual/misc/rfkill
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 108:0 -> ../../devices/virtual/ppp/ppp
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 1:1 -> ../../devices/virtual/mem/mem
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 1:11 -> ../../devices/virtual/mem/kmsg
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 1:12 -> ../../devices/virtual/mem/oldmem
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 116:2 -> ../../devices/virtual/sound/timer
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 116:3 -> ../../devices/virtual/sound/seq
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 116:4 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/pcmC0D2c
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 116:5 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/pcmC0D1p
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 116:6 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/pcmC0D0p
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 116:7 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/pcmC0D0c
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 116:8 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/hwC0D0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 116:9 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/controlC0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 1:3 -> ../../devices/virtual/mem/null
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:32 -> ../../devices/virtual/input/input2/mouse0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:33 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0/input/input3/mouse1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:34 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.1/input/input7/mouse2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:63 -> ../../devices/virtual/input/mice
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:64 -> ../../devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:65 -> ../../devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:66 -> ../../devices/virtual/input/input2/event2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:67 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0/input/input3/event3
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:68 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0/input/input4/event4
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:69 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.1/input/input5/event5
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:70 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.0/input/input6/event6
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:71 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.1/input/input7/event7
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 13:72 -> ../../devices/pci0000:00/0000:00:05.0/input/input8/event8
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 1:4 -> ../../devices/virtual/mem/port
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 14:0 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/mixer
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 14:1 -> ../../devices/virtual/sound/sequencer
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 14:12 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/adsp
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 14:3 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/dsp
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 14:4 -> ../../devices/pci0000:00/0000:00:05.0/sound/card0/audio
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 14:8 -> ../../devices/virtual/sound/sequencer2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 1:5 -> ../../devices/virtual/mem/zero
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 1:7 -> ../../devices/virtual/mem/full
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 1:8 -> ../../devices/virtual/mem/random
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 189:0 -> ../../devices/pci0000:00/0000:00:02.1/usb1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 189:128 -> ../../devices/pci0000:00/0000:00:02.0/usb2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 189:129 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-3
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 189:130 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-4
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 189:131 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-5
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 189:4 -> ../../devices/pci0000:00/0000:00:02.1/usb1/1-9
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 1:9 -> ../../devices/virtual/mem/urandom
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 21:0 -> ../../devices/pci0000:00/0000:00:08.0/host0/target0:0:0/0:0:0:0/scsi_generic/sg0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 21:1 -> ../../devices/pci0000:00/0000:00:06.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 21:2 -> ../../devices/pci0000:00/0000:00:02.1/usb1/1-9/1-9:1.0/host6/target6:0:0/6:0:0:0/scsi_generic/sg2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 21:3 -> ../../devices/pci0000:00/0000:00:02.1/usb1/1-9/1-9:1.0/host6/target6:0:0/6:0:0:1/scsi_generic/sg3
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 21:4 -> ../../devices/pci0000:00/0000:00:02.1/usb1/1-9/1-9:1.0/host6/target6:0:0/6:0:0:2/scsi_generic/sg4
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 21:5 -> ../../devices/pci0000:00/0000:00:02.1/usb1/1-9/1-9:1.0/host6/target6:0:0/6:0:0:3/scsi_generic/sg5
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 252:0 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-3/2-3:1.0/0003:047D:1029.0001/hidraw/hidraw0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 252:1 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0/0003:04D9:1203.0002/hidraw/hidraw1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 252:2 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.1/0003:04D9:1203.0003/hidraw/hidraw2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 252:3 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.0/0003:05A4:9866.0004/hidraw/hidraw3
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 252:4 -> ../../devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.1/0003:05A4:9866.0005/hidraw/hidraw4
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 253:0 -> ../../devices/virtual/usbmon/usbmon0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 253:1 -> ../../devices/pci0000:00/0000:00:02.1/usbmon/usbmon1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 253:2 -> ../../devices/pci0000:00/0000:00:02.0/usbmon/usbmon2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 254:0 -> ../../devices/pnp0/00:05/rtc/rtc0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:0 -> ../../devices/virtual/tty/tty0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:1 -> ../../devices/virtual/tty/tty1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:10 -> ../../devices/virtual/tty/tty10
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:11 -> ../../devices/virtual/tty/tty11
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:12 -> ../../devices/virtual/tty/tty12
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:13 -> ../../devices/virtual/tty/tty13
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:14 -> ../../devices/virtual/tty/tty14
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:15 -> ../../devices/virtual/tty/tty15
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:16 -> ../../devices/virtual/tty/tty16
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:17 -> ../../devices/virtual/tty/tty17
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:18 -> ../../devices/virtual/tty/tty18
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:19 -> ../../devices/virtual/tty/tty19
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:2 -> ../../devices/virtual/tty/tty2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:20 -> ../../devices/virtual/tty/tty20
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:21 -> ../../devices/virtual/tty/tty21
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:22 -> ../../devices/virtual/tty/tty22
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:23 -> ../../devices/virtual/tty/tty23
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:24 -> ../../devices/virtual/tty/tty24
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:25 -> ../../devices/virtual/tty/tty25
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:26 -> ../../devices/virtual/tty/tty26
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:27 -> ../../devices/virtual/tty/tty27
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:28 -> ../../devices/virtual/tty/tty28
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:29 -> ../../devices/virtual/tty/tty29
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:3 -> ../../devices/virtual/tty/tty3
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:30 -> ../../devices/virtual/tty/tty30
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:31 -> ../../devices/virtual/tty/tty31
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:32 -> ../../devices/virtual/tty/tty32
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:33 -> ../../devices/virtual/tty/tty33
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:34 -> ../../devices/virtual/tty/tty34
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:35 -> ../../devices/virtual/tty/tty35
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:36 -> ../../devices/virtual/tty/tty36
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:37 -> ../../devices/virtual/tty/tty37
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:38 -> ../../devices/virtual/tty/tty38
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:39 -> ../../devices/virtual/tty/tty39
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:4 -> ../../devices/virtual/tty/tty4
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:40 -> ../../devices/virtual/tty/tty40
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:41 -> ../../devices/virtual/tty/tty41
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:42 -> ../../devices/virtual/tty/tty42
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:43 -> ../../devices/virtual/tty/tty43
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:44 -> ../../devices/virtual/tty/tty44
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:45 -> ../../devices/virtual/tty/tty45
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:46 -> ../../devices/virtual/tty/tty46
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:47 -> ../../devices/virtual/tty/tty47
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:48 -> ../../devices/virtual/tty/tty48
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:49 -> ../../devices/virtual/tty/tty49
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:5 -> ../../devices/virtual/tty/tty5
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:50 -> ../../devices/virtual/tty/tty50
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:51 -> ../../devices/virtual/tty/tty51
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:52 -> ../../devices/virtual/tty/tty52
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:53 -> ../../devices/virtual/tty/tty53
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:54 -> ../../devices/virtual/tty/tty54
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:55 -> ../../devices/virtual/tty/tty55
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:56 -> ../../devices/virtual/tty/tty56
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:57 -> ../../devices/virtual/tty/tty57
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:58 -> ../../devices/virtual/tty/tty58
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:59 -> ../../devices/virtual/tty/tty59
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:6 -> ../../devices/virtual/tty/tty6
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:60 -> ../../devices/virtual/tty/tty60
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:61 -> ../../devices/virtual/tty/tty61
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:62 -> ../../devices/virtual/tty/tty62
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:63 -> ../../devices/virtual/tty/tty63
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:64 -> ../../devices/platform/serial8250/tty/ttyS0
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:65 -> ../../devices/platform/serial8250/tty/ttyS1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:66 -> ../../devices/platform/serial8250/tty/ttyS2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:67 -> ../../devices/platform/serial8250/tty/ttyS3
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:7 -> ../../devices/virtual/tty/tty7
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:8 -> ../../devices/virtual/tty/tty8
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 4:9 -> ../../devices/virtual/tty/tty9
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 5:0 -> ../../devices/virtual/tty/tty
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 5:1 -> ../../devices/virtual/tty/console
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 5:2 -> ../../devices/virtual/tty/ptmx
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:0 -> ../../devices/virtual/vc/vcs
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:1 -> ../../devices/virtual/vc/vcs1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:128 -> ../../devices/virtual/vc/vcsa
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:129 -> ../../devices/virtual/vc/vcsa1
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:130 -> ../../devices/virtual/vc/vcsa2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:131 -> ../../devices/virtual/vc/vcsa3
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:132 -> ../../devices/virtual/vc/vcsa4
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:133 -> ../../devices/virtual/vc/vcsa5
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:134 -> ../../devices/virtual/vc/vcsa6
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:135 -> ../../devices/virtual/vc/vcsa7
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:136 -> ../../devices/virtual/vc/vcsa8
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:2 -> ../../devices/virtual/vc/vcs2
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:3 -> ../../devices/virtual/vc/vcs3
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:4 -> ../../devices/virtual/vc/vcs4
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:5 -> ../../devices/virtual/vc/vcs5
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:6 -> ../../devices/virtual/vc/vcs6
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:7 -> ../../devices/virtual/vc/vcs7
lrwxrwxrwx 1 root root 0 2011-02-16 08:53 7:8 -> ../../devices/virtual/vc/vcs8
 
Old 02-16-2011, 08:50 PM   #10
sean_hurly
LQ Newbie
 
Registered: Jun 2010
Location: South Africa
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
so you can see the changes in one of the above files with the usb device in and out.

to see if the kernel mounts the device do the following:

with usb device out and in your user directory: cat /proc/self/mountstats > file1.dmp
with the usb device in and in your user directory: cat /proc/self/mountstats > file2.dmp
see how the device was mounted: diff file1.dmp file2.dmp

remove the temp files: rm -i file?.dmp

if there was no difference(diff command) then the device was not mounted by the kernel
you can mount it with mknod and mount
 
Old 02-17-2011, 02:13 PM   #11
Advice Pro
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 339

Original Poster
Rep: Reputation: 7
Pardon my misunderstanding, but the command cat /proc/self/mountstats > file1.dmp is supposed to write to a file called file1.dmp.
  1. Where is this file?
  2. What is its purpose?
  3. Would I remove it with the command rm -i file1.dmp?
  4. How where you suggesting that I use the diffcommand?
  5. What did you mean mknod AND mount?

My keyboard & mouse are usb and here is the output of cat /proc/self/mountstats which is the same with the devices plugged in and not:

Code:
device rootfs mounted on / with fstype rootfs
device none mounted on /sys with fstype sysfs
device none mounted on /proc with fstype proc
device udev mounted on /dev with fstype tmpfs
device /dev/disk/by-uuid/01fc29b5-aca0-4830-80f9-7cf826c46274 mounted on / with fstype ext4
device none mounted on /sys/kernel/security with fstype securityfs
device none mounted on /sys/fs/fuse/connections with fstype fusectl
device none mounted on /sys/kernel/debug with fstype debugfs
device none mounted on /dev/pts with fstype devpts
device none mounted on /dev/shm with fstype tmpfs
device none mounted on /var/run with fstype tmpfs
device none mounted on /var/lock with fstype tmpfs
device none mounted on /lib/init/rw with fstype tmpfs
device binfmt_misc mounted on /proc/sys/fs/binfmt_misc with fstype binfmt_misc
device gvfs-fuse-daemon mounted on /home/lapiii/.gvfs with fstype fuse.gvfs-fuse-daemon
I used http://www.quickdiff.com/ to tell the diffference, but for my reference please answer the above 5 questions anyway.

Last edited by Advice Pro; 02-17-2011 at 02:15 PM.
 
Old 02-17-2011, 02:27 PM   #12
Advice Pro
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 339

Original Poster
Rep: Reputation: 7
As I was researching what mknod is, I read this from The Linux System Administrator's Guide:
Quote:
In order to use mknod you need to know the major and minor node numbers for the device you wish to create.
I think mknod and mount are executed as: mknod mount
 
Old 02-17-2011, 09:03 PM   #13
sean_hurly
LQ Newbie
 
Registered: Jun 2010
Location: South Africa
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
1)The files, file1.dmp and file2.dmp, would be in your current directory that you issued the cat /proc/self/mountstats > file1.dmp from. That is why i suggested your home directory i.e. cd ~.

2)From the dmesg earlier, it became apparent that the kernel was aware of the usb device being plugged in. We want to know if it was mounted in the file system. Therefore we store what was mounted, in file1.dmp, before the usb device was plugged in, and file2.dmp, after the usb device was plugged in.

3)Yes the rm -i would remove them and you would run the rm -i command after the diff command. We just want to see if the usb device was mounted.

4)Use the diff command as suggested in your home directory i.e. diff file1.dmp file2.dmp
The differences between the two files would then be printed on the console. A simple way to detect a change in the mounting status on your filesystem.

5)If the kernel did not mount the usb device you could mount it manually by using the mknod and mount command. You need to know if it is a character or block device and it requires major and minor numbers. How the major and minor numbers are assigned has changed in the kernel in the past few years. You can choose "experimental" major and minor numbers but you should not be going there. If your kernel did not mount the device I suggest you google for a suitable device driver for that particular usb device.
 
Old 02-17-2011, 09:54 PM   #14
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by Advice Pro View Post
Do you think upgrading will fix this? What else might I do?
FYI: Ubuntu 9.10 will reach end of life in April of this year.
http://www.ubuntugeek.com/ubuntu-ver...e-details.html
You will need to upgrade to (or preferably do a clean install of) Ubuntu 10.04 or 10.10 by then.

Last edited by tommcd; 02-17-2011 at 09:55 PM.
 
Old 02-18-2011, 08:42 AM   #15
Advice Pro
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 339

Original Poster
Rep: Reputation: 7
I didn't understand this:
Quote:
Originally Posted by sean_hurly View Post
5)If the kernel did not mount the usb device you could mount it manually by using the mknod and mount command. You need to know if it is a character or block device and it requires major and minor numbers. How the major and minor numbers are assigned has changed in the kernel in the past few years.
What would the terminal command look like for mknod and mount?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu, can't detect USB devices Qysik Linux - Newbie 7 09-10-2009 10:34 AM
how to detect usb devices connected to the system vijaya_svk Linux - Software 5 03-16-2008 02:21 PM
Cannot Detect Usb Devices garbo365 Linux - Newbie 17 09-21-2007 11:55 AM
Can't detect usb devices?? CM019 Debian 5 06-09-2005 01:43 PM
Can Hotplug detect USB devices in a certain order? SAM_site Linux - General 0 07-10-2004 07:27 AM


All times are GMT -5. The time now is 04:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration