Canon Rebel XT on OpenSolaris
15 June '05 - 19:32 by benrI'm transitioning my office workstation (Monolyth) to OpenSolaris from Gentoo/Linux to the Solaris Express Community Release that the world got yesterday. Now that I'm ditching Linux for good (I'll still run Gentoo/Linux on my AthlonMP at home for some time, I just have too much time invested in it and run several webservers on it I don't want to transition just yet as well as doing some development that is linux specific... I run Solaris on my Sun Ultra2 for Solaris development.) So now that I'm doing more than testing Solaris builds and working on documentation I'm playing with support on this that weren't previously an issue, such as my Canon Rebel XT and other USB devices.
A big big thanks goes to Dan Price for laying out the proccess of configuring your USB camera all the way back in December. Basically just:
- Connect and turn on the camera.
- Dig through the pages of output from "prtconf -v" to find the device id for the camera.
- Add support for the device ID to the USB framework via add_drv:
See Dan's blog entry for the exact syntax and an example. I'd only add two things to his entry: the first is that "prtconf -v" will print tons and tons and tons of output and its hard to sift through, I'd recommend that you dump it to a file ("prtconf -v > /tmp/prtconf.out") and then search for your camera manufacture in there to find the information you need, I just searched for Canon and was brought the the right spot. The second thing is that I actually did have to reboot, looks like Dan didn't but mentions that you might want to. After add_drv the camera sorta worked, but gphoto2 freaked out after grabbing the first image. I rebooted and everything has worked smooth since.
Also, USB Mass Storage Key Fobs work really really well now. No more mounting manually, vold just works it all out. Connect it and then look at "df -h" output and there she is. Very slick and finally usable for quick access. Previously the 30 seconds it would take you to mount the stick was just enough hassle to keep me from messing with them at all. What a lazy bastard I am.
I’d imagine diff would be your friend to make things easier. Haven’t tried myself but it is a thought.
Jk
jkenneth - 16 June '05 - 10:15
Ya, totally, diff would be an even better method. Perhaps we should provide a little script similar to ‘luxadm insert_device’ for camera setup… run it, then it asks, “Please connect your camera now and press enter when complete”, so it just pulls prtconf -v before and after then diffs, yanks the line and does the drv_add for you, saying afterwords, “Please reboot at your next convience to complete the setup.”That’d work. Good thinkin’ jk!
benr - 16 June '05 - 14:41
nice site !Matthew (Email) (URL) - 12 June '06 - 13:24
Thanks for the special work and information!desmond (Email) (URL) - 12 June '06 - 20:22
I like this site!jerome (Email) (URL) - 13 June '06 - 13:27
I am here to say hello and you have a great site!teddy (Email) (URL) - 13 June '06 - 14:19
Very interesting and professional site! Good luck!