Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-12-2006, 10:10 PM
|
#1
|
Member
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125
Rep:
|
MMC/SD card reader
I have an Acer TravelMate 4500 which has a builtin MMC/SD card reader. From lspci: Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller. I have tried Googling around, with depressing results. I know my 2.6 kernel has MMC/SD support compiled in, but obviously it doesn't have specific support for my device. I have found a binary module here but I don't know if it will work on my kernel (2.6.13.4 although I have no qualms against upgrading even further). I downloaded the module, but I can't figure out how to use it. I wanted to at least load it and see what happens, so how would I go about doing that?
Generally, how does MMC/SD mounting work in Linux? I read somewhere that it gets mapped to a SCSI device like USB drives, so if that's the case I would just mount /dev/sda1 or /dev/sdb1 or something? If I have the proper driver, that device should become available upon inserting a card right?
Also, if it doesn't look like I can get it to work, is there any way to use my digital camera's USB connection to transfer pictures? The software it ships with supports Windows and Mac OS X.
...I'm just kind of disappointed at the prospect of having to boot to Windows just to get the pictures off of my camera.
Last edited by jnsg; 04-12-2006 at 10:11 PM.
|
|
|
04-12-2006, 11:22 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
Quote:
..I'm just kind of disappointed at the prospect of having to boot to Windows just to get the pictures off of my camera.
|
put the disappointment away...you can transfer your pics off your camera using gphoto2, which you can get from here...
you'll also need gphotolibs and i also use gtkam as my frontend....
Last edited by detpenguin; 04-12-2006 at 11:23 PM.
|
|
|
04-13-2006, 12:13 PM
|
#3
|
Member
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761
Rep:
|
There was a binary module about for the FlashMedia controller, but it's built against 2.6.11 and pretty much no-one has had any success getting it to work.
Basically, there are no Linux drivers for these TI FlashMedia controllers - there is one project still active in trying to reverse engineer the Windows driver, but there's only one developer so progress is still slow and in its infancy (no read/ write support yet): http://tifmxx.berlios.de
|
|
|
04-13-2006, 03:58 PM
|
#4
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
You don't need to mount sd/mmc directly if you have usb camera. Just mount camera with this:
# mount -t vfat /dev/sdx (camera location) /mnt/camera (create camera dir first). You could access photos here with simple file manager.
Last edited by Alien_Hominid; 04-13-2006 at 04:01 PM.
|
|
|
04-13-2006, 06:52 PM
|
#5
|
Member
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125
Original Poster
Rep:
|
Quote:
Originally Posted by Alien_Hominid
Just mount camera with this:
# mount -t vfat /dev/sdx (camera location) /mnt/camera (create camera dir first). You could access photos here with simple file manager.
|
I don't think this will work without something acting to communicate with the camera. The packages detpenguin linked me to look like what will be required. The FUSE-based gphotofs looks promising, too bad there's not a pre-made Slackware package for it.
So it looks like I will be able to use the USB interface, that's good. Too bad I've got this fancy slot in the side of my computer that is completely useless.
Thanks for the replies.
|
|
|
04-14-2006, 04:28 PM
|
#6
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Hmm, I have Konica Minolta camera and nautilus finds and shows my images perfectly. I can watch them normally in image viewers too.
Last edited by Alien_Hominid; 04-14-2006 at 04:30 PM.
|
|
|
04-14-2006, 08:51 PM
|
#7
|
Member
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125
Original Poster
Rep:
|
According to the gphoto site, some cameras support the USB Mass Storage protocol, and are thus automatically accessible by a kernel with USB Mass Storage support. Since I plugged my camera into my USB port and /dev/sda1 was not automatically created (as would be the case with a USB flash drive) I am assuming my camera uses a different protocol.
|
|
|
04-14-2006, 09:30 PM
|
#8
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
Quote:
Originally Posted by jnsg
I am assuming my camera uses a different protocol.
|
to be sure:
type "tail -f /var/log/messages " in a console
and plug the usb connector in the slot.
see what your kernel has to say...
egag
|
|
|
04-15-2006, 01:22 AM
|
#9
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Why it should be sda1? It could be, for example sdb1 (this is in mine computer), too. Run dmesg and check where your camera is located.
Last edited by Alien_Hominid; 04-15-2006 at 01:25 AM.
|
|
|
04-15-2006, 02:21 PM
|
#10
|
Member
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125
Original Poster
Rep:
|
Quote:
Originally Posted by egag
see what your kernel has to say...
|
Quote:
Originally Posted by Alien_Hominid
Run dmesg and check where your camera is located.
|
"usb 4-2: new full speed USB device using uhci_hcd and address 2"
That's from both /var/log/messages and dmesg.
Quote:
Originally Posted by Alien_Hominid
Why it should be sda1? It could be, for example sdb1 (this is in mine computer), too.
|
When I tried this I tried sda1, sdb1, etc until it ran out of them. sda1 didn't exist, and all the others said they were invalid block decices.
Here's a question: if it is possible to use my camera as a USB Mass Storage device, then it should auto-map like a flash drive does, if I plug it into a Windows system, right?
EDIT:
Well, I tried that and Windows detected it as a camera, so I don't know whether or not it would have detected it as a Mass Storage device.
Last edited by jnsg; 04-15-2006 at 10:09 PM.
|
|
|
04-18-2006, 03:16 AM
|
#11
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
When you run dmesg or look at /var/log/messages you must find the mount point mentioned. I don't know why but sometimes it becomes, for example /dev/sdc, even without partition numbers. I guess it depends on how many usb mount points are connected to usb controller.
|
|
|
04-18-2006, 03:36 AM
|
#12
|
Member
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306
Rep:
|
libgphoto2 plus gtkcam should work for you in most case. You can download the packages from linuxpackages.net . Try them out. I have a Kodak DX7630 which does not act as a USB mass storage but it works with libgphoto2 plus gtkcam or gthumb. Make sure you setup device permission for normal user though.
|
|
|
All times are GMT -5. The time now is 09:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|