[hcflinux] hcfusb gentoo ppc compile and usb-id

Linuxant support (Jonathan) support at linuxant.com
Wed Jun 9 16:46:55 EDT 2004


Hi,

thank you for the information your have provided in your post. We are 
currently aware of problems with the HCF USB driver on the 2.6.6 kernel and 
we are currently working on it. We will contact you back when a fix will be 
available.

Meanwhile, you could downgrade your Linux kernel to be able to use the driver.

Regards,


Jonathan
Technical specialist / Linuxant
www.linuxant.com
support at linuxant.com


On Tuesday 08 June 2004 19:20, Niklas Werner wrote:
> Hi,
>
> The latest drivers (and none of the 1.*-series for that matter) fail to
> compile on my PB Aluminium, 1.25GHz running gentoo and the latest 2.6
> benh-kernel:
>
> /usr/lib/hcfusbmodem/modules/osusb.c: In function
> `cnxtusbhcf_OsUsbMakeControlRequest':
> /usr/lib/hcfusbmodem/modules/osusb.c:1244: error: assignment of read-only
> location
> /usr/lib/hcfusbmodem/modules/osusb.c: In function
> `cnxtusbhcf_OsUsbMakeControlRequestSync':
> /usr/lib/hcfusbmodem/modules/osusb.c:1311: error: assignment of read-only
> location
> make[2]: *** [/usr/lib/hcfusbmodem/modules/osusb.o] Error 1
>
> I'm running: gcc-Version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6,
> ssp-3.3.2-2, pie-8.7.6)
>
> This is a well-known bug/feature of gcc-3.3.3 and later. Please update
> your typedefs to not read const when you assign values at a later time.
>
> changing
> "#define IN const" to "#define IN"
> in /usr/lib/hcfusbmodem/modules/imported/include/typedefs.h line 169
> helps getting it compiled.
>
>
> Then, if the driver compiled it fails to detect the modem:
>
> hcfusbengine: module license 'see LICENSE file distributed with driver'
> taints kernel.
> usbcore: registered new driver hcfusbhw
> usb 2-2: new full speed USB device using address 3
> cnxtusbhcf_cnxt_serial_add: ComCtrlOpen failed (1)
> /usr/lib/hcfusbmodem/modules/osusb.c: FreeUrbList: unlinking ule d36a9a90
> (urb d7b9f3d8); was in state SUBMITTED
>
> GetDiagInstance: entry (0) already active!<3>cnxtusbhcf_cnxt_serial_add:
> ComCtrlOpen failed (1)
> /usr/lib/hcfusbmodem/modules/osusb.c: FreeUrbList: unlinking ule d36a9a90
> (urb db83fef8); was in state SUBMITTED
>
> lsusb -v output attached.
>
> it says: "Bus 002 Device 003: ID ac05:0282",
> but /usr/lib/modules/imported/include/usbhalos.h says:
> #define USB_AAPL_VENDOR_ID          0x05AC
> #define USB_AAPL_PRODUCT_ID         0x8202
>
> Endianess issue? My stupidity?
>
> Now, I really would like to use my modem under Linux, I would even buy
> your software, but it didn't even work for me once!
>
> Cheers,
>
> Niklas



More information about the hcflinux mailing list