devfs
[Top] [All Lists]

Re: USB serial driver isn't supported ?

To: devfs@xxxxxxxxxxx
Subject: Re: USB serial driver isn't supported ?
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Thu, 23 May 2002 11:19:48 -0600
Cc: Miguel Angelo Rozsas <miguel@xxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
[Repost because the previous version with devfsd appended was bounced
by the list]

Miguel Angelo Rozsas writes:
> 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 don't know if you've already had an answer to this, but please try
the appended version of devfsd. It will create compatibility entries
for /dev/ttyUSB*. One thing confuses me: you seem to be creating/using
/dev/usb/ttyUSB* devices, not /dev/ttyUSB* devices.

I was under the impression that the official names for USB serial
devices was /dev/ttyUSB* and not /dev/usb/ttyUSB*.

Russell: is the patch you sent me for USB serial compat names bogus?

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

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