Mailinglist Archive: opensuse (3506 mails)
| < Previous | Next > |
Re: [SLE] How to address this USB port?
- From: Graham Smith <gqs@xxxxxxxxxxxxx>
- Date: Sun, 10 Sep 2006 05:51:08 +0000 (UTC)
- Message-id: <200609101550.22535.gqs@xxxxxxxxxxxxx>
On Sunday 10 September 2006 14:36, constant@xxxxxxxxxxx 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
> 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
| < Previous | Next > |