LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-08-2004, 05:52 PM   #16
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872

As you run a 2.4 kernel, try to :
chmod -x /etc/rc.d/rc.udev

Edit fstab and change :
/dev/sda1 /mnt/camera vfat defaults 1 0
to :
/dev/sda1 /mnt/camera vfat defaults 0 0
As you probably don't want fsck begin to check your camera filesystem at boot

One last step :
add your user to disk group in /etc/group if it is not already added

Last edited by keefaz; 07-08-2004 at 05:53 PM.
 
Old 07-08-2004, 06:36 PM   #17
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by keefaz
As you run a 2.4 kernel, try to :
chmod -x /etc/rc.d/rc.udev

Edit fstab and change :
/dev/sda1 /mnt/camera vfat defaults 1 0
to :
/dev/sda1 /mnt/camera vfat defaults 0 0
As you probably don't want fsck begin to check your camera filesystem at boot

One last step :
add your user to disk group in /etc/group if it is not already added
How do I add a user to /etc/group ? I added "kelly" after "root, admin" Will that do?


When my system is booting up, I can read the following error line...

modprobe: modprobe: Can't locate module block-major-8
mount: /dev/sda1 is not a valid block device


I hope this helps!

Can anyone tell me why I can't mount my cdrom drive? Ugh!!!!
 
Old 07-08-2004, 06:44 PM   #18
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
I added "kelly" after "root, admin" Will that do?
that did it (I assume it is now root,admin,kelly).
What dmesg | grep -i drive says ?
 
Old 07-08-2004, 07:13 PM   #19
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Here's some advice, mounting cameras in Linux should be no different from mounting flash/pen drives / usb keys. In fact, when I do mount /dev/usb it will mount either my camera or my usb key, depending on what is /dev/sda1 at the time. That's the reason why I don't have my mounted directories for my USB devices labeled with specific names, because the devices change names depending on when you plug them in.

Here's my fstab entry for my USB devices:

Code:
/dev/sda1        /mnt/usb         vfat        noauto,user,rw                0   0
 
Old 07-08-2004, 09:18 PM   #20
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by r_jensen11
Here's some advice, mounting cameras in Linux should be no different from mounting flash/pen drives / usb keys. In fact, when I do mount /dev/usb it will mount either my camera or my usb key, depending on what is /dev/sda1 at the time. That's the reason why I don't have my mounted directories for my USB devices labeled with specific names, because the devices change names depending on when you plug them in.

Here's my fstab entry for my USB devices:

Code:
/dev/sda1        /mnt/usb         vfat        noauto,user,rw                0   0
I changed my fstab to reflect the EXACT line that you listed. When I tried mounting my camera I got the error "mount: not a valid mount point" (or something like that). I changed that line in fstab to...

/dev/sda1 /mnt/camera vfat noauto,user,rw 0 0

...in order to use the /mnt/camera mount point I had originally established. Unfortunately, when I rebooted I got the same old error "not a valid block device"

AHHHHHHHHHHH!

My wife's laptop is almost perfectly setup for her. If only I could get the camera working. Aren't I a good husband?
 
Old 07-08-2004, 09:31 PM   #21
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by keefaz
that did it (I assume it is now root,admin,kelly).
What dmesg | grep -i drive says ?
I'm writing this message from my PC with my wife's PC next to me...with the camera plugged in and turned on. The command you listed gives the following results...

(abridged version)

Journalled Block Device driver loaded
Serial Driver Version 5.05c (blah)
Clock
Floppy
RAMDISK
Uniform Multi-Platform E-IDE
Hard drive stuff
CDrom stuff
SCSI Subsystem driver
md driver
apm
 
Old 07-08-2004, 09:32 PM   #22
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Maybe it's sd0?
 
Old 07-08-2004, 09:48 PM   #23
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Do you have usb-mass-storage working properly? I'm guessing no by the sound of things. Did you make a custom kernel, or is it still the original? If it's the original, make sure that the driver for usb-mass-storage is being loaded.
 
Old 07-08-2004, 09:58 PM   #24
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
re: gbonvehi

Perhaps it is. I will have to give it a shot
**EDIT**
sd0 doesn't work either

Quote:
Originally posted by r_jensen11
Do you have usb-mass-storage working properly? I'm guessing no by the sound of things. Did you make a custom kernel, or is it still the original? If it's the original, make sure that the driver for usb-mass-storage is being loaded.
The kernel is the stock 2.4 kernel that came on the Slack 10 CD. How can I tell if the usb-mass-storage driver is loaded?

Last edited by tubatodd; 07-08-2004 at 10:00 PM.
 
Old 07-08-2004, 11:18 PM   #25
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
***NEW FLASH***

I got the camera to work with MY laptop. I suspect the reason it is NOT working on my wife's laptop is the same reason I had problems with my own laptop. Well...guess what.....I had NO....I repeat...NO usb drivers loading on startup. I checked my rc.modules and ALL of the usb drivers were commented out. I un-commented the general usb driver and the usb-storage driver and BAM....it worked!

<sigh or relief>

This has been bugging me like CRAZY! I should have checked the rc.modules first. That is my newbie mistake. I won't do THAT again!

I wish fixing my dad's WinXP was so simple. He has one of those keychain cameras from Brookstone and the drivers aren't working. I tried uninstalling them, but his machine says that it is uninstalled.....BUT the driver still shows up in the Add/Remove menu. I tried clearing all references to mydsc (the driver) out of his registry. Unfortunately everytime, we try to reinstall the drivers, the setup file goes through the uninstall and will NOT install. So, his machine is FUBARed!
 
Old 07-09-2004, 01:56 PM   #26
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Quote:
Originally posted by tubatodd
re: gbonvehi

Perhaps it is. I will have to give it a shot
**EDIT**
sd0 doesn't work either



The kernel is the stock 2.4 kernel that came on the Slack 10 CD. How can I tell if the usb-mass-storage driver is loaded?
issue the command "lsmod" and it will list all of the modules that are loaded, and which modules are using which other modules if there are any dependancies.
 
Old 07-09-2004, 02:48 PM   #27
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by r_jensen11
issue the command "lsmod" and it will list all of the modules that are loaded, and which modules are using which other modules if there are any dependancies.
After I checked and edited my rc.modules file to allow for the usb drivers to load, I used "lsmod" to make sure that they loaded and that they were the appropriate drivers. The drivers I "enabled" were usb-ohci and usb-storage. Since the only usb device that is used with our laptops is the camera, those were the only drivers I needed.
 
Old 07-10-2004, 10:35 AM   #28
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Thumbs up

Quote:
Originally posted by tubatodd
After I checked and edited my rc.modules file to allow for the usb drivers to load, I used "lsmod" to make sure that they loaded and that they were the appropriate drivers. The drivers I "enabled" were usb-ohci and usb-storage. Since the only usb device that is used with our laptops is the camera, those were the only drivers I needed.
Good job. Can you remove the photos from the cameras from your computer? I'd make sure that you can delete them from there (To make sure you have the proper permissions), just for convenience, as it can be annoying to delete a bunch of pictures from the camera while wanting to leave a picture or two on.
 
Old 07-10-2004, 11:42 AM   #29
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by r_jensen11
Good job. Can you remove the photos from the cameras from your computer? I'd make sure that you can delete them from there (To make sure you have the proper permissions), just for convenience, as it can be annoying to delete a bunch of pictures from the camera while wanting to leave a picture or two on.
Yes, I have full access to the camera. I tested it by copying a file from the camera to the desktop. Then deleting the file from the camera. Then I moved the file BACK to the camera. I was able to test read, write and delete.
 
  


Reply



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
Sony USB Camera (w/ Memory Stick) How to Mount tcv Linux - Hardware 5 01-07-2005 09:22 AM
lost settings for usb camera (memory stick) Slack 10 tireseas Linux - Hardware 2 12-03-2004 11:42 AM
Read a Sony Memory Stick? jago25_98 Linux - Hardware 2 11-23-2004 05:32 AM
Built-In Sony Memory Stick DWebb82 Linux - Hardware 7 10-05-2004 03:37 PM
Memory Stick on Sony kkempter Linux - Laptop and Netbook 1 07-12-2003 04:51 PM

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

All times are GMT -5. The time now is 04:32 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