Re: udev - palm - usb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El jue, 09-12-2004 a las 11:50 -0700, Craig White escribió:
> staying with my issue with udev and USB - I don't understand udev -
> regardless of how much research that I do.
Sorry, I lost the messages thread. Hope this helps you:
1) check your udev version is the last one. If not, type at root prompt

# yum update udev

2) check your kernel is the last updates-testing version. Last one does
not sync, and you'll dlpsh will work.

3) Your config seems ok. maybe you should try just
KERNEL="ttyUSB1",SYMLINK="pilot"
on your udev-rules file.

> On my FC-3 computer
> # ls /dev/ttyUSB*
> ls: /dev/ttyUSB*: No such file or directory

On mine:

[root@rodolfoap ~]# l /dev/ttyU*
ls: /dev/ttyU*: No existe el fichero o el directorio

press sync button, start syncing...

[root@rodolfoap ~]# l /dev/ttyU*
crw-rw----  1 root      uucp 188, 0 dic  9 15:58 /dev/ttyUSB0
crw-------  1 rodolfoap uucp 188, 1 dic  9 15:59 /dev/ttyUSB1

after finishing sync...

[root@rodolfoap ~]# l /dev/ttyU*
ls: /dev/ttyU*: No existe el fichero o el directorio
[root@rodolfoap ~]#

Im sure you guessed "No existe el fichero o el directorio" means that
file does not exist.

> # ls /dev/pilot
> /dev/pilot

On mine:

[root@rodolfoap ~]# ls /dev/pilot
ls: /dev/pilot: No existe el fichero o el directorio

Try removing your manual link, the file will create automatically with
udev... remember SYMLINK? that's for creating the file. I Think this is
your mistake!

Look my log as comparised to yours:

usb 2-2: new full speed USB device using address 13
visor 2-2:1.0: Handspring Visor / Palm OS converter detected
usb 2-2: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 2-2: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 2-2: control timeout on ep0in
usb 2-2: control timeout on ep0in
usb 2-2: USB disconnect, address 13
visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected
from ttyUSB0
visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected
from ttyUSB1
visor 2-2:1.0: device disconnected
[root@rodolfoap ~]#


> Dec  9 11:43:26 lin-workstation kernel: usb 3-3: new full speed USB
> device using address 12
> Dec  9 11:43:26 lin-workstation kernel: visor 3-3:1.0: Handspring
> Visor / Palm OS converter detected
> Dec  9 11:43:26 lin-workstation kernel: usb 3-3: Handspring Visor / Palm
> OS converter now attached to ttyUSB0
> Dec  9 11:43:26 lin-workstation kernel: usb 3-3: Handspring Visor / Palm
> OS converter now attached to ttyUSB1
> Dec  9 11:44:25 lin-workstation kernel: usb 3-3: USB disconnect, address
> 12
> Dec  9 11:44:25 lin-workstation kernel: visor ttyUSB0: Handspring
> Visor / Palm OS converter now disconnected from ttyUSB0
> Dec  9 11:44:25 lin-workstation kernel: visor ttyUSB1: Handspring
> Visor / Palm OS converter now disconnected from ttyUSB1
> Dec  9 11:44:25 lin-workstation kernel: visor 3-3:1.0: device
> disconnected
> 

***and***

> # cat /etc/udev/rules.d/10-udev.rules
> BUS="usb", SYSFS{serial}="0000:00:02.1", NAME="pilot"

maybe you could delete the BUS and SERIAL stuff...

> KERNEL="ttyUSB1",SYMLINK="pilot"

> 1 - do I have to mknod /dev/ttyUSB0 and /dev/ttyUSB1 ?

Nope.

> 2 - why does dlpsh and pilot-xfer -p /dev/pilot -L work but gpilotd
> pointed to /dev/pilot never connect?

Don't know. Anybody can help us with this point?

> 3 - is this a bugzilla issue or user that doesn't get it?

Just as I told you.

good luck.

-- 
Rodolfo Alcazar (rodolfo.alcazar@xxxxxxxxxxxx)
Administrador datos y red - Padep/GTZ
La Paz, Bolivia


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux