What makes this USB device tick?
Moderator: Thanas
What makes this USB device tick?
I got my hands on a very, very cheap photo keychain. It's a no-brand thingy ("Digital Photo Keychain", Panda-looking logo on the software disc, made in China) with a simple Windows app ("Photo Viewer") to covert and transfer files. Got it for free with a pack of CD-R's.
When I connect the USB cable under Windows, the keychain shows up as an unformatted drive and I can't do anything with it - double-clicking it just brings up the floppy format utility. The included application can synchronize with it just fine.
Connecting it under Linux does precisely dick.
So how does this work? Is it just a simple flash drive with a screen that doesn't show up properly? Is there any way to store files on it without the utility? Is there any way to find out?
When I connect the USB cable under Windows, the keychain shows up as an unformatted drive and I can't do anything with it - double-clicking it just brings up the floppy format utility. The included application can synchronize with it just fine.
Connecting it under Linux does precisely dick.
So how does this work? Is it just a simple flash drive with a screen that doesn't show up properly? Is there any way to store files on it without the utility? Is there any way to find out?
- General Zod
- Never Shuts Up
- Posts: 29211
- Joined: 2003-11-18 03:08pm
- Location: The Clearance Rack
- Contact:
- General Deathdealer
- Padawan Learner
- Posts: 415
- Joined: 2006-05-08 02:34pm
- Location: In a Thunderhawk enroute to the Blood Angels Battle Barge
You use the Photo Viewer to put the pictures on the key chain. You start the Photo Viewer, pick which photos you want to put on the Key Chain and then click synchronize. You cannot put things on there like you would a thumb drive. I have one myself and this is how mine works.
"Don't fuck with The Mess. Unless you've been there, done that, and have the t-shirt, shut your cakehole." - Me
"By the Blood of Sanguinius" - Blood Angels Battlecry
"The enemies of the Emperor fear many things. They fear discovery, defeat, despair and death. Yet there is one thing they fear above all others. They fear the wrath of the Space Marines." - Anonymous
"This can't be good" - Sherriff Jack Carter
"By the Blood of Sanguinius" - Blood Angels Battlecry
"The enemies of the Emperor fear many things. They fear discovery, defeat, despair and death. Yet there is one thing they fear above all others. They fear the wrath of the Space Marines." - Anonymous
"This can't be good" - Sherriff Jack Carter
I'm assuming the synchronization software has a driver, or some way of reading/writing to it, because it can get to the photos just fine. It's just that neither OS can access it directly, which is what I'd ideally want.General Zod wrote:Perhaps you're lacking a driver? It could be old enough or off-brand enough that it needs one.
Yes, I know, I read the excuse for a manual. What I'd like to know is how I can get around that shitty sync app and use it with anything other than Windows.I have one myself and this is how mine works.
- General Zod
- Never Shuts Up
- Posts: 29211
- Joined: 2003-11-18 03:08pm
- Location: The Clearance Rack
- Contact:
- General Deathdealer
- Padawan Learner
- Posts: 415
- Joined: 2006-05-08 02:34pm
- Location: In a Thunderhawk enroute to the Blood Angels Battle Barge
It is kind of a cheap key chain, but the Photo Viewer is the way to load the pictures onto it. Plus the only way to charge the batteries is to plug it into a USB port for a couple of hours.
"Don't fuck with The Mess. Unless you've been there, done that, and have the t-shirt, shut your cakehole." - Me
"By the Blood of Sanguinius" - Blood Angels Battlecry
"The enemies of the Emperor fear many things. They fear discovery, defeat, despair and death. Yet there is one thing they fear above all others. They fear the wrath of the Space Marines." - Anonymous
"This can't be good" - Sherriff Jack Carter
"By the Blood of Sanguinius" - Blood Angels Battlecry
"The enemies of the Emperor fear many things. They fear discovery, defeat, despair and death. Yet there is one thing they fear above all others. They fear the wrath of the Space Marines." - Anonymous
"This can't be good" - Sherriff Jack Carter
I tried mount /dev/sda:
ETA: Gpart guesses four blank partitions partitions. I don't think Linux is actually seeing the device.
...which is a problem for obvious reasons. There's nothing in dmesg except bits about the swap file and wireless connection which I think are from booting.mount: you must specify the filesystem type
ETA: Gpart guesses four blank partitions partitions. I don't think Linux is actually seeing the device.
lsusb can see it, I think; it gives a vendor and product ID for an unidentified USB device that isn't my mouse or wireless adaptor. Googling the number tells me that the hardware in this thing is apparently used a *lot* of bargain photo keychains and at least one person is trying to figure out how to access it.
I keep digging.
ETA: it might be a variant of the DPF018 from a company like Yong Sheng, or it at least uses the same hardware and synchronisation application. The shell is different though.
ETA2: lsscsi says it's from Sitronix, who make LCD device drivers.
ETA3: it's times like these when I wish I knew something about computers. Looking into this is fun but I just don't have the knowledge or expertise to do anything useful.
I keep digging.
ETA: it might be a variant of the DPF018 from a company like Yong Sheng, or it at least uses the same hardware and synchronisation application. The shell is different though.
ETA2: lsscsi says it's from Sitronix, who make LCD device drivers.
ETA3: it's times like these when I wish I knew something about computers. Looking into this is fun but I just don't have the knowledge or expertise to do anything useful.
-
- Jedi Master
- Posts: 1243
- Joined: 2005-07-09 01:58pm
- Location: Desperately trying to find a local restaurant that serves foie gras.
It should be noted that /dev/sda and /dev/sda1, on systems with Linux 2.6.19 or newer, would refer to the first HD on your IDE, Sata or SCSI bus, and the first partition thereof, respectively (if you're box is a multiboot rig, then sda1 will most likely be Windows).
On my box, due to the peculiarities of my setup, USB disks get mounted under sdc or higher, but the actual location of the special device files under GRUB itself is /dev/bus/usb. However, if you plug in a typical USB key and type mount, you'll see the path to the device file you'll want to use in attempting to mount that device.
Realistically, your best bet is to attempt to install the device's software in Wine (hoping, of course, that Wine's USB support is reasonable).
On my box, due to the peculiarities of my setup, USB disks get mounted under sdc or higher, but the actual location of the special device files under GRUB itself is /dev/bus/usb. However, if you plug in a typical USB key and type mount, you'll see the path to the device file you'll want to use in attempting to mount that device.
Realistically, your best bet is to attempt to install the device's software in Wine (hoping, of course, that Wine's USB support is reasonable).
I'm on 2.6.22
And I just double-checked, my swap file, Linux partition and data partition are all under /hda. I'm not sure about my Windows partition; it's automounted somehow but I can't find it in fstab, which doesn't really seem possible. I think it's got something to do with me having to retrieve the partition table with Parted.
And I just double-checked, my swap file, Linux partition and data partition are all under /hda. I'm not sure about my Windows partition; it's automounted somehow but I can't find it in fstab, which doesn't really seem possible. I think it's got something to do with me having to retrieve the partition table with Parted.