Hello,

I recently bought a 'dumbphone' that I want to use for internet USB tethering 
with the urndis0 driver. The phone is a CAT B40 running the Azure RTOS ThreadX 
OS. Its technical specifications are there: 
https://www.catphones.com/en-gb/cat-b40/cat-b40-tech-specs/. My laptop is a 
Lenovo Ideapad G780 bought in 2012 running OpenBSD 7.2 -stable. Please find 
attached my dmesg.boot. USB tethering works well with Android phones.

I'm writing to you because urndis0 doesn't seem to be able to configure the 
internet interface although it is a RNDIS device and seems to be recognized. I 
would like to know whether I have to give up using this phone or an easy fix 
can be written (such as adding an identifier line in the driver file?).

Below is the relevant dmesg output when connecting the phone to the laptop with 
an USB-C to USB-A cable, selecting USB tethering on the phone and then 
disconnecting it from the laptop:

uhub0: device problem, disabling port 3
urndis0 at uhub0 port 3 configuration 1 interface 0 "Unisoc Unisoc Phone" rev 
2.00/0.01 addr 2
urndis0: using Vendor: interface alternate setting 0 failed
ugen0 at uhub0 port 3 configuration 1 "Unisoc Unisoc Phone" rev 2.00/0.01 addr 2
urndis0 detached
ugen0 detached

I suppose the issue lies behind the error 'interface alternate setting 0 
failed'.

Trying to connect to the internet gives the following errors:

[/home/julien] # ifconfig urndis0 up
ifconfig: SIOCGIFFLAGS: Device not configured
[/home/julien] # dhclient urndis0
ifconfig: SIOCGIFXFLAGS: Device not configured
ifconfig: SIOCSIFXFLAGS: Device not configured

Thank you for your help.

Regards,

Julien Cheynis

Attachment: dmesg.boot
Description: Binary data

Reply via email to