[Bug 120434] Re: [needs-packaging] Ricoh R5U87x Webcam userland tools

2010-04-10 Thread Alexander Hixon
Yeah, sounds like the module isn't getting inserted into the kernel again, 
which is, well, very odd by itself, heh.
However, the loader reports an error if it gets a non-zero return code when it 
reloads uvcvideo, so if it failed or didn't exist it would bail. We shall soon 
see, I guess.

GeorgeV, the output of lsmod and what /dev/video nodes you have (if any)
would probably also be useful.

-- 
[needs-packaging] Ricoh R5U87x Webcam userland tools
https://bugs.launchpad.net/bugs/120434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 120434] Re: [needs-packaging] Ricoh R5U87x Webcam userland tools

2010-04-09 Thread Alexander Hixon
Commited to head.
If you can give that a go and report back (either here or open a bug on the 
bitbucket repository and set me as the owner/assigned), that'd be great!

You'll need to check out r5u87x out from the repository and build it (a
good 6 steps, check out the Ubuntu quickstart at
http://www.bitbucket.org/ahixon/r5u87x/src/tip/README ), or wait for
David to generate new versions of the packages.

-- 
[needs-packaging] Ricoh R5U87x Webcam userland tools
https://bugs.launchpad.net/bugs/120434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 120434] Re: [needs-packaging] Ricoh R5U87x Webcam userland tools

2010-04-08 Thread Alexander Hixon
Pretty sure the issue you're seeing is because of a udev attribute we
use to detect the camera has now been depreciated, so it doesn't check
it at boot anymore.

David Jurenka sent me a patch a while back, but I had an enormous inbox at the 
time and forgot to look at it properly (sorry David!).
I'll probably commit it tomorrow morning; hopefully that'll fix the issue.

-- 
[needs-packaging] Ricoh R5U87x Webcam userland tools
https://bugs.launchpad.net/bugs/120434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 120434] Re: [needs-packaging] Ricoh R5U87x Webcam userland tools

2009-12-08 Thread Alexander Hixon
Hi Micheal,

Nice work with the packaging! :)
Some comments:

 sudo r5u87x-loader
 reboot
 cheese

Rebooting is not necessary.
If you read README, you will note that it's suggested you run it as 
r5u87x-loader --reload instead.

I should probably also note two other things:

r5u87x has already been packaged before, so you can always want to have
a peek at the existing dscs and stuff. You might be able to contact
wvengen to see if he still has them (see earlier in this bug report).

Secondly, and most importantly; we do not have copyright on the
firmware. This means it is impossible to redistribute this legally
(comment #66) without permission (including in the PPA). As such you
won't be able to include this in universe, from my understanding.
Multiverse perhaps. Even then, we would also need some mechanism for
users to know that they need package xyz from multiverse. What would you
(or any Canonical folk) suggest?

There are two options re firmware:
a) re-implement the firmware from scratch - can be done, in fact, we've 
successfully decompiled the microcode to assembler. It'd be probably insanely 
time consuming to redo it all, though.
b) see if there's anything in the click-through EULA's provided with the 
drivers that allow us to redistribute it.
c) get permission from the copyright owner(s) - AFAIK this is Ricoh, except 
several people (including myself) have attempted to get in contact with them 
and failed. Sales has never contacted me, ever, even after being assured they 
would. If somebody in the right timezone is willing to give them a ring...
d) create a tool that extracts the firmware from Windows firmware files, 
however this is probably the least ideal solution. There is code that assists 
in this process, however it's not quite automated at the moment.

Ideally, I'd still be like to be able to include something based off the
old r5u870 module in the kernel based on gspca. However, I really just
don't have the time that I'd like to be able to develop something like
this. If someone is feeling adventurous, a free beer is up for grabs. :)
This would also mean we can support WDM based cameras, too - which is a
limitation with the current approach; we only work with UVC-based
cameras (and then again, not completely correctly, either - controls are
not accurately recognised - yay non standards).

Cheers,
Alex Hixon

-- 
[needs-packaging] Ricoh R5U87x Webcam userland tools
https://bugs.launchpad.net/bugs/120434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 120434] Re: [needs-packaging] Ricoh R5U87x Webcam userland tools

2008-12-24 Thread Alexander Hixon
@wvengen: Awesome! Works as advertised!

However, please change the system firmware path in config.h rather than
in loader.c (just change UCODEDIR as appropriate).

Also, you don't need #include loader.h again; it's already included in
the file (otherwise you end up including it twice).

Make sure the compiler passes -DHAVE_CONFIG to get it to include the
config file (which the current Makefile already does, but I'm not very
good at writing them, so dh_build might invoke it differently).

I'll then include the debian/ directory and udev script upstream.
Thanks, by the way! Turned out much better than my package! :)

-- 
[needs-packaging] Ricoh R5U87x Webcam userland tools
https://bugs.launchpad.net/bugs/120434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 120434] Re: [needs-packaging] Ricoh R5U870 Webcam Driver

2008-12-14 Thread Alexander Hixon
** This bug is no longer a duplicate of bug 219252
   [Hardy] webcam stopped working after last kernel update

-- 
[needs-packaging] Ricoh R5U870 Webcam Driver
https://bugs.launchpad.net/bugs/120434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 120434] Re: [needs-packaging] Ricoh R5U870 Webcam Driver

2008-12-14 Thread Alexander Hixon
wvengen: do you think you could pastebin the udev script you're using?

-- 
[needs-packaging] Ricoh R5U870 Webcam Driver
https://bugs.launchpad.net/bugs/120434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 120434] Re: [needs-packaging] Ricoh R5U870 Webcam Driver

2008-11-24 Thread Alexander Hixon
If somebody would like to package up the loader tool and integrate that,
I think that'd be ideal. The only thing that would need to be done apart
from packaging is to create a udev rule that runs the loader (and
possibly tells uvcvideo to reload; or, even better, gets the USB device
to re-enumerate itself).

Do note that this won't actually work for people with non-UVC cameras for the 
time being.
There's a list of affected models here: 
http://bitbucket.org/ahixon/r5u87x/src/tip/docs/model_matrix.txt

JGJones: The resolution issue is being worked on upstream; Laurent, a
user and myself and going to try and investigate this. The issue relates
to how uvcvideo and the camera handle resolution changes. Apparently,
the camera likes to give out 640x480 even though the application (Skype,
for instance) might request 320x240. There is a workaround for Skype,
but there are other applications where there is none.

-- 
[needs-packaging] Ricoh R5U870 Webcam Driver
https://bugs.launchpad.net/bugs/120434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 120434] Re: [needs-packaging] Ricoh R5U870 Webcam Driver

2008-07-19 Thread Alexander Hixon
Brian, the code already supports packaging both the firmware and the
actual kernel module separately, provided the firmware ends up in the
correct path (generally /lib/firmware) since we're using
request_firmware().

Note that it'll just error when loading the module saying the firmware
isn't on-disk and point the user to a page on the wiki saying they need
to get the microcode.

I imagine the firmware could be uploaded to -restricted or something,
while the actual module could be included elsewhere.

Thanks bistory for packaging the 0.11.1 release. :)

-- 
[needs-packaging] Ricoh R5U870 Webcam Driver
https://bugs.launchpad.net/bugs/120434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs