Re: em28xx: new board id [eb1a:5051]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 31 December 2011 01:51:45 Gareth Williams wrote:
> On Fri, 2011-12-30 at 15:16 -0800, Reuben Stokes wrote:
> > On Friday 30 December 2011 14:27:57 Gareth Williams wrote:
> > > On Fri, 2011-12-30 at 05:04 -0800, Reuben Stokes wrote:
> > > > On Friday 30 December 2011 02:01:35 you wrote:
> > > > > On Thu, 2011-12-29 at 15:13 -0800, Reuben Stokes wrote:
> > > > > > Hi,
> > > > > > 
> > > > > > Not nearly as linux-savvy as most of the users here, but I attempted to operate a "Raygo USB Video Recorder" (audio/video capture device). Don't know if my efforts qualify as a "test".
> > > > > > 
> > > > > > 
> > > > > > Model Number: 
> > > > > > R12-41373
> > > > > > 
> > > > > > Display name: 
> > > > > > USB 2861 Device
> > > > > > 
> > > > > > lsusb: 
> > > > > > Bus 001 Device 002: ID eb1a:5051 eMPIA Technology, Inc. 
> > > > > > 
> > > > > > dmesg:
> > > > > > [ 7182.076058] usb 1-1: new high speed USB device using ehci_hcd and address 3
> > > > > > [ 7182.212702] usb 1-1: New USB device found, idVendor=eb1a, idProduct=5051
> > > > > > [ 7182.212714] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=2
> > > > > > [ 7182.212723] usb 1-1: Product: USB 2861 Device
> > > > > > [ 7182.212729] usb 1-1: SerialNumber: 0
> > > > > > 
> > > > > > System:
> > > > > > HP Pavilion dv6910 laptop
> > > > > > AMD Turion X2 CPU (64 bit)
> > > > > > Mepis 11; 64 bit( based on Debian Squeeze)
> > > > > > 
> > > > > > 
> > > > > > Tried
> > > > > > -------
> > > > > > * Installed em28xx drivers using instructions found at linuxtv.org.
> > > > > >   I note however that this particular vendor/product ID is not validated in the em28xx devices list.
> > > > > > * As new drivers do not automatically load, I use command: modprobe em28xx
> > > > > >    After this "modprobe -l | grep em28xx" yields
> > > > > >         kernel/drivers/media/video/em28xx/em28xx-alsa.ko
> > > > > >         kernel/drivers/media/video/em28xx/em28xx.ko
> > > > > >         kernel/drivers/media/video/em28xx/em28xx-dvb.ko
> > > > > > * Device comes with a driver CD for Windows which does work in Windows.
> > > > > > 
> > > > > > End result is the device is not recognized as a capture device option in any software tried including vlc, cheese, guvcview, kdenlive.
> > > > > > 
> > > > > > Any help getting this to work in Linux would be appreciated as it completely sucks in my bloated, memory-hogging, 32-bit Windows Vista.
> > > > > > 
> > > > > > Reuben <okonomiyakisan@xxxxxxxxxxxxxxx>
> > > > > > --
> > > > > > To unsubscribe from this list: send the line "unsubscribe linux-media" in
> > > > > > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > > > > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > > > > 
> > > > > Reuben,
> > > > > 
> > > > > If you're willing, then open up the device and see what the chips within
> > > > > are.  You believe it's em28xx based, but there may well be additional
> > > > > devices in there for audio and video.
> > > > > 
> > > > > Once you've found out what's inside it will be easier to get it working.
> > > > > It may be as simple as getting the driver to recognise the USB Vendor ID
> > > > > or it may require much more work.
> > > > > 
> > > > > Regards,
> > > > > 
> > > > > Gareth
> > > > > 
> > > > > --
> > > > > To unsubscribe from this list: send the line "unsubscribe linux-media" in
> > > > > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > > > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > > > > 
> > > > > 
> > > > 
> > > > Thank you very much for the response.
> > > > 
> > > > Okay, opening it was easier than first suspected. 
> > > > 
> > > > The main (biggest) chip reads with nice big letters and a logo:
> > > > eMPIA
> > > > EM2860
> > > > P86J3-011
> > > > 201047-01AG
> > > > 
> > > > Less useful information inlcudes:
> > > > 
> > > > A smaller chip on the flip side of the circuit board, in letters visible only through a magnifying glass, reads:
> > > > eMPIA
> > > > TECHNOLOGY
> > > > EMP202
> > > > T10164
> > > > 1052
> > > > 
> > > > The circuit board itself is stamped:
> > > > PM22860-2GOB
> > > > 
> > > > Again, thank you.
> > > > 
> > > > Reuben
> > > Reuben,
> > > 
> > > Was there another chip on there?  The EMP202 is an audio chip that can
> > > covert analogue audio to digital PCM (and vice versa).  The EM2860 sends
> > > this digital audio along with digital video over USB.  For this to work
> > > though, the device will need to convert analogue video to digital and
> > > will need another chip to do this.  An example would be a SAA7113 from
> > > Philips. Have another look and post back here.
> > > 
> > > The two chips you've identified are commonly used in for this type of
> > > device and should be easily configurable in the em28xx driver.  We just
> > > need the video chip now! And a tail wind...
> > > 
> > > Regards,
> > > 
> > > Gareth
> > > 
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe linux-media" in
> > > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > > 
> > > 
> > 
> > Good call.  There is another chip. The logo appears to be the Texas Instrument logo. It's stamped:
> > 5150AM1
> > 09T
> > C9JJ
> > 
> > lsusb lists the product ID as "5051", but the chip clearly reads "5150...". I have no idea if those two numbers are suppose to be the same of if they have nothing to do with each other, but I thought I'd confirm the numbers.
> > 
> > Also, I noted in my earlier post that the circuit board was stamped " PM22860-2GOB", but I made a typo.  It's actually, " PM42860-2GOB".
> > 
> > Thank you for the continued help!!
> > 
> > Reuben
> 
> Reuben,
> 
> A Google of that chip brings 'Ultralow Power NTSC/PAL/SECAM Video
> Decoder w/Robust Sync Detector' - exactly what we were looking for.
> 
> You now need to download the video4linux drivers source code, modify it
> so that your device is recognised and configured correctly, then finally
> install the new driver.  It's not a daunting as it sounds.
> 
> I don't know what Linux distro you're using, but somehow you need to
> install 'git' and other tools to compile C source.  On my Ubuntu based
> machine, 'build-essential' is a package that will download all I need.
> However, if you have a different distro, then you will need to work out
> what's needed to compile the source.  As a minimum, you will need
> 'make', 'gcc', 'libc' I'd have thought.
> 
> Once you have a system capable of downloading the source and building
> it, download the v4l source from git using:-
> 
> cd ~
> git clone git://linuxtv.org/media_build.git v4l_driver
> 
> This will download a copy of the v4l drivers into a directory called
> v4l_driver within your home directory.
> 
> Next, 'cd v4l_driver' and 'make download untar' to extract some
> compressed files.
> 
> Next 'make config' to check that make works - it may ask you to download
> some libs for building the config gui.
> 
> Finally, 'make' by itself will build the drivers.  This will build all
> drivers and as we haven't modified it yet, will be of no use apart from
> showing that your system is capable of building these drivers.
> 
> Let me know how you get on with this and then we'll attempt to configure
> the drivers for your device - the exciting bit ;-)
> 
> Apologies for only replying to you once a day, but I think the 8 hour
> time difference has a lot to do with it!
> 
> Regards,
> 
> Gareth
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

Okay.  Followed your perfect directions.
Incidentally, I'm using a Debian based distro called Mepis.  Although it uses it's own modified kernel, I believe it's a derivative of kernel 2.6.36.

I seemed to have had all the make/build components in place when I started.  At least, it all seemed to work without a hitch.

The 'make config' command never did result in me having to download any libs to build a config gui, but it did ask me a series of questions in regular command line format.  I answered with the default option on all of them.

As for the one answer a day you're providing, I am appreciative and humbled I'm getting so much.  I think I would feel guilty if I took up any more of your time than that.  Especially during the holiday season, especially for a device I purchased because I was too cheap to get a quality video/audio capture device.

Speaking of holidays, I hope you're having a Happy New Year.

I'm ready for the next step at your convenience.

Thanks again,
Reuben

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux