[opensuse] Re: [SLE] SUSE9.3 - SUSE Plugger problem with USB Serial port cable



Hi,

Here is some more info on this that might help someone. Note that I was
previously using SUSE 9.3 and am now using SUSE 10.1.

The Serial Port number was increased because I had a link to /dev/ttyUSB0
/dev # ls -als | grep USB
0 lrwxrwxrwx 1 root root 12 2006-11-28 10:44 pilot -> /dev/ttyUSB0
0 crw-rw---- 1 root uucp 188, 0 2006-11-27 16:12 ttyUSB0

When the USB Serial port cable is unplugged and re-inserted then it (usbfs)
would create a new device /dev/ttyUSB1, however, if the USB Serial cable is
removed then this new device disappears. Therefore, I guessed
that /dev/ttyUSB0 is not being removed because it is in use, or appears to be
because of the link. Removal of the link to /dev/ttyUSB0 fixed the problem.

Note that to get Kpilot to work, it must be pointed directly to /dev/ttyUSB0.

Now with kpilotdeamon running in the background the /dev/ttyUSB0 does not
disappear. After, killing the kpilotdeamon the /dev/ttyUSB0 disappeared and
then on reinserting the USB Serial Port device was mapped to /dev/ttyUSB0
again.

So, the key here is that when a USB device is removed then the associated
application or deamon must be stopped or atleast stop using the device, so
that the usbfs can remove the device. In order for this to happen the
application or deamon must be given a message from the usbfs that the device
has been removed and therefore to release the device.

Would it be possible to improve the system to make this more user friendly?

Thanks,


On Friday 03 March 2006 00:54, Bruce Samhaber wrote:
Hi,

I am using a USB to Serial port cable. Initially when I start the computer
and linux then insert the USB Serial port cable the device is set
as /dev/ttyUSB0. If the USB Serial Port cable is removed then reinserted
it becomes /dev/ttyUSB1. Each time the USB Port cable is removed then
reinserted the device name is increased by one.

It appears to me that upon removeal of the device that SUSE Plugger is no
removeing the device from the device list.

Has anyone seen this problem?
Does anyone have any suggestions to fix this?

Thanks,



--
Bruce Samhaber
Senior Hardware Design Consultant
Tel: 613-724-5987 112 Kenora St.
Fax: 613-724-5987 Ottawa, Ontario
Cel: 613-297-6961 K1Y 3L1
mailto: bsamhaber@xxxxxxxxxxxx http://www3.sympatico.ca/marypat/

--
Bruce Samhaber
Senior Hardware Design Consultant
Tel: 613-724-5987 112 Kenora St.
Fax: 613-724-5987 Ottawa, Ontario
Cel: 613-297-6961 K1Y 3L1
mailto: bsamhaber@xxxxxxxxxxxx http://www3.sympatico.ca/marypat/
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • [opensuse] Re: [SLE] SUSE9.3 - SUSE Plugger problem with USB Serial port cable
    ... previously using SUSE 9.3 and am now using SUSE 10.1. ... When the USB Serial port cable is unplugged and re-inserted then it ... On Friday 03 March 2006 00:54, Bruce Samhaber wrote: ... removeing the device from the device list. ...
    (SuSE)
  • Re: networking through the serial port
    ... Can anyone point me to a good tutorial on how to connect a SuSE ... > Linux box through the serial port so I can browse the SuSE box through ... Why do elephants have big flat feet? ... To stamp out flaming ducks. ...
    (alt.os.linux.suse)
  • Re: networking through the serial port
    ... Connecting them isnt a big deal though. ... Setup the serial port on the Linux box to go straight to PPP auth. ... of you like and use a login script called from the terminal prompt. ... Can anyone point me to a good tutorial on how to connect a SuSE ...
    (alt.os.linux.suse)
  • Re: Fast clock and slow modem on laptop
    ... >>Back when I had SuSE 9.1 on it I didn't notice the clock running fast. ... > 9.6k is the default serial port speed. ... The fast clock turned out to be more of a problem. ...
    (comp.os.linux.hardware)
  • Re: Can no-one help?
    ... Even with all the progress Linux has made with USB ports and all, I still get better results connecting to the serial port. ... I haven't personally tried to sync it with Suse as I don't use the Zaurus to move data from place ... John you mention that you dual boot to Windows XP. ...
    (alt.os.linux.suse)