Date: Wed, 15 Apr 2015 20:16:56 +0200 (CEST) From: Juergen Lock <nox@jelal.kn-bremen.de> To: david@catwhisker.org Cc: multimedia@freebsd.org, hselasky@freebsd.org Subject: Re: Trying to get a built-in webcam (Dell M4800 laptop) to work -- clues? Message-ID: <201504151816.t3FIGuQ2000796@enceladus10.kn-bremen.de> In-Reply-To: <20150408032547.GO15644@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <20150408032547.GO15644@albert.catwhisker.org> you write: >I recently retired a Dell M4400 laptop (that served well for about 7 >years); its replacement is a Dell M4800... which came with a built-in >webcam: > >g1-254(10.1-S)[80] usbconfig -d 1.3 dump_device_desc >ugen1.3: <LaptopIntegratedWebcamHD CN0767N972487515BSJWA01> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x00ef <Miscellaneous device> > bDeviceSubClass = 0x0002 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x0c45 > idProduct = 0x64d0 > bcdDevice = 0x4214 > iManufacturer = 0x0002 <CN0767N972487515BSJWA01> > iProduct = 0x0001 <Laptop_Integrated_Webcam_HD> > iSerialNumber = 0x0000 <no string> > bNumConfigurations = 0x0001 > >g1-254(10.1-S)[81] > >I have installed: >g1-254(10.1-S)[81] pkg info webcam\* cuse4bsd\* v4\* pwcview\* >webcamd-3.18.0.1 >cuse4bsd-kmod-0.1.36 >v4l_compat-1.0.20120501_1 >pwcview-1.4.1_6 >g1-254(10.1-S)[82] > >This is running on: >g1-254(10.1-S)[82] uname -a >FreeBSD g1-254.catwhisker.org 10.1-STABLE FreeBSD 10.1-STABLE #29 r281195M/281199:1001512: Tue Apr 7 04:25:29 PDT 2015 root@g1-254.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 >g1-254(10.1-S)[83] > >I have loaded the cuse4bsd kernel module: > >g1-254(10.1-S)[83] kldstat >Id Refs Address Size Name > 1 31 0xc0400000 12b8ac8 kernel > 2 3 0xc16b9000 74060 linux.ko > 3 1 0xc172e000 32a0 coretemp.ko > 4 1 0xc1732000 54e54 iwn5000fw.ko > 5 1 0xc1787000 7ba5dc nvidia.ko > 6 1 0xd04b8000 a000 tmpfs.ko > 7 1 0xd1a30000 4000 fdescfs.ko > 8 1 0xd1a3b000 8000 linprocfs.ko > 9 1 0xd1acf000 c000 if_lagg.ko >10 1 0xd28d1000 2000 rtc.ko >11 1 0xd1fd6000 7000 cuse4bsd.ko >g1-254(10.1-S)[84] > >devd is running: > >g1-254(10.1-S)[84] service devd status >devd is running as pid 36061. >g1-254(10.1-S)[85] > >An attempt to just fire up webcamd doesn't actually seem to be useful: > >g1-254(10.1-S)[86] service webcamd status >webcamd is not running. >g1-254(10.1-S)[87] service webcamd forcestart >Starting webcamd. >g1-254(10.1-S)[88] echo $? >0 >g1-254(10.1-S)[89] service webcamd status >webcamd is not running. >g1-254(10.1-S)[90] > > >Getting webcamd to work isn't the most critical thing in the world, >but it would be kinda nice. > >Any hints or clues for doing this? Not sure why webcamd doesn't start but you could try starting it manually: webcamd -d 1.3 If that exits too I guess it doesn't know your webcam, you can try building its port with the DEBUG knob set and then look at the terminal output (again when starting it with -d 1.3 .) Oh and you could also test the latest webcamd update Hans posted: http://markmail.org/message/yukxq3prvo6yiy3w HTH, :) Juergen PS: Cc'd hps.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504151816.t3FIGuQ2000796>