Samsung ST100 digital camera. |
- Samsung ST100 14.2 Mpx digital camera
- 5x optical zoom
- 8GB micro SD
- ASUS TF201 Transformer prime
- NVIDIA Tegra 3 quad-core CPU
- 10.1" screen
- Android Ice Cream Sandwich OS
- 32GB micro SD
- HP Pavilion dv4
- Intel core 2 duo CPU
- Ubuntu 12.04 LTS OS
- Eclipse Juno IDE + Android SDK + ADK
ASUS Tablet with keyboard dock. |
HP Pavilion dv4 notebook |
Before I can do any of these things, I need to develop an understanding of USB protocol. I spent the last couple of days researching this and the communication format doesn't seem terribly complicated. However, many USB products, especially digital cameras, use proprietary formats which require their own drivers.
I ran into a big problem, likely due to installing libusb on the HP. Mouse suddenly stopped working. Thought it was the battery but it worked on another computer. When I checked /var/log/syslog, it was getting overloaded with messages about not being able to enumerate the USB devices. I tried removing libusb-1.0-0 and libusb-1.0-0-dev (the exact packages I installed), then the whole thing went to pot. When the system rebooted after removing and updating the packages, it got stuck in some weird loop where the login screen would come up, I'd enter my password (I had setup the OS to not go to a login screen, so even that was weird), another screen would come up with error messages, but it only stayed for about 1/2 second, so I couldn't tell what the errors were, then went back to the login screen.
I couldn't find the install disk to run the live version and potentially fix the problem, but that was lost. I found the ISO for 10.04 on an external drive, so I burned a new copy and am running that right now. Even in "live" mode, the USB ports aren't working, so even though I can view my directories, I can't save the files to it. Instead, I took the SD card from the camera and am tarballing the essential stuff and saving it to that. Thankfully that works.
Eventually, I plan on doing this kind of work in a virtual machine running on Windows. This way when I encounter big problems with the OS, I don't wind up losing everything. Unfortunately, can't do that until I get a new computer.
No comments:
Post a Comment