Subject: Re: Sony Clie NR70V
To: None <netbsd-help@NetBSD.ORG>
From: Herbert J. Skuhra <herbert@bugat.at>
List: netbsd-help
Date: 06/14/2002 18:31:25
--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hei!

I have added some lines to the usb code in hope to get my nr70 working
under NetBSD 1.6B1. But I fear it needs more hacking. Anyone can help?

When I press the HotSync Button the following lines appear:

uvisor0 at uhub0 port 2
uvisor0: Sony Corp. Palm Handheld, rev 1.10/1.00, addr 2
uvisor0: init failed, STALLED
uvisor0: at uhub0 port 2 (addr 2) disconnected
uvisor0 detached
uvisor0 at uhub0 port 2
uvisor0: Sony Corp. Palm Handheld, rev 1.10/1.00, addr 2
uvisor0: init failed, STALLED
uvisor0: at uhub0 port 2 (addr 2) disconnected
uvisor0 detached

When I start MS Import on the Clie I see this lines:

umass0 at uhub0 port 2 configuration 1 interface 0
umass0: Sony Sony PEG Mass Storage, rev 1.10/1.00, addr 2
umass0: using RBC over CBI
scsibus0 at umass0: 2 targets, 1 luns per target
scsibus0: waiting 2 seconds for devices to settle...
probe(umass0:0:1:0): generic HBA error
probe(umass0:0:1:0): generic HBA error
umass0: at uhub0 port 2 (addr 2) disconnected
scsibus0 detached
umass0 detached

Anyone understands what's going on here? And what's failing?

I have attached my diff file.

Thx a lot,
Herbert

--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="usb.diff"

diff -ruN usb.orig/usbdevs usb/usbdevs
--- usb.orig/usbdevs	Fri Jun 14 20:14:18 2002
+++ usb/usbdevs	Fri Jun 14 19:41:11 2002
@@ -1164,7 +1164,8 @@
 product SONY PS2MOUSE		0x0061	PlayStatoin2 mouse
 product SONY CLIE_40		0x0066	Sony Clie v4.0
 product SONY CLIE_40_MS		0x006d	Sony Clie v4.0 Memory Stick slot
-
+product SONY CLIE_41		0x009a	Sony Clie v4.1
+product SONY CLIE_41_MS		0x0099	Sony Clie v4.1 Memory Stick slot
 /* STMicroelectronics products */
 product STMICRO COMMUNICATOR	0x7554	USB Communicator
 
diff -ruN usb.orig/usbdevs.h usb/usbdevs.h
--- usb.orig/usbdevs.h	Fri Jun 14 20:14:18 2002
+++ usb/usbdevs.h	Fri Jun 14 19:42:20 2002
@@ -1171,7 +1171,8 @@
 #define	USB_PRODUCT_SONY_PS2MOUSE	0x0061		/* PlayStatoin2 mouse */
 #define	USB_PRODUCT_SONY_CLIE_40	0x0066		/* Sony Clie v4.0 */
 #define	USB_PRODUCT_SONY_CLIE_40_MS	0x006d		/* Sony Clie v4.0 Memory Stick slot */
-
+#define USB_PRODUCT_SONY_CLIE_41	0x009a		/* Sony Clie v4.1 */
+#define USB_PRODUCT_SONY_CLIE_41_MS	0x0099		/* Sony Clie v4.1 Memory Stick slot */
 /* STMicroelectronics products */
 #define	USB_PRODUCT_STMICRO_COMMUNICATOR	0x7554		/* USB Communicator */
 
diff -ruN usb.orig/uvisor.c usb/uvisor.c
--- usb.orig/uvisor.c	Fri Jun 14 20:14:18 2002
+++ usb/uvisor.c	Fri Jun 14 19:46:34 2002
@@ -164,6 +164,7 @@
 	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M505 }, PALM4 },
 	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M125 }, PALM4 },
 	{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_40 }, PALM4 },
+	{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_41 }, PALM4 },
 /*	{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_25 }, PALM4 },*/
 };
 #define uvisor_lookup(v, p) ((struct uvisor_type *)usb_lookup(uvisor_devs, v, p))

--YiEDa0DAkWCtVeE4--