LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-24-2005, 04:15 AM   #1
phil81
Member
 
Registered: Jun 2003
Location: France
Distribution: Lenny/sid
Posts: 141

Rep: Reputation: 15
USB issue


I cant get to work either
a digital camera or a usb key.

usbview shows me that the hardware is detected but i cant find where they are ?

USB works because I have a USB scanner and a USB ISDN modem working fine

Cant seem to find what I am missing here

thanks
 
Old 06-24-2005, 05:07 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Well, what do you do after plugging them in, and what error messages do you get?
 
Old 06-24-2005, 05:29 AM   #3
phil81
Member
 
Registered: Jun 2003
Location: France
Distribution: Lenny/sid
Posts: 141

Original Poster
Rep: Reputation: 15
Hi
Thanks for your answer
Concerning a camera I try to have it detected with gtcam or an other similar app
And I try to find it in my tree I also check
df -h to see if and where it is mounted

With the USB Key I try to find where it is mounted
and also use
df -h

There are no error messages
I ghave tried this on Ubuntu, knopix, and mandrake10.1 allthese work fine.

Im still on testing maybe I should upgrade to stable ?
 
Old 06-24-2005, 05:47 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
df only shows you MOUNTED systems - unless you have automount set up for your USB drive, you wouldn't expect it to work.

Try "mount /dev/sda1 /mnt" - this would usually mount a USB drive.
 
Old 06-24-2005, 08:50 AM   #5
phil81
Member
 
Registered: Jun 2003
Location: France
Distribution: Lenny/sid
Posts: 141

Original Poster
Rep: Reputation: 15
HI
thanks for your answer
mount /dev/sda1 /mnt
does nothing for me either

Hotplug should be set up here as i have 2 USB devices working..
 
Old 06-24-2005, 01:25 PM   #6
PinRojas
Member
 
Registered: Feb 2005
Distribution: debian
Posts: 75

Rep: Reputation: 15
Hi Phil81,

Sometimes this USB device is get it in other place as /dev/sb1
See /var/log/kern.log when you turn on your USB camera attached to your PC.

Salu2!
 
Old 06-24-2005, 01:54 PM   #7
phil81
Member
 
Registered: Jun 2003
Location: France
Distribution: Lenny/sid
Posts: 141

Original Poster
Rep: Reputation: 15
Hi thanks

nope not there either

I have a second debian pc running stable and that one works with
/dev/sda1 /mnt
?
 
Old 06-24-2005, 02:30 PM   #8
PinRojas
Member
 
Registered: Feb 2005
Distribution: debian
Posts: 75

Rep: Reputation: 15
Then you have problems with your modules.
Probably you have to check dmesg if they are loading correctly.

Salu2!
 
Old 06-25-2005, 02:15 AM   #9
phil81
Member
 
Registered: Jun 2003
Location: France
Distribution: Lenny/sid
Posts: 141

Original Poster
Rep: Reputation: 15
HI thanks for your answer
I checked this and here is part of the consol output :
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Model: USB DISK Pro Rev: 1.01
Type: Direct-Access ANSI SCSI revision: 02
Vendor: Model: USB DISK Pro Rev: 1.01
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.

It seems to be ok..
??

Phil
 
Old 06-26-2005, 05:55 AM   #10
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
You should try launching "gtkam" as root. Try opening a xterm, using "su" to switch to root, and launching "gtkam". If it works, it's a permission problem. Also make sure you have all gphoto2 related packages installed; you might miss some, even though you have "gtkam" installed.

I'd suggest the same approach with the usb drive. Try switching to root, creating a mountpoint (directory) for the usb stick (e.g. "mkdir /mnt/usbstick") and doing a

mount -t vfat /dev/sda1 /mnt/usbstick

You could also try /dev/sdb1 or /dev/sdc1 etc.

If root access works, add following line to your /etc/fstab:

/dev/sda1 /mnt/usbmem vfat users,noauto,sync,dirsync,noatime,rw 0 0

Options "sync", "dirsync" and "noatime" are important, because they disable unnecessary writes to the usb stick. This is useful, because each stick can take only a quite limited number of writes before it breaks (a million?).

Hope this helps.
 
Old 06-28-2005, 04:35 AM   #11
tmantist
Member
 
Registered: Jun 2005
Location: Florida, USA
Distribution: ~~~Slackware~~~
Posts: 86

Rep: Reputation: 15
first figure out if your digital camera is supported under linux, then if it is, I hope it is :smile: , then you have to enable usb camera capability in the linux kernel on a new kernel compile. I have a usb-camera, buts it's the cheap one that only has internal photo storage-no SD/MMC/Compact Flash etc.
 
Old 06-28-2005, 04:37 AM   #12
tmantist
Member
 
Registered: Jun 2005
Location: Florida, USA
Distribution: ~~~Slackware~~~
Posts: 86

Rep: Reputation: 15
you guys can always check '/proc/bus/usb/devices' for information on hardware that your kernel sees
 
  


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
USB parttioning <-- not an issue just something to think about exvor General 3 03-13-2005 07:46 PM
Debian USB issue mastahnke Debian 3 10-03-2004 10:52 AM
Issue with 2.6.0 and usb-OHCI clevershark Linux - General 0 12-22-2003 02:05 PM
USB issue with MA101 bad_cmd/filenam Linux - Hardware 0 10-30-2003 03:57 AM
gphoto and USB issue loke137 Linux - Software 0 03-26-2003 03:54 PM

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

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