LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-18-2005, 10:20 PM   #1
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 33
Question Unknown USB Camera : How do I make it work ?


Hi I am currently working on Slackware 10.0.

Now, I have a USB Camera which I got from a friend. This camera does not have any identification mark or vendor symbol on it, so I do not know which brand it is?

How do I make it work?
At present I know only how to plug it into a USB port and after that I am clueless of what to do.

Can I gather the vendor information and other hardware details for this cam. by plugging it in and then issuing some commands?

Please help, I am a complete n00b in this respect.

Thanks in anticipation.
 
Old 06-18-2005, 10:33 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
After you plugin the camera, in a term issue "dmesg" for information as to what the kernel
did with the device. If you see something like
Code:
usb 5-2: new full speed USB device using uhci_hcd and address 3
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
  Vendor: Sony      Model: Sony DSC          Rev: 4.01
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdb: 253696 512-byte hdwr sectors (130 MB)
sdb: assuming Write Enabled
sdb: assuming drive cache: write through
SCSI device sdb: 253696 512-byte hdwr sectors (130 MB)
sdb: assuming Write Enabled
sdb: assuming drive cache: write through
 sdb: sdb1
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete
you should have all the information you need.

Be reading that you can see that my Sony DSC was mounted at /dev/sdb1,
so I will mount it by issuing "mount /mnt/sdb1" according to the way I have
setup "/etc/fstab" and this will be the results of mounting it
Code:
mingdao@james:~$ mount /mnt/sdb1
mingdao@james:~$ ls -alh /mnt/sdb1
total 16K
drwxrwxrwx   2 mingdao users 16K 1970-01-01 07:00 ./
drwxr-xr-x  10 root    root  240 2005-04-04 04:53 ../
-r-xr-xr-x   1 mingdao users   0 2003-11-28 01:54 memstick.ind*
mingdao@james:~$
This is my /etc/fstab file
Code:
mingdao@james:~$ cat /etc/fstab
/dev/hda5        swap             swap        defaults         0   0
/dev/sda2        /                reiserfs    defaults         1   1
/dev/sda1        /boot            reiserfs    defaults         1   2
/dev/sda3        /usr             reiserfs    defaults         1   2
/dev/sda5        /home            reiserfs    defaults         1   2
/dev/sda6        /var             reiserfs    defaults         1   2
/dev/sda7        /opt             reiserfs    defaults         1   2
/dev/sda8        /tmp             reiserfs    defaults         1   2
/dev/sda9        /test            reiserfs    defaults         1   2
### This is the way Slackware set it up on install ###
#/dev/hda1        /XP              ntfs        ro               1   0
#/dev/hda2        /Programs        ntfs        ro               1   0
#/dev/hda3        /DATA            vfat        defaults         1   0
### This is how I change them to mount as user ###
/dev/hda1        /XP              ntfs        user,umask=1000,ro,auto  1   0
/dev/hda2        /PROGRAMS        ntfs        user,umask=1000,ro,auto  1   0
/dev/hda3        /DATA            vfat        user,umask=1000,rw,auto  1   0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
### Must adapt CD-RW and DVD-RW to mount ###
/dev/hdb         /mnt/dvd         iso9660     noauto,user,ro   0   0
/dev/hdc         /mnt/cdrw        iso9660     noauto,user,ro   0   0
### Some mount points for USB devices would be nice ###
/dev/sdb1        /mnt/sdb1        vfat        user,umask=1000,rw,noauto 0   0
/dev/sdc1        /mnt/sdc1        vfat        user,umask=1000,rw,noauto 0   0
/dev/sdd1        /mnt/sdd1        vfat        user,umask=1000,rw,noauto 0   0
I hope most of that is self-explanatory, and if not you might want to read
"man fstab" and "man mount" then post back with questions.
 
Old 06-18-2005, 10:43 PM   #3
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi thanks for the quick reply. I just want to ask that after plugging in the CAM I have to restart the system before issuing the dmseg command. Is there a way to make it work without rebooting.

I'll just reboot the system and then post back the result.
Thanks again.
 
Old 06-18-2005, 10:48 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You are running Linux, not Windoze. There is no need to reboot the system unless you
recompile and install a new kernel, or make a hardware change. You should plug in the
camera, open a terminal, and issue "dmesg" as a normal user.
 
Old 06-18-2005, 11:06 PM   #5
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Sorry about that. I thought I had to reboot coz I did not think that the kernel would detect the USB device as soon as I plug it in.

Here's the output of the dmesg command :

Code:
koodoo@knapsacker:~$ dmesg
Linux version 2.4.26 (root@tree) (gcc version 3.3.4) #6 Mon Jun 14 19:07:27 PDT 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000f7f0000 (usable)
 BIOS-e820: 000000000f7f0000 - 000000000f7f3000 (ACPI NVS)
 BIOS-e820: 000000000f7f3000 - 000000000f800000 (ACPI data)
 BIOS-e820: 000000000f800000 - 0000000010000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
247MB LOWMEM available.
On node 0 totalpages: 63472
zone(0): 4096 pages.
zone(1): 59376 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=306
Initializing CPU#0
Detected 2019.904 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 4023.91 BogoMIPS
Memory: 247900k/253888k available (1844k kernel code, 5600k reserved, 618k data, 120k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
CPU:             Common caps: 3febfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfa2f0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
PCI: Using IRQ router PIIX/ICH [8086/24c0] at 00:1f.0
PCI: Found IRQ 5 for device 00:1f.1
PCI: Sharing IRQ 5 with 00:02.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xd0000000, mapped to 0xd000d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=9
vesafb: protected mode interface info at a5f3:1f5f
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Found IRQ 5 for device 00:1f.1
PCI: Sharing IRQ 5 with 00:02.0
ICH4: chipset revision 2
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: SAMSUNG SV0411N, ATA DISK drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
hdc: SAMSUNG CD-ROM SC-152A, ATAPI CD/DVD-ROM drive
hdd: SAMSUNG CD-R/RW SW-252B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: setmax_ext LBA 78242976, native  78236767
hda: 78236767 sectors (40057 MB) w/2048KiB Cache, CHS=4870/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
hdd: attached ide-cdrom driver.
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 8192kB Cache, UDMA(33)
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  2304.000 MB/sec
   32regs    :  1434.000 MB/sec
   pIII_sse  :  2606.400 MB/sec
   pII_mmx   :  2316.400 MB/sec
   p5_mmx    :  2269.600 MB/sec
raid5: using function: pIII_sse (2606.400 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,6)) ...
for (ide0(3,6))
ide0(3,6):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 530104k swap-space (priority -1)
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Tungsten Graphics version 20040405
agpgart: Maximum main memory to use for agp memory: 196M
agpgart: Detected an Intel(R) 845G Chipset.
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0xd0000000
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 11 for device 01:05.0
PCI: Sharing IRQ 11 with 01:01.0
eth0: RealTek RTL8139 at 0xd0322000, 00:40:05:71:e3:bc, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
PCI: Found IRQ 9 for device 00:1f.5
PCI: Sharing IRQ 9 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49797 usecs
intel8x0: clocking to 48000
[drm] Initialized gdg 1.1.0 20040331 on minor 0: Intel i845G GMCH
mtrr: base(0xd0020000) is not aligned on a size(0x300000) boundary
NET4: Linux IPX 0.47 for NET4.0
IPX Portions Copyright (c) 1995 Caldera, Inc.
IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc.
NET4: AppleTalk 0.18a for Linux NET4.0
koodoo@knapsacker:~$

Thanks in anticipation.
 
Old 06-18-2005, 11:20 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You only need to plug in the camera, open a terminal, and issue "dmesg" to
get the information. If you have USB mass storage support, it should work.
If not, then you will have to recompile your kernel. Just try to plug the camera
in and then issue "dmesg" -- you should have it in less than 30 seconds.
Post whatever it says here, and can you use any other USB storage device?
 
Old 06-25-2005, 06:14 AM   #7
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi, I've already posted the output of the dmesg command after plugging in the camera in the previous post.

Also Slackware 10.0 have some hotplug service which deals with auto-detecting usb devices at boot time. Here is the output of dmesg after starting the hotplug service.

Code:
root@knapsacker:/home/koodoo# sh /etc/rc.d/rc.hotplug start
root@knapsacker:/home/koodoo# dmesg
00f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000f7f0000 (usable)
 BIOS-e820: 000000000f7f0000 - 000000000f7f3000 (ACPI NVS)
 BIOS-e820: 000000000f7f3000 - 000000000f800000 (ACPI data)
 BIOS-e820: 000000000f800000 - 0000000010000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
247MB LOWMEM available.
On node 0 totalpages: 63472
zone(0): 4096 pages.
zone(1): 59376 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=306
Initializing CPU#0
Detected 2019.940 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 4023.91 BogoMIPS
Memory: 247900k/253888k available (1844k kernel code, 5600k reserved, 618k data, 120k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU:     After generic, caps: 3febfbff 00000000 00000000 00000000
CPU:             Common caps: 3febfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfa2f0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
PCI: Using IRQ router PIIX/ICH [8086/24c0] at 00:1f.0
PCI: Found IRQ 5 for device 00:1f.1
PCI: Sharing IRQ 5 with 00:02.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xd0000000, mapped to 0xd000d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=9
vesafb: protected mode interface info at a5f3:1f5f
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Found IRQ 5 for device 00:1f.1
PCI: Sharing IRQ 5 with 00:02.0
ICH4: chipset revision 2
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: SAMSUNG SV0411N, ATA DISK drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
hdc: SAMSUNG CD-ROM SC-152A, ATAPI CD/DVD-ROM drive
hdd: SAMSUNG CD-R/RW SW-252B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: setmax_ext LBA 78242976, native  78236767
hda: 78236767 sectors (40057 MB) w/2048KiB Cache, CHS=4870/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
hdd: attached ide-cdrom driver.
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 8192kB Cache, UDMA(33)
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  2304.400 MB/sec
   32regs    :  1428.400 MB/sec
   pIII_sse  :  2606.800 MB/sec
   pII_mmx   :  2316.400 MB/sec
   p5_mmx    :  2269.600 MB/sec
raid5: using function: pIII_sse (2606.800 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,6)) ...
for (ide0(3,6))
reiserfs: replayed 3 transactions in 0 seconds
ide0(3,6):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 530104k swap-space (priority -1)
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Tungsten Graphics version 20040405
agpgart: Maximum main memory to use for agp memory: 196M
agpgart: Detected an Intel(R) 845G Chipset.
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0xd0000000
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 11 for device 01:05.0
PCI: Sharing IRQ 11 with 01:01.0
eth0: RealTek RTL8139 at 0xd0322000, 00:40:05:71:e3:bc, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
PCI: Found IRQ 9 for device 00:1f.5
PCI: Sharing IRQ 9 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49798 usecs
intel8x0: clocking to 48000
[drm] Initialized gdg 1.1.0 20040331 on minor 0: Intel i845G GMCH
mtrr: base(0xd0020000) is not aligned on a size(0x300000) boundary
NET4: Linux IPX 0.47 for NET4.0
IPX Portions Copyright (c) 1995 Caldera, Inc.
IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc.
NET4: AppleTalk 0.18a for Linux NET4.0
Sony CDU-535: probing base address 340
Did not find a Sony CDU-535 drive
sbpcd-0 [01]:  sbpcd.c v4.63 Andrew J. Kroll <ag784@freenet.buffalo.edu> Wed Jul 26 04:24:10 EDT 2000
sbpcd-0 [02]:  Scanning 0x340 (LaserMate)...
sbpcd-0 [03]:  Scanning 0x340 (SoundBlaster)...
sbpcd-0 [04]:  No drive found.
sbpcd-0 [01]:  sbpcd.c v4.63 Andrew J. Kroll <ag784@freenet.buffalo.edu> Wed Jul 26 04:24:10 EDT 2000
sbpcd-0 [02]:  Scanning 0x340 (LaserMate)...
sbpcd-0 [03]:  Scanning 0x340 (SoundBlaster)...
sbpcd-0 [04]:  No drive found.
sbpcd-0 [01]:  sbpcd.c v4.63 Andrew J. Kroll <ag784@freenet.buffalo.edu> Wed Jul 26 04:24:10 EDT 2000
sbpcd-0 [02]:  Scanning 0x340 (LaserMate)...
sbpcd-0 [03]:  Scanning 0x340 (SoundBlaster)...
sbpcd-0 [04]:  No drive found.
sbpcd-0 [01]:  sbpcd.c v4.63 Andrew J. Kroll <ag784@freenet.buffalo.edu> Wed Jul 26 04:24:10 EDT 2000
sbpcd-0 [02]:  Scanning 0x340 (LaserMate)...
sbpcd-0 [03]:  Scanning 0x340 (SoundBlaster)...
sbpcd-0 [04]:  No drive found.
sbpcd-0 [01]:  sbpcd.c v4.63 Andrew J. Kroll <ag784@freenet.buffalo.edu> Wed Jul 26 04:24:10 EDT 2000
sbpcd-0 [02]:  Scanning 0x340 (LaserMate)...
sbpcd-0 [03]:  Scanning 0x340 (SoundBlaster)...
sbpcd-0 [04]:  No drive found.
mcd: initialisation failed - No mcd device at 0x300 irq 11
SJCD: Sanyo CDR-H94A cdrom driver version 1.7.
SJCD: Resetting: .......... reset failed, no drive found.
Trying to free nonexistent resource <00000340-00000343>
cm206 cdrom driver $Revision: 1.5 $ can't find adapter!
i810_rng: RNG not detected
hw_random: RNG not detected
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801DB USB2
ehci_hcd 00:1d.7: irq 5, pci mem d046d000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: cache line size of 128 is not supported by device 00:1d.7
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Setting latency timer of device 00:1d.0 to 64
uhci.c: USB UHCI at I/O 0xd800, IRQ 5
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.1 to 64
uhci.c: USB UHCI at I/O 0xd000, IRQ 11
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.2 to 64
uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
hub.c: new USB device 00:1d.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0xc45/0x6029) is not claimed by any active driver.
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
i810_rng: RNG not detected
hw_random: RNG not detected
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G chipsets
intelfb: Version 0.7.7, written by David Dawes <dawes@tungstengraphics.com>
PCI: Found IRQ 5 for device 00:02.0
PCI: Sharing IRQ 5 with 00:1f.1
intelfb: Cannot reserve FB region.
Trying to free nonexistent resource <d8200000-d827ffff>
Trying to free nonexistent resource <d0000000-d7ffffff>
root@knapsacker:/home/koodoo#
As far as using any other usb storage device, I do not have one right now so I cannot test it but I guess that the 2.4.26 kernel supports this.
I remember that in Fedora Core 1, I could easily use pen drives. It was some kernel no. 2.4.22

Thanks in anticipation.
 
Old 06-25-2005, 09:13 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Sorry for confusing you. Let's do it this way:

(1) boot your Slackware system, without the camera plugged in
(2) open a terminal
(3) issue dmesg, and notice the last few lines
(4) plug in the camera, and wait 30 seconds
(5) in the terminal, issue dmesg again
(6) post just the changes in dmesg after step 3

If you don't have something like "usb-storage: device scan complete"
at the end of the dmesg output, but you do have some new output,
then perhaps you should wait a little longer until there's nothing new.

You don't need to manually start hotplug, unless you don't have it
starting by default when you boot the comp. If not, and you would
like it to start, just issue as root "chmod a+x /etc/rc.d/rc.hotplug"
and if you don't know if it starts at boot or not, then issue
"ls -l /etc/rc.d/rc.hotplug" as user and post that output.
 
Old 06-27-2005, 02:08 PM   #9
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi, sorry for replying very late and sorry for being such a nuisance.

I understand what you say and followed your algorithm.
First I booted the computer without the camera plugged in.
Then I opened a terminal and issued the dmesg command.

I then plugged in the camera, waited for about 2 minutes and then again issued the dmesg command.
I did not notice any difference in the output of the command in the two cases. I even compared it line by line and they were exactly the same!!!!

I then removed the camera and plugged it in another USB port and issued the dmesg command again, but again I got exactly the same output.

So, it seems that something somewhere maybe dead.
Any ideas??

Also I myself have disabled the hotplug service at bootup because it took some time to start and slowed the booting process. Also I do not think that I should have the hotplug service running inorder to access USB devices (or do I ?).

Thanks in anticipation.
 
Old 06-28-2005, 12:19 AM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Yes, you need the hotplug service running. From "man hotplug"
Quote:
hotplug is a program which is used by the kernel to notify user mode software
when some significant (usually hardware-related) events take place. An example
is when a USB or Cardbus device has just been plugged in. This is useful for
automatically loading and setting up drivers, packaged either as kernel module
or as user mode programs.
You can disable hotplug and do other things to get your devices
recognized, but I wouldn't recommend it at this time. With Linux
you rarely need to reboot...only when you recompile the kernel
or add/remove a piece of hardware. And hotplug doesn't add
more than 15 seconds or so to your boot, compared to how long
would you leave the computer running once it's up? You're not
going to get that device working without hotplug at this stage,
so whatever you did to stop it, start it again. And it would be good
for you to reboot now, with hotplug running. Then try it again...

If you don't know how you stopped hotplug, post back and I'll
tell you how, what, and where to check.

You are not a nuisance IMO as long as you try reading and learn
some things on your own, also. If we didn't want to help you, we
wouldn't come to LQ. Well, there are the occassional trolls. :)

Let's get this working, then we'll speed up your boot time later.
 
Old 06-28-2005, 07:09 PM   #11
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi, thanks for the reply.

I enabled the hotplug service to start at boot time.


Then I rebooted the computer (this time with the hotplug service starting at boot time)

I issued the dmesg command and noted its output.
Then I plugged in the camera, waited for about 2 minutes, again issued the dmesg command and noted its output.

The only difference in this case was the addition of these two lines :

Code:
hub.c: new USB device 00:1d.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0xc45/0x6029) is not claimed by any active driver.
Thanks again.
 
Old 06-28-2005, 07:59 PM   #12
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
http://www.qbik.ch/usb/devices/searc...?pattern=0xc45
 
Old 06-28-2005, 08:04 PM   #13
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
the kernel module is here:
http://mxhaard.free.fr/spca5xx.html
 
Old 08-15-2005, 09:03 AM   #14
koodoo
Member
 
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom 2.6.14.2, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 33
Hi Sir,

Thanks for the reply.
I am extremely sorry for not having replied to your post as I had gone to a far off place on vacation for over a month. So I couldn't get access to the Internet for that period.

I'll try and see if I can make something of the links you provided.

Thanks again for the help.
 
  


Reply



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
USB HP PhotoSmart Camera wont work chrisknight Linux - Software 10 04-11-2005 10:24 PM
how do i make my USB mouse work for Knoppix 3.6? chillangella Linux - Newbie 1 02-20-2005 11:50 PM
Plug and work USB camera Danathar Fedora 2 12-06-2004 10:41 AM
USB camera suddenly doesn't work, supermount may be to blame mrsolo Linux - Hardware 5 08-18-2004 01:02 PM
I can't make USB work at all! hotrodowner Linux - Newbie 8 04-03-2002 06:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration