On Sat, 18 May 2002, Randy.Dunlap wrote:

> What kind of PDA do you have?

Sharp SL-5500 aka "Zaurus".  It's new, so there may not be a specific
driver for it yet.  But other people have had success under Linux with
this device (there's even a step-by-step guide to get Ethernet over USB),
so I know it's possible.

> There are several howto's for USB PDAs.  Have you tried any of them?

Well, all that I've found assume the reader has syncing working.

> | I changed "USB Support" -> "Support for USB" to being compiled in, not a
> | module.  It worked!  Now I have to convince the initscripts to mount
> | /proc/bus/usb at startup.  Should be a simple matter of listing it in
> | /etc/fstab, but I'll see...

Well shoot, it used to work.  Now /proc/bus/usb is there, so usbdevfs can 
be mounted, and /proc/bus/usb/{devices,drivers} exist, but 
attaching/detaching a USB device doesn't get noted in /var/log/messages.
I had the Ethernet-over-USB patch working, too; I loaded a web page from 
my desktop on the PDA's browser.

<fiddles with kernel configuration>

Shoot again.  I reconfigured USB support as a module, and it acts the same 
as just above -- /proc/bus/usb appears on cue, but nothing happens on 
connect/disconnect.

> at least you have the /proc filesystem enabled.

It contains some very useful stuff.

> | But none of the devices listed in devices.txt seem relevant (I'm trying to
> | access a PDA).  Do I need to create some device file?
> 
> USB serial devices use /dev/usb/ttyUSBn (where n is a number).

I did an strace on qtopiadesktop (the desktop <-> PDA sync program), and 
while I didn't see references to any /dev/*/ttyUSB*, or system(), I did 
see these:

getpeername(6, 0xbffff650, [16])        = -1 ENOTCONN (Transport endpoint is not 
connected)
getpeername(7, 0xbffff444, [16])        = -1 ENOTCONN (Transport endpoint is not 
connected)
getpeername(8, 0xbffff444, [16])        = -1 ENOTCONN (Transport endpoint is not 
connected)
getpeername(7, 0xbffff3a4, [16])        = -1 ENOTCONN (Transport endpoint is not 
connected)
getpeername(8, 0xbffff3a4, [16])        = -1 ENOTCONN (Transport endpoint is not 
connected)
getpeername(7, 0xbffff1d4, [16])        = -1 ENOTCONN (Transport endpoint is not 
connected)
getpeername(8, 0xbffff1d4, [16])        = -1 ENOTCONN (Transport endpoint is not 
connected)
getpeername(9, 0xbffff2d4, [16])        = -1 ENOTCONN (Transport endpoint is not 
connected)
getpeername(6, 0xbffff088, [16])        = -1 ENOTCONN (Transport endpoint is not 
connected)

(They weren't all together in time, but the 'grep' makes them appear that
way.)  That looks as if it's tring to do some sort of PPP.  But, as Troll
didn't supply source, only binaries, I'll never know.

I also ran 'strings' on the binary, and there's an error message about 
being unable to run pppd.  But nothing (no missing modules, whatever) 
shows up in the log when I run qtopiadesktop.

Maybe pppd only applies when trying to connect over a serial interface.

> Have you read any of the Linux USB Guide at
>   http://www.linux-usb.org/USB-guide/book1.html ?

I've read what I think are the relevant sections -- the first two parts 
of section I.2.

> Serial devices are at
>   http://www.linux-usb.org/USB-guide/x356.html,

I've been to that page, and the /dev/ttyUSB{0,1,...,15,16} were already
there (and correct).  If the app were accessing those files without a 
corresponding module existing, I would have seen some message (either on 
stdout or in /var/log/messages) about char-major-188.

> If you want me to look at it more, please send me your
> linux/.config file and I'll try it out.

Sent, off-list.  Thanks for looking it over.

-- 
-eben         [EMAIL PROTECTED]        home.tampabay.rr.com/hactar

An idea that is not dangerous is unworthy of being called an idea at all.
  -Oscar Wilde












_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to