LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2006, 10:10 PM   #1
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Rep: Reputation: 15
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.
 
Old 04-12-2006, 11:22 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
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.
 
Old 04-13-2006, 12:13 PM   #3
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
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
 
Old 04-13-2006, 03:58 PM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
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.
 
Old 04-13-2006, 06:52 PM   #5
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
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.
 
Old 04-14-2006, 04:28 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
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.
 
Old 04-14-2006, 08:51 PM   #7
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
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.
 
Old 04-14-2006, 09:30 PM   #8
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
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
 
Old 04-15-2006, 01:22 AM   #9
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
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.
 
Old 04-15-2006, 02:21 PM   #10
jnsg
Member
 
Registered: Jan 2005
Location: Kentucky, USA
Distribution: Slackware 13
Posts: 125

Original Poster
Rep: Reputation: 15
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.
 
Old 04-18-2006, 03:16 AM   #11
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
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.
 
Old 04-18-2006, 03:36 AM   #12
kite
Member
 
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306

Rep: Reputation: 47
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing files to MultiMedia Card (MMC) using USB reader/writer sebyte Linux - General 6 12-02-2004 06:23 PM
USB MMC Card reader doesn't work on Mandrake 10.0 bröggle Mandriva 5 08-24-2004 01:32 PM
Accessing MMC card in Laptop built-in MMC Card Slot with knoppix bröggle Linux - Laptop and Netbook 0 08-18-2004 09:44 AM
TwinMOS USB MMC card reader juan18 Linux - Hardware 0 06-13-2004 03:45 AM
USB MMC Card reader g4c9z Linux - Hardware 0 06-12-2004 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration