Dnia poniedziałek, 14 marca 2011 o 10:40:55 Erich Dollansky napisał(a):
> Hi,
> 
> On Monday 14 March 2011 14:28:55 Maciej Milewski wrote:
> > Monday 14 of March 2011 01:38:21 Ryan Coleman napisał(a):
> > It is recognized as cd device (it's called a feature in windows world -
> > it has a drivers for the modem to autoinstall it). Ejecting this cd
> > should detach umass and attach modem/serial device:
> > camcontrol eject cd0
> > 
> > I think that adding
> > product NOVATEL ZEROCD2                0x5020  Novatel ZeroCD
> > into sys/dev/usb/usbdevs and recompiling kernel may work.
> 
> you must also add an corresponding entry into u3g.c or you will not be able
> to compile it.
> 
> Erich
I'm not sure of that in this case because I saw that ZEROCD2 actually isn't 
mentioned nowhere in the usb tree but exists unattached:
%grep ZEROCD2 /usr/src/sys/dev/usb/*
/usr/src/sys/dev/usb/usbdevs:product NOVATEL ZEROCD2            0x5030  
Novatel ZeroCD
and grepping by ZEROCD gives:
%grep ZEROCD /usr/src/sys/dev/usb/*
/usr/src/sys/dev/usb/usbdevs:product NOVATEL ZEROCD             0x5010  
Novatel ZeroCD
/usr/src/sys/dev/usb/usbdevs:product NOVATEL ZEROCD2            0x5030  
Novatel ZeroCD
/usr/src/sys/dev/usb/usbdevs:product STELERA ZEROCD             0x1000  Zerocd 
Installer

So maybe there is a bug that it's not attached in the u3g.c as it should?
/usr/src/sys/dev/usb/serial/u3g.c:      U3G_DEV(NOVATEL, ZEROCD2, 
U3GINIT_SCSIEJECT),

Maciej Milewski
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to