devfs
[Top] [All Lists]

USB serial driver isn't supported ?

To: devfs@xxxxxxxxxxx
Subject: USB serial driver isn't supported ?
From: Miguel Angelo Rozsas <miguel@xxxxxxxxxxxxxxxx>
Date: 14 May 2002 15:31:18 -0300
Sender: owner-devfs@xxxxxxxxxxx
Hi There !

I was using devfs since last week and looks good !
All my disks, partitions, display, mouse, keyboard, etc, all are working
good.

My question is about the serial driver for USB ports.

Before devfs I was using /dev/usb/ttyUSB1 to syncronize my palm. 
The kernel was the right configuration to usb serial device.
>From dmesg:
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Handspring Visor
usbserial.c: USB Serial support registered for Palm M500
usbserial.c: USB Serial support registered for Palm M505
usbserial.c: USB Serial support registered for Sony Clie 3.5
usbserial.c: USB Serial support registered for Sony Clie 4.0
visor.c: USB HandSpring Visor, Palm m50x, Sony Clie driver v1.4

But the usb device isn't in the new /dev/usb. In fact, /dev/usb is
empty.

Reading TFM and SFW :-) I learned I have to create unsupported devices
manually using mknod. So:

cd /dev/usb
mknod ttyUSB0 c 188 0
mknod ttyUSB1 c 188 1
chown miguel ttyUSB* (miguel is the local user who wants to sync the
palm)

But coldsync doesn't work anymore. I missed something ?

[miguel@hahasiah ~]% coldsync -mb .palm/backup   
Warning: no device on /dev/usb/ttyUSB1. Sleeping
Warning: no device on /dev/usb/ttyUSB1. Sleeping
Warning: no device on /dev/usb/ttyUSB1. Sleeping
Warning: no device on /dev/usb/ttyUSB1. Sleeping
Warning: no device on /dev/usb/ttyUSB1. Sleeping

I am using kernel 2.4.18 on a RH 7.2, coldsync 2.2.5.
This setup already worked on a old-style /dev.
The only thing was changed is devfs.

Any hints ?
Any suggestions will be appreciated.

best regards from Brazil,


<Prev in Thread] Current Thread [Next in Thread>