Loading ...
Sorry, an error occurred while loading the content.

USB webcam support on NSLU2?

Expand Messages
  • Ernie Oporto
    I m trying to add webcam support to my NSLU2 Firmware Version: V2.3R63-uNSLUng-6.8-beta Port 1 has a USB hub with an ATEN UC-232 usb-to-serial adapter and
    Message 1 of 1 , Jul 13, 2008
    • 0 Attachment
      I'm trying to add webcam support to my NSLU2 Firmware Version:
      V2.3R63-uNSLUng-6.8-beta
      Port 1 has a USB hub with an ATEN UC-232 usb-to-serial adapter and Logitech
      Quickcam Web
      Port 2 has a Lexar USB flash drive with the root on it

      I've read the docs at http://www.nslu2-linux.org/wiki/HowTo/AddUsbWebcam
      and have installed the required packages. When I use vidcat, I get "Can't
      open device /dev/video"
      which has already been made a symlink to /dev/video0 which should be created
      by the videodev module.

      # vidcat -p y -s 640x480 > test.jpg
      Can't open device /dev/video

      # lsusb
      Bus 003 Device 001: ID 0000:0000
      Bus 003 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
      Bus 003 Device 003: ID 0557:2008 ATEN International Co., Ltd UC-232A Serial
      Port
      [pl2303]
      Bus 003 Device 004: ID 046d:0850 Logitech, Inc. QuickCam Web
      Bus 002 Device 001: ID 0000:0000
      Bus 001 Device 001: ID 0000:0000
      Bus 001 Device 002: ID 05dc:a400 Lexar Media, Inc.

      # lsmod
      Module Size Used by Tainted: P
      ov511 56492 0 (unused)
      pwc 39516 0 (unused)
      videodev 4424 0 [ov511 pwc]
      pl2303 10572 1
      usbserial 18480 0 [pl2303]
      ufsd 164872 0 (unused)
      x1226-rtc 3664 0
      rbuttons 1304 0 (unused)
      pbuttons 800 0 (unused)
      ixp425_eth 17116 0 (unused)
      ixp400 608216 0 [ixp425_eth]

      # ls -l /dev/video*
      lrwxrwxrwx 1 root root 11 Jul 13 16:41 /dev/video -> /dev/video0
      crw-rw-r-- 1 admin everyone 81, 0 Dec 31 1969 /dev/video0
      crw-rw-r-- 1 root root 81, 1 Dec 31 1969 /dev/video1
      crw-rw-r-- 1 root root 81, 2 Dec 31 1969 /dev/video2
      crw-rw-r-- 1 root root 81, 3 Dec 31 1969 /dev/video3
      crw------- 1 root root 81, 0 May 31 20:39 /dev/videodev

      # cat /opt/etc/init.d/S89wcam
      #
      # Startup script for webcam
      #
      if ( [ ! -c /dev/videodev ] ) then
      # Make /dev/net directory if needed
      mknod /dev/videodev c 81 0
      fi
      # Make sure the driver is running
      if ( !(lsmod | grep "^videodev" -q) ); then
      insmod videodev &
      fi

      if ( !(lsmod | grep "^ov511" -q) ); then
      insmod ov511 &
      fi

      if ( !(lsmod | grep "^pwc" -q) ); then
      insmod pwc &
      fi



      7e0000-0x00800000 : "FIS directory"
      usb.c: registered new driver usbdevfs
      usb.c: registered new driver hub
      pci probe begin
      ehci_hcd 00:01.2: NEC Corporation USB 2.0
      ehci_hcd 00:01.2: irq 26, pci mem c3872f00
      usb.c: new USB bus registered, assigned bus number 1
      PCI: 00:01.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
      PCI: 00:01.2 PCI cache line size corrected to 32.
      ehci_hcd 00:01.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
      Device descriptor:8 bytes received.
      Device descriptor:18 bytes received.
      hub.c: USB hub found
      hub.c: 5 ports detected
      pci probe ok
      host/usb-uhci.c: $Revision: 1.3 $ time 18:18:04 Apr 10 2006
      host/usb-uhci.c: High bandwidth mode enabled
      host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
      host/usb-ohci.c: USB OHCI at membase 0xc387a000, IRQ 28
      host/usb-ohci.c: usb-00:01.0, NEC Corporation USB
      usb.c: new USB bus registered, assigned bus number 2
      Device descriptor:8 bytes received.
      Device descriptor:18 bytes received.
      hub.c: USB hub found
      hub.c: 3 ports detected
      host/usb-ohci.c: USB OHCI at membase 0xc3880000, IRQ 27
      host/usb-ohci.c: usb-00:01.1, NEC Corporation USB (#2)
      usb.c: new USB bus registered, assigned bus number 3
      Device descriptor:8 bytes received.
      Device descriptor:18 bytes received.
      hub.c: USB hub found
      hub.c: 2 ports detected
      Initializing USB Mass Storage driver...
      usb.c: registered new driver usb-storage
      USB Mass Storage support registered.
      i2c-dev.o: Registered 'IXP425 I2C Adapter' as minor 0
      i2c-core.o: adapter IXP425 I2C Adapter registered as adapter 0.
      NET4: Linux TCP/IP 1.0 for NET4.0
      IP Protocols: ICMP, UDP, TCP, IGMP
      IP: routing cache hash table of 512 buckets, 4Kbytes
      TCP: Hash tables configured (established 2048 bind 4096)
      IP-Config: No network devices available.
      NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
      NetWinder Floating Point Emulator V0.97 (double precision)
      Unknown but compatible feature node (0x2005) found at offset 0x00080000
      Unknown but compatible feature node (0x2005) found at offset 0x000a0000
      Unknown but compatible feature node (0x2005) found at offset 0x00120000
      Unknown but compatible feature node (0x2005) found at offset 0x00140000
      Unknown but compatible feature node (0x2005) found at offset 0x00160000
      Unknown but compatible feature node (0x2005) found at offset 0x00180000
      Unknown but compatible feature node (0x2005) found at offset 0x001a0000
      Unknown but compatible feature node (0x2005) found at offset 0x001c0000
      Unknown but compatible feature node (0x2005) found at offset 0x001e0000
      Unknown but compatible feature node (0x2005) found at offset 0x00200000
      Unknown but compatible feature node (0x2005) found at offset 0x00220000
      Unknown but compatible feature node (0x2005) found at offset 0x00240000
      Unknown but compatible feature node (0x2005) found at offset 0x00260000
      Unknown but compatible feature node (0x2005) found at offset 0x00280000
      Unknown but compatible feature node (0x2005) found at offset 0x002a0000
      Unknown but compatible feature node (0x2005) found at offset 0x002c0000
      Unknown but compatible feature node (0x2005) found at offset 0x002e0000
      Unknown but compatible feature node (0x2005) found at offset 0x00300000
      Unknown but compatible feature node (0x2005) found at offset 0x00320000
      Unknown but compatible feature node (0x2005) found at offset 0x00340000
      Unknown but compatible feature node (0x2005) found at offset 0x00360000
      Unknown but compatible feature node (0x2005) found at offset 0x00380000
      Unknown but compatible feature node (0x2005) found at offset 0x003a0000
      Unknown but compatible feature node (0x2005) found at offset 0x004a0000
      Unknown but compatible feature node (0x2005) found at offset 0x004c0000
      Unknown but compatible feature node (0x2005) found at offset 0x004e0000
      Unknown but compatible feature node (0x2005) found at offset 0x00500000
      Unknown but compatible feature node (0x2005) found at offset 0x00520000
      Unknown but compatible feature node (0x2005) found at offset 0x00540000
      VFS: Mounted root (jffs2 filesystem).
      Freeing init memory: 244K
      hub.c: new USB device 00:01.2-1, assigned address 2
      Device descriptor:8 bytes received.
      Device descriptor:18 bytes received.
      Protocol: Transparent SCSI
      *** detect:usb-storage
      * scsi_register: usb-storage-0,
      * scsi_reg, hostno:1 prot is 49
      * scsi_reg, retval->host_no:1
      scsi1 : SCSI emulation for USB Mass Storage devices
      ! scan_scsis
      *** 49
      Vendor: LEXAR Model: JUMPDRIVE SPORT Rev: 1000
      Type: Direct-Access ANSI SCSI revision: 02
      Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
      SCSI device sdb: 1010784 512-byte hdwr sectors (518 MB)
      31 port connect!!!!!
      sdb: Write Protect is off
      Partition check:
      /dev/scsi/host1/bus0/target0/lun0: p1 p2 p3
      WARNING: USB Mass Storage data integrity not assured
      USB Mass Storage device found at 2
      hub.c: new USB device 00:01.1-2, assigned address 2
      Device descriptor:8 bytes received.
      Device descriptor:18 bytes received.
      hub.c: USB hub found
      hub.c: 4 ports detected
      hub.c: new USB device 00:01.1-2.1, assigned address 3
      Device descriptor:8 bytes received.
      Device descriptor:18 bytes received.
      usb.c: USB device 3 (vend/prod 0x557/0x2008) is not claimed by any active
      driver
      .
      hub.c: new USB device 00:01.1-2.4, assigned address 4
      Device descriptor:8 bytes received.
      Device descriptor:18 bytes received.
      usb.c: USB device 4 (vend/prod 0x46d/0x850) is not claimed by any active
      driver.

      kjournald starting. Commit interval 5 seconds
      EXT3-fs: mounted filesystem with ordered data mode.
      EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
      EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,17), internal journal
      Module init.
      ixp425_eth:
      Initializing IXP425 NPE Ethernet driver software v. 1.1
      ixp425_eth: CPU clock speed (approx) = 0 MHz
      [error] ixEthMiiPhyScan : unexpected Mii PHY ID 00008201
      ixp425_eth: ixp0 is using the PHY at address 1
      ixp425_eth: ixp1 is using the PHY at address 0
      ixp425_eth: ixEthMiiLinkStatus failed on PHY0.
      Can't determine
      the auto negotiated parameters. Using default values.
      enable_irq(22) unbalanced from c39491bc
      X1226: I2C based RTC driver.
      i2c-core.o: driver X1226 registered.
      X1226: found X1226 on IXP425 I2C Adapter
      i2c-core.o: client [X1226] registered to adapter [IXP425 I2C Adapter](pos.
      0).
      atr is 1f
      ufsd: driver loaded
      kjournald starting. Commit interval 5 seconds
      EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
      EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,18), internal journal
      EXT3-fs: recovery complete.
      EXT3-fs: mounted filesystem with ordered data mode.
      Adding Swap: 127964k swap-space (priority -1)
      usb.c: registered new driver serial
      usbserial.c: USB Serial support registered for Generic
      usbserial.c: USB Serial Driver core v1.4
      usbserial.c: USB Serial support registered for PL-2303
      usbserial.c: PL-2303 converter detected
      usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for
      devfs)
      pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.11
      Linux video capture interface: v1.00
      pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam module
      version
      8.11 loaded.
      pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung
      MPC-C10 a
      nd MPC-C30,
      pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and
      VCS-UM100
      .
      usb.c: registered new driver Philips webcam
      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

      usb.c: registered new driver ov511
      ov511.c: v1.63 for Linux 2.4 : ov511 USB Camera Driver
      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22

      pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -22


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.