LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-27-2004, 09:30 AM   #1
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Rep: Reputation: 15
Question USB HP PhotoSmart Camera wont work


Using Fedora 3.
When I try to plug in the camea to the USB port and turn it on I get nothing on the console screen.
/var/log/messages says nothing.
Searched around a bit...cant come up with anything...

[root@cdc1 ~]# mount -t vfat /dev/sda1 /mnt/camera
mount: special device /dev/sda1 does not exist

[root@cdc1 ~]# cat /proc/scsi/scsi
cat: /proc/scsi/scsi: No such file or directory

[root@cdc1 ~]# dmesg
Linux version 2.6.9-1.681_FC3 (bhcompile@tweety.build.redhat.com) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 ThuNov 18 15:10:10 EST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data)
BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffee0000 - 00000000fff00000 (reserved)
BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
511MB LOWMEM available.
zapping low mappings.
On node 0 totalpages: 131056
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126960 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 AMI ) @ 0x000fa340
ACPI: RSDT (v001 AMIINT SiS735XX 0x00001000 MSFT 0x0100000b) @ 0x1fff0000
ACPI: FADT (v001 AMIINT SiS735XX 0x00001000 MSFT 0x0100000b) @ 0x1fff0030
ACPI: DSDT (v001 SiS 735 0x00000100 MSFT 0x0100000d) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
Built 1 zonelists
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=ht
mapped 4G/4G trampoline to ffff4000.
Initializing CPU#0
CPU 0 irqstacks, hard=023db000 soft=023da000
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1095.411 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 514468k/524224k available (2084k kernel code, 9152k reserved, 651k data, 148k init, 0k highmem)
Calibrating delay loop... 2162.68 BogoMIPS (lpj=1081344)
Security Scaffold v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
There is already a security framework initialized, register_security failed.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383f9ff c1cbf9ff 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff c1cbf9ff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383f1ff c1cbf9ff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) Processor stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs... it is
Freeing initrd memory: 947k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfdb01, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Uncovering SIS18 that hid as a SIS503 (compatible=1)
Enabling SiS 96x SMBus.
PCI: Using IRQ router SIS [1039/0018] at 0000:00:02.0
PCI: IRQ 0 for device 0000:00:02.1 doesn't match PIRQ mask - try pci=usepirqmask
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
audit: initializing netlink socket (disabled)
audit(1104132512.4294965467:0): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 5E743E255A7478EF
- User ID: Red Hat, Inc. (Kernel Module GPG key)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
vesafb: probe of vesafb0 failed with error -6
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected SiS 735 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xd0000000
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:02.5
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS735 ATA 100 (2nd gen) controller
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdcMA, hddMA
Probing IDE interface ide0...
hda: MAXTOR 6L040J2, ATA DISK drive
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: LITE-ON LTR-40125S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
hda: max request size: 128KiB
hda: 78177792 sectors (40027 MB) w/1819KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3
hdc: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 9362)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 148k freed
device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
cdrom: open failed.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
security: 3 users, 4 roles, 305 types, 19 bools
security: 53 classes, 6688 rules
SELinux: Completing initialization.
SELinux: Setting up existing superblocks.
SELinux: initialized (dev dm-0, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
SELinux: initialized (dev mqueue, type mqueue), not configured for labeling
SELinux: initialized (dev hugetlbfs, type hugetlbfs), not configured for labeling
SELinux: initialized (dev devpts, type devpts), uses transition SIDs
SELinux: initialized (dev eventpollfs, type eventpollfs), uses genfs_contexts
SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts
SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
SELinux: initialized (dev proc, type proc), uses genfs_contexts
SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
inserting floppy driver for 2.6.9-1.681_FC3
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
sis900.c: v1.08.07 11/02/2003
PCI: Found IRQ 11 for device 0000:00:03.0
divert: allocating divert_blk for eth0
eth0: Realtek RTL8201 PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 11, 00:07:95:fa:a2:97.
PCI: Found IRQ 11 for device 0000:00:02.7
intel8x0_measure_ac97_clock: measured 49376 usecs
intel8x0: clocking to 48000
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3 FS on dm-0, internal journal
cdrom: open failed.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: initialized (dev hda2, type ext3), uses xattr
SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Adding 1048568k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
ip_tables: (C) 2000-2002 Netfilter core team
ip_tables: (C) 2000-2002 Netfilter core team
eth0: Media Link On 100mbps full-duplex
SELinux: initialized (dev rpc_pipefs, type rpc_pipefs), uses genfs_contexts
i2c /dev entries driver
lp: driver loaded but no devices found
NET: Registered protocol family 10
Disabled Privacy Extensions on device 0236dc20(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
eth0: no IPv6 routers present
[drm] Initialized radeon 1.11.0 20020828 on minor 0:
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
application firefox-bin uses obsolete OSS audio interface
spurious 8259A interrupt: IRQ7.
USB Universal Host Controller Interface driver v2.2
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
[root@cdc1 ~]#

Can someone help?
Thanks!
Chris
 
Old 12-27-2004, 12:20 PM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
i have an HP photosmart camera that the gnome photo software that was bundled with RH9 was able to auto detect and access with zero problems as long as i was root.

sorry i dont remember the name of the software, but if you look around your desktop enviroment i am sure there is a good chance you will find it, if not google for the modle camera you have and your distro. there will be apps out there that have access to it.
 
Old 12-28-2004, 05:06 PM   #3
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
I use KDE Only...
Got better results with a different fedora 3 machine...

dmesg shows:
usb 1-2: new full speed USB device using address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: HP Model: PhotoSmart M305 Rev: No.1
Type: Direct-Access ANSI SCSI revision: 02
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
SCSI device sda: 248224 512-byte hdwr sectors (127 MB)
sda: Write Protect is off
sda: Mode Sense: 87 00 00 08
sda: assuming drive cache: write through
sda:

It gives me back my prompt right after that, no sda1, no nothing, so I dont know where to mount it...

also, lsmod gives:
[root@cdc2 ~]# lsmod
Module Size Used by
sd_mod 17047 2
usb_storage 61321 3
scsi_mod 118417 2 sd_mod,usb_storage
vfat 14785 0
fat 45409 1 vfat
parport_pc 24705 1
lp 11565 0
parport 41737 2 parport_pc,lp
autofs4 24005 0
i2c_dev 10433 0
i2c_core 22081 1 i2c_dev
sunrpc 160421 1
md5 4033 1
ipv6 232705 8
uhci_hcd 31449 0
snd_cmipci 35173 0
snd_pcm_oss 47608 0
snd_mixer_oss 17217 1 snd_pcm_oss
snd_pcm 97993 2 snd_cmipci,snd_pcm_oss
snd_page_alloc 9673 1 snd_pcm
snd_opl3_lib 11201 1 snd_cmipci
snd_timer 29765 2 snd_pcm,snd_opl3_lib
snd_hwdep 9413 1 snd_opl3_lib
gameport 4801 1 snd_cmipci
snd_mpu401_uart 8769 1 snd_cmipci
snd_rawmidi 26725 1 snd_mpu401_uart
snd_seq_device 8137 2 snd_opl3_lib,snd_rawmidi
snd 54053 10 snd_cmipci,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_ra
wmidi,snd_seq_device
soundcore 9889 1 snd
e100 39493 0
mii 4673 1 e100
floppy 58609 0
dm_snapshot 17029 0
dm_zero 2369 0
dm_mirror 23341 2
ext3 116809 2
jbd 74969 1 ext3
dm_mod 54741 6 dm_snapshot,dm_zero,dm_mirror
[root@cdc2 ~]#
 
Old 12-28-2004, 06:10 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Quote:
Originally posted by chrisknight

dmesg shows:
usb 1-2: new full speed USB device using address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: HP Model: PhotoSmart M305 Rev: No.1
Type: Direct-Access ANSI SCSI revision: 02
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
SCSI device sda: 248224 512-byte hdwr sectors (127 MB)
sda: Write Protect is off
sda: Mode Sense: 87 00 00 08
sda: assuming drive cache: write through
sda:

It gives me back my prompt right after that, no sda1, no nothing, so I dont know where to mount it...
Your camera is recognized as sda. As your hard disk, this new device probably has at least one partition on it. It is /dev/sda1 then. Mount point is choice of yours.
 
Old 12-28-2004, 09:04 PM   #5
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
I figured it was sda1... so thats what I tried:
I made a directory /mnt/camera
then tried to mount like this:

[root@cdc2 ~]# mount /dev/sda1 /mnt/camera
mount: special device /dev/sda1 does not exist
[root@cdc2 ~]#

[root@cdc2 ~]# mount -t vfat /dev/sda1 /mnt/camera
mount: special device /dev/sda1 does not exist
[root@cdc2 ~]#

[root@cdc2 ~]# mount /dev/sda2 /mnt/camera
mount: special device /dev/sda2 does not exist
[root@cdc2 ~]#

[root@cdc2 ~]# mount -t vfat /dev/sda2 /mnt/camera
mount: special device /dev/sda2 does not exist
[root@cdc2 ~]#

So what do you make of it?
Thanks!
 
Old 12-28-2004, 09:26 PM   #6
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
So, did you check if error message tells the truth, do you have /dev/sda1 ?
'makedev' can create it if needed.
 
Old 12-29-2004, 08:11 AM   #7
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
Well, there is no 'sda1' in the /dev directory if thats what you mean...

Fedora uses udev not makedev but I wouldnt know how to use it...

I guess I was under the impression that if the usb system found a camera device, it would automaticly emulate scsi and assign a dev name for it.
Why and how do I need to 'create it' if the system sees it as sda?

Sorry for my noobness...
Thanks!
 
Old 12-29-2004, 09:12 AM   #8
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Do not know about udev thing. ...here's what I found:

Every time the kernel notices an update in the device structure, it calls the /sbin/hotplug program. Hotplug runs the applications linked in the /etc/hotplug.d/default directory where you will also find a symlink to the udev application. Hotplug directs the information given by the kernel to the udev application which performs the necessary actions on the /dev structure (creating or deleting device files).

Do you have this hotplug program installed?
 
Old 12-29-2004, 09:30 AM   #9
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
Yes, Hotplug comes installed by default on fedora.

[root@cdc2 /]# ls /etc/hotplug.d/default
05-wait_for_sysfs.hotplug 10-udev.hotplug 20-hal.hotplug default.hotplug
[root@cdc2 /]#
 
Old 12-29-2004, 10:03 AM   #10
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Uncharted land for me, have no box with udev to play with. My wild guess is still for same reason /sbin/hotplug script is not invoked. You do not write if it is present in your system.
EOMW [end of my wisdom] :-(
 
Old 04-11-2005, 11:24 PM   #11
big_syner
LQ Newbie
 
Registered: Oct 2004
Distribution: Debian Sarge, Slackware X
Posts: 17

Rep: Reputation: 0
Found a semi-solution....

I have been trying to get my digital camera working under Linux all day. I am running Debian Sid, kernel 2.6.11 and have an HP Photosmart 733. I was just about to give up after trying everything I could find to mount this camera as a mass storage device, gphoto2, photopc, I tried about everything until I came across THIS thread. All that I had to do was run gphoto2 as root. Thats it... It works! Now all I have to do is get my LaserJet to print right, and I will format my box, no more dual-boot with windows! Yeah!!!
 
  


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
Digital Camera Photosmart M305 on Redhat 9.0 m0t3x Linux - Hardware 0 12-19-2004 12:51 PM
HP Photosmart 635 Digital camera on MDK 10? Guitarist88 Linux - Hardware 0 05-26-2004 06:25 PM
HP Photosmart 435 Digital Camera JaseP Linux - Hardware 7 02-02-2004 01:58 PM
HP photosmart 433 digital camera on RedHat9? mrevilskier Linux - General 2 11-29-2003 09:11 PM
Digital Camera - HP Photosmart 720 skora Linux - Software 3 08-30-2003 11:28 PM


All times are GMT -5. The time now is 12:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration