Hi, I have an old unbranded ezCap USB device and an old wifi infra red webcam and with some time on my hands I wanted to hook it up to a Pi/raspian to watch my swallows nesting :-) It has taken me a while to get it to automatically load the module and I am not sure I have done it the right way. There are various odd musings on the interwebs and I saw this on the mailing list: https://www.spinics.net/lists/linux-media/msg63928.html This seems to get it to load on start up. My question is, is there a better/cleaner way? /etc/modprode.d/em28xxoptions.conf options em28xx card=9 rc.local: echo eb1a 5124 | tee /sys/bus/usb/drivers/em28xx/new_id card 64 throws an i2c error as below but seems to work. (I have not tested S-Video or sound) I did try a udev rule but that didn't seem to work. Any suggestions appreciated. B. Rgds John Initial boot: usb 1-1.5: new high-speed USB device number 4 using dwc_otg usb 1-1.5: config 1 interface 0 altsetting 1 endpoint 0x82 has invalid wMaxPacketSize 0 usb 1-1.5: config 1 interface 0 altsetting 1 endpoint 0x84 has invalid wMaxPacketSize 0 usb 1-1.5: config 1 interface 0 altsetting 2 endpoint 0x84 has invalid wMaxPacketSize 0 usb 1-1.5: config 1 interface 0 altsetting 3 endpoint 0x84 has invalid wMaxPacketSize 0 usb 1-1.5: config 1 interface 0 altsetting 4 endpoint 0x84 has invalid wMaxPacketSize 0 usb 1-1.5: config 1 interface 0 altsetting 5 endpoint 0x84 has invalid wMaxPacketSize 0 usb 1-1.5: config 1 interface 0 altsetting 6 endpoint 0x84 has invalid wMaxPacketSize 0 usb 1-1.5: config 1 interface 0 altsetting 7 endpoint 0x84 has invalid wMaxPacketSize 0 usb 1-1.5: New USB device found, idVendor=eb1a, idProduct=5124, bcdDevice= 1.00 usb 1-1.5: New USB device strings: Mfr=0, Product=1, SerialNumber=2 usb 1-1.5: Product: USB VIDBOX FW Audio usb 1-1.5: SerialNumber: USB2.0 VIDBOX FW media: Linux media interface: v0.10 videodev: Linux video capture interface: v2.00 usbcore: registered new interface driver em28xx After tee in rc.local card=9 em28xx 1-1.5:1.0: New device USB VIDBOX FW Audio @ 480 Mbps (eb1a:5124, interface 0, class 0) em28xx 1-1.5:1.0: Video interface 0 found: isoc em28xx 1-1.5:1.0: chip ID is em2860 em28xx 1-1.5:1.0: EEPROM ID = 1a eb 67 95, EEPROM hash = 0x806f2156 em28xx 1-1.5:1.0: EEPROM info: em28xx 1-1.5:1.0: AC97 audio (5 sample rates) em28xx 1-1.5:1.0: 500mA max power em28xx 1-1.5:1.0: Table at offset 0x24, strings=0x288c, 0x226a, 0x0000 em28xx 1-1.5:1.0: Identified as Pinnacle Dazzle DVC 90/100/101/107 / Kaiser Baas Video to DVD maker / Kworld DVD Maker 2 / Plextor ConvertX PX-AV100U em28xx 1-1.5:1.0: analog set to isoc mode. em28xx 1-1.5:1.0: Registering V4L2 extension saa7115 3-0025: saa7113 found @ 0x4a (1-1.5:1.0) em28xx 1-1.5:1.0: Config register raw data: 0x50 em28xx 1-1.5:1.0: AC97 vendor ID = 0x83847652 em28xx 1-1.5:1.0: AC97 features = 0x6a90 em28xx 1-1.5:1.0: Sigmatel audio processor detected (stac 9752) em28xx 1-1.5:1.0: V4L2 video device registered as video0 em28xx 1-1.5:1.0: V4L2 VBI device registered as vbi0 em28xx 1-1.5:1.0: V4L2 extension successfully initialized em28xx: Registered (Em28xx v4l2 Extension) extension card=64 em28xx 1-1.5:1.0: New device USB VIDBOX FW Audio @ 480 Mbps (eb1a:5124, interface 0, class 0) em28xx 1-1.5:1.0: Video interface 0 found: isoc em28xx 1-1.5:1.0: chip ID is em2860 em28xx 1-1.5:1.0: EEPROM ID = 1a eb 67 95, EEPROM hash = 0x806f2156 em28xx 1-1.5:1.0: EEPROM info: em28xx 1-1.5:1.0: AC97 audio (5 sample rates) em28xx 1-1.5:1.0: 500mA max power em28xx 1-1.5:1.0: Table at offset 0x24, strings=0x288c, 0x226a, 0x0000 em28xx 1-1.5:1.0: Identified as Easy Cap Capture DC-60 (card=64) em28xx 1-1.5:1.0: analog set to isoc mode. em28xx 1-1.5:1.0: Registering V4L2 extension em28xx 1-1.5:1.0: write to i2c device at 0x4a failed with unknown error (status=1) saa7115 3-0025: saa7113 found @ 0x4a (1-1.5:1.0) em28xx 1-1.5:1.0: Config register raw data: 0x50 em28xx 1-1.5:1.0: AC97 vendor ID = 0x83847652 em28xx 1-1.5:1.0: AC97 features = 0x6a90 em28xx 1-1.5:1.0: Sigmatel audio processor detected (stac 9752) em28xx 1-1.5:1.0: V4L2 video device registered as video0 em28xx 1-1.5:1.0: V4L2 VBI device registered as vbi0 em28xx 1-1.5:1.0: V4L2 extension successfully initialized raspberrypi kernel: [ 162.191774] em28xx: Registered (Em28xx v4l2 Extension) extension -- John Crisp
Attachment:
pgpBj2tngHDD3.pgp
Description: OpenPGP digital signature