linuxgemini has quit [Read error: Connection reset by peer]
linuxgemini has quit [Read error: Connection reset by peer]
JusticeEX has joined #asahi-dev
JusticeEX has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
omoiti has joined #asahi-dev
omoiti has joined #asahi-dev
odmir has quit [Remote host closed the connection]
odmir has quit [Remote host closed the connection]
really3 has quit [Remote host closed the connection]
really3 has quit [Remote host closed the connection]
phiologe has quit [Ping timeout: 240 seconds]
phiologe has quit [Ping timeout: 240 seconds]
phiologe has joined #asahi-dev
phiologe has joined #asahi-dev
omoiti has quit [Ping timeout: 265 seconds]
omoiti has quit [Ping timeout: 265 seconds]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 260 seconds]
jeffmiw has quit [Ping timeout: 260 seconds]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 276 seconds]
jeffmiw has quit [Ping timeout: 276 seconds]
akemin_dayo has quit [Ping timeout: 245 seconds]
akemin_dayo has quit [Ping timeout: 245 seconds]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #asahi-dev
_whitelogger_ has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 246 seconds]
jeffmiw has quit [Ping timeout: 246 seconds]
_whitelogger_ has quit [Remote host closed the connection]
akemin_dayo has joined #asahi-dev
_whitelogger_ has joined #asahi-dev
_whitelogger_ has joined #asahi-dev
M3zh[m] has joined #asahi-dev
M3zh[m] has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 265 seconds]
jeffmiw has quit [Ping timeout: 265 seconds]
VinDuv has joined #asahi-dev
VinDuv has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #asahi-dev
_whitelogger_ has joined #asahi-dev
mjg59_ is now known as mjg59
mjg59_ is now known as mjg59
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
raw-bin has joined #asahi-dev
raw-bin has joined #asahi-dev
Alice[m] has quit [Quit: Idle for 30+ days]
Alice[m] has quit [Quit: Idle for 30+ days]
crabbedhaloablut has quit [Ping timeout: 240 seconds]
crabbedhaloablut has quit [Ping timeout: 240 seconds]
crabbedhaloablut has joined #asahi-dev
crabbedhaloablut has joined #asahi-dev
raw-bin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raw-bin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
VinDuv has quit [Quit: Leaving.]
VinDuv has quit [Quit: Leaving.]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
akemin_dayo has quit [Ping timeout: 256 seconds]
akemin_dayo has quit [Ping timeout: 256 seconds]
akemin_dayo has joined #asahi-dev
akemin_dayo has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 245 seconds]
jeffmiw has quit [Ping timeout: 245 seconds]
VinDuv has joined #asahi-dev
VinDuv has joined #asahi-dev
vimal has joined #asahi-dev
vimal has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 260 seconds]
jeffmiw has quit [Ping timeout: 260 seconds]
linuxgemini has joined #asahi-dev
linuxgemini has joined #asahi-dev
linuxgemini has quit [Read error: Connection reset by peer]
linuxgemini has quit [Read error: Connection reset by peer]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
linuxgemini has joined #asahi-dev
linuxgemini has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
odmir has joined #asahi-dev
odmir has joined #asahi-dev
omoiti has joined #asahi-dev
omoiti has joined #asahi-dev
omoiti has quit [Read error: Connection reset by peer]
omoiti has quit [Read error: Connection reset by peer]
omoiti has joined #asahi-dev
omoiti has joined #asahi-dev
linuxgemini has quit [Read error: Connection reset by peer]
linuxgemini has quit [Read error: Connection reset by peer]
linuxgemini has joined #asahi-dev
linuxgemini has joined #asahi-dev
jeffmiw has quit [Remote host closed the connection]
jeffmiw has quit [Remote host closed the connection]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
richbridger has joined #asahi-dev
richbridger has joined #asahi-dev
aquijoule__ has quit [Ping timeout: 265 seconds]
aquijoule__ has quit [Ping timeout: 265 seconds]
raw-bin has joined #asahi-dev
raw-bin has joined #asahi-dev
vimal has quit [Quit: Leaving]
vimal has quit [Quit: Leaving]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 256 seconds]
jeffmiw has quit [Ping timeout: 256 seconds]
raw-bin has quit [Read error: Connection reset by peer]
raw-bin has quit [Read error: Connection reset by peer]
raw-bin has joined #asahi-dev
raw-bin has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 246 seconds]
jeffmiw has quit [Ping timeout: 246 seconds]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit []
jeffmiw has quit []
raw-bin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raw-bin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
<jeffmiw>
sven: I have used your branch usb-uartproxy-console-wip on my macbk air, m1n1 stored on the disk(linux partition), here are the results of my test:
<jeffmiw>
sven: I have used your branch usb-uartproxy-console-wip on my macbk air, m1n1 stored on the disk(linux partition), here are the results of my test:
<jeffmiw>
using my USB-C to USB-A + USB-A to USB C, it works 5/5 with cable plugged before botting
<jeffmiw>
using my USB-C to USB-A + USB-A to USB C, it works 5/5 with cable plugged before botting
<jeffmiw>
works mean I have USB enum on my Linux PC and I can get the shell.py connecting
<jeffmiw>
works mean I have USB enum on my Linux PC and I can get the shell.py connecting
<jeffmiw>
if I boot with cable unplugged, once I plug it, it works once
<jeffmiw>
if I boot with cable unplugged, once I plug it, it works once
<jeffmiw>
I can get it to work on the first USB port then switch to the 2nd one, but not more than once
<jeffmiw>
I can get it to work on the first USB port then switch to the 2nd one, but not more than once
<jeffmiw>
if I use my USB-C to USB-C cables (I have 2 supposed to be superspeed) I can't get them to work ...
<jeffmiw>
if I use my USB-C to USB-C cables (I have 2 supposed to be superspeed) I can't get them to work ...
<jeffmiw>
I never used those cables before, I do not have any USB-C devices to try them with something else
<jeffmiw>
I never used those cables before, I do not have any USB-C devices to try them with something else
<jeffmiw>
I do not know if I can do a USB C to USB C loop on a Linux PC
<jeffmiw>
I do not know if I can do a USB C to USB C loop on a Linux PC
linuxgemini has quit [Write error: Connection reset by peer]
linuxgemini has quit [Write error: Connection reset by peer]
omoiti has quit [Ping timeout: 256 seconds]
omoiti has quit [Ping timeout: 256 seconds]
linuxgemini has joined #asahi-dev
linuxgemini has joined #asahi-dev
linuxgemini has quit [Remote host closed the connection]
linuxgemini has quit [Remote host closed the connection]
linuxgemini has joined #asahi-dev
linuxgemini has joined #asahi-dev
<sven>
jeffmiw: nice, thanks! :)
<sven>
jeffmiw: nice, thanks! :)
<sven>
i've also noticed the "only plugging in once" bug but have no idea what causes it. for some reason there are no more events after the device has been disconnected once
<sven>
i've also noticed the "only plugging in once" bug but have no idea what causes it. for some reason there are no more events after the device has been disconnected once
<sven>
this also happens with the linux dwc3 driver :/
<sven>
this also happens with the linux dwc3 driver :/
<M3zh[m]>
sven: I'm using your usb-uartproxy-console-wip (1e266) and I not able to get it working. I'm using usb-c to usb-c cable. More details: I see usb device on the host : 1337:beef and there is a char dev for it /dev/ttyACM0. However when I try to open it manually via picocom or via shell.py then it is immediately closed and I see on the framebuffer next message "unsupported SETUP packet" and couple of device events USBRst and
<M3zh[m]>
sven: I'm using your usb-uartproxy-console-wip (1e266) and I not able to get it working. I'm using usb-c to usb-c cable. More details: I see usb device on the host : 1337:beef and there is a char dev for it /dev/ttyACM0. However when I try to open it manually via picocom or via shell.py then it is immediately closed and I see on the framebuffer next message "unsupported SETUP packet" and couple of device events USBRst and
<M3zh[m]>
ConnectionDone.
<M3zh[m]>
ConnectionDone.
<sven>
ah, looks like your host is trying to something i haven't implemented
<sven>
ah, looks like your host is trying to something i haven't implemented
<sven>
+do
<sven>
+do
<M3zh[m]>
do you want to extract more details on which packet it is?
<M3zh[m]>
do you want to extract more details on which packet it is?
<sven>
yes, was about to suggest that :)
<sven>
yes, was about to suggest that :)
<M3zh[m]>
Also I can try with usb-c to usb-a if you like
<M3zh[m]>
Also I can try with usb-c to usb-a if you like
<sven>
that shouldn't make a difference
<sven>
that shouldn't make a difference
<sven>
do you see anything in dmesg?
<sven>
do you see anything in dmesg?
<sven>
usually there should be some "Unable to [whatever]" if some SETUP packet fails
<sven>
usually there should be some "Unable to [whatever]" if some SETUP packet fails
<M3zh[m]>
let me check
<M3zh[m]>
let me check
<M3zh[m]>
no, nothing in dmesg except reset and disconnect of this "communication" device
<M3zh[m]>
no, nothing in dmesg except reset and disconnect of this "communication" device
<sven>
strange
<sven>
strange
<M3zh[m]>
so it's GET_STATUS in standard_device()
<M3zh[m]>
so it's GET_STATUS in standard_device()
<sven>
ah, it probably doesn't like that there's no reply for that one :)
<sven>
ah, it probably doesn't like that there's no reply for that one :)
<sven>
"If D0 is set, then this indicates the device is self powered. If clear, the device is bus powered. If D1 is set, the device has remote wakeup enabled and can wake the host up during suspend. The remote wakeup bit can be by the SetFeature and ClearFeature requests with a feature selector of DEVICE_REMOTE_WAKEUP (0x01)"
<sven>
"If D0 is set, then this indicates the device is self powered. If clear, the device is bus powered. If D1 is set, the device has remote wakeup enabled and can wake the host up during suspend. The remote wakeup bit can be by the SetFeature and ClearFeature requests with a feature selector of DEVICE_REMOTE_WAKEUP (0x01)"
<M3zh[m]>
I see
<M3zh[m]>
I see
<M3zh[m]>
thx
<M3zh[m]>
thx
<sven>
i guess we can just return 0x0001
<sven>
i guess we can just return 0x0001
<M3zh[m]>
may be just zero. Just not to handle Set/GetFeature?
<M3zh[m]>
may be just zero. Just not to handle Set/GetFeature?
<sven>
that's for D1, isn't it?
<sven>
that's for D1, isn't it?
<M3zh[m]>
Oh. Self powered. Missed it.
<M3zh[m]>
Oh. Self powered. Missed it.
<sven>
do you want me to patch it or do you want to fix it yourself? :)
<sven>
do you want me to patch it or do you want to fix it yourself? :)
<M3zh[m]>
probably patch. I guess there is immediate value in data stage but I don't know DWC
<M3zh[m]>
probably patch. I guess there is immediate value in data stage but I don't know DWC
<sven>
the whole thing is just a (undocumented) state machine
<sven>
the whole thing is just a (undocumented) state machine
<sven>
https://www.beyondlogic.org/usbnutshell/usb4.shtml that describes the stages of a usb transfer. i can't recommend that website enough. it manages to make the cursed parts of usb understandable :)
<sven>
https://www.beyondlogic.org/usbnutshell/usb4.shtml that describes the stages of a usb transfer. i can't recommend that website enough. it manages to make the cursed parts of usb understandable :)
<M3zh[m]>
Patch is working, big thx!
<M3zh[m]>
Patch is working, big thx!
<M3zh[m]>
I was expecting there is no URB concept and I have to find data TRB and patch it in memory...
<M3zh[m]>
I was expecting there is no URB concept and I have to find data TRB and patch it in memory...
<sven>
:-)
<sven>
:-)
JusticeEX has quit [Ping timeout: 246 seconds]
JusticeEX has quit [Ping timeout: 246 seconds]
VinDuv has quit [Quit: Leaving.]
VinDuv has quit [Quit: Leaving.]
jeffmiw has quit [Quit: Konversation terminated!]
jeffmiw has quit [Quit: Konversation terminated!]
jeffmiw has joined #asahi-dev
jeffmiw has joined #asahi-dev
jeffmiw has quit [Remote host closed the connection]
jeffmiw has quit [Remote host closed the connection]