How to address this USB port?
My serial port USB cable is still not in use because I have not found a way to address anything connected with this cable. Right now I have the serial connector from my camera connected to this USB cable. I am running both 10.1 and 9.3 fully up to date. The camera should be recognized if used on a normal serial port but via the USB port it does not work. The cable is recognized as /dev/sde1 and can be found in the fstab. Mounting results in following: # mount /media/imation mount: /dev/sde1 is not a valid block device In my fstab it says for this device: /dev/sde1 /media/imation vfat rw,noauto,users lsusb tells me following: # lsusb Bus 001 Device 006: ID 15ca:00c3 Bus 001 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 001 Device 004: ID 08dd:8001 Billionton Systems, Inc. Bus 001 Device 003: ID 03f0:0405 Hewlett-Packard ScanJet 3400cse Bus 001 Device 002: ID 03eb:3301 Atmel Corp. 4-port Hub Bus 001 Device 001: ID 0000:0000
On Sunday 10 September 2006 14:36, constant@indo.net.id wrote:
My serial port USB cable is still not in use because I have not found a way to address anything connected with this cable. Right now I have the serial connector from my camera connected to this USB cable. I am running both 10.1 and 9.3 fully up to date. The camera should be recognized if used on a normal serial port but via the USB port it does not work. The cable is recognized as /dev/sde1 and can be found in the fstab. Mounting results in following:
# mount /media/imation mount: /dev/sde1 is not a valid block device
In my fstab it says for this device: /dev/sde1 /media/imation vfat rw,noauto,users
Firstly serial devices are not block devices and therefore cannot be mounted using the mount command. You will have to use a serial communications program like minicom to send and receive data. Are you really sure the camera does not support USB - I'd be surprised if it doesn't. If it only supports serial communications I think you are going to have real problems getting it to work. Please watch /var/log/messages and then plug in the usb cable. It will give you a bit more information on what is being detected I have never used a USB to serial cable but the device you are looking for is something like /dev/ttyUSB0 If you have the kernel sources installed there is documentation on USB serial devices located at /usr/src/linux/Documentation/usb/usb-serial.txt. I suggest you have a read of that document. Also you will have to work out what the protocol is being used by the camera. -- Regards, Graham Smith
On Sunday 10 September 2006 12:50, Graham Smith wrote:
On Sunday 10 September 2006 14:36, constant@indo.net.id wrote:
My serial port USB cable is still not in use because I have not found a way to address anything connected with this cable. Right now I have the serial connector from my camera connected to this USB cable. I am running both 10.1 and 9.3 fully up to date. The camera should be recognized if used on a normal serial port but via the USB port it does not work. The cable is recognized as /dev/sde1 and can be found in the fstab. Mounting results in following:
# mount /media/imation mount: /dev/sde1 is not a valid block device
In my fstab it says for this device: /dev/sde1 /media/imation vfat rw,noauto,users
Firstly serial devices are not block devices and therefore cannot be mounted using the mount command. You will have to use a serial communications program like minicom to send and receive data.
Are you really sure the camera does not support USB - I'd be surprised if it doesn't. If it only supports serial communications I think you are going to have real problems getting it to work.
Please watch /var/log/messages and then plug in the usb cable. It will give you a bit more information on what is being detected
I have never used a USB to serial cable but the device you are looking for is something like /dev/ttyUSB0
If you have the kernel sources installed there is documentation on USB serial devices located at /usr/src/linux/Documentation/usb/usb-serial.txt. I suggest you have a read of that document.
Also you will have to work out what the protocol is being used by the camera.
Dear Graham, Seeing the sde1 in the fstab and in konquerer I thought that I could just mount it. If I click on it in Konquerer I get "Feature only available with HAL" Does not ring a bell. This kind of info is as I would expect it from another well known OS ;). My camera is indeed serial and in digikam and other camera programs the USB is greyed out. Fuji M2900. I have changed the port in the config file into /dev/ttyUSB0 as this is the port detected after plugging in the USB plug. In the var/log messages I get following info: Sep 10 18:11:38 bigone kernel: pl2303 1-1.2:1.0: pl2303 converter detected Sep 10 18:11:38 bigone kernel: usb 1-1.2: pl2303 converter now attached to ttyUSB0 Sep 10 18:11:42 bigone kernel: Device not ready. Make sure there is a disc in the drive. snip, six times repeated Sep 10 18:12:15 bigone /etc/hotplug.d/ttyUSB0/50-visor.hotplug[17988]: add tty device /class/tty/ttyUSB0 Sep 10 18:12:39 bigone kernel: Device not ready. Make sure there is a disc in the drive. I have tried to use digikam as the photo2 program but I do not seem to get the camara to contact. No kernel sources installed and it seems I can not get the text any other way, Googled but not succesful.
On Sunday 10 September 2006 21:31, C. Brouerius van Nidek wrote:
Seeing the sde1 in the fstab and in konquerer I thought that I could just mount it. If I click on it in Konquerer I get "Feature only available with HAL"
As I stated earlier you can only mount block devices. Serial is not a block device.
Does not ring a bell. This kind of info is as I would expect it from another well known OS ;). My camera is indeed serial and in digikam and other camera programs the USB is greyed out. Fuji M2900.
I did a quick search but could not find any reference to your camera on the web under Fuji or FujiFilm. Do you have a reference site for the manual?
I have changed the port in the config file into /dev/ttyUSB0 as this is the port detected after plugging in the USB plug. In the var/log messages I get following info: Sep 10 18:11:38 bigone kernel: pl2303 1-1.2:1.0: pl2303 converter detected Sep 10 18:11:38 bigone kernel: usb 1-1.2: pl2303 converter now attached to ttyUSB0 Sep 10 18:11:42 bigone kernel: Device not ready. Make sure there is a disc in the drive.
Sep 10 18:12:15 bigone /etc/hotplug.d/ttyUSB0/50-visor.hotplug[17988]: add tty device /class/tty/ttyUSB0 Sep 10 18:12:39 bigone kernel: Device not ready. Make sure there is a disc in the drive.
I have tried to use digikam as the photo2 program but I do not seem to get the camara to contact.
Does your computer have a serial port on it? If so use it instead of the USB to serial cable as these cables can be a problem as they can have major timing problems with serial data. Also the DigiKam software appears to be set up for serial ports only and not USB to serial conversions. For details on how and what connects to DigiKam please refer to the documentation on gphoto2. This what DigiKam uses to connect to the cameras http://www.gphoto.org/doc/manual/ especially http://www.gphoto.org/doc/manual/permissions-serial.html If you are stuck with using the USB to serial cable you may have to modify the source of gphoto2 for it to recognise /dev/ttyUSB0 You could try using the command line interface for gphoto2 and try specifying /dev/ttyUSB0 as the serial port. See http://www.gphoto.org/doc/manual/ref-gphoto2-cli.html Wish you luck as I can't offer you much more help as I've never played with DigiKam or cameras -- Regards, Graham Smith
On Sunday 10 September 2006 23:33, Graham Smith wrote:
On Sunday 10 September 2006 21:31, C. Brouerius van Nidek wrote:
Seeing the sde1 in the fstab and in konquerer I thought that I could just mount it. If I click on it in Konquerer I get "Feature only available with HAL"
snip
Wish you luck as I can't offer you much more help as I've never played with DigiKam or cameras
Thanks a lot for all the info. Have my work cut out for me.
participants (3)
-
C. Brouerius van Nidek
-
constant@indo.net.id
-
Graham Smith