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

Re: [coldsync-hackers] FreeBSD + Visor help



On Wed, May 08, 2002 at 06:39:36PM -0600, Andres Rodriguez wrote:
> 
>  Hello,
> 
>  Recently I got my first PDA [A Handspring Visor Deluxe with USB cradle]
> and I'm trying to make sync in a FreeBSD 4.5-RELEASE with generic kernel
> using
> 
> coldsync version 2.2.5.
> ColdSync homepage at http://www.ooblick.com/software/coldsync/
> Compile-type options:
>     WITH_USB: USB support.
>     HAVE_STRCASECMP, HAVE_STRNCASECMP: strings are compared without regard
>         to case, whenever possible.
> 
>     Default global configuration file: /usr/local/etc/coldsync.conf
> 
>  I've read the messages  from the archive and the README and README.daemon
> from the package and put the following on my /etc/usbd.conf
> 
> device "Handspring Visor"
>         vendor 0x082d
>         product 0x0100
>         release 0x0100
>         attach "/usr/local/bin/coldsync -md -t usb -s ${DEVNAME}"
> 
> I make a test with
> 
> proton# usbd -d -vvv
> usbd: opened /dev/usb0
> usbd: reading configuration file /etc/usbd.conf
> usbd: action 1: ActiveWire board, firmware download
>   vndr=0x0854 prdct=0x0100 rlse=0x0000
>   attach='/usr/local/bin/ezdownload -f
> /usr/local/share/usb/firmware/0854.0100.0_01.hex ${DEVNAME}'
> usbd: action 2: Entrega Serial with UART
>   vndr=0x1645 prdct=0x8001 rlse=0x0101
>   attach='/usr/sbin/ezdownload -v -f
> /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}'
> usbd: action 3: Handspring Visor
>   vndr=0x082d prdct=0x0100 rlse=0x0100
>   attach='/usr/local/bin/coldsync -md -t usb -s ${DEVNAME}'
> usbd: action 4: USB ethernet
>   devname: [ack]ue[0-9]+
>   attach='dhclient ${DEVNAME}'
>   detach='killall dhclient'
> usbd: action 5: Mouse
>   devname: ums[0-9]+
>   attach='/usr/sbin/moused -p /dev/${DEVNAME} -I
> /var/run/moused.${DEVNAME}.pid'
> usbd: action 6: USB device
> usbd: 6 actions
> usbd: opened /dev/usb
> usbd: doing timeout discovery on /dev/usb0
> usbd: processing event queue due to timeout on /dev/usb
> usbd: doing timeout discovery on /dev/usb0
> usbd: processing event queue due to timeout on /dev/usb
> 
> 
> And those last 2 lines are repeated again and again. I only get a hotsync
> problem message on the PDA. Any help on what should I check ? What else
> can I do ?  I've never used any USB device on FreeBSD but it seems that
> there is support for them on the kernel.
> 
> [From dmesg]
> 
> ohci0: <SiS 5571 USB controller> mem 0xf3ffe000-0xf3ffefff irq 10 at
> device 1.2 on pci0
> usb0: OHCI version 1.0, legacy support
> usb0: <SiS 5571 USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 3 ports with 3 removable, self powered
> ohci1: <SiS 5571 USB controller> mem 0xf3fff000-0xf3ffffff irq 10 at
> device 1.3 on pci0
> usb1: OHCI version 1.0, legacy support
> usb1: <SiS 5571 USB controller> on ohci1
> usb1: USB revision 1.0
> uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> 
> If I run coldsync directly this is all I get:
> 
> proton# /usr/local/bin/coldsync -mI
> Please press the HotSync button.
> pconn_usb_open: Can't open USB device.
> open: Bad file descriptor
> Error: Can't open connection.
> 
> 
> 
> proton# /usr/local/bin/coldsync -t usb -p /dev/ugen0 -mI
> Please press the HotSync button.
> pconn_usb_open: Can't open USB device.
> open: Bad file descriptor
> Error: Can't open connection.

Have you checked to see whether /dev/ugen0 exists in /dev?  If not

    # cd /dev && sh MAKEDEV ugen0

should fix it.

Joe

PGP signature