LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   digital camera - USB access of SD card??? (https://www.linuxquestions.org/questions/slackware-14/digital-camera-usb-access-of-sd-card-127392/)

pbhj 12-19-2003 06:16 PM

digital camera - USB access of SD card???
 
this is the closest I found ... http://www.linuxquestions.org/questi...ght=usbstorage

The problem appears to be the set up of sub-storage module ...

lsusb finds my camera (a Minolta dimage Z1 (c.£250 from ebuyer))

... can't find where the device is though??


lsubs output:
Code:

Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 001 Device 001: ID 0000:0000 Virtual Hub
Bus 001 Device 002: ID 03f0:010c Hewlett-Packard Multimedia Keyboard Hub
Bus 001 Device 003: ID 03f0:020c Hewlett-Packard Multimedia Keyboard
Bus 001 Device 004: ID 046d:c001 Logitech Inc. N48/M-BB48 [FirstMouse Plus]
Bus 001 Device 009: ID 0686:4018 Minolta Co., Ltd.

So, what gives? If I have to compile the usb-storage module, how can I, where do I get it from, why wasn't it in my Slack9.1 install, can I compile and install without recompiling my whole kernel??

Cheers

Paul

miaviator278 12-19-2003 06:31 PM

if it uses an sd card, why not use an sd card reader, or 6 in one reader, so u can use the camera's card as a memory stick also?

you can enter /usr/src/linux
make menuconfig
choose usb storage as a module
and then make modules
make modules_install, without ever compiling the kernel
depmod

and it should work?

you may want to check some docs in /usr/src/linux/Documentation to be sure it won't erase your current modules

gnashley 12-20-2003 04:21 AM

The bare.i kernel has support for loading the module. I agree that if you use a card reader you will find it easy. It will show up as a partition in the boot messages, usually /dev/sda1 or just /dev/sda.
I'm not sure how the camera would show, though.
You'll need usb-storage, ehci, uhci and ohci modules to load. But if you boot with the card inserted in a card reader this will happen automatically.
Also, the zipslack kernel has compiled-in (not module) support for these devices as well as zip drives.
So then it's just
mkdir /mnt/usb
mount -t vfat /dev/sda1 /mnt/usb

pbhj 12-22-2003 07:51 AM

OK, thanks guys ... will have to look up the module compilation process (unless someone else chips in). Note that I have got the drive mounted via Mandrake at /dev/sda1 .

gnashley 12-23-2003 02:43 AM

The modules you need should already be installed. usb-core, ehci uhci, etc. If you compile a kernel you'll need SCSI support and initial USB file system support. But the modules are easier. Take a look at the RUNT linux bootdisk. just download it and look at the modules it loads


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